repocrawler 0.1.18 → 0.1.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 381deed490dec5adecee4aee430b2c1d66544321
4
- data.tar.gz: acb9d663a4218e24dcbda3d77f3484fdd1f2750a
3
+ metadata.gz: 9ab3747a5b36603d08eb5ca33753f0a24c0beecd
4
+ data.tar.gz: 2ce5e186bf27b9b4ccb74369ae3812791aee969a
5
5
  SHA512:
6
- metadata.gz: 4d0b079cc09639a4ea7bd5b8cc414ed9a35fcde2c0290e137ef3344a2e8eb49562ee25dd4ccf56bdf8a8134674a1aaad8d72805ad3f157d72af1cf88cc0ae8b7
7
- data.tar.gz: 0712b0a18e24e85122ded9cf7257c0d304648af3626257724249c200ba0b702913c3b1bc883ba96d68735c2093069a4dde8318aa7c0ace0f23ff63f49466a39d
6
+ metadata.gz: cba188f10db34cc895bb95b04e4f9b5093240377bd9e2ebe7c9bbba4809fb16856ce6c2d0587fbed503978485db5d2f7917cf7e0b82b15c570d39b631a71b606
7
+ data.tar.gz: a80e53c3903919c2862d66418af70264de8f08c16d33064b38c53d1314352b5cce84fc6af8b7b53eefe17ebdf0935b9ce0b50862fb964bc73de59ddfc01d1f42
@@ -26,12 +26,12 @@ module Repos
26
26
  })
27
27
 
28
28
  if last_year_commit_activity['message'] === 'Not Found'
29
- get_last_year_commit_activity = nil
29
+ last_year_commit_activity = nil
30
30
  else
31
31
  last_year_commit_activity.delete_if {|record| record['total'] == 0}
32
32
  end
33
33
 
34
- get_last_year_commit_activity
34
+ last_year_commit_activity
35
35
 
36
36
  end
37
37
 
@@ -43,7 +43,7 @@ module Repos
43
43
  if contributors['message'] === 'Not Found'
44
44
  contributors = nil
45
45
  else
46
- contributors.map do |contributor|
46
+ contributors.map! do |contributor|
47
47
  {
48
48
  'name' => contributor['login'],
49
49
  'contributions' => contributor['contributions']
@@ -1,4 +1,4 @@
1
1
  # Versioning
2
2
  module Repos
3
- VERSION = '0.1.18'
3
+ VERSION = '0.1.19'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repocrawler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Chen