weakref 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74737a702f428dd868bc375df2015ea1832746459e712277de2497b065607c0c
4
- data.tar.gz: a7e373c1e208ebebf78e03d17dc4eb522df3822f8297ac9e9d229aa9e31e6bbc
3
+ metadata.gz: 32c5ff61d8b29ce0a0389fe2dbbc2b358c0747e1aef6526c5561bd929add5261
4
+ data.tar.gz: ad7ed5b81f8a9387338b6e76e068c666d74b136046eb5cffe248c551b5219133
5
5
  SHA512:
6
- metadata.gz: 8efc52ec77a3a86b532fc21d23af87acd4ded9b1ad342063ac99fe37ba6cacf3342adf934a432487df7c7bbefcab6115e098d68e5d3d5628ca346c29835afc52
7
- data.tar.gz: f53ff55226272fa8c75b380668417ebb5c766fc3f3bc546878f015330591a42c0b9c5a4de66d4798541b6c27571aae6b332738695d6993e2090ee76ace2d37d7
6
+ metadata.gz: 9e9e4a2f7d7344377629aa2d1143dac85379b673643aef04976dcd90fef65f35ffb340f96e14730adfd8236f1ac3ccf0d30400eb5fa39d2d55e7a8b5a5c2375a
7
+ data.tar.gz: 46eb30d43965f63fede62634b719d4dd833e00d548ded79872561b212d9c765307cdb1580f2aff7177739dbf6ebdb22ef94040f5fcd1f1480499421948e590fc
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: 'github-actions'
4
+ directory: '/'
5
+ schedule:
6
+ interval: 'weekly'
@@ -11,14 +11,12 @@ jobs:
11
11
  os: [ ubuntu-latest, macos-latest ]
12
12
  runs-on: ${{ matrix.os }}
13
13
  steps:
14
- - uses: actions/checkout@master
14
+ - uses: actions/checkout@v3
15
15
  - name: Set up Ruby
16
16
  uses: ruby/setup-ruby@v1
17
17
  with:
18
18
  ruby-version: ${{ matrix.ruby }}
19
19
  - name: Install dependencies
20
- run: |
21
- gem install bundler --no-document
22
- bundle install
20
+ run: bundle install
23
21
  - name: Run test
24
22
  run: rake test
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ end
9
9
 
10
10
  task :sync_tool do
11
11
  require 'fileutils'
12
- FileUtils.cp "../ruby/tool/lib/test/unit/core_assertions.rb", "./test/lib"
12
+ FileUtils.cp "../ruby/tool/lib/core_assertions.rb", "./test/lib"
13
13
  FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
14
14
  FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
15
15
  end
data/lib/weakref.rb CHANGED
@@ -17,7 +17,7 @@ require "delegate"
17
17
  #
18
18
 
19
19
  class WeakRef < Delegator
20
- VERSION = "0.1.1"
20
+ VERSION = "0.1.2"
21
21
 
22
22
  ##
23
23
  # RefError is raised when a referenced object has been recycled by the
@@ -30,9 +30,6 @@ class WeakRef < Delegator
30
30
 
31
31
  ##
32
32
  # Creates a weak reference to +orig+
33
- #
34
- # Raises an ArgumentError if the given +orig+ is immutable, such as Symbol,
35
- # Integer, or Float.
36
33
 
37
34
  def initialize(orig)
38
35
  case orig
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weakref
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-22 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: delegate
@@ -31,6 +31,7 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - ".github/dependabot.yml"
34
35
  - ".github/workflows/test.yml"
35
36
  - ".gitignore"
36
37
  - Gemfile
@@ -63,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
64
  - !ruby/object:Gem::Version
64
65
  version: '0'
65
66
  requirements: []
66
- rubygems_version: 3.2.2
67
+ rubygems_version: 3.4.0.dev
67
68
  signing_key:
68
69
  specification_version: 4
69
70
  summary: Allows a referenced object to be garbage-collected.