├── .coveralls.yml ├── .gitignore ├── .travis.yml ├── Gemfile ├── HISTORY.md ├── MIT_LICENSE ├── README.md ├── Rakefile ├── ext └── java │ └── org │ └── jruby │ └── ext │ └── ref │ ├── ReferencesService.java │ ├── RubySoftReference.java │ └── RubyWeakReference.java ├── lib ├── ref.rb ├── ref │ ├── abstract_reference_key_map.rb │ ├── abstract_reference_value_map.rb │ ├── reference.rb │ ├── reference_queue.rb │ ├── soft_key_map.rb │ ├── soft_reference.rb │ ├── soft_value_map.rb │ ├── strong_reference.rb │ ├── version.rb │ ├── weak_key_map.rb │ ├── weak_reference.rb │ ├── weak_reference │ │ ├── pure_ruby.rb │ │ └── weak_ref.rb │ └── weak_value_map.rb └── ref_ext.jar ├── ref.gemspec └── spec ├── ref ├── mock_spec.rb ├── reference_queue_spec.rb ├── soft_key_map_spec.rb ├── soft_reference_spec.rb ├── soft_value_map_spec.rb ├── strong_reference_spec.rb ├── weak_key_map_spec.rb ├── weak_reference_spec.rb └── weak_value_map_spec.rb ├── shared ├── mock.rb ├── reference_key_map_shared.rb └── reference_value_map_shared.rb └── spec_helper.rb /.coveralls.yml: -------------------------------------------------------------------------------- 1 | service_name: travis-ci 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/Gemfile -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/HISTORY.md -------------------------------------------------------------------------------- /MIT_LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/MIT_LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/Rakefile -------------------------------------------------------------------------------- /ext/java/org/jruby/ext/ref/ReferencesService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/ext/java/org/jruby/ext/ref/ReferencesService.java -------------------------------------------------------------------------------- /ext/java/org/jruby/ext/ref/RubySoftReference.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/ext/java/org/jruby/ext/ref/RubySoftReference.java -------------------------------------------------------------------------------- /ext/java/org/jruby/ext/ref/RubyWeakReference.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/ext/java/org/jruby/ext/ref/RubyWeakReference.java -------------------------------------------------------------------------------- /lib/ref.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref.rb -------------------------------------------------------------------------------- /lib/ref/abstract_reference_key_map.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/abstract_reference_key_map.rb -------------------------------------------------------------------------------- /lib/ref/abstract_reference_value_map.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/abstract_reference_value_map.rb -------------------------------------------------------------------------------- /lib/ref/reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/reference.rb -------------------------------------------------------------------------------- /lib/ref/reference_queue.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/reference_queue.rb -------------------------------------------------------------------------------- /lib/ref/soft_key_map.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/soft_key_map.rb -------------------------------------------------------------------------------- /lib/ref/soft_reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/soft_reference.rb -------------------------------------------------------------------------------- /lib/ref/soft_value_map.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/soft_value_map.rb -------------------------------------------------------------------------------- /lib/ref/strong_reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/strong_reference.rb -------------------------------------------------------------------------------- /lib/ref/version.rb: -------------------------------------------------------------------------------- 1 | module Ref 2 | VERSION = '2.0.0' 3 | end 4 | -------------------------------------------------------------------------------- /lib/ref/weak_key_map.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/weak_key_map.rb -------------------------------------------------------------------------------- /lib/ref/weak_reference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/weak_reference.rb -------------------------------------------------------------------------------- /lib/ref/weak_reference/pure_ruby.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/weak_reference/pure_ruby.rb -------------------------------------------------------------------------------- /lib/ref/weak_reference/weak_ref.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/weak_reference/weak_ref.rb -------------------------------------------------------------------------------- /lib/ref/weak_value_map.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref/weak_value_map.rb -------------------------------------------------------------------------------- /lib/ref_ext.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/lib/ref_ext.jar -------------------------------------------------------------------------------- /ref.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/ref.gemspec -------------------------------------------------------------------------------- /spec/ref/mock_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/ref/mock_spec.rb -------------------------------------------------------------------------------- /spec/ref/reference_queue_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/ref/reference_queue_spec.rb -------------------------------------------------------------------------------- /spec/ref/soft_key_map_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/ref/soft_key_map_spec.rb -------------------------------------------------------------------------------- /spec/ref/soft_reference_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/ref/soft_reference_spec.rb -------------------------------------------------------------------------------- /spec/ref/soft_value_map_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/ref/soft_value_map_spec.rb -------------------------------------------------------------------------------- /spec/ref/strong_reference_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/ref/strong_reference_spec.rb -------------------------------------------------------------------------------- /spec/ref/weak_key_map_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/ref/weak_key_map_spec.rb -------------------------------------------------------------------------------- /spec/ref/weak_reference_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/ref/weak_reference_spec.rb -------------------------------------------------------------------------------- /spec/ref/weak_value_map_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/ref/weak_value_map_spec.rb -------------------------------------------------------------------------------- /spec/shared/mock.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/shared/mock.rb -------------------------------------------------------------------------------- /spec/shared/reference_key_map_shared.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/shared/reference_key_map_shared.rb -------------------------------------------------------------------------------- /spec/shared/reference_value_map_shared.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/shared/reference_value_map_shared.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ruby-concurrency/ref/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------