octokit 0.6.2 → 0.6.3

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.
Files changed (71) hide show
  1. data/.travis.yml +3 -2
  2. data/CHANGELOG.md +20 -0
  3. data/Gemfile +5 -1
  4. data/README.md +67 -0
  5. data/lib/faraday/response/raise_error.rb +1 -1
  6. data/lib/octokit/client/commits.rb +2 -2
  7. data/lib/octokit/client/connection.rb +5 -7
  8. data/lib/octokit/client/issues.rb +19 -19
  9. data/lib/octokit/client/network.rb +2 -2
  10. data/lib/octokit/client/objects.rb +6 -6
  11. data/lib/octokit/client/organizations.rb +18 -18
  12. data/lib/octokit/client/pulls.rb +3 -3
  13. data/lib/octokit/client/repositories.rb +29 -29
  14. data/lib/octokit/client/request.rb +20 -19
  15. data/lib/octokit/client/timelines.rb +5 -5
  16. data/lib/octokit/client/users.rb +15 -15
  17. data/lib/octokit/configuration.rb +4 -15
  18. data/lib/octokit/version.rb +1 -1
  19. data/octokit.gemspec +14 -14
  20. data/spec/fixtures/{blob.json → v2/blob.json} +0 -0
  21. data/spec/fixtures/{blob_metadata.json → v2/blob_metadata.json} +0 -0
  22. data/spec/fixtures/{blobs.json → v2/blobs.json} +0 -0
  23. data/spec/fixtures/{branches.json → v2/branches.json} +0 -0
  24. data/spec/fixtures/{collaborators.json → v2/collaborators.json} +0 -0
  25. data/spec/fixtures/{comment.json → v2/comment.json} +0 -0
  26. data/spec/fixtures/{comments.json → v2/comments.json} +0 -0
  27. data/spec/fixtures/{commit.json → v2/commit.json} +0 -0
  28. data/spec/fixtures/{commits.json → v2/commits.json} +0 -0
  29. data/spec/fixtures/{contributors.json → v2/contributors.json} +0 -0
  30. data/spec/fixtures/v2/delete_failure.json +1 -0
  31. data/spec/fixtures/{delete_token.json → v2/delete_token.json} +0 -0
  32. data/spec/fixtures/{emails.json → v2/emails.json} +0 -0
  33. data/spec/fixtures/{followers.json → v2/followers.json} +0 -0
  34. data/spec/fixtures/{following.json → v2/following.json} +0 -0
  35. data/spec/fixtures/{issue.json → v2/issue.json} +0 -0
  36. data/spec/fixtures/{issues.json → v2/issues.json} +0 -0
  37. data/spec/fixtures/{labels.json → v2/labels.json} +0 -0
  38. data/spec/fixtures/{languages.json → v2/languages.json} +0 -0
  39. data/spec/fixtures/{network.json → v2/network.json} +0 -0
  40. data/spec/fixtures/{network_data.json → v2/network_data.json} +0 -0
  41. data/spec/fixtures/{network_meta.json → v2/network_meta.json} +0 -0
  42. data/spec/fixtures/{organization.json → v2/organization.json} +0 -0
  43. data/spec/fixtures/{organizations.json → v2/organizations.json} +0 -0
  44. data/spec/fixtures/{public_keys.json → v2/public_keys.json} +0 -0
  45. data/spec/fixtures/{pull.json → v2/pull.json} +0 -0
  46. data/spec/fixtures/{pulls.json → v2/pulls.json} +0 -0
  47. data/spec/fixtures/{raw.txt → v2/raw.txt} +0 -0
  48. data/spec/fixtures/{repositories.json → v2/repositories.json} +0 -0
  49. data/spec/fixtures/{repository.json → v2/repository.json} +0 -0
  50. data/spec/fixtures/{tags.json → v2/tags.json} +0 -0
  51. data/spec/fixtures/{team.json → v2/team.json} +0 -0
  52. data/spec/fixtures/{teams.json → v2/teams.json} +0 -0
  53. data/spec/fixtures/{tree.json → v2/tree.json} +0 -0
  54. data/spec/fixtures/{tree_metadata.json → v2/tree_metadata.json} +0 -0
  55. data/spec/fixtures/{user.json → v2/user.json} +0 -0
  56. data/spec/fixtures/{users.json → v2/users.json} +0 -0
  57. data/spec/fixtures/{watchers.json → v2/watchers.json} +0 -0
  58. data/spec/fixtures/v3/issues.json +1580 -0
  59. data/spec/helper.rb +3 -3
  60. data/spec/octokit/client/commits_spec.rb +2 -2
  61. data/spec/octokit/client/issues_spec.rb +25 -26
  62. data/spec/octokit/client/network_spec.rb +2 -2
  63. data/spec/octokit/client/objects_spec.rb +6 -9
  64. data/spec/octokit/client/organizations_spec.rb +19 -19
  65. data/spec/octokit/client/pulls_spec.rb +3 -3
  66. data/spec/octokit/client/repositories_spec.rb +44 -31
  67. data/spec/octokit/client/users_spec.rb +21 -21
  68. data/spec/octokit/client_spec.rb +8 -7
  69. metadata +110 -96
  70. data/README.markdown +0 -73
  71. data/changelog.markdown +0 -42
@@ -13,7 +13,7 @@ describe Octokit::Client::Users do
13
13
 
14
14
  it "should return matching username" do
15
15
  stub_get("user/search/sferik").
16
- to_return(:body => fixture("users.json"))
16
+ to_return(:body => fixture("v2/users.json"))
17
17
  users = @client.search_users("sferik")
18
18
  users.first.username.should == "sferik"
19
19
  end
@@ -24,7 +24,7 @@ describe Octokit::Client::Users do
24
24
 
25
25
  it "should return matching email address" do
26
26
  stub_get("user/email/sferik@gmail.com").
27
- to_return(:body => fixture("user.json"))
27
+ to_return(:body => fixture("v2/user.json"))
28
28
  user = @client.search_users("sferik@gmail.com")
29
29
  user.login.should == "sferik"
30
30
  end
@@ -39,7 +39,7 @@ describe Octokit::Client::Users do
39
39
 
40
40
  it "should return the user" do
41
41
  stub_get("user/show/sferik").
42
- to_return(:body => fixture("user.json"))
42
+ to_return(:body => fixture("v2/user.json"))
43
43
  user = @client.user("sferik")
44
44
  user.login.should == "sferik"
45
45
  end
@@ -50,7 +50,7 @@ describe Octokit::Client::Users do
50
50
 
51
51
  it "should return the authenticated user" do
52
52
  stub_get("user/show").
53
- to_return(:body => fixture("user.json"))
53
+ to_return(:body => fixture("v2/user.json"))
54
54
  user = @client.user
55
55
  user.login.should == "sferik"
56
56
  end
@@ -66,7 +66,7 @@ describe Octokit::Client::Users do
66
66
  it "should update the user's location" do
67
67
  stub_post("user/show/sferik").
68
68
  with(:values => {:location => "San Francisco"}).
69
- to_return(:body => fixture("user.json"))
69
+ to_return(:body => fixture("v2/user.json"))
70
70
  user = @client.update_user(:location => "San Francisco")
71
71
  user.login.should == "sferik"
72
72
  end
@@ -81,7 +81,7 @@ describe Octokit::Client::Users do
81
81
 
82
82
  it "should return the user's followers" do
83
83
  stub_get("user/show/sferik/followers").
84
- to_return(:body => fixture("followers.json"))
84
+ to_return(:body => fixture("v2/followers.json"))
85
85
  users = @client.followers("sferik")
86
86
  users.first.should == "puls"
87
87
  end
@@ -92,7 +92,7 @@ describe Octokit::Client::Users do
92
92
 
93
93
  it "should return the user's followers" do
