gem-check 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gem-check/helpers.rb +1 -4
- data/lib/gem-check/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb16d66453bc30609dd733b6111d5b906735882b
|
4
|
+
data.tar.gz: 7f0f3825f8ab2ccd4b9906fcc0411e05d74d16d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5175372b87e3f0769b6c81865b74b70656be1c559e659203b4ecde2fbe76ddf7c9125e1d3046eda40ff7026019c4a0491532ebabbbf8fede0737cc63ca0b8ec2
|
7
|
+
data.tar.gz: af58613b1bb209b3f28418beaa579c7b8ddeed8057706ea3a8c67b54b8651d7bac5916899d19d26427290e3b08780ce146af31b686204e9b0f7792955ae97a6f
|
data/lib/gem-check/helpers.rb
CHANGED
@@ -38,7 +38,7 @@ module GemCheck
|
|
38
38
|
|
39
39
|
def calc_new_downloads(idx, row, info)
|
40
40
|
new_dls = decommafy(row[idx]).to_i - decommafy(info[idx]).to_i
|
41
|
-
@new_downloads += new_dls
|
41
|
+
@new_downloads += new_dls if idx.eql?(COL_TDL)
|
42
42
|
row[idx] = new_dls > 0 ? "#{row[idx]} ( +#{commafy(new_dls)} )" : row[idx]
|
43
43
|
end
|
44
44
|
|
@@ -54,8 +54,5 @@ module GemCheck
|
|
54
54
|
@update_version = JSON.parse(versions, object_class: OpenStruct).first.number
|
55
55
|
@update_version > GemCheck::VERSION
|
56
56
|
end
|
57
|
-
|
58
|
-
|
59
|
-
|
60
57
|
end
|
61
58
|
end
|
data/lib/gem-check/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Meissa Dia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gems
|