jruby-bloomfilter 1.0.11 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +8 -8
- data/bloomfilter.gemspec +2 -2
- data/lib/bloomfilter.rb +0 -3
- data/spec/serialization_spec.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -2,15 +2,15 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
diff-lcs (1.1.2)
|
5
|
-
jets3t-rb (1.0.
|
6
|
-
rspec (2.
|
7
|
-
rspec-core (~> 2.
|
8
|
-
rspec-expectations (~> 2.
|
9
|
-
rspec-mocks (~> 2.
|
10
|
-
rspec-core (2.
|
11
|
-
rspec-expectations (2.
|
5
|
+
jets3t-rb (1.0.3)
|
6
|
+
rspec (2.6.0)
|
7
|
+
rspec-core (~> 2.6.0)
|
8
|
+
rspec-expectations (~> 2.6.0)
|
9
|
+
rspec-mocks (~> 2.6.0)
|
10
|
+
rspec-core (2.6.4)
|
11
|
+
rspec-expectations (2.6.0)
|
12
12
|
diff-lcs (~> 1.1.2)
|
13
|
-
rspec-mocks (2.
|
13
|
+
rspec-mocks (2.6.0)
|
14
14
|
|
15
15
|
PLATFORMS
|
16
16
|
java
|
data/bloomfilter.gemspec
CHANGED
@@ -6,7 +6,7 @@ Dir['ext/*.jar'].each { |jar| require jar }
|
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = 'jruby-bloomfilter'
|
9
|
-
s.version = '1.0.
|
9
|
+
s.version = '1.0.12'
|
10
10
|
s.platform = Gem::Platform::RUBY
|
11
11
|
s.authors = ['Daniel Gaiottino', 'David Tollmyr']
|
12
12
|
s.email = ['daniel@burtcorp.com', 'david@burtcorp.com']
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.description = %q{JRuby wrapper (+ some extra functionality) to http://code.google.com/p/java-bloomfilter}
|
16
16
|
|
17
17
|
s.rubyforge_project = 'jruby-bloomfilter'
|
18
|
-
s.add_dependency 'jets3t-rb'
|
18
|
+
s.add_dependency 'jets3t-rb'
|
19
19
|
|
20
20
|
s.files = `git ls-files`.split("\n")
|
21
21
|
#s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/lib/bloomfilter.rb
CHANGED
@@ -12,8 +12,6 @@ end
|
|
12
12
|
|
13
13
|
module Bloomfilter
|
14
14
|
class Bloomfilter
|
15
|
-
attr_accessor :recently_loaded
|
16
|
-
|
17
15
|
def initialize(options = {})
|
18
16
|
if options[:size] && options[:false_positive_percentage]
|
19
17
|
@filter = Jar::BloomFilter.new(options[:false_positive_percentage], options[:size])
|
@@ -22,7 +20,6 @@ module Bloomfilter
|
|
22
20
|
end
|
23
21
|
|
24
22
|
@lock = Jar::ReentrantLock.new
|
25
|
-
@recently_loaded = true
|
26
23
|
end
|
27
24
|
|
28
25
|
def << (k)
|
data/spec/serialization_spec.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: jruby-bloomfilter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.12
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Daniel Gaiottino
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-
|
14
|
+
date: 2011-10-26 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: jets3t-rb
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
requirements:
|
22
22
|
- - ">="
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version:
|
24
|
+
version: "0"
|
25
25
|
type: :runtime
|
26
26
|
version_requirements: *id001
|
27
27
|
description: JRuby wrapper (+ some extra functionality) to http://code.google.com/p/java-bloomfilter
|