Skip to content

Commit

Permalink
Switch tempfile to default gem
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Nov 8, 2023
1 parent 11d1ba7 commit e478df1
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 468 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ lib/ruby/stdlib/singleton*
lib/ruby/stdlib/stringio*
lib/ruby/stdlib/strscan*
lib/ruby/stdlib/subspawn*
lib/ruby/stdlib/tempfile.rb
lib/ruby/stdlib/time.rb
lib/ruby/stdlib/timeout*
lib/ruby/stdlib/tracer*
Expand Down
269 changes: 0 additions & 269 deletions core/src/main/java/org/jruby/ext/tempfile/Tempfile.java

This file was deleted.

42 changes: 0 additions & 42 deletions core/src/main/java/org/jruby/ext/tempfile/TempfileLibrary.java

This file was deleted.

3 changes: 1 addition & 2 deletions lib/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ def log(message=nil)
['ffi-bindings-libfixposix', '0.5.1.0'],
# https://github.com/ruby/syslog/issues/1
# ['syslog', '0.1.0'],
# https://github.com/ruby/tempfile/issues/7
# ['tempfile', '0.1.2'],
['tempfile', '0.1.3'],
['time', '0.2.2'],
['timeout', '0.3.2'],
# https://github.com/ruby/tmpdir/issues/13
Expand Down
16 changes: 16 additions & 0 deletions lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,19 @@ DO NOT MODIFY - GENERATED CODE
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>tempfile</artifactId>
<version>0.1.3</version>
<type>gem</type>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>rubygems</groupId>
<artifactId>jar-dependencies</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>time</artifactId>
Expand Down Expand Up @@ -1125,6 +1138,7 @@ DO NOT MODIFY - GENERATED CODE
<include>specifications/subspawn-posix-0.1.1*</include>
<include>specifications/ffi-binary-libfixposix-0.5.1.1*</include>
<include>specifications/ffi-bindings-libfixposix-0.5.1.0*</include>
<include>specifications/tempfile-0.1.3*</include>
<include>specifications/time-0.2.2*</include>
<include>specifications/timeout-0.3.2*</include>
<include>specifications/tsort-0.1.0*</include>
Expand Down Expand Up @@ -1203,6 +1217,7 @@ DO NOT MODIFY - GENERATED CODE
<include>gems/subspawn-posix-0.1.1*/**/*</include>
<include>gems/ffi-binary-libfixposix-0.5.1.1*/**/*</include>
<include>gems/ffi-bindings-libfixposix-0.5.1.0*/**/*</include>
<include>gems/tempfile-0.1.3*/**/*</include>
<include>gems/time-0.2.2*/**/*</include>
<include>gems/timeout-0.3.2*/**/*</include>
<include>gems/tsort-0.1.0*/**/*</include>
Expand Down Expand Up @@ -1281,6 +1296,7 @@ DO NOT MODIFY - GENERATED CODE
<include>cache/subspawn-posix-0.1.1*</include>
<include>cache/ffi-binary-libfixposix-0.5.1.1*</include>
<include>cache/ffi-bindings-libfixposix-0.5.1.0*</include>
<include>cache/tempfile-0.1.3*</include>
<include>cache/time-0.2.2*</include>
<include>cache/timeout-0.3.2*</include>
<include>cache/tsort-0.1.0*</include>
Expand Down
Loading

0 comments on commit e478df1

Please sign in to comment.