ref 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/VERSION +1 -1
  3. data/test/weak_reference_test.rb +1 -1
  4. metadata +9 -10
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6eb5f8b9c225f1e9ebac1aaa62ef9f3984cfe14f
4
+ data.tar.gz: a19284185151618e6bcb5f33cb7abe336b87ae42
5
+ SHA512:
6
+ metadata.gz: 7a4f349540019ab696d4ecdacf589e523804daecc90ff3b3798f3d9b9382efe5dedf14c4634d6c8203672911027da17cd1d052cc54e5bf76cfd7a3ba6b63f9ea
7
+ data.tar.gz: 3ccad9fcd17a871de36d032a57f130deca6df40605c8798bcf86bdcb204cdb40376eba445100772f5636acddffe72f3c00cd8bee5c7e0a796ea3b5602f062cba
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
@@ -48,7 +48,7 @@ class TestWeakReference < Test::Unit::TestCase
48
48
  def test_basic_object_does_not_throw_exception
49
49
  obj = BasicObject.new
50
50
  ref = Ref::WeakReference.new(obj)
51
- assert_nil ref.object
51
+ assert_equal obj, ref.object
52
52
  end
53
53
  end
54
54
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ref
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
5
- prerelease:
4
+ version: 1.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Brian Durand
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-20 00:00:00.000000000 Z
11
+ date: 2013-05-20 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Library that implements weak, soft, and strong references in Ruby that
15
14
  work across multiple runtimes (MRI, REE, YARV, Jruby, Rubinius, and IronRuby). Also
@@ -70,7 +69,9 @@ files:
70
69
  - ext/java/org/jruby/ext/ref/RubySoftReference.java
71
70
  - ext/java/org/jruby/ext/ref/RubyWeakReference.java
72
71
  homepage: http://github.com/bdurand/ref
73
- licenses: []
72
+ licenses:
73
+ - MIT
74
+ metadata: {}
74
75
  post_install_message:
75
76
  rdoc_options:
76
77
  - --charset=UTF-8
@@ -79,21 +80,19 @@ rdoc_options:
79
80
  require_paths:
80
81
  - lib
81
82
  required_ruby_version: !ruby/object:Gem::Requirement
82
- none: false
83
83
  requirements:
84
- - - ! '>='
84
+ - - '>='
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
- none: false
89
88
  requirements:
90
- - - ! '>='
89
+ - - '>='
91
90
  - !ruby/object:Gem::Version
92
91
  version: '0'
93
92
  requirements: []
94
93
  rubyforge_project:
95
- rubygems_version: 1.8.25
94
+ rubygems_version: 2.0.0
96
95
  signing_key:
97
- specification_version: 3
96
+ specification_version: 4
98
97
  summary: Library that implements weak, soft, and strong references in Ruby.
99
98
  test_files: []