94
94
  stub_get("user/show/sferik/followers").
95
- to_return(:body => fixture("followers.json"))
95
+ to_return(:body => fixture("v2/followers.json"))
96
96
  users = @client.followers
97
97
  users.first.should == "puls"
98
98
  end
@@ -107,7 +107,7 @@ describe Octokit::Client::Users do
107
107
 
108
108
  it "should return the user's following" do
109
109
  stub_get("user/show/sferik/following").
110
- to_return(:body => fixture("following.json"))
110
+ to_return(:body => fixture("v2/following.json"))
111
111
  users = @client.following("sferik")
112
112
  users.first.should == "rails"
113
113
  end
@@ -118,7 +118,7 @@ describe Octokit::Client::Users do
118
118
 
119
119
  it "should return the user's following" do
120
120
  stub_get("user/show/sferik/following").
121
- to_return(:body => fixture("following.json"))
121
+ to_return(:body => fixture("v2/following.json"))
122
122
  users = @client.following
123
123
  users.first.should == "rails"
124
124
  end
@@ -133,7 +133,7 @@ describe Octokit::Client::Users do
133
133
 
134
134
  it "should return true" do
135
135
  stub_get("user/show/sferik/following").
136
- to_return(:body => fixture("following.json"))
136
+ to_return(:body => fixture("v2/following.json"))
137
137
  follows = @client.follows?("sferik", "pengwynn")
138
138
  follows.should be_true
139
139
  end
@@ -144,7 +144,7 @@ describe Octokit::Client::Users do
144
144
 
145
145
  it "should return false" do
146
146
  stub_get("user/show/sferik/following").
147
- to_return(:body => fixture("following.json"))
147
+ to_return(:body => fixture("v2/following.json"))
148
148
  follows = @client.follows?("sferik", "dogbrainz")
149
149
  follows.should be_false
150
150
  end
@@ -157,7 +157,7 @@ describe Octokit::Client::Users do
157
157
 
158
158
  it "should follow a user" do
159
159
  stub_post("user/follow/dianakimball").
160
- to_return(:body => fixture("following.json"))
160
+ to_return(:body => fixture("v2/following.json"))
161
161
  following = @client.follow("dianakimball")
162
162
  following.should include("dianakimball")
163
163
  end
@@ -168,7 +168,7 @@ describe Octokit::Client::Users do
168
168
 
169
169
  it "should unfollow a user" do
170
170
  stub_post("user/unfollow/dogbrainz").
171
- to_return(:body => fixture("following.json"))
171
+ to_return(:body => fixture("v2/following.json"))
172
172
  following = @client.unfollow("dogbrainz")
173
173
  following.should_not include("dogbrainz")
174
174
  end
@@ -181,7 +181,7 @@ describe Octokit::Client::Users do
181
181
 
182
182
  it "should return watched repositories" do
183
183
  stub_get("repos/watched/sferik").
184
- to_return(:body => fixture("repositories.json"))
184
+ to_return(:body => fixture("v2/repositories.json"))
185
185
  repositories = @client.watched("sferik")
186
186
  repositories.first.name.should == "One40Proof"
187
187
  end
@@ -192,7 +192,7 @@ describe Octokit::Client::Users do
192
192
 
193
193
  it "should return watched repositories" do
194
194
  stub_get("repos/watched/sferik").
195
- to_return(:body => fixture("repositories.json"))
195
+ to_return(:body => fixture("v2/repositories.json"))
196
196
  repositories = @client.watched
197
197
  repositories.first.name.should == "One40Proof"
198
198
  end
@@ -205,7 +205,7 @@ describe Octokit::Client::Users do
205
205
 
206
206
  it "should return public keys" do
207
207
  stub_get("user/keys").
208
- to_return(:body => fixture("public_keys.json"))
208
+ to_return(:body => fixture("v2/public_keys.json"))
209
209
  public_keys = @client.keys
210
210
  public_keys.first.id.should == 103205
211
211
  end
@@ -217,7 +217,7 @@ describe Octokit::Client::Users do
217
217
  it "should add a public key" do
218
218
  stub_post("user/key/add").
219
219
  with(:title => "Moss", :key => "ssh-dss AAAAB3NzaC1kc3MAAACBAJz7HanBa18ad1YsdFzHO5Wy1/WgXd4BV+czbKq7q23jungbfjN3eo2a0SVdxux8GG+RZ9ia90VD/X+PE4s3LV60oXZ7PDAuyPO1CTF0TaDoKf9mPaHcPa6agMJVocMsgBgwviWT1Q9VgN1SccDsYVDtxkIAwuw25YeHZlG6myx1AAAAFQCgW+OvXWUdUJPBGkRJ8ML7uf0VHQAAAIAlP5G96tTss0SKYVSCJCyocn9cyGQdNjxah4/aYuYFTbLI1rxk7sr/AkZfJNIoF2UFyO5STbbratykIQGUPdUBg1a2t72bu31x+4ZYJMngNsG/AkZ2oqLiH6dJKHD7PFx2oSPalogwsUV7iSMIZIYaPa03A9763iFsN0qJjaed+gAAAIBxz3Prxdzt/os4XGXSMNoWcS03AFC/05NOkoDMrXxQnTTpp1wrOgyRqEnKz15qC5dWk1ynzK+LJXHDZGA8lXPfCjHpJO3zrlZ/ivvLhgPdDpt13MAhIJFH06hTal0woxbk/fIdY71P3kbgXC0Ppx/0S7BC+VxqRCA4/wcM+BoDbA== host").
220
- to_return(:body => fixture("public_keys.json"))
220
+ to_return(:body => fixture("v2/public_keys.json"))
221
221
  public_keys = @client.add_key("Moss", "ssh-dss AAAAB3NzaC1kc3MAAACBAJz7HanBa18ad1YsdFzHO5Wy1/WgXd4BV+czbKq7q23jungbfjN3eo2a0SVdxux8GG+RZ9ia90VD/X+PE4s3LV60oXZ7PDAuyPO1CTF0TaDoKf9mPaHcPa6agMJVocMsgBgwviWT1Q9VgN1SccDsYVDtxkIAwuw25YeHZlG6myx1AAAAFQCgW+OvXWUdUJPBGkRJ8ML7uf0VHQAAAIAlP5G96tTss0SKYVSCJCyocn9cyGQdNjxah4/aYuYFTbLI1rxk7sr/AkZfJNIoF2UFyO5STbbratykIQGUPdUBg1a2t72bu31x+4ZYJMngNsG/AkZ2oqLiH6dJKHD7PFx2oSPalogwsUV7iSMIZIYaPa03A9763iFsN0qJjaed+gAAAIBxz3Prxdzt/os4XGXSMNoWcS03AFC/05NOkoDMrXxQnTTpp1wrOgyRqEnKz15qC5dWk1ynzK+LJXHDZGA8lXPfCjHpJO3zrlZ/ivvLhgPdDpt13MAhIJFH06hTal0woxbk/fIdY71P3kbgXC0Ppx/0S7BC+VxqRCA4/wcM+BoDbA== host")
222
222
  public_keys.first.id.should == 103205
223
223
  end
@@ -229,7 +229,7 @@ describe Octokit::Client::Users do
229
229
  it "should remove a public key" do
230
230
  stub_post("user/key/remove").
231
231
  with(:id => 103205).
232
- to_return(:body => fixture("public_keys.json"))
232
+ to_return(:body => fixture("v2/public_keys.json"))
233
233
  public_keys = @client.remove_key(103205)
234
234
  public_keys.first.id.should == 103205
235
235
  end
@@ -240,7 +240,7 @@ describe Octokit::Client::Users do
240
240
 
241
241
  it "should return email addresses" do
242
242
  stub_get("user/emails").
243
- to_return(:body => fixture("emails.json"))
243
+ to_return(:body => fixture("v2/emails.json"))
244
244
  emails = @client.emails
245
245
  emails.first.should == "sferik@gmail.com"
246
246
  end
@@ -252,7 +252,7 @@ describe Octokit::Client::Users do
252
252
  it "should add an email address" do
253
253
  stub_post("user/email/add").
254
254
  with(:email => "sferik@gmail.com").
255
- to_return(:body => fixture("emails.json"))
255
+ to_return(:body => fixture("v2/emails.json"))
256
256
  emails = @client.add_email("sferik@gmail.com")
257
257
  emails.first.should == "sferik@gmail.com"
258
258
  end
@@ -264,7 +264,7 @@ describe Octokit::Client::Users do
264
264
  it "should remove an email address" do
265
265
  stub_post("user/email/remove").
266
266
  with(:email => "sferik@gmail.com").
267
- to_return(:body => fixture("emails.json"))
267
+ to_return(:body => fixture("v2/emails.json"))
268
268
  emails = @client.remove_email("sferik@gmail.com")
269
269
  emails.first.should == "sferik@gmail.com"
270
270
  end
@@ -2,13 +2,6 @@ require 'helper'
2
2
 
3
3
  describe Octokit::Client do
4
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
5
  it 'should work with basic auth' do
13
6
  stub_request(:get, "https://foo%2Ftoken:bar@github.com/api/v2/json/commits/list/baz/quux/master").
14
7
  with(:headers => {'Accept'=>'*/*'}).
@@ -18,4 +11,12 @@ describe Octokit::Client do
18
11
  }.should_not raise_exception
19
12
  end
20
13
 
14
+ it 'should work with basic auth and password' do
15
+ stub_request(:get, "https://foo:bar@github.com/api/v2/json/commits/list/baz/quux/master").
16
+ with(:headers => {'Accept'=>'*/*'}).
17
+ to_return(:status => 200, :body => '{"commits":[]}', :headers => {})
18
+ proc {
19
+ Octokit::Client.new(:login => 'foo', :password => 'bar').commits('baz/quux')
20
+ }.should_not raise_exception
21
+ end
21
22
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: octokit
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.2
5
+ version: 0.6.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Wynn Netherland
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-04-26 00:00:00 Z
15
+ date: 2011-05-05 00:00:00 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: json_pure
@@ -70,62 +70,62 @@ dependencies:
70
70
  type: :development
71
71
  version_requirements: *id005
72
72
  - !ruby/object:Gem::Dependency
73
- name: webmock
73
+ name: yard
74
74
  prerelease: false
75
75
  requirement: &id006 !ruby/object:Gem::Requirement
76
76
  none: false
77
77
  requirements:
78
78
  - - ~>
79
79
  - !ruby/object:Gem::Version
80
- version: "1.6"
80
+ version: "0.6"
81
81
  type: :development
82
82
  version_requirements: *id006
83
83
  - !ruby/object:Gem::Dependency
84
- name: ZenTest
84
+ name: webmock
85
85
  prerelease: false
86
86
  requirement: &id007 !ruby/object:Gem::Requirement
87
87
  none: false
88
88
  requirements:
89
89
  - - ~>
90
90
  - !ruby/object:Gem::Version
91
- version: "4.5"
91
+ version: "1.6"
92
92
  type: :development
93
93
  version_requirements: *id007
94
94
  - !ruby/object:Gem::Dependency
95
- name: addressable
95
+ name: ZenTest
96
96
  prerelease: false
97
97
  requirement: &id008 !ruby/object:Gem::Requirement
98
98
  none: false
99
99
  requirements:
100
100
  - - ~>
101
101
  - !ruby/object:Gem::Version
102
- version: 2.2.4
103
- type: :runtime
102
+ version: "4.5"
103
+ type: :development
104
104
  version_requirements: *id008
105
105
  - !ruby/object:Gem::Dependency
106
- name: hashie
106
+ name: addressable
107
107
  prerelease: false
108
108
  requirement: &id009 !ruby/object:Gem::Requirement
109
109
  none: false
110
110
  requirements:
111
111
  - - ~>
112
112
  - !ruby/object:Gem::Version
113
- version: 1.0.0
113
+ version: 2.2.4
114
114
  type: :runtime
115
115
  version_requirements: *id009
116
116
  - !ruby/object:Gem::Dependency
117
- name: faraday
117
+ name: hashie
118
118
  prerelease: false
119
119
  requirement: &id010 !ruby/object:Gem::Requirement
120
120
  none: false
121
121
  requirements:
122
122
  - - ~>
123
123
  - !ruby/object:Gem::Version
124
- version: 0.6.0
124
+ version: 1.0.0
125
125
  type: :runtime
126
126
  version_requirements: *id010
127
127
  - !ruby/object:Gem::Dependency
128
- name: faraday_middleware
128
+ name: faraday
129
129
  prerelease: false
130
130
  requirement: &id011 !ruby/object:Gem::Requirement
131
131
  none: false
@@ -136,27 +136,38 @@ dependencies:
136
136
  type: :runtime
137
137
  version_requirements: *id011
138
138
  - !ruby/object:Gem::Dependency
139
- name: multi_json
139
+ name: faraday_middleware
140
140
  prerelease: false
141
141
  requirement: &id012 !ruby/object:Gem::Requirement
142
142
  none: false
143
143
  requirements:
144
144
  - - ~>
145
145
  - !ruby/object:Gem::Version
146
- version: 1.0.0
146
+ version: 0.6.0
147
147
  type: :runtime
148
148
  version_requirements: *id012
149
149
  - !ruby/object:Gem::Dependency
150
- name: multi_xml
150
+ name: multi_json
151
151
  prerelease: false
152
152
  requirement: &id013 !ruby/object:Gem::Requirement
153
153
  none: false
154
154
  requirements:
155
155
  - - ~>
156
156
  - !ruby/object:Gem::Version
157
- version: 0.2.0
157
+ version: 1.0.0
158
158
  type: :runtime
159
159
  version_requirements: *id013
160
+ - !ruby/object:Gem::Dependency
161
+ name: rash
162
+ prerelease: false
163
+ requirement: &id014 !ruby/object:Gem::Requirement
164
+ none: false
165
+ requirements:
166
+ - - ~>
167
+ - !ruby/object:Gem::Version
168
+ version: 0.3.0
169
+ type: :runtime
170
+ version_requirements: *id014
160
171
  description: Simple wrapper for the GitHub API v2
161
172
  email:
162
173
  - wynn.netherland@gmail.com
@@ -173,11 +184,11 @@ files:
173
184
  - .gitignore
174
185
  - .rspec
175
186
  - .travis.yml
187
+ - CHANGELOG.md
176
188
  - Gemfile
177
189
  - LICENSE
178
- - README.markdown
190
+ - README.md
179
191
  - Rakefile
180
- - changelog.markdown
181
192
  - lib/faraday/response/raise_error.rb
182
193
  - lib/octokit.rb
183
194
  - lib/octokit/client.rb
@@ -198,44 +209,46 @@ files:
198
209
  - lib/octokit/version.rb
199
210
  - octokit.gemspec
200
211
  - spec/faraday/response_spec.rb
201
- - spec/fixtures/blob.json
202
- - spec/fixtures/blob_metadata.json
203
- - spec/fixtures/blobs.json
204
- - spec/fixtures/branches.json
205
- - spec/fixtures/collaborators.json
206
- - spec/fixtures/comment.json
207
- - spec/fixtures/comments.json
208
- - spec/fixtures/commit.json
209
- - spec/fixtures/commits.json
210
- - spec/fixtures/contributors.json
211
- - spec/fixtures/delete_token.json
212
- - spec/fixtures/emails.json
213
- - spec/fixtures/followers.json
214
- - spec/fixtures/following.json
215
- - spec/fixtures/issue.json
216
- - spec/fixtures/issues.json
217
- - spec/fixtures/labels.json
218
- - spec/fixtures/languages.json
219
- - spec/fixtures/network.json
220
- - spec/fixtures/network_data.json
221
- - spec/fixtures/network_meta.json
222
- - spec/fixtures/organization.json
223
- - spec/fixtures/organizations.json
224
- - spec/fixtures/public_keys.json
225
- - spec/fixtures/pull.json
226
- - spec/fixtures/pulls.json
227
- - spec/fixtures/raw.txt
228
- - spec/fixtures/repositories.json
229
- - spec/fixtures/repository.json
230
- - spec/fixtures/tags.json
231
- - spec/fixtures/team.json
232
- - spec/fixtures/teams.json
233
212
  - spec/fixtures/timeline.json
234
- - spec/fixtures/tree.json
235
- - spec/fixtures/tree_metadata.json
236
- - spec/fixtures/user.json
237
- - spec/fixtures/users.json
238
- - spec/fixtures/watchers.json
213
+ - spec/fixtures/v2/blob.json
214
+ - spec/fixtures/v2/blob_metadata.json
215
+ - spec/fixtures/v2/blobs.json
216
+ - spec/fixtures/v2/branches.json
217
+ - spec/fixtures/v2/collaborators.json
218
+ - spec/fixtures/v2/comment.json
219
+ - spec/fixtures/v2/comments.json
220
+ - spec/fixtures/v2/commit.json
221
+ - spec/fixtures/v2/commits.json
222
+ - spec/fixtures/v2/contributors.json
223
+ - spec/fixtures/v2/delete_failure.json
224
+ - spec/fixtures/v2/delete_token.json
225
+ - spec/fixtures/v2/emails.json
226
+ - spec/fixtures/v2/followers.json
227
+ - spec/fixtures/v2/following.json
228
+ - spec/fixtures/v2/issue.json
229
+ - spec/fixtures/v2/issues.json
230
+ - spec/fixtures/v2/labels.json
231
+ - spec/fixtures/v2/languages.json
232
+ - spec/fixtures/v2/network.json
233
+ - spec/fixtures/v2/network_data.json
234
+ - spec/fixtures/v2/network_meta.json
235
+ - spec/fixtures/v2/organization.json
236
+ - spec/fixtures/v2/organizations.json
237
+ - spec/fixtures/v2/public_keys.json
238
+ - spec/fixtures/v2/pull.json
239
+ - spec/fixtures/v2/pulls.json
240
+ - spec/fixtures/v2/raw.txt
241
+ - spec/fixtures/v2/repositories.json
242
+ - spec/fixtures/v2/repository.json
243
+ - spec/fixtures/v2/tags.json
244
+ - spec/fixtures/v2/team.json
245
+ - spec/fixtures/v2/teams.json
246
+ - spec/fixtures/v2/tree.json
247
+ - spec/fixtures/v2/tree_metadata.json
248
+ - spec/fixtures/v2/user.json
249
+ - spec/fixtures/v2/users.json
250
+ - spec/fixtures/v2/watchers.json
251
+ - spec/fixtures/v3/issues.json
239
252
  - spec/helper.rb
240
253
  - spec/octokit/client/commits_spec.rb
241
254
  - spec/octokit/client/issues_spec.rb
@@ -272,50 +285,52 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
285
  requirements: []
273
286
 
274
287
  rubyforge_project:
275
- rubygems_version: 1.7.2
288
+ rubygems_version: 1.8.0
276
289
  signing_key:
277
290
  specification_version: 3
278
291
  summary: Wrapper for the GitHub API
279
292
  test_files:
280
293
  - spec/faraday/response_spec.rb
281
- - spec/fixtures/blob.json
282
- - spec/fixtures/blob_metadata.json
283
- - spec/fixtures/blobs.json
284
- - spec/fixtures/branches.json
285
- - spec/fixtures/collaborators.json
286
- - spec/fixtures/comment.json
287
- - spec/fixtures/comments.json
288
- - spec/fixtures/commit.json
289
- - spec/fixtures/commits.json
290
- - spec/fixtures/contributors.json
291
- - spec/fixtures/delete_token.json
292
- - spec/fixtures/emails.json
293
- - spec/fixtures/followers.json
294
- - spec/fixtures/following.json
295
- - spec/fixtures/issue.json
296
- - spec/fixtures/issues.json
297
- - spec/fixtures/labels.json
298
- - spec/fixtures/languages.json
299
- - spec/fixtures/network.json
300
- - spec/fixtures/network_data.json
301
- - spec/fixtures/network_meta.json
302
- - spec/fixtures/organization.json
303
- - spec/fixtures/organizations.json
304
- - spec/fixtures/public_keys.json
305
- - spec/fixtures/pull.json
306
- - spec/fixtures/pulls.json
307
- - spec/fixtures/raw.txt
308
- - spec/fixtures/repositories.json
309
- - spec/fixtures/repository.json
310
- - spec/fixtures/tags.json
311
- - spec/fixtures/team.json
312
- - spec/fixtures/teams.json
313
294
  - spec/fixtures/timeline.json
314
- - spec/fixtures/tree.json
315
- - spec/fixtures/tree_metadata.json
316
- - spec/fixtures/user.json
317
- - spec/fixtures/users.json
318
- - spec/fixtures/watchers.json
295
+ - spec/fixtures/v2/blob.json
296
+ - spec/fixtures/v2/blob_metadata.json
297
+ - spec/fixtures/v2/blobs.json
298
+ - spec/fixtures/v2/branches.json
299
+ - spec/fixtures/v2/collaborators.json
300
+ - spec/fixtures/v2/comment.json
301
+ - spec/fixtures/v2/comments.json
302
+ - spec/fixtures/v2/commit.json
303
+ - spec/fixtures/v2/commits.json
304
+ - spec/fixtures/v2/contributors.json
305
+ - spec/fixtures/v2/delete_failure.json
306
+ - spec/fixtures/v2/delete_token.json
307
+ - spec/fixtures/v2/emails.json
308
+ - spec/fixtures/v2/followers.json
309
+ - spec/fixtures/v2/following.json
310
+ - spec/fixtures/v2/issue.json
311
+ - spec/fixtures/v2/issues.json
312
+ - spec/fixtures/v2/labels.json
313
+ - spec/fixtures/v2/languages.json
314
+ - spec/fixtures/v2/network.json
315
+ - spec/fixtures/v2/network_data.json
316
+ - spec/fixtures/v2/network_meta.json
317
+ - spec/fixtures/v2/organization.json
318
+ - spec/fixtures/v2/organizations.json
319
+ - spec/fixtures/v2/public_keys.json
320
+ - spec/fixtures/v2/pull.json
321
+ - spec/fixtures/v2/pulls.json
322
+ - spec/fixtures/v2/raw.txt
323
+ - spec/fixtures/v2/repositories.json
324
+ - spec/fixtures/v2/repository.json
325
+ - spec/fixtures/v2/tags.json
326
+ - spec/fixtures/v2/team.json
327
+ - spec/fixtures/v2/teams.json
328
+ - spec/fixtures/v2/tree.json
329
+ - spec/fixtures/v2/tree_metadata.json
330
+ - spec/fixtures/v2/user.json
331
+ - spec/fixtures/v2/users.json
332
+ - spec/fixtures/v2/watchers.json
333
+ - spec/fixtures/v3/issues.json
319
334
  - spec/helper.rb
320
335
  - spec/octokit/client/commits_spec.rb
321
336
  - spec/octokit/client/issues_spec.rb
@@ -329,4 +344,3 @@ test_files:
329
344
  - spec/octokit/client_spec.rb
330
345
  - spec/octokit_spec.rb
331
346
  - spec/repository_spec.rb
332
- has_rdoc: