zold-score 0.4.5 → 0.4.6
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.
- checksums.yaml +4 -4
- data/lib/zold/score.rb +2 -2
- data/zold-score.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 769c801911ea212473ee04a05adc03c69c8a1e07736ba1cd66aade8c1aaa6f66
|
|
4
|
+
data.tar.gz: 9344eb2cfab11f3f9be3c0fb56f7c65bd8368ab78424f5f27025ef7398cf57c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 835c3b95de4868527ab51f0c0b25e89da143b23e10781a38bc7e54a4e0b2c5a5a05e681d1b8c4d158ac2ffd45f79795060fa299cfe3bccd5d7f7f0bb23e27a4c
|
|
7
|
+
data.tar.gz: 1785222f38a0d987fe2210f5016b7807680f4bf7a7f98b5cc9483d5d67d2938d2f772ca65a7ae29162ec96b2c903a3961a7bee915d91d9f01d0c13f2da6cd71d
|
data/lib/zold/score.rb
CHANGED
|
@@ -119,7 +119,7 @@ module Zold
|
|
|
119
119
|
strength: json['strength']
|
|
120
120
|
)
|
|
121
121
|
rescue StandardError => e
|
|
122
|
-
raise CantParse, "#{e.message} in
|
|
122
|
+
raise CantParse, "#{e.message} in #{json.inspect}"
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
# Compare with another Score, by text.
|
|
@@ -175,7 +175,7 @@ module Zold
|
|
|
175
175
|
strength: parts[0].to_i
|
|
176
176
|
)
|
|
177
177
|
rescue StandardError => e
|
|
178
|
-
raise CantParse, "#{e.message} in
|
|
178
|
+
raise CantParse, "#{e.message} in #{text.inspect}"
|
|
179
179
|
end
|
|
180
180
|
|
|
181
181
|
# Returns its crypto hash. Read the White Paper for more information.
|
data/zold-score.gemspec
CHANGED
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
|
|
|
29
29
|
s.rubygems_version = '2.2'
|
|
30
30
|
s.required_ruby_version = '>=2.5'
|
|
31
31
|
s.name = 'zold-score'
|
|
32
|
-
s.version = '0.4.
|
|
32
|
+
s.version = '0.4.6'
|
|
33
33
|
s.license = 'MIT'
|
|
34
34
|
s.summary = 'Zold score'
|
|
35
35
|
s.description = 'Score calculating Ruby Gem for Zold'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zold-score
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yegor Bugayenko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-01-
|
|
11
|
+
date: 2019-01-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: codecov
|