repocrawler 0.1.3 → 0.1.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
  SHA1:
3
- metadata.gz: 6dcd4f22099b5b0f090b5062695b9db581cf4b7b
4
- data.tar.gz: 4ccaaaa819b2b7eedab27c676be626e957360377
3
+ metadata.gz: 1331e41d280ec79186524e6d38f01f58fdbc0249
4
+ data.tar.gz: ee66aefc68ec8a3157491b00953fc7edc230263b
5
5
  SHA512:
6
- metadata.gz: 68b6670db01659e7ba8cd60f175141cf29e03928fc8dceae120516af0004e63dc673e45d90a0c43db1effcb0760a9a1c1d5cc85b19d612d91f71e610e91b4f2f
7
- data.tar.gz: 2f8a36b9e827ec7ceea8c4fd3c48153723e034dd489a3a76be7fafd575ddb087a81551dc3b3c3f1eedb1e33f61e2fd1ad7836105aad30937b160d1c972483d68
6
+ metadata.gz: 75b5e512e87ddfa31ebc807cdb5e4ee3b713e18a95cf6b67d1d9634078286aa969faa99130c274c587241e9ba8e8d8a7ee96a2c327135aa14549648a9dea59cd
7
+ data.tar.gz: 556c512291a1a826e49d46dd103b23e51713fa4294140e8ac201fd95e6f68356744d3c3864f8092989b8cc27741b14189bf64ff9f8ae4dbeb7d3cc5bf7bcc36f
@@ -27,6 +27,7 @@ module Repos
27
27
  last_year_commit_activity = HTTParty.get(@GITHUB_API_BASE_URL + "/stats/commit_activity?access_token=#{@access_token}", headers: {
28
28
  "User-Agent" => @user_agent
29
29
  })
30
+ puts last_year_commit_activity.headers
30
31
  end
31
32
 
32
33
  # Get the contributors
@@ -40,6 +41,7 @@ module Repos
40
41
  }
41
42
  end
42
43
 
44
+ puts contributors.headers
43
45
  contributors
44
46
  end
45
47
 
@@ -60,6 +62,7 @@ module Repos
60
62
  })
61
63
  forks = repos_meta['forks_count']
62
64
 
65
+ puts repos_meta.headers
63
66
  forks
64
67
  end
65
68
 
@@ -69,6 +72,7 @@ module Repos
69
72
  })
70
73
  stars = repos_meta['stargazers_count']
71
74
 
75
+ puts repos_meta.headers
72
76
  stars
73
77
  end
74
78
 
@@ -78,6 +82,7 @@ module Repos
78
82
  })
79
83
  issues = repos_meta['open_issues_count']
80
84
 
85
+ puts repos_meta.headers
81
86
  issues
82
87
  end
83
88
 
@@ -95,6 +100,8 @@ module Repos
95
100
  stop = true
96
101
  end
97
102
 
103
+ puts issue_fetch.headers
104
+
98
105
  issue_fetch.each do |issue|
99
106
  closed_issues << {
100
107
  'number' => issue['number'],
@@ -125,6 +132,9 @@ module Repos
125
132
  github_contents = HTTParty.get(@GITHUB_API_BASE_URL + "/contents?access_token=#{@access_token}", headers: {
126
133
  "User-Agent" => @user_agent
127
134
  })
135
+
136
+ puts github_contents.headers
137
+
128
138
  readme_file = ''
129
139
  github_contents.each do |content|
130
140
  readme_file = content['name'] if content['name'] =~ /^README/
@@ -1,4 +1,4 @@
1
1
  # Versioning
2
2
  module Repos
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Chen