git-trend 1.2.3 → 1.2.4

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: 58da331ee12316e4ca35e4378b15cb33d70f20ec014970455640ca79138ca6f4
4
- data.tar.gz: cda64c09b0e99b0eb26bce5c9989d2c8ee010925938b1d4b3be19688fc3b4777
3
+ metadata.gz: 9a95d0160ba13440c95712a079db95d2fb2ecf9cd7dc5d13e98b689cfd405f9a
4
+ data.tar.gz: 5c8dbde74324aa713fab251480774538fd2cf1b34b7ba940a940ca5947fa7a65
5
5
  SHA512:
6
- metadata.gz: bb2a194c9207a1e7076edd571abc6799d2bcb49b4ff10eb6baf397451c619fde4c88dfacc106709799f07712bc300e884a4048985bdd72ed7c66801e05bd815c
7
- data.tar.gz: 64b66d354b6a79b54332c15e39f46e761ca8bfc9dd336b0c24e7a07be7deb177bb8474338475435f70b6fcbf7a3baf23e27a792c876cf18088a6a4d0be43daa4
6
+ metadata.gz: 17ac48678e0a3162b37eab2596abc9bc4bcc63747fd2e72f3e0f6f1c06431c17ea0c3f93843f666333399ce8d7f837f99d515fceb91af0074c4e7c383656350c
7
+ data.tar.gz: 071d73ada97ea536e3b4227b09915d88ca3d127c35c01950488b1946f9a008d944334f1426c77df9001dc60f7b988accb31f9e6f9662ce1019a6a37bbae85af1
@@ -1,3 +1,7 @@
1
+ ## v1.2.4 (Mon Mar 2)
2
+
3
+ - Fix languages without linefeeds [ecc63af]
4
+
1
5
  ## v1.2.3 (Mon Mar 2)
2
6
 
3
7
  - Fix wrong interger format of star [dbdc344]
@@ -22,7 +22,8 @@ module GitTrend
22
22
  def languages
23
23
  page = @agent.get(BASE_URL)
24
24
  page.search("#select-menu-language .select-menu-list .select-menu-item-text").inject([]) do |languages, content|
25
- languages << content.text if content.text
25
+ language = content.text.strip
26
+ languages << language if language
26
27
  end
27
28
  end
28
29
 
@@ -1,3 +1,3 @@
1
1
  module GitTrend
2
- VERSION = "1.2.3"
2
+ VERSION = "1.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-trend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - rochefort