Skip to content

Commit

Permalink
Move weakref to gem at 0.1.1
Browse files Browse the repository at this point in the history
We use the same Ruby code for this now, so we can use the gem.
  • Loading branch information
headius committed Jan 27, 2022
1 parent 377030a commit 76d58ae
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 64 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ lib/ruby/stdlib/tsort*
lib/ruby/stdlib/un*
lib/ruby/stdlib/uri*
lib/ruby/stdlib/yaml*
lib/ruby/stdlib/weakref*

release.properties
share
Expand Down
3 changes: 1 addition & 2 deletions lib/pom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ def log(message=nil)
['tsort', '0.1.0'],
['un', '0.2.0'],
['uri', '0.11.0'],
# https://github.com/ruby/weakref/issues/6
# ['weakref', '0.1.1'],
['weakref', '0.1.1'],
# https://github.com/ruby/win32ole/issues/12
# ['win32ole', '1.8.8'],
['yaml', '0.2.0'],
Expand Down
16 changes: 16 additions & 0 deletions lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,19 @@ DO NOT MODIFIY - GENERATED CODE
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>weakref</artifactId>
<version>0.1.1</version>
<type>gem</type>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>jar-dependencies</artifactId>
<groupId>rubygems</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>yaml</artifactId>
Expand Down Expand Up @@ -869,6 +882,7 @@ DO NOT MODIFIY - GENERATED CODE
<include>specifications/tsort-0.1.0*</include>
<include>specifications/un-0.2.0*</include>
<include>specifications/uri-0.11.0*</include>
<include>specifications/weakref-0.1.1*</include>
<include>specifications/yaml-0.2.0*</include>
<include>specifications/matrix-0.4.2*</include>
<include>specifications/minitest-5.15.0*</include>
Expand Down Expand Up @@ -928,6 +942,7 @@ DO NOT MODIFIY - GENERATED CODE
<include>gems/tsort-0.1.0*/**/*</include>
<include>gems/un-0.2.0*/**/*</include>
<include>gems/uri-0.11.0*/**/*</include>
<include>gems/weakref-0.1.1*/**/*</include>
<include>gems/yaml-0.2.0*/**/*</include>
<include>gems/matrix-0.4.2*/**/*</include>
<include>gems/minitest-5.15.0*/**/*</include>
Expand Down Expand Up @@ -987,6 +1002,7 @@ DO NOT MODIFIY - GENERATED CODE
<include>cache/tsort-0.1.0*</include>
<include>cache/un-0.2.0*</include>
<include>cache/uri-0.11.0*</include>
<include>cache/weakref-0.1.1*</include>
<include>cache/yaml-0.2.0*</include>
<include>cache/matrix-0.4.2*</include>
<include>cache/minitest-5.15.0*</include>
Expand Down
61 changes: 0 additions & 61 deletions lib/ruby/stdlib/weakref.rb

This file was deleted.

1 change: 0 additions & 1 deletion tool/sync_ruby_files.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
STDLIB_FILES = %w[
unicode_normalize
weakref.rb
]

EXT_FILES = {
Expand Down

0 comments on commit 76d58ae

Please sign in to comment.