hyperll 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: 641d27a87b64d8c4f0f00519c6936b2276b1ca43
4
- data.tar.gz: 18fab0477ccba2f4e27ce9009d910339bc51c53a
3
+ metadata.gz: 5fde20f1294d29f01337a6ef65af833cb0f6d0f6
4
+ data.tar.gz: cec1fca655e5b953323490558623f6020f7e0a93
5
5
  SHA512:
6
- metadata.gz: e2d542b9b698fe943f48e83f0968c4cb66dda818170f0c2851a5746decca94252aa4b5c6103527f9411df929417ae583723ed648d96d119aa05250e200e1f9b7
7
- data.tar.gz: d233ae38368376bc3dfdc8b49e7dea8aced87665eab2dd700338e24484a53c26eeb34bc136825210441a0244ec8fba9a6fd3cc31d6f785ea1ce8760310393ea6
6
+ metadata.gz: b3a9f0e91e502b9306dba43c6853ac9707374d4c68365feefe5115a341ccb5c5af0b6c2f9141038fc6127146873d19118efb9eddd4044e3c0e06edb11891b47c
7
+ data.tar.gz: d98c9a44979c962c362130d4961f6cb68bd66b27986d76fdd7411abfb9f349b4daf3c7d536685839894149365f36de153f087881704cb5896a3355c8fa920f43
@@ -228,7 +228,7 @@ module Hyperll
228
228
  if (k & 1) == 1
229
229
  ((k >> 1) & 63) ^ 63
230
230
  else
231
- number_of_leading_zeros(((k << p) & INT_MASK) + (31 - sp)) + 1
231
+ number_of_leading_zeros((k << (p + (31 - sp))) & INT_MASK) + 1
232
232
  end
233
233
  end
234
234
 
@@ -1,3 +1,3 @@
1
1
  module Hyperll
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyperll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Lindeman
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-28 00:00:00.000000000 Z
11
+ date: 2013-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
15
+ version_requirements: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
20
+ requirement: !ruby/object:Gem::Requirement
23
21
  requirements:
24
22
  - - ~>
25
23
  - !ruby/object:Gem::Version
26
24
  version: '1.3'
25
+ prerelease: false
26
+ type: :development
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
- requirement: !ruby/object:Gem::Requirement
29
+ version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
34
+ requirement: !ruby/object:Gem::Requirement
37
35
  requirements:
38
36
  - - '>='
39
37
  - !ruby/object:Gem::Version
40
38
  version: '0'
39
+ prerelease: false
40
+ type: :development
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
- requirement: !ruby/object:Gem::Requirement
43
+ version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.14'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
51
49
  requirements:
52
50
  - - ~>
53
51
  - !ruby/object:Gem::Version
54
52
  version: '2.14'
53
+ prerelease: false
54
+ type: :development
55
55
  description: HyperLogLog implementation in pure Ruby
56
56
  email:
57
57
  - andy@andylindeman.com
@@ -86,7 +86,7 @@ homepage: https://github.com/alindeman/hyperll
86
86
  licenses:
87
87
  - MIT
88
88
  metadata: {}
89
- post_install_message:
89
+ post_install_message:
90
90
  rdoc_options: []
91
91
  require_paths:
92
92
  - lib
@@ -101,9 +101,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubyforge_project:
105
- rubygems_version: 2.0.3
106
- signing_key:
104
+ rubyforge_project:
105
+ rubygems_version: 2.1.5
106
+ signing_key:
107
107
  specification_version: 4
108
108
  summary: HyperLogLog implementation in pure Ruby
109
109
  test_files: