hybridgroup-octokit 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. data/.document +4 -0
  2. data/.gemtest +0 -0
  3. data/.gitignore +24 -0
  4. data/.rspec +3 -0
  5. data/.travis.yml +6 -0
  6. data/Gemfile +3 -0
  7. data/LICENSE +20 -0
  8. data/README.markdown +73 -0
  9. data/Rakefile +8 -0
  10. data/changelog.markdown +42 -0
  11. data/lib/faraday/response/raise_error.rb +33 -0
  12. data/lib/octokit/client/authentication.rb +23 -0
  13. data/lib/octokit/client/commits.rb +16 -0
  14. data/lib/octokit/client/connection.rb +34 -0
  15. data/lib/octokit/client/issues.rb +60 -0
  16. data/lib/octokit/client/network.rb +15 -0
  17. data/lib/octokit/client/objects.rb +33 -0
  18. data/lib/octokit/client/organizations.rb +90 -0
  19. data/lib/octokit/client/pulls.rb +25 -0
  20. data/lib/octokit/client/repositories.rb +138 -0
  21. data/lib/octokit/client/request.rb +41 -0
  22. data/lib/octokit/client/timelines.rb +22 -0
  23. data/lib/octokit/client/users.rb +75 -0
  24. data/lib/octokit/client.rb +40 -0
  25. data/lib/octokit/configuration.rb +61 -0
  26. data/lib/octokit/repository.rb +39 -0
  27. data/lib/octokit/version.rb +3 -0
  28. data/lib/octokit.rb +53 -0
  29. data/octokit.gemspec +33 -0
  30. data/spec/faraday/response_spec.rb +34 -0
  31. data/spec/fixtures/blob.json +1 -0
  32. data/spec/fixtures/blob_metadata.json +1 -0
  33. data/spec/fixtures/blobs.json +1 -0
  34. data/spec/fixtures/branches.json +1 -0
  35. data/spec/fixtures/collaborators.json +1 -0
  36. data/spec/fixtures/comment.json +1 -0
  37. data/spec/fixtures/comments.json +1 -0
  38. data/spec/fixtures/commit.json +1 -0
  39. data/spec/fixtures/commits.json +1 -0
  40. data/spec/fixtures/contributors.json +1 -0
  41. data/spec/fixtures/delete_token.json +1 -0
  42. data/spec/fixtures/emails.json +1 -0
  43. data/spec/fixtures/followers.json +1 -0
  44. data/spec/fixtures/following.json +1 -0
  45. data/spec/fixtures/issue.json +1 -0
  46. data/spec/fixtures/issues.json +1 -0
  47. data/spec/fixtures/labels.json +1 -0
  48. data/spec/fixtures/languages.json +1 -0
  49. data/spec/fixtures/network.json +1 -0
  50. data/spec/fixtures/network_data.json +1 -0
  51. data/spec/fixtures/network_meta.json +1 -0
  52. data/spec/fixtures/organization.json +1 -0
  53. data/spec/fixtures/organizations.json +1 -0
  54. data/spec/fixtures/public_keys.json +1 -0
  55. data/spec/fixtures/pull.json +1 -0
  56. data/spec/fixtures/pulls.json +1 -0
  57. data/spec/fixtures/raw.txt +7 -0
  58. data/spec/fixtures/repositories.json +1 -0
  59. data/spec/fixtures/repository.json +1 -0
  60. data/spec/fixtures/tags.json +1 -0
  61. data/spec/fixtures/team.json +1 -0
  62. data/spec/fixtures/teams.json +1 -0
  63. data/spec/fixtures/timeline.json +1237 -0
  64. data/spec/fixtures/tree.json +1 -0
  65. data/spec/fixtures/tree_metadata.json +1 -0
  66. data/spec/fixtures/user.json +1 -0
  67. data/spec/fixtures/users.json +1 -0
  68. data/spec/fixtures/watchers.json +1 -0
  69. data/spec/helper.rb +64 -0
  70. data/spec/octokit/client/commits_spec.rb +32 -0
  71. data/spec/octokit/client/issues_spec.rb +154 -0
  72. data/spec/octokit/client/network_spec.rb +32 -0
  73. data/spec/octokit/client/objects_spec.rb +81 -0
  74. data/spec/octokit/client/organizations_spec.rb +234 -0
  75. data/spec/octokit/client/pulls_spec.rb +44 -0
  76. data/spec/octokit/client/repositories_spec.rb +331 -0
  77. data/spec/octokit/client/timelines_spec.rb +42 -0
  78. data/spec/octokit/client/users_spec.rb +274 -0
  79. data/spec/octokit/client_spec.rb +12 -0
  80. data/spec/octokit_spec.rb +15 -0
  81. data/spec/repository_spec.rb +54 -0
  82. metadata +403 -0
metadata ADDED
@@ -0,0 +1,403 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hybridgroup-octokit
3
+ version: !ruby/object:Gem::Version
4
+ hash: 5
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 6
9
+ - 1
10
+ version: 0.6.1
11
+ platform: ruby
12
+ authors:
13
+ - Wynn Netherland
14
+ - Adam Stacoviak
15
+ - Erik Michaels-Ober
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+
20
+ date: 2011-04-09 00:00:00 -07:00
21
+ default_executable:
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
24
+ name: json_pure
25
+ prerelease: false
26
+ requirement: &id001 !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ hash: 5
32
+ segments:
33
+ - 1
34
+ - 5
35
+ version: "1.5"
36
+ type: :development
37
+ version_requirements: *id001
38
+ - !ruby/object:Gem::Dependency
39
+ name: nokogiri
40
+ prerelease: false
41
+ requirement: &id002 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ hash: 7
47
+ segments:
48
+ - 1
49
+ - 4
50
+ version: "1.4"
51
+ type: :development
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: rake
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ hash: 27
62
+ segments:
63
+ - 0
64
+ - 8
65
+ version: "0.8"
66
+ type: :development
67
+ version_requirements: *id003
68
+ - !ruby/object:Gem::Dependency
69
+ name: rspec
70
+ prerelease: false
71
+ requirement: &id004 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ hash: 9
77
+ segments:
78
+ - 2
79
+ - 5
80
+ version: "2.5"
81
+ type: :development
82
+ version_requirements: *id004
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ prerelease: false
86
+ requirement: &id005 !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ~>
90
+ - !ruby/object:Gem::Version
91
+ hash: 3
92
+ segments:
93
+ - 0
94
+ - 4
95
+ version: "0.4"
96
+ type: :development
97
+ version_requirements: *id005
98
+ - !ruby/object:Gem::Dependency
99
+ name: webmock
100
+ prerelease: false
101
+ requirement: &id006 !ruby/object:Gem::Requirement
102
+ none: false
103
+ requirements:
104
+ - - ~>
105
+ - !ruby/object:Gem::Version
106
+ hash: 3
107
+ segments:
108
+ - 1
109
+ - 6
110
+ version: "1.6"
111
+ type: :development
112
+ version_requirements: *id006
113
+ - !ruby/object:Gem::Dependency
114
+ name: ZenTest
115
+ prerelease: false
116
+ requirement: &id007 !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ~>
120
+ - !ruby/object:Gem::Version
121
+ hash: 17
122
+ segments:
123
+ - 4
124
+ - 5
125
+ version: "4.5"
126
+ type: :development
127
+ version_requirements: *id007
128
+ - !ruby/object:Gem::Dependency
129
+ name: addressable
130
+ prerelease: false
131
+ requirement: &id008 !ruby/object:Gem::Requirement
132
+ none: false
133
+ requirements:
134
+ - - ~>
135
+ - !ruby/object:Gem::Version
136
+ hash: 15
137
+ segments:
138
+ - 2
139
+ - 2
140
+ - 4
141
+ version: 2.2.4
142
+ type: :runtime
143
+ version_requirements: *id008
144
+ - !ruby/object:Gem::Dependency
145
+ name: hashie
146
+ prerelease: false
147
+ requirement: &id009 !ruby/object:Gem::Requirement
148
+ none: false
149
+ requirements:
150
+ - - ~>
151
+ - !ruby/object:Gem::Version
152
+ hash: 23
153
+ segments:
154
+ - 1
155
+ - 0
156
+ - 0
157
+ version: 1.0.0
158
+ type: :runtime
159
+ version_requirements: *id009
160
+ - !ruby/object:Gem::Dependency
161
+ name: faraday
162
+ prerelease: false
163
+ requirement: &id010 !ruby/object:Gem::Requirement
164
+ none: false
165
+ requirements:
166
+ - - ~>
167
+ - !ruby/object:Gem::Version
168
+ hash: 7
169
+ segments:
170
+ - 0
171
+ - 6
172
+ - 0
173
+ version: 0.6.0
174
+ type: :runtime
175
+ version_requirements: *id010
176
+ - !ruby/object:Gem::Dependency
177
+ name: faraday_middleware
178
+ prerelease: false
179
+ requirement: &id011 !ruby/object:Gem::Requirement
180
+ none: false
181
+ requirements:
182
+ - - ~>
183
+ - !ruby/object:Gem::Version
184
+ hash: 7
185
+ segments:
186
+ - 0
187
+ - 6
188
+ - 0
189
+ version: 0.6.0
190
+ type: :runtime
191
+ version_requirements: *id011
192
+ - !ruby/object:Gem::Dependency
193
+ name: multi_json
194
+ prerelease: false
195
+ requirement: &id012 !ruby/object:Gem::Requirement
196
+ none: false
197
+ requirements:
198
+ - - ~>
199
+ - !ruby/object:Gem::Version
200
+ hash: 21
201
+ segments:
202
+ - 0
203
+ - 0
204
+ - 5
205
+ version: 0.0.5
206
+ type: :runtime
207
+ version_requirements: *id012
208
+ - !ruby/object:Gem::Dependency
209
+ name: multi_xml
210
+ prerelease: false
211
+ requirement: &id013 !ruby/object:Gem::Requirement
212
+ none: false
213
+ requirements:
214
+ - - ~>
215
+ - !ruby/object:Gem::Version
216
+ hash: 23
217
+ segments:
218
+ - 0
219
+ - 2
220
+ - 0
221
+ version: 0.2.0
222
+ type: :runtime
223
+ version_requirements: *id013
224
+ description: Simple wrapper for the GitHub API v2
225
+ email:
226
+ - wynn.netherland@gmail.com
227
+ executables: []
228
+
229
+ extensions: []
230
+
231
+ extra_rdoc_files: []
232
+
233
+ files:
234
+ - .document
235
+ - .gemtest
236
+ - .gitignore
237
+ - .rspec
238
+ - .travis.yml
239
+ - Gemfile
240
+ - LICENSE
241
+ - README.markdown
242
+ - Rakefile
243
+ - changelog.markdown
244
+ - lib/faraday/response/raise_error.rb
245
+ - lib/octokit.rb
246
+ - lib/octokit/client.rb
247
+ - lib/octokit/client/authentication.rb
248
+ - lib/octokit/client/commits.rb
249
+ - lib/octokit/client/connection.rb
250
+ - lib/octokit/client/issues.rb
251
+ - lib/octokit/client/network.rb
252
+ - lib/octokit/client/objects.rb
253
+ - lib/octokit/client/organizations.rb
254
+ - lib/octokit/client/pulls.rb
255
+ - lib/octokit/client/repositories.rb
256
+ - lib/octokit/client/request.rb
257
+ - lib/octokit/client/timelines.rb
258
+ - lib/octokit/client/users.rb
259
+ - lib/octokit/configuration.rb
260
+ - lib/octokit/repository.rb
261
+ - lib/octokit/version.rb
262
+ - octokit.gemspec
263
+ - spec/faraday/response_spec.rb
264
+ - spec/fixtures/blob.json
265
+ - spec/fixtures/blob_metadata.json
266
+ - spec/fixtures/blobs.json
267
+ - spec/fixtures/branches.json
268
+ - spec/fixtures/collaborators.json
269
+ - spec/fixtures/comment.json
270
+ - spec/fixtures/comments.json
271
+ - spec/fixtures/commit.json
272
+ - spec/fixtures/commits.json
273
+ - spec/fixtures/contributors.json
274
+ - spec/fixtures/delete_token.json
275
+ - spec/fixtures/emails.json
276
+ - spec/fixtures/followers.json
277
+ - spec/fixtures/following.json
278
+ - spec/fixtures/issue.json
279
+ - spec/fixtures/issues.json
280
+ - spec/fixtures/labels.json
281
+ - spec/fixtures/languages.json
282
+ - spec/fixtures/network.json
283
+ - spec/fixtures/network_data.json
284
+ - spec/fixtures/network_meta.json
285
+ - spec/fixtures/organization.json
286
+ - spec/fixtures/organizations.json
287
+ - spec/fixtures/public_keys.json
288
+ - spec/fixtures/pull.json
289
+ - spec/fixtures/pulls.json
290
+ - spec/fixtures/raw.txt
291
+ - spec/fixtures/repositories.json
292
+ - spec/fixtures/repository.json
293
+ - spec/fixtures/tags.json
294
+ - spec/fixtures/team.json
295
+ - spec/fixtures/teams.json
296
+ - spec/fixtures/timeline.json
297
+ - spec/fixtures/tree.json
298
+ - spec/fixtures/tree_metadata.json
299
+ - spec/fixtures/user.json
300
+ - spec/fixtures/users.json
301
+ - spec/fixtures/watchers.json
302
+ - spec/helper.rb
303
+ - spec/octokit/client/commits_spec.rb
304
+ - spec/octokit/client/issues_spec.rb
305
+ - spec/octokit/client/network_spec.rb
306
+ - spec/octokit/client/objects_spec.rb
307
+ - spec/octokit/client/organizations_spec.rb
308
+ - spec/octokit/client/pulls_spec.rb
309
+ - spec/octokit/client/repositories_spec.rb
310
+ - spec/octokit/client/timelines_spec.rb
311
+ - spec/octokit/client/users_spec.rb
312
+ - spec/octokit/client_spec.rb
313
+ - spec/octokit_spec.rb
314
+ - spec/repository_spec.rb
315
+ has_rdoc: true
316
+ homepage: http://wynnnetherland.com/projects/octokit/
317
+ licenses: []
318
+
319
+ post_install_message:
320
+ rdoc_options: []
321
+
322
+ require_paths:
323
+ - lib
324
+ required_ruby_version: !ruby/object:Gem::Requirement
325
+ none: false
326
+ requirements:
327
+ - - ">="
328
+ - !ruby/object:Gem::Version
329
+ hash: 3
330
+ segments:
331
+ - 0
332
+ version: "0"
333
+ required_rubygems_version: !ruby/object:Gem::Requirement
334
+ none: false
335
+ requirements:
336
+ - - ">="
337
+ - !ruby/object:Gem::Version
338
+ hash: 23
339
+ segments:
340
+ - 1
341
+ - 3
342
+ - 6
343
+ version: 1.3.6
344
+ requirements: []
345
+
346
+ rubyforge_project:
347
+ rubygems_version: 1.3.7
348
+ signing_key:
349
+ specification_version: 3
350
+ summary: Wrapper for the GitHub API
351
+ test_files:
352
+ - spec/faraday/response_spec.rb
353
+ - spec/fixtures/blob.json
354
+ - spec/fixtures/blob_metadata.json
355
+ - spec/fixtures/blobs.json
356
+ - spec/fixtures/branches.json
357
+ - spec/fixtures/collaborators.json
358
+ - spec/fixtures/comment.json
359
+ - spec/fixtures/comments.json
360
+ - spec/fixtures/commit.json
361
+ - spec/fixtures/commits.json
362
+ - spec/fixtures/contributors.json
363
+ - spec/fixtures/delete_token.json
364
+ - spec/fixtures/emails.json
365
+ - spec/fixtures/followers.json
366
+ - spec/fixtures/following.json
367
+ - spec/fixtures/issue.json
368
+ - spec/fixtures/issues.json
369
+ - spec/fixtures/labels.json
370
+ - spec/fixtures/languages.json
371
+ - spec/fixtures/network.json
372
+ - spec/fixtures/network_data.json
373
+ - spec/fixtures/network_meta.json
374
+ - spec/fixtures/organization.json
375
+ - spec/fixtures/organizations.json
376
+ - spec/fixtures/public_keys.json
377
+ - spec/fixtures/pull.json
378
+ - spec/fixtures/pulls.json
379
+ - spec/fixtures/raw.txt
380
+ - spec/fixtures/repositories.json
381
+ - spec/fixtures/repository.json
382
+ - spec/fixtures/tags.json
383
+ - spec/fixtures/team.json
384
+ - spec/fixtures/teams.json
385
+ - spec/fixtures/timeline.json
386
+ - spec/fixtures/tree.json
387
+ - spec/fixtures/tree_metadata.json
388
+ - spec/fixtures/user.json
389
+ - spec/fixtures/users.json
390
+ - spec/fixtures/watchers.json
391
+ - spec/helper.rb
392
+ - spec/octokit/client/commits_spec.rb
393
+ - spec/octokit/client/issues_spec.rb
394
+ - spec/octokit/client/network_spec.rb
395
+ - spec/octokit/client/objects_spec.rb
396
+ - spec/octokit/client/organizations_spec.rb
397
+ - spec/octokit/client/pulls_spec.rb
398
+ - spec/octokit/client/repositories_spec.rb
399
+ - spec/octokit/client/timelines_spec.rb
400
+ - spec/octokit/client/users_spec.rb
401
+ - spec/octokit/client_spec.rb
402
+ - spec/octokit_spec.rb
403
+ - spec/repository_spec.rb