bloomed 1.2.0 → 1.2.1

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: 2b6cf13b8871f070a3a13518f1ce0a9c39315376a189b6136ec4e7f608de39be
4
- data.tar.gz: 5997ea5717019848ac0f7785006129eca6a9c9b2de85cedf481586d9d077dd2e
3
+ metadata.gz: 70d98f700d7e051849bf624868065dd4ebdccbeac67d116966d4d8d39c060fda
4
+ data.tar.gz: e82c883f6e7b27a840c1d0617a393aa1e75d7951bd119612dd7115792e29a94d
5
5
  SHA512:
6
- metadata.gz: 33067998aa831dd6a4f1d4d7c1d7b87e52a07c986506c323b609f08f0461d63cf19e8aeb89823666f760a1ae7096627c0cfceb7c80a26fe8e39e9a9885474a0d
7
- data.tar.gz: 0d20e86028da7c0899d3e75645f2eeaf374c4d73556c65650fd3262135d39eb7d43f73ca30e507af49f7d0218d97c4f6de4d473d801a997639507be0542b8e34
6
+ metadata.gz: e400c2027292a1e9377896ea3143d2fbd8f1697fe433cbdf2cee54ebf68d0e824719c8845411db0dd9a643f391408d7d492b813c934045c1543177cdad92f734
7
+ data.tar.gz: d4cbc17853d40dfcbf0786990e7a8ed342bb9c81517f23f10fb224a0dabb2188f7034dd46b080dd7514ff511e4a46bf1408bd88fe5da71b3ade40f8ad1ed359a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bloomed (1.1.0)
4
+ bloomed (1.2.0)
5
5
  bloomer (~> 1.0)
6
6
  msgpack
7
7
 
@@ -36,7 +36,7 @@ module Bloomed
36
36
  def filename
37
37
  inverse_probaility = 1.0 / false_positive_probability
38
38
  File.join(cache_dir,
39
- "pwned_top_#{top.to_i}_one_in_#{inverse_probaility.to_i}.msgpk")
39
+ "pwned_top_#{top.to_i}_one_in_#{inverse_probaility.round}.msgpk")
40
40
  end
41
41
 
42
42
  private
@@ -1,3 +1,3 @@
1
1
  module Bloomed
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bloomed
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Søren Skovsbøll
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-22 00:00:00.000000000 Z
11
+ date: 2018-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bloomer