git-trend 0.1.4 → 0.1.5

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: 1a464878ce9090fc21532a8972478054dc7308cf
4
- data.tar.gz: 17813c0ea7583d0aee77dd88b9347ca5b1f72601
3
+ metadata.gz: d1be33d75f37f5702f0a304120677b5203a424ec
4
+ data.tar.gz: c328857bb04f8a35edd2f7e516085bac37ef5a57
5
5
  SHA512:
6
- metadata.gz: 229c8021b10721af8ed8f559df4f6a26d33445673c6a67306112450cc2f1929340bb579396483bb3f37bb9453ae45e2544e85a6adc986554ee098875d6928da9
7
- data.tar.gz: eae8d69ca51b4d7d355b5ae74073b877cddfd67eb9996030bc5b779d055294d41f82920087c1ba1dd2b68e50bd8ac023c164b5d5bd5c83804ed58aa7cdced959
6
+ metadata.gz: 92998d101aa918126b2f895b528d22b0eacd89b8ec99465472462218bb4ff5694496bddb946b6ad3cb91d6743c11aa8951008a38333066bee15b1a28e02cdced
7
+ data.tar.gz: 8f9f5dd2f9bb4d69166385b424a922d47cbcdcbcfb585f57c400ab7e76c5ead04b2d85a885b3928715adb336902dd75842936d65ff69077ef48cac56c4180904
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.1.5
2
+ * Fix a bug. #3
3
+
1
4
  ## v0.1.4
2
5
  * Add number option #3 [7cff5b4]
3
6
 
@@ -27,7 +27,7 @@ module GitTrend
27
27
  projects << project
28
28
  end
29
29
  fail ScrapeException if projects.empty?
30
- projects[0...number]
30
+ number ? projects[0...number] : projects
31
31
  end
32
32
 
33
33
  def languages
@@ -1,3 +1,3 @@
1
1
  module GitTrend
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
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: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - rochefort