git-trend 1.1.2 → 1.1.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: 623547ab4a0713fabb14dd8da03d7f1dd5f1c3dd
4
- data.tar.gz: afc27ec089947c0b699aaac929218d0c20e5c91f
3
+ metadata.gz: 7d7d6056d338848b20c9fe4e9fe1ad9a85298fe5
4
+ data.tar.gz: 74ee4093e0160730e21b7078920f4b81249bfddd
5
5
  SHA512:
6
- metadata.gz: 4c02a9bdcafc2054c971714cc571766992f9a740e0b8e6a2a938bc857fb44b5a669707ca6e9649249519a44fa5d8dcd3897fefc05f9e2c3fbb6702156a61cc61
7
- data.tar.gz: a0b22e6ac1dd9ebe3ea4cd839ea7c7eb9a6b4e605df79a8daffa5e750086e04f9bd4cbdc39f712c3e21aa907daa6b0129fdcb5eb876c9e2267fd1569d80768a9
6
+ metadata.gz: 38a35e21824b53c209708d72825f479d4a36f2dfb6853d395d7706c8cb8a8a96224bf7a155ba09506a98cff39a5bbe26095ecbe91ff3deab4d1b32b5a2c3fca7
7
+ data.tar.gz: 3cd08d846cf726e91799d51d8fe3730eeab7719a7a78b57d00359ca9605c7bb241177e0f0741e923e12b28b507a764b88650e853348405ebb641d7ccbf997b50
@@ -1,3 +1,6 @@
1
+ ## v1.1.3 (Tue Nov 22 2016)
2
+ - Fix comma-separated numbers for star count [5b32fa3]
3
+
1
4
  ## v1.1.2 (Thu Nov 10 2016)
2
5
  - Change display column as `Star` from all_star_count to star_count [4b78ae3]
3
6
 
@@ -58,7 +58,7 @@ module GitTrend
58
58
  lang: content.search('span[itemprop="programmingLanguage"]').text.strip,
59
59
  all_star_count: content.search('a[aria-label="Stargazers"]').text.strip.delete(",").to_i,
60
60
  fork_count: content.search('a[aria-label="Forks"]').text.strip.delete(",").to_i,
61
- star_count: content.search("span.float-right").text.strip.match(/(\d+)? stars/).to_a[1].to_i
61
+ star_count: content.search("span.float-right").text.strip.match(/(.+)? stars/).to_a[1].delete(",").to_i
62
62
  )
63
63
  end
64
64
  end
@@ -1,3 +1,3 @@
1
1
  module GitTrend
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-trend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - rochefort
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-10 00:00:00.000000000 Z
11
+ date: 2016-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable