github_api 0.9.7 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +24 -14
- data/features/cassettes/media/get_default.yml +84 -0
- data/features/cassettes/media/get_full_json.yml +83 -0
- data/features/cassettes/media/get_html_json.yml +81 -0
- data/features/cassettes/media/get_raw_json.yml +80 -0
- data/features/cassettes/media/get_text_json.yml +80 -0
- data/features/cassettes/repos/stats/commits.yml +80 -0
- data/features/cassettes/repos/stats/contribs.yml +221 -0
- data/features/cassettes/repos/stats/frequency.yml +54 -0
- data/features/cassettes/repos/stats/participation.yml +68 -0
- data/features/cassettes/repos/stats/punch.yml +76 -0
- data/features/cassettes/search/users_keyword.yml +70 -0
- data/features/gitignore.feature +1 -1
- data/features/media_type.feature +76 -0
- data/features/repos/statistics.feature +60 -0
- data/features/search.feature +11 -0
- data/features/step_definitions/github_api_steps.rb +4 -0
- data/lib/github_api.rb +2 -0
- data/lib/github_api/arguments.rb +1 -1
- data/lib/github_api/authorization.rb +1 -1
- data/lib/github_api/connection.rb +5 -7
- data/lib/github_api/core_ext/deep_merge.rb +13 -0
- data/lib/github_api/git_data/trees.rb +1 -1
- data/lib/github_api/gitignore.rb +5 -4
- data/lib/github_api/markdown.rb +7 -5
- data/lib/github_api/mime_type.rb +19 -41
- data/lib/github_api/paged_request.rb +1 -1
- data/lib/github_api/parameter_filter.rb +1 -1
- data/lib/github_api/params_hash.rb +59 -22
- data/lib/github_api/repos.rb +9 -3
- data/lib/github_api/repos/pub_sub_hubbub.rb +4 -2
- data/lib/github_api/repos/statistics.rb +94 -0
- data/lib/github_api/request.rb +17 -28
- data/lib/github_api/response_wrapper.rb +8 -0
- data/lib/github_api/say.rb +2 -1
- data/lib/github_api/scopes.rb +3 -2
- data/lib/github_api/search.rb +3 -3
- data/lib/github_api/utils/url.rb +5 -2
- data/lib/github_api/version.rb +2 -2
- data/spec/fixtures/repos/commit_activity.json +15 -0
- data/spec/fixtures/repos/contribs.json +20 -0
- data/spec/fixtures/repos/frequency.json +7 -0
- data/spec/fixtures/repos/participation.json +110 -0
- data/spec/fixtures/repos/punch_card.json +17 -0
- data/spec/github/arguments/parse_spec.rb +2 -2
- data/spec/github/core_ext/deep_merge_spec.rb +23 -0
- data/spec/github/git_data/trees/create_spec.rb +6 -0
- data/spec/github/gitignore/get_spec.rb +1 -1
- data/spec/github/mime_type_spec.rb +24 -55
- data/spec/github/params_hash_spec.rb +64 -0
- data/spec/github/pull_requests/list_spec.rb +1 -1
- data/spec/github/repos/statistics/code_frequency_spec.rb +25 -0
- data/spec/github/repos/statistics/commit_activity_spec.rb +29 -0
- data/spec/github/repos/statistics/contributors_spec.rb +29 -0
- data/spec/github/repos/statistics/participation_spec.rb +25 -0
- data/spec/github/repos/statistics/punch_card_spec.rb +25 -0
- data/spec/github/request_spec.rb +10 -11
- data/spec/github/response_wrapper/overwrites_spec.rb +19 -0
- data/spec/github/users/keys/update_spec.rb +1 -1
- metadata +73 -34
@@ -0,0 +1,29 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Github::Repos::Statistics, '#contributors' do
|
6
|
+
let(:user) { 'peter-murach' }
|
7
|
+
let(:repo) { 'github' }
|
8
|
+
let(:request_path) { "/repos/#{user}/#{repo}/stats/contributors" }
|
9
|
+
|
10
|
+
before {
|
11
|
+
stub_get(request_path).to_return(:body => body)
|
12
|
+
}
|
13
|
+
|
14
|
+
context "resource found" do
|
15
|
+
let(:body) { fixture('repos/contribs.json') }
|
16
|
+
let(:status) { 200 }
|
17
|
+
|
18
|
+
it { expect { subject.contributors }.to raise_error(ArgumentError) }
|
19
|
+
|
20
|
+
it "should get the resources" do
|
21
|
+
subject.contributors user, repo
|
22
|
+
a_get(request_path).should have_been_made
|
23
|
+
end
|
24
|
+
|
25
|
+
it_should_behave_like 'an array of resources' do
|
26
|
+
let(:requestable) { subject.contributors user, repo }
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Github::Repos::Statistics, '#participation' do
|
6
|
+
let(:user) { 'peter-murach' }
|
7
|
+
let(:repo) { 'github' }
|
8
|
+
let(:request_path) { "/repos/#{user}/#{repo}/stats/participation" }
|
9
|
+
|
10
|
+
before {
|
11
|
+
stub_get(request_path).to_return(:body => body)
|
12
|
+
}
|
13
|
+
|
14
|
+
context "resource found" do
|
15
|
+
let(:body) { fixture('repos/participation.json') }
|
16
|
+
let(:status) { 200 }
|
17
|
+
|
18
|
+
it { expect { subject.participation }.to raise_error(ArgumentError) }
|
19
|
+
|
20
|
+
it "should get the resources" do
|
21
|
+
subject.participation user, repo
|
22
|
+
a_get(request_path).should have_been_made
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Github::Repos::Statistics, '#punch_card' do
|
6
|
+
let(:user) { 'peter-murach' }
|
7
|
+
let(:repo) { 'github' }
|
8
|
+
let(:request_path) { "/repos/#{user}/#{repo}/stats/punch_card" }
|
9
|
+
|
10
|
+
before {
|
11
|
+
stub_get(request_path).to_return(:body => body)
|
12
|
+
}
|
13
|
+
|
14
|
+
context "resource found" do
|
15
|
+
let(:body) { fixture('repos/punch_card.json') }
|
16
|
+
let(:status) { 200 }
|
17
|
+
|
18
|
+
it { expect { subject.punch_card }.to raise_error(ArgumentError) }
|
19
|
+
|
20
|
+
it "should get the resources" do
|
21
|
+
subject.punch_card user, repo
|
22
|
+
a_get(request_path).should have_been_made
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
data/spec/github/request_spec.rb
CHANGED
@@ -6,31 +6,30 @@ describe Github::Request do
|
|
6
6
|
let(:github) { Github::API.new }
|
7
7
|
let(:path) { 'github.api/repos/users' }
|
8
8
|
let(:params) { {} }
|
9
|
-
let(:options) { {} }
|
10
9
|
let(:response) { double('response').as_null_object }
|
11
10
|
|
12
11
|
it "knows how to make get request" do
|
13
|
-
github.should_receive(:request).with(:get, path, params
|
14
|
-
github.get_request path, params
|
12
|
+
github.should_receive(:request).with(:get, path, params) { response }
|
13
|
+
github.get_request path, params
|
15
14
|
end
|
16
15
|
|
17
16
|
it "knows how to make patch request" do
|
18
|
-
github.should_receive(:request).with(:patch, path, params
|
19
|
-
github.patch_request path, params
|
17
|
+
github.should_receive(:request).with(:patch, path, params)
|
18
|
+
github.patch_request path, params
|
20
19
|
end
|
21
20
|
|
22
21
|
it "knows how to make post request" do
|
23
|
-
github.should_receive(:request).with(:post, path, params
|
24
|
-
github.post_request path, params
|
22
|
+
github.should_receive(:request).with(:post, path, params)
|
23
|
+
github.post_request path, params
|
25
24
|
end
|
26
25
|
|
27
26
|
it "knows how to make put request" do
|
28
|
-
github.should_receive(:request).with(:put, path, params
|
29
|
-
github.put_request path, params
|
27
|
+
github.should_receive(:request).with(:put, path, params)
|
28
|
+
github.put_request path, params
|
30
29
|
end
|
31
30
|
|
32
31
|
it "knows how to make delete request" do
|
33
|
-
github.should_receive(:request).with(:delete, path, params
|
34
|
-
github.delete_request path, params
|
32
|
+
github.should_receive(:request).with(:delete, path, params)
|
33
|
+
github.delete_request path, params
|
35
34
|
end
|
36
35
|
end # Github::Request
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe Github::ResponseWrapper, 'overwrites' do
|
6
|
+
let(:object) { described_class.new res, nil }
|
7
|
+
let(:env) {
|
8
|
+
{ :status => 404, :body => body,
|
9
|
+
:response_headers => {'Content-Type' => 'text/plain'} }
|
10
|
+
}
|
11
|
+
let(:res) { Faraday::Response.new env }
|
12
|
+
let(:body) { {'id' => 2456210, 'fork' => false, 'type' => 'repo' } }
|
13
|
+
|
14
|
+
it { expect(object.id).to eql(2456210) }
|
15
|
+
|
16
|
+
it { expect(object.fork).to be_false }
|
17
|
+
|
18
|
+
it { expect(object.type).to eql('repo') }
|
19
|
+
end
|
@@ -34,7 +34,7 @@ describe Github::Users::Keys, '#update' do
|
|
34
34
|
|
35
35
|
it "should create resource successfully" do
|
36
36
|
subject.update key_id, inputs
|
37
|
-
a_patch(request_path).with(:body => inputs,
|
37
|
+
a_patch(request_path).with(:body => inputs.except(:unrelated),
|
38
38
|
:query => {:access_token => OAUTH_TOKEN}).should have_been_made
|
39
39
|
end
|
40
40
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-19 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: addressable
|
16
|
+
requirement: &2154471440 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2154471440
|
14
25
|
- !ruby/object:Gem::Dependency
|
15
26
|
name: hashie
|
16
|
-
requirement: &
|
27
|
+
requirement: &2154470940 !ruby/object:Gem::Requirement
|
17
28
|
none: false
|
18
29
|
requirements:
|
19
30
|
- - ! '>='
|
@@ -21,10 +32,10 @@ dependencies:
|
|
21
32
|
version: '1.2'
|
22
33
|
type: :runtime
|
23
34
|
prerelease: false
|
24
|
-
version_requirements: *
|
35
|
+
version_requirements: *2154470940
|
25
36
|
- !ruby/object:Gem::Dependency
|
26
37
|
name: faraday
|
27
|
-
requirement: &
|
38
|
+
requirement: &2154470440 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
40
|
requirements:
|
30
41
|
- - ~>
|
@@ -32,10 +43,10 @@ dependencies:
|
|
32
43
|
version: 0.8.1
|
33
44
|
type: :runtime
|
34
45
|
prerelease: false
|
35
|
-
version_requirements: *
|
46
|
+
version_requirements: *2154470440
|
36
47
|
- !ruby/object:Gem::Dependency
|
37
48
|
name: multi_json
|
38
|
-
requirement: &
|
49
|
+
requirement: &2154449360 !ruby/object:Gem::Requirement
|
39
50
|
none: false
|
40
51
|
requirements:
|
41
52
|
- - ~>
|
@@ -43,10 +54,10 @@ dependencies:
|
|
43
54
|
version: '1.4'
|
44
55
|
type: :runtime
|
45
56
|
prerelease: false
|
46
|
-
version_requirements: *
|
57
|
+
version_requirements: *2154449360
|
47
58
|
- !ruby/object:Gem::Dependency
|
48
59
|
name: oauth2
|
49
|
-
requirement: &
|
60
|
+
requirement: &2154448760 !ruby/object:Gem::Requirement
|
50
61
|
none: false
|
51
62
|
requirements:
|
52
63
|
- - ! '>='
|
@@ -54,10 +65,10 @@ dependencies:
|
|
54
65
|
version: '0'
|
55
66
|
type: :runtime
|
56
67
|
prerelease: false
|
57
|
-
version_requirements: *
|
68
|
+
version_requirements: *2154448760
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
70
|
name: nokogiri
|
60
|
-
requirement: &
|
71
|
+
requirement: &2154447920 !ruby/object:Gem::Requirement
|
61
72
|
none: false
|
62
73
|
requirements:
|
63
74
|
- - ~>
|
@@ -65,10 +76,10 @@ dependencies:
|
|
65
76
|
version: 1.5.2
|
66
77
|
type: :runtime
|
67
78
|
prerelease: false
|
68
|
-
version_requirements: *
|
79
|
+
version_requirements: *2154447920
|
69
80
|
- !ruby/object:Gem::Dependency
|
70
81
|
name: rspec
|
71
|
-
requirement: &
|
82
|
+
requirement: &2154446900 !ruby/object:Gem::Requirement
|
72
83
|
none: false
|
73
84
|
requirements:
|
74
85
|
- - ! '>='
|
@@ -76,10 +87,10 @@ dependencies:
|
|
76
87
|
version: '0'
|
77
88
|
type: :development
|
78
89
|
prerelease: false
|
79
|
-
version_requirements: *
|
90
|
+
version_requirements: *2154446900
|
80
91
|
- !ruby/object:Gem::Dependency
|
81
92
|
name: cucumber
|
82
|
-
requirement: &
|
93
|
+
requirement: &2154446000 !ruby/object:Gem::Requirement
|
83
94
|
none: false
|
84
95
|
requirements:
|
85
96
|
- - ! '>='
|
@@ -87,10 +98,10 @@ dependencies:
|
|
87
98
|
version: '0'
|
88
99
|
type: :development
|
89
100
|
prerelease: false
|
90
|
-
version_requirements: *
|
101
|
+
version_requirements: *2154446000
|
91
102
|
- !ruby/object:Gem::Dependency
|
92
103
|
name: webmock
|
93
|
-
requirement: &
|
104
|
+
requirement: &2154444800 !ruby/object:Gem::Requirement
|
94
105
|
none: false
|
95
106
|
requirements:
|
96
107
|
- - ~>
|
@@ -98,10 +109,10 @@ dependencies:
|
|
98
109
|
version: 1.9.0
|
99
110
|
type: :development
|
100
111
|
prerelease: false
|
101
|
-
version_requirements: *
|
112
|
+
version_requirements: *2154444800
|
102
113
|
- !ruby/object:Gem::Dependency
|
103
114
|
name: vcr
|
104
|
-
requirement: &
|
115
|
+
requirement: &2154444080 !ruby/object:Gem::Requirement
|
105
116
|
none: false
|
106
117
|
requirements:
|
107
118
|
- - ~>
|
@@ -109,10 +120,10 @@ dependencies:
|
|
109
120
|
version: 2.4.0
|
110
121
|
type: :development
|
111
122
|
prerelease: false
|
112
|
-
version_requirements: *
|
123
|
+
version_requirements: *2154444080
|
113
124
|
- !ruby/object:Gem::Dependency
|
114
125
|
name: simplecov
|
115
|
-
requirement: &
|
126
|
+
requirement: &2154443380 !ruby/object:Gem::Requirement
|
116
127
|
none: false
|
117
128
|
requirements:
|
118
129
|
- - ~>
|
@@ -120,10 +131,10 @@ dependencies:
|
|
120
131
|
version: 0.7.1
|
121
132
|
type: :development
|
122
133
|
prerelease: false
|
123
|
-
version_requirements: *
|
134
|
+
version_requirements: *2154443380
|
124
135
|
- !ruby/object:Gem::Dependency
|
125
136
|
name: coveralls
|
126
|
-
requirement: &
|
137
|
+
requirement: &2154442720 !ruby/object:Gem::Requirement
|
127
138
|
none: false
|
128
139
|
requirements:
|
129
140
|
- - ~>
|
@@ -131,10 +142,10 @@ dependencies:
|
|
131
142
|
version: 0.5.8
|
132
143
|
type: :development
|
133
144
|
prerelease: false
|
134
|
-
version_requirements: *
|
145
|
+
version_requirements: *2154442720
|
135
146
|
- !ruby/object:Gem::Dependency
|
136
147
|
name: guard
|
137
|
-
requirement: &
|
148
|
+
requirement: &2154441880 !ruby/object:Gem::Requirement
|
138
149
|
none: false
|
139
150
|
requirements:
|
140
151
|
- - ! '>='
|
@@ -142,10 +153,10 @@ dependencies:
|
|
142
153
|
version: '0'
|
143
154
|
type: :development
|
144
155
|
prerelease: false
|
145
|
-
version_requirements: *
|
156
|
+
version_requirements: *2154441880
|
146
157
|
- !ruby/object:Gem::Dependency
|
147
158
|
name: guard-rspec
|
148
|
-
requirement: &
|
159
|
+
requirement: &2154440880 !ruby/object:Gem::Requirement
|
149
160
|
none: false
|
150
161
|
requirements:
|
151
162
|
- - ! '>='
|
@@ -153,10 +164,10 @@ dependencies:
|
|
153
164
|
version: '0'
|
154
165
|
type: :development
|
155
166
|
prerelease: false
|
156
|
-
version_requirements: *
|
167
|
+
version_requirements: *2154440880
|
157
168
|
- !ruby/object:Gem::Dependency
|
158
169
|
name: guard-cucumber
|
159
|
-
requirement: &
|
170
|
+
requirement: &2154440200 !ruby/object:Gem::Requirement
|
160
171
|
none: false
|
161
172
|
requirements:
|
162
173
|
- - ! '>='
|
@@ -164,10 +175,10 @@ dependencies:
|
|
164
175
|
version: '0'
|
165
176
|
type: :development
|
166
177
|
prerelease: false
|
167
|
-
version_requirements: *
|
178
|
+
version_requirements: *2154440200
|
168
179
|
- !ruby/object:Gem::Dependency
|
169
180
|
name: rake
|
170
|
-
requirement: &
|
181
|
+
requirement: &2154439600 !ruby/object:Gem::Requirement
|
171
182
|
none: false
|
172
183
|
requirements:
|
173
184
|
- - ! '>='
|
@@ -175,10 +186,10 @@ dependencies:
|
|
175
186
|
version: '0'
|
176
187
|
type: :development
|
177
188
|
prerelease: false
|
178
|
-
version_requirements: *
|
189
|
+
version_requirements: *2154439600
|
179
190
|
- !ruby/object:Gem::Dependency
|
180
191
|
name: bundler
|
181
|
-
requirement: &
|
192
|
+
requirement: &2154438960 !ruby/object:Gem::Requirement
|
182
193
|
none: false
|
183
194
|
requirements:
|
184
195
|
- - ! '>='
|
@@ -186,7 +197,7 @@ dependencies:
|
|
186
197
|
version: '0'
|
187
198
|
type: :development
|
188
199
|
prerelease: false
|
189
|
-
version_requirements: *
|
200
|
+
version_requirements: *2154438960
|
190
201
|
description: ! ' Ruby wrapper that supports all of the GitHub API v3 methods(nearly
|
191
202
|
200). It''s build in a modular way, that is, you can either instantiate the whole
|
192
203
|
api wrapper Github.new or use parts of it e.i. Github::Repos.new if working solely
|
@@ -282,6 +293,11 @@ files:
|
|
282
293
|
- features/cassettes/issues/milestones/update.yml
|
283
294
|
- features/cassettes/markdown/render.yml
|
284
295
|
- features/cassettes/markdown/render_raw.yml
|
296
|
+
- features/cassettes/media/get_default.yml
|
297
|
+
- features/cassettes/media/get_full_json.yml
|
298
|
+
- features/cassettes/media/get_html_json.yml
|
299
|
+
- features/cassettes/media/get_raw_json.yml
|
300
|
+
- features/cassettes/media/get_text_json.yml
|
285
301
|
- features/cassettes/meta/get.yml
|
286
302
|
- features/cassettes/orgs/get.yml
|
287
303
|
- features/cassettes/orgs/list/oauth_user.yml
|
@@ -322,6 +338,11 @@ files:
|
|
322
338
|
- features/cassettes/repos/languages.yml
|
323
339
|
- features/cassettes/repos/list.yml
|
324
340
|
- features/cassettes/repos/list_repos.yml
|
341
|
+
- features/cassettes/repos/stats/commits.yml
|
342
|
+
- features/cassettes/repos/stats/contribs.yml
|
343
|
+
- features/cassettes/repos/stats/frequency.yml
|
344
|
+
- features/cassettes/repos/stats/participation.yml
|
345
|
+
- features/cassettes/repos/stats/punch.yml
|
325
346
|
- features/cassettes/repos/statuses/create.yml
|
326
347
|
- features/cassettes/repos/statuses/list.yml
|
327
348
|
- features/cassettes/repos/tags.yml
|
@@ -332,6 +353,7 @@ files:
|
|
332
353
|
- features/cassettes/search/issues.yml
|
333
354
|
- features/cassettes/search/repos.yml
|
334
355
|
- features/cassettes/search/users.yml
|
356
|
+
- features/cassettes/search/users_keyword.yml
|
335
357
|
- features/cassettes/users/all.yml
|
336
358
|
- features/cassettes/users/emails/add.yml
|
337
359
|
- features/cassettes/users/emails/all.yml
|
@@ -355,6 +377,7 @@ files:
|
|
355
377
|
- features/issues/milestones.feature
|
356
378
|
- features/issues.feature
|
357
379
|
- features/markdown.feature
|
380
|
+
- features/media_type.feature
|
358
381
|
- features/meta.feature
|
359
382
|
- features/options.feature
|
360
383
|
- features/orgs/members.feature
|
@@ -365,6 +388,7 @@ files:
|
|
365
388
|
- features/README.rdoc
|
366
389
|
- features/repos/contents.feature
|
367
390
|
- features/repos/forks.feature
|
391
|
+
- features/repos/statistics.feature
|
368
392
|
- features/repos/statuses.feature
|
369
393
|
- features/repos.feature
|
370
394
|
- features/say.feature
|
@@ -397,6 +421,7 @@ files:
|
|
397
421
|
- lib/github_api/connection.rb
|
398
422
|
- lib/github_api/constants.rb
|
399
423
|
- lib/github_api/core_ext/array.rb
|
424
|
+
- lib/github_api/core_ext/deep_merge.rb
|
400
425
|
- lib/github_api/core_ext/hash.rb
|
401
426
|
- lib/github_api/core_ext/ordered_hash.rb
|
402
427
|
- lib/github_api/deprecation.rb
|
@@ -459,6 +484,7 @@ files:
|
|
459
484
|
- lib/github_api/repos/keys.rb
|
460
485
|
- lib/github_api/repos/merging.rb
|
461
486
|
- lib/github_api/repos/pub_sub_hubbub.rb
|
487
|
+
- lib/github_api/repos/statistics.rb
|
462
488
|
- lib/github_api/repos/statuses.rb
|
463
489
|
- lib/github_api/repos.rb
|
464
490
|
- lib/github_api/request/basic_auth.rb
|
@@ -540,23 +566,28 @@ files:
|
|
540
566
|
- spec/fixtures/repos/branches.json
|
541
567
|
- spec/fixtures/repos/collaborators.json
|
542
568
|
- spec/fixtures/repos/commit.json
|
569
|
+
- spec/fixtures/repos/commit_activity.json
|
543
570
|
- spec/fixtures/repos/commit_comment.json
|
544
571
|
- spec/fixtures/repos/commit_comments.json
|
545
572
|
- spec/fixtures/repos/commit_comparison.json
|
546
573
|
- spec/fixtures/repos/commits.json
|
547
574
|
- spec/fixtures/repos/content.json
|
575
|
+
- spec/fixtures/repos/contribs.json
|
548
576
|
- spec/fixtures/repos/contributors.json
|
549
577
|
- spec/fixtures/repos/download.json
|
550
578
|
- spec/fixtures/repos/download_s3.json
|
551
579
|
- spec/fixtures/repos/downloads.json
|
552
580
|
- spec/fixtures/repos/fork.json
|
553
581
|
- spec/fixtures/repos/forks.json
|
582
|
+
- spec/fixtures/repos/frequency.json
|
554
583
|
- spec/fixtures/repos/hook.json
|
555
584
|
- spec/fixtures/repos/hooks.json
|
556
585
|
- spec/fixtures/repos/key.json
|
557
586
|
- spec/fixtures/repos/keys.json
|
558
587
|
- spec/fixtures/repos/languages.json
|
559
588
|
- spec/fixtures/repos/merge.json
|
589
|
+
- spec/fixtures/repos/participation.json
|
590
|
+
- spec/fixtures/repos/punch_card.json
|
560
591
|
- spec/fixtures/repos/readme.json
|
561
592
|
- spec/fixtures/repos/repo.json
|
562
593
|
- spec/fixtures/repos/repo_comments.json
|
@@ -617,6 +648,7 @@ files:
|
|
617
648
|
- spec/github/authorizations/update_spec.rb
|
618
649
|
- spec/github/client_spec.rb
|
619
650
|
- spec/github/configuration_spec.rb
|
651
|
+
- spec/github/core_ext/deep_merge_spec.rb
|
620
652
|
- spec/github/core_ext/hash_spec.rb
|
621
653
|
- spec/github/deprecation_spec.rb
|
622
654
|
- spec/github/error/client_error_spec.rb
|
@@ -722,6 +754,7 @@ files:
|
|
722
754
|
- spec/github/pagination/iterator/number_spec.rb
|
723
755
|
- spec/github/pagination/iterator/sha_spec.rb
|
724
756
|
- spec/github/parameter_filter_spec.rb
|
757
|
+
- spec/github/params_hash_spec.rb
|
725
758
|
- spec/github/pull_requests/comments/create_spec.rb
|
726
759
|
- spec/github/pull_requests/comments/delete_spec.rb
|
727
760
|
- spec/github/pull_requests/comments/edit_spec.rb
|
@@ -787,6 +820,11 @@ files:
|
|
787
820
|
- spec/github/repos/pub_sub_hubbub/subscribe_spec.rb
|
788
821
|
- spec/github/repos/pub_sub_hubbub/unsubscribe_service_spec.rb
|
789
822
|
- spec/github/repos/pub_sub_hubbub/unsubscribe_spec.rb
|
823
|
+
- spec/github/repos/statistics/code_frequency_spec.rb
|
824
|
+
- spec/github/repos/statistics/commit_activity_spec.rb
|
825
|
+
- spec/github/repos/statistics/contributors_spec.rb
|
826
|
+
- spec/github/repos/statistics/participation_spec.rb
|
827
|
+
- spec/github/repos/statistics/punch_card_spec.rb
|
790
828
|
- spec/github/repos/statuses/create_spec.rb
|
791
829
|
- spec/github/repos/statuses/list_spec.rb
|
792
830
|
- spec/github/repos/statuses_spec.rb
|
@@ -799,6 +837,7 @@ files:
|
|
799
837
|
- spec/github/request_spec.rb
|
800
838
|
- spec/github/response_wrapper/eql_spec.rb
|
801
839
|
- spec/github/response_wrapper/headers_spec.rb
|
840
|
+
- spec/github/response_wrapper/overwrites_spec.rb
|
802
841
|
- spec/github/response_wrapper_spec.rb
|
803
842
|
- spec/github/s3_uploader_spec.rb
|
804
843
|
- spec/github/scopes/list_spec.rb
|