octokit 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +3 -0
- data/Rakefile +3 -10
- data/changelog.markdown +3 -0
- data/lib/octokit/client.rb +1 -2
- data/lib/octokit/client/authentication.rb +4 -0
- data/lib/octokit/client/commits.rb +1 -1
- data/lib/octokit/client/connection.rb +4 -2
- data/lib/octokit/client/issues.rb +8 -8
- data/lib/octokit/client/network.rb +3 -3
- data/lib/octokit/client/objects.rb +1 -1
- data/lib/octokit/client/organizations.rb +3 -2
- data/lib/octokit/client/pulls.rb +9 -3
- data/lib/octokit/client/repositories.rb +23 -10
- data/lib/octokit/client/request.rb +10 -10
- data/lib/octokit/client/timelines.rb +11 -9
- data/lib/octokit/configuration.rb +21 -19
- data/lib/octokit/version.rb +1 -1
- data/octokit.gemspec +4 -6
- data/spec/faraday/response_spec.rb +33 -0
- data/spec/fixtures/blob.json +1 -0
- data/spec/fixtures/blob_metadata.json +1 -0
- data/spec/fixtures/blobs.json +1 -0
- data/spec/fixtures/branches.json +1 -0
- data/spec/fixtures/collaborators.json +1 -0
- data/spec/fixtures/comment.json +1 -0
- data/spec/fixtures/comments.json +1 -0
- data/spec/fixtures/commit.json +1 -0
- data/spec/fixtures/commits.json +1 -0
- data/spec/fixtures/contributors.json +1 -0
- data/spec/fixtures/delete_token.json +1 -0
- data/spec/fixtures/emails.json +1 -0
- data/spec/fixtures/followers.json +1 -0
- data/spec/fixtures/following.json +1 -0
- data/spec/fixtures/issue.json +1 -0
- data/spec/fixtures/issues.json +1 -0
- data/spec/fixtures/labels.json +1 -0
- data/spec/fixtures/languages.json +1 -0
- data/spec/fixtures/network.json +1 -0
- data/spec/fixtures/network_data.json +1 -0
- data/spec/fixtures/network_meta.json +1 -0
- data/spec/fixtures/organization.json +1 -0
- data/spec/fixtures/organizations.json +1 -0
- data/spec/fixtures/public_keys.json +1 -0
- data/spec/fixtures/pull.json +1 -0
- data/spec/fixtures/pulls.json +1 -0
- data/spec/fixtures/raw.txt +7 -0
- data/spec/fixtures/repositories.json +1 -0
- data/spec/fixtures/repository.json +1 -0
- data/spec/fixtures/tags.json +1 -0
- data/spec/fixtures/team.json +1 -0
- data/spec/fixtures/teams.json +1 -0
- data/spec/fixtures/timeline.json +1237 -0
- data/spec/fixtures/tree.json +1 -0
- data/spec/fixtures/tree_metadata.json +1 -0
- data/spec/fixtures/user.json +1 -0
- data/spec/fixtures/users.json +1 -0
- data/spec/fixtures/watchers.json +1 -0
- data/spec/helper.rb +66 -0
- data/spec/octokit/client/commits_spec.rb +31 -0
- data/spec/octokit/client/issues_spec.rb +155 -0
- data/spec/octokit/client/network_spec.rb +31 -0
- data/spec/octokit/client/objects_spec.rb +75 -0
- data/spec/octokit/client/organizations_spec.rb +233 -0
- data/spec/octokit/client/pulls_spec.rb +43 -0
- data/spec/octokit/client/repositories_spec.rb +330 -0
- data/spec/octokit/client/timelines_spec.rb +41 -0
- data/spec/octokit/client/users_spec.rb +273 -0
- data/spec/octokit/client_spec.rb +12 -0
- data/spec/octokit_spec.rb +14 -0
- data/spec/repository_spec.rb +53 -0
- data/test/helper.rb +2 -0
- data/test/octokit_test.rb +14 -2
- metadata +147 -89
- data/lib/octokit/event.rb +0 -76
@@ -0,0 +1,12 @@
|
|
1
|
+
require File.expand_path('../../helper', __FILE__)
|
2
|
+
|
3
|
+
describe Octokit::Client do
|
4
|
+
|
5
|
+
it "should connect using the endpoint configuration" do
|
6
|
+
client = Octokit::Client.new
|
7
|
+
endpoint = URI.parse(client.endpoint)
|
8
|
+
connection = client.send(:connection).build_url(nil).to_s
|
9
|
+
connection.should == endpoint.to_s
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require File.expand_path('../helper', __FILE__)
|
2
|
+
|
3
|
+
describe Octokit::Repository do
|
4
|
+
context "when passed a string containg a slash" do
|
5
|
+
before do
|
6
|
+
@repository = Octokit::Repository.new("sferik/octokit")
|
7
|
+
end
|
8
|
+
|
9
|
+
it "should set the repository name and username" do
|
10
|
+
@repository.name.should == "octokit"
|
11
|
+
@repository.username.should == "sferik"
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should respond to repo and user" do
|
15
|
+
@repository.repo.should == "octokit"
|
16
|
+
@repository.user.should == "sferik"
|
17
|
+
end
|
18
|
+
|
19
|
+
it "should render slug as string" do
|
20
|
+
@repository.slug.should == "sferik/octokit"
|
21
|
+
@repository.to_s.should == @repository.slug
|
22
|
+
end
|
23
|
+
|
24
|
+
it "should render url as string" do
|
25
|
+
@repository.url.should == 'https://github.com/sferik/octokit'
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
context "when passed a hash" do
|
31
|
+
it "should set the repository name and username" do
|
32
|
+
repository = Octokit::Repository.new({:username => 'sferik', :name => 'octokit'})
|
33
|
+
repository.name.should == "octokit"
|
34
|
+
repository.username.should == "sferik"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
context "when passed a Repo" do
|
39
|
+
it "should set the repository name and username" do
|
40
|
+
repository = Octokit::Repository.new(Octokit::Repository.new('sferik/octokit'))
|
41
|
+
repository.name.should == "octokit"
|
42
|
+
repository.username.should == "sferik"
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
context "when given a URL" do
|
47
|
+
it "should set the repository name and username" do
|
48
|
+
repository = Octokit::Repository.from_url("https://github.com/sferik/octokit")
|
49
|
+
repository.name.should == "octokit"
|
50
|
+
repository.username.should == "sferik"
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
data/test/helper.rb
CHANGED
@@ -26,6 +26,8 @@ def github_url(url)
|
|
26
26
|
url
|
27
27
|
elsif @client && @client.authenticated?
|
28
28
|
"https://pengwynn%2Ftoken:OU812@github.com/api/v#{Octokit.version}/#{Octokit.format}/#{url}"
|
29
|
+
elsif @client && @client.oauthed?
|
30
|
+
"https://github.com/api/v#{Octokit.version}/#{Octokit.format}/#{url}?access_token=#{@client.oauth_token}"
|
29
31
|
else
|
30
32
|
"https://github.com/api/v#{Octokit.version}/#{Octokit.format}/#{url}"
|
31
33
|
end
|
data/test/octokit_test.rb
CHANGED
@@ -2,6 +2,18 @@ require File.expand_path(File.dirname(__FILE__) + '/helper')
|
|
2
2
|
|
3
3
|
class OctokitTest < Test::Unit::TestCase
|
4
4
|
|
5
|
+
context "when oauthed" do
|
6
|
+
setup do
|
7
|
+
@client = Octokit::Client.new(:login => 'pengwynn', :oauth_token => 'OU812')
|
8
|
+
end
|
9
|
+
should "return full user info for the authenticated user" do
|
10
|
+
stub_get("user/show", "full_user.json")
|
11
|
+
user = @client.user
|
12
|
+
user.plan.name.should == 'free'
|
13
|
+
user.plan.space.should == 307200
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
5
17
|
context "when authenticated" do
|
6
18
|
setup do
|
7
19
|
@client = Octokit::Client.new(:login => 'pengwynn', :token => 'OU812')
|
@@ -12,7 +24,7 @@ class OctokitTest < Test::Unit::TestCase
|
|
12
24
|
users = @client.search_users("wynn")
|
13
25
|
users.first.username.should == 'pengwynn'
|
14
26
|
end
|
15
|
-
|
27
|
+
|
16
28
|
should "should search users by email" do
|
17
29
|
stub_get("user/email/wynn.netherland@gmail.com", "search-email.json")
|
18
30
|
users = @client.search_users("wynn.netherland@gmail.com")
|
@@ -266,7 +278,7 @@ class OctokitTest < Test::Unit::TestCase
|
|
266
278
|
users = Octokit.search_users("wynn")
|
267
279
|
users.first.username.should == 'pengwynn'
|
268
280
|
end
|
269
|
-
|
281
|
+
|
270
282
|
should "should search users by email" do
|
271
283
|
stub_get("user/email/wynn.netherland@gmail.com", "search-email.json")
|
272
284
|
users = Octokit.search_users("wynn.netherland@gmail.com")
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octokit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 13
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
7
|
+
- 5
|
8
|
+
- 0
|
9
|
+
version: 0.5.0
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Wynn Netherland
|
@@ -17,240 +16,197 @@ autorequire:
|
|
17
16
|
bindir: bin
|
18
17
|
cert_chain: []
|
19
18
|
|
20
|
-
date: 2011-01-
|
19
|
+
date: 2011-01-21 00:00:00 -08:00
|
21
20
|
default_executable:
|
22
21
|
dependencies:
|
23
22
|
- !ruby/object:Gem::Dependency
|
24
|
-
name:
|
23
|
+
name: json
|
25
24
|
prerelease: false
|
26
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
27
26
|
none: false
|
28
27
|
requirements:
|
29
28
|
- - ~>
|
30
29
|
- !ruby/object:Gem::Version
|
31
|
-
hash: 9
|
32
30
|
segments:
|
33
31
|
- 1
|
34
|
-
-
|
35
|
-
version: "1.
|
32
|
+
- 4
|
33
|
+
version: "1.4"
|
36
34
|
type: :development
|
37
35
|
version_requirements: *id001
|
38
36
|
- !ruby/object:Gem::Dependency
|
39
|
-
name:
|
37
|
+
name: nokogiri
|
40
38
|
prerelease: false
|
41
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
42
40
|
none: false
|
43
41
|
requirements:
|
44
42
|
- - ~>
|
45
43
|
- !ruby/object:Gem::Version
|
46
|
-
hash: 3
|
47
44
|
segments:
|
48
|
-
-
|
45
|
+
- 1
|
49
46
|
- 4
|
50
|
-
version: "
|
47
|
+
version: "1.4"
|
51
48
|
type: :development
|
52
49
|
version_requirements: *id002
|
53
50
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
51
|
+
name: rake
|
55
52
|
prerelease: false
|
56
53
|
requirement: &id003 !ruby/object:Gem::Requirement
|
57
54
|
none: false
|
58
55
|
requirements:
|
59
56
|
- - ~>
|
60
57
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 7
|
62
58
|
segments:
|
63
|
-
-
|
64
|
-
-
|
65
|
-
version: "
|
59
|
+
- 0
|
60
|
+
- 8
|
61
|
+
version: "0.8"
|
66
62
|
type: :development
|
67
63
|
version_requirements: *id003
|
68
64
|
- !ruby/object:Gem::Dependency
|
69
|
-
name:
|
65
|
+
name: rspec
|
70
66
|
prerelease: false
|
71
67
|
requirement: &id004 !ruby/object:Gem::Requirement
|
72
68
|
none: false
|
73
69
|
requirements:
|
74
70
|
- - ~>
|
75
71
|
- !ruby/object:Gem::Version
|
76
|
-
hash: 25
|
77
72
|
segments:
|
78
|
-
-
|
79
|
-
-
|
80
|
-
version: "
|
73
|
+
- 2
|
74
|
+
- 4
|
75
|
+
version: "2.4"
|
81
76
|
type: :development
|
82
77
|
version_requirements: *id004
|
83
78
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
79
|
+
name: simplecov
|
85
80
|
prerelease: false
|
86
81
|
requirement: &id005 !ruby/object:Gem::Requirement
|
87
82
|
none: false
|
88
83
|
requirements:
|
89
84
|
- - ~>
|
90
85
|
- !ruby/object:Gem::Version
|
91
|
-
hash: 7
|
92
|
-
segments:
|
93
|
-
- 1
|
94
|
-
- 4
|
95
|
-
version: "1.4"
|
96
|
-
type: :development
|
97
|
-
version_requirements: *id005
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: rake
|
100
|
-
prerelease: false
|
101
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
102
|
-
none: false
|
103
|
-
requirements:
|
104
|
-
- - ~>
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
hash: 27
|
107
86
|
segments:
|
108
87
|
- 0
|
109
|
-
-
|
110
|
-
version: "0.
|
111
|
-
type: :development
|
112
|
-
version_requirements: *id006
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: shoulda
|
115
|
-
prerelease: false
|
116
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
|
-
requirements:
|
119
|
-
- - ~>
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
hash: 21
|
122
|
-
segments:
|
123
|
-
- 2
|
124
|
-
- 11
|
125
|
-
version: "2.11"
|
88
|
+
- 3
|
89
|
+
version: "0.3"
|
126
90
|
type: :development
|
127
|
-
version_requirements: *
|
91
|
+
version_requirements: *id005
|
128
92
|
- !ruby/object:Gem::Dependency
|
129
93
|
name: webmock
|
130
94
|
prerelease: false
|
131
|
-
requirement: &
|
95
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
132
96
|
none: false
|
133
97
|
requirements:
|
134
98
|
- - ~>
|
135
99
|
- !ruby/object:Gem::Version
|
136
|
-
hash: 3
|
137
100
|
segments:
|
138
101
|
- 1
|
139
102
|
- 6
|
140
103
|
version: "1.6"
|
141
104
|
type: :development
|
142
|
-
version_requirements: *
|
105
|
+
version_requirements: *id006
|
143
106
|
- !ruby/object:Gem::Dependency
|
144
107
|
name: ZenTest
|
145
108
|
prerelease: false
|
146
|
-
requirement: &
|
109
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
147
110
|
none: false
|
148
111
|
requirements:
|
149
112
|
- - ~>
|
150
113
|
- !ruby/object:Gem::Version
|
151
|
-
hash: 19
|
152
114
|
segments:
|
153
115
|
- 4
|
154
116
|
- 4
|
155
117
|
version: "4.4"
|
156
118
|
type: :development
|
157
|
-
version_requirements: *
|
119
|
+
version_requirements: *id007
|
158
120
|
- !ruby/object:Gem::Dependency
|
159
121
|
name: addressable
|
160
122
|
prerelease: false
|
161
|
-
requirement: &
|
123
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
162
124
|
none: false
|
163
125
|
requirements:
|
164
126
|
- - ~>
|
165
127
|
- !ruby/object:Gem::Version
|
166
|
-
hash: 3
|
167
128
|
segments:
|
168
129
|
- 2
|
169
130
|
- 2
|
170
|
-
-
|
171
|
-
version: 2.2.
|
131
|
+
- 3
|
132
|
+
version: 2.2.3
|
172
133
|
type: :runtime
|
173
|
-
version_requirements: *
|
134
|
+
version_requirements: *id008
|
174
135
|
- !ruby/object:Gem::Dependency
|
175
136
|
name: hashie
|
176
137
|
prerelease: false
|
177
|
-
requirement: &
|
138
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
178
139
|
none: false
|
179
140
|
requirements:
|
180
141
|
- - ~>
|
181
142
|
- !ruby/object:Gem::Version
|
182
|
-
hash: 15
|
183
143
|
segments:
|
184
144
|
- 0
|
185
145
|
- 4
|
186
146
|
- 0
|
187
147
|
version: 0.4.0
|
188
148
|
type: :runtime
|
189
|
-
version_requirements: *
|
149
|
+
version_requirements: *id009
|
190
150
|
- !ruby/object:Gem::Dependency
|
191
151
|
name: faraday
|
192
152
|
prerelease: false
|
193
|
-
requirement: &
|
153
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
194
154
|
none: false
|
195
155
|
requirements:
|
196
156
|
- - ~>
|
197
157
|
- !ruby/object:Gem::Version
|
198
|
-
hash: 13
|
199
158
|
segments:
|
200
159
|
- 0
|
201
160
|
- 5
|
202
|
-
-
|
203
|
-
version: 0.5.
|
161
|
+
- 4
|
162
|
+
version: 0.5.4
|
204
163
|
type: :runtime
|
205
|
-
version_requirements: *
|
164
|
+
version_requirements: *id010
|
206
165
|
- !ruby/object:Gem::Dependency
|
207
166
|
name: faraday_middleware
|
208
167
|
prerelease: false
|
209
|
-
requirement: &
|
168
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
210
169
|
none: false
|
211
170
|
requirements:
|
212
171
|
- - ~>
|
213
172
|
- !ruby/object:Gem::Version
|
214
|
-
hash: 17
|
215
173
|
segments:
|
216
174
|
- 0
|
217
175
|
- 3
|
218
176
|
- 1
|
219
177
|
version: 0.3.1
|
220
178
|
type: :runtime
|
221
|
-
version_requirements: *
|
179
|
+
version_requirements: *id011
|
222
180
|
- !ruby/object:Gem::Dependency
|
223
181
|
name: multi_json
|
224
182
|
prerelease: false
|
225
|
-
requirement: &
|
183
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
226
184
|
none: false
|
227
185
|
requirements:
|
228
186
|
- - ~>
|
229
187
|
- !ruby/object:Gem::Version
|
230
|
-
hash: 21
|
231
188
|
segments:
|
232
189
|
- 0
|
233
190
|
- 0
|
234
191
|
- 5
|
235
192
|
version: 0.0.5
|
236
193
|
type: :runtime
|
237
|
-
version_requirements: *
|
194
|
+
version_requirements: *id012
|
238
195
|
- !ruby/object:Gem::Dependency
|
239
196
|
name: multi_xml
|
240
197
|
prerelease: false
|
241
|
-
requirement: &
|
198
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
242
199
|
none: false
|
243
200
|
requirements:
|
244
201
|
- - ~>
|
245
202
|
- !ruby/object:Gem::Version
|
246
|
-
hash: 23
|
247
203
|
segments:
|
248
204
|
- 0
|
249
205
|
- 2
|
250
206
|
- 0
|
251
207
|
version: 0.2.0
|
252
208
|
type: :runtime
|
253
|
-
version_requirements: *
|
209
|
+
version_requirements: *id013
|
254
210
|
description: Simple wrapper for the GitHub API v2
|
255
211
|
email:
|
256
212
|
- wynn.netherland@gmail.com
|
@@ -263,6 +219,7 @@ extra_rdoc_files: []
|
|
263
219
|
files:
|
264
220
|
- .document
|
265
221
|
- .gitignore
|
222
|
+
- .rspec
|
266
223
|
- Gemfile
|
267
224
|
- LICENSE
|
268
225
|
- README.markdown
|
@@ -284,10 +241,61 @@ files:
|
|
284
241
|
- lib/octokit/client/timelines.rb
|
285
242
|
- lib/octokit/client/users.rb
|
286
243
|
- lib/octokit/configuration.rb
|
287
|
-
- lib/octokit/event.rb
|
288
244
|
- lib/octokit/repository.rb
|
289
245
|
- lib/octokit/version.rb
|
290
246
|
- octokit.gemspec
|
247
|
+
- spec/faraday/response_spec.rb
|
248
|
+
- spec/fixtures/blob.json
|
249
|
+
- spec/fixtures/blob_metadata.json
|
250
|
+
- spec/fixtures/blobs.json
|
251
|
+
- spec/fixtures/branches.json
|
252
|
+
- spec/fixtures/collaborators.json
|
253
|
+
- spec/fixtures/comment.json
|
254
|
+
- spec/fixtures/comments.json
|
255
|
+
- spec/fixtures/commit.json
|
256
|
+
- spec/fixtures/commits.json
|
257
|
+
- spec/fixtures/contributors.json
|
258
|
+
- spec/fixtures/delete_token.json
|
259
|
+
- spec/fixtures/emails.json
|
260
|
+
- spec/fixtures/followers.json
|
261
|
+
- spec/fixtures/following.json
|
262
|
+
- spec/fixtures/issue.json
|
263
|
+
- spec/fixtures/issues.json
|
264
|
+
- spec/fixtures/labels.json
|
265
|
+
- spec/fixtures/languages.json
|
266
|
+
- spec/fixtures/network.json
|
267
|
+
- spec/fixtures/network_data.json
|
268
|
+
- spec/fixtures/network_meta.json
|
269
|
+
- spec/fixtures/organization.json
|
270
|
+
- spec/fixtures/organizations.json
|
271
|
+
- spec/fixtures/public_keys.json
|
272
|
+
- spec/fixtures/pull.json
|
273
|
+
- spec/fixtures/pulls.json
|
274
|
+
- spec/fixtures/raw.txt
|
275
|
+
- spec/fixtures/repositories.json
|
276
|
+
- spec/fixtures/repository.json
|
277
|
+
- spec/fixtures/tags.json
|
278
|
+
- spec/fixtures/team.json
|
279
|
+
- spec/fixtures/teams.json
|
280
|
+
- spec/fixtures/timeline.json
|
281
|
+
- spec/fixtures/tree.json
|
282
|
+
- spec/fixtures/tree_metadata.json
|
283
|
+
- spec/fixtures/user.json
|
284
|
+
- spec/fixtures/users.json
|
285
|
+
- spec/fixtures/watchers.json
|
286
|
+
- spec/helper.rb
|
287
|
+
- spec/octokit/client/commits_spec.rb
|
288
|
+
- spec/octokit/client/issues_spec.rb
|
289
|
+
- spec/octokit/client/network_spec.rb
|
290
|
+
- spec/octokit/client/objects_spec.rb
|
291
|
+
- spec/octokit/client/organizations_spec.rb
|
292
|
+
- spec/octokit/client/pulls_spec.rb
|
293
|
+
- spec/octokit/client/repositories_spec.rb
|
294
|
+
- spec/octokit/client/timelines_spec.rb
|
295
|
+
- spec/octokit/client/users_spec.rb
|
296
|
+
- spec/octokit/client_spec.rb
|
297
|
+
- spec/octokit_spec.rb
|
298
|
+
- spec/repository_spec.rb
|
291
299
|
- test/fixtures/blob.json
|
292
300
|
- test/fixtures/branch_commits.json
|
293
301
|
- test/fixtures/branches.json
|
@@ -337,7 +345,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
337
345
|
requirements:
|
338
346
|
- - ">="
|
339
347
|
- !ruby/object:Gem::Version
|
340
|
-
hash: 3
|
341
348
|
segments:
|
342
349
|
- 0
|
343
350
|
version: "0"
|
@@ -346,7 +353,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
346
353
|
requirements:
|
347
354
|
- - ">="
|
348
355
|
- !ruby/object:Gem::Version
|
349
|
-
hash: 23
|
350
356
|
segments:
|
351
357
|
- 1
|
352
358
|
- 3
|
@@ -360,6 +366,58 @@ signing_key:
|
|
360
366
|
specification_version: 3
|
361
367
|
summary: Wrapper for the GitHub API
|
362
368
|
test_files:
|
369
|
+
- spec/faraday/response_spec.rb
|
370
|
+
- spec/fixtures/blob.json
|
371
|
+
- spec/fixtures/blob_metadata.json
|
372
|
+
- spec/fixtures/blobs.json
|
373
|
+
- spec/fixtures/branches.json
|
374
|
+
- spec/fixtures/collaborators.json
|
375
|
+
- spec/fixtures/comment.json
|
376
|
+
- spec/fixtures/comments.json
|
377
|
+
- spec/fixtures/commit.json
|
378
|
+
- spec/fixtures/commits.json
|
379
|
+
- spec/fixtures/contributors.json
|
380
|
+
- spec/fixtures/delete_token.json
|
381
|
+
- spec/fixtures/emails.json
|
382
|
+
- spec/fixtures/followers.json
|
383
|
+
- spec/fixtures/following.json
|
384
|
+
- spec/fixtures/issue.json
|
385
|
+
- spec/fixtures/issues.json
|
386
|
+
- spec/fixtures/labels.json
|
387
|
+
- spec/fixtures/languages.json
|
388
|
+
- spec/fixtures/network.json
|
389
|
+
- spec/fixtures/network_data.json
|
390
|
+
- spec/fixtures/network_meta.json
|
391
|
+
- spec/fixtures/organization.json
|
392
|
+
- spec/fixtures/organizations.json
|
393
|
+
- spec/fixtures/public_keys.json
|
394
|
+
- spec/fixtures/pull.json
|
395
|
+
- spec/fixtures/pulls.json
|
396
|
+
- spec/fixtures/raw.txt
|
397
|
+
- spec/fixtures/repositories.json
|
398
|
+
- spec/fixtures/repository.json
|
399
|
+
- spec/fixtures/tags.json
|
400
|
+
- spec/fixtures/team.json
|
401
|
+
- spec/fixtures/teams.json
|
402
|
+
- spec/fixtures/timeline.json
|
403
|
+
- spec/fixtures/tree.json
|
404
|
+
- spec/fixtures/tree_metadata.json
|
405
|
+
- spec/fixtures/user.json
|
406
|
+
- spec/fixtures/users.json
|
407
|
+
- spec/fixtures/watchers.json
|
408
|
+
- spec/helper.rb
|
409
|
+
- spec/octokit/client/commits_spec.rb
|
410
|
+
- spec/octokit/client/issues_spec.rb
|
411
|
+
- spec/octokit/client/network_spec.rb
|
412
|
+
- spec/octokit/client/objects_spec.rb
|
413
|
+
- spec/octokit/client/organizations_spec.rb
|
414
|
+
- spec/octokit/client/pulls_spec.rb
|
415
|
+
- spec/octokit/client/repositories_spec.rb
|
416
|
+
- spec/octokit/client/timelines_spec.rb
|
417
|
+
- spec/octokit/client/users_spec.rb
|
418
|
+
- spec/octokit/client_spec.rb
|
419
|
+
- spec/octokit_spec.rb
|
420
|
+
- spec/repository_spec.rb
|
363
421
|
- test/fixtures/blob.json
|
364
422
|
- test/fixtures/branch_commits.json
|
365
423
|
- test/fixtures/branches.json
|