octokit 2.0.0.rc4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -89,7 +89,7 @@ module Octokit
89
89
  # @return [Sawyer::Resource] Hash representing the tag.
90
90
  # @see http://developer.github.com/v3/git/tags/#get-a-tag
91
91
  # @example Fetch a tag
92
- # Octokit.tag('pengwynn/octokit', '23aad20633f4d2981b1c7209a800db3014774e96')
92
+ # Octokit.tag('octokit/octokit.rb', '23aad20633f4d2981b1c7209a800db3014774e96')
93
93
  def tag(repo, tag_sha, options = {})
94
94
  get "repos/#{Repository.new repo}/git/tags/#{tag_sha}", options
95
95
  end
@@ -111,7 +111,7 @@ module Octokit
111
111
  # @see http://developer.github.com/v3/git/tags/#create-a-tag-object
112
112
  # @example
113
113
  # @client.create_tag(
114
- # "pengwynn/octokit",
114
+ # "octokit/octokit.rb",
115
115
  # "v9000.0.0",
116
116
  # "Version 9000\n",
117
117
  # "f4cdf6eb734f32343ce3f27670c17b35f54fd82e",
@@ -90,11 +90,11 @@ module Octokit
90
90
  # @return [Sawyer::Resource] Hash representing updated pull request.
91
91
  # @see http://developer.github.com/v3/pulls/#update-a-pull-request
92
92
  # @example
93
- # @client.update_pull_request('pengwynn/octokit', 67, 'new title', 'updated body', 'closed')
93
+ # @client.update_pull_request('octokit/octokit.rb', 67, 'new title', 'updated body', 'closed')
94
94
  # @example Passing nil for optional attributes to update specific attributes.
95
- # @client.update_pull_request('pengwynn/octokit', 67, nil, nil, 'open')
95
+ # @client.update_pull_request('octokit/octokit.rb', 67, nil, nil, 'open')
96
96
  # @example Empty body by passing empty string
97
- # @client.update_pull_request('pengwynn/octokit', 67, nil, '')
97
+ # @client.update_pull_request('octokit/octokit.rb', 67, nil, '')
98
98
  def update_pull_request(*args)
99
99
  arguments = Octokit::Arguments.new(args)
100
100
  repo = arguments.shift
@@ -112,7 +112,7 @@ module Octokit
112
112
  # @return [Sawyer::Resource] Hash representing updated pull request.
113
113
  # @see http://developer.github.com/v3/pulls/#update-a-pull-request
114
114
  # @example
115
- # @client.close_pull_request('pengwynn/octokit', 67)
115
+ # @client.close_pull_request('octokit/octokit.rb', 67)
116
116
  def close_pull_request(repo, number, options = {})
117
117
  options.merge! :state => 'closed'
118
118
  update_pull_request(repo, number, options)
@@ -146,10 +146,10 @@ module Octokit
146
146
  # @see http://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository
147
147
  #
148
148
  # @example Get the pull request review comments in the octokit repository
149
- # @client.issues_comments("pengwynn/octokit")
149
+ # @client.issues_comments("octokit/octokit.rb")
150
150
  #
151
151
  # @example Get review comments, sort by updated asc since a time
152
- # @client.pull_requests_comments("pengwynn/octokit", {
152
+ # @client.pull_requests_comments("octokit/octokit.rb", {
153
153
  # :sort => 'asc',
154
154
  # :direction => 'down',
155
155
  # :since => '2010-05-04T23:45:02Z'
@@ -198,7 +198,7 @@ module Octokit
198
198
  # @return [Sawyer::Resource] Hash representing the new comment
199
199
  # @see http://developer.github.com/v3/pulls/comments/#create-a-comment
200
200
  # @example
201
- # @client.create_pull_request_comment("pengwynn/octokit", 163, ":shipit:",
201
+ # @client.create_pull_request_comment("octokit/octokit.rb", 163, ":shipit:",
202
202
  # "2d3201e4440903d8b04a5487842053ca4883e5f0", "lib/octokit/request.rb", 47)
203
203
  def create_pull_request_comment(repo, pull_id, body, commit_id, path, position, options = {})
204
204
  options.merge!({
@@ -221,7 +221,7 @@ module Octokit
221
221
  # @return [Sawyer::Resource] Hash representing new comment
222
222
  # @see http://developer.github.com/v3/pulls/comments/#create-a-comment
223
223
  # @example
224
- # @client.create_pull_request_comment_reply("pengwynn/octokit", 1903950, "done.")
224
+ # @client.create_pull_request_comment_reply("octokit/octokit.rb", 1903950, "done.")
225
225
  def create_pull_request_comment_reply(repo, pull_id, body, comment_id, options = {})
226
226
  options.merge!({
227
227
  :body => body,
@@ -240,7 +240,7 @@ module Octokit
240
240
  # @return [Sawyer::Resource] Hash representing the updated comment
241
241
  # @see http://developer.github.com/v3/pulls/comments/#edit-a-comment
242
242
  # @example
243
- # @client.update_pull_request_comment("pengwynn/octokit", 1903950, ":shipit:")
243
+ # @client.update_pull_request_comment("octokit/octokit.rb", 1903950, ":shipit:")
244
244
  def update_pull_request_comment(repo, comment_id, body, options = {})
245
245
  options.merge! :body => body
246
246
  patch("repos/#{Repository.new repo}/pulls/comments/#{comment_id}", options)
@@ -254,7 +254,7 @@ module Octokit
254
254
  # @param comment_id [Integer] Id of the comment to delete
255
255
  # @return [Boolean] True if deleted, false otherwise
256
256
  # @example
257
- # @client.delete_pull_request_comment("pengwynn/octokit", 1902707)
257
+ # @client.delete_pull_request_comment("octokit/octokit.rb", 1902707)
258
258
  def delete_pull_request_comment(repo, comment_id, options = {})
259
259
  boolean_from_response(:delete, "repos/#{Repository.new repo}/pulls/comments/#{comment_id}", options)
260
260
  end
@@ -11,7 +11,7 @@ module Octokit
11
11
  #
12
12
  # @see http://developer.github.com/v3/repos/#get
13
13
  # @param repo [String, Hash, Repository] A GitHub repository
14
- # @return [Hashie::Mash] if a repository exists, false otherwise
14
+ # @return [Sawyer::Resource] if a repository exists, false otherwise
15
15
  def repository?(repo, options = {})
16
16
  repository(repo, options)
17
17
  rescue Octokit::NotFound
@@ -198,9 +198,9 @@ module Octokit
198
198
  # @return [Array<Sawyer::Resource>] Array of hashes representing deploy keys.
199
199
  # @see http://developer.github.com/v3/repos/keys/#get
200
200
  # @example
201
- # @client.deploy_keys('pengwynn/octokit')
201
+ # @client.deploy_keys('octokit/octokit.rb')
202
202
  # @example
203
- # @client.list_deploy_keys('pengwynn/octokit')
203
+ # @client.list_deploy_keys('octokit/octokit.rb')
204
204
  def deploy_keys(repo, options = {})
205
205
  paginate "repos/#{Repository.new repo}/keys", options
206
206
  end
@@ -216,7 +216,7 @@ module Octokit
216
216
  # @return [Sawyer::Resource] Hash representing newly added key.
217
217
  # @see http://developer.github.com/v3/repos/keys/#create
218
218
  # @example
219
- # @client.add_deploy_key('pengwynn/octokit', 'Staging server', 'ssh-rsa AAA...')
219
+ # @client.add_deploy_key('octokit/octokit.rb', 'Staging server', 'ssh-rsa AAA...')
220
220
  def add_deploy_key(repo, title, key, options = {})
221
221
  post "repos/#{Repository.new repo}/keys", options.merge(:title => title, :key => key)
222
222
  end
@@ -230,7 +230,7 @@ module Octokit
230
230
  # @return [Boolean] True if key removed, false otherwise.
231
231
  # @see http://developer.github.com/v3/repos/keys/#delete
232
232
  # @example
233
- # @client.remove_deploy_key('pengwynn/octokit', 100000)
233
+ # @client.remove_deploy_key('octokit/octokit.rb', 100000)
234
234
  def remove_deploy_key(repo, id, options = {})
235
235
  boolean_from_response :delete, "repos/#{Repository.new repo}/keys/#{id}", options
236
236
  end
@@ -243,11 +243,11 @@ module Octokit
243
243
  # @return [Array<Sawyer::Resource>] Array of hashes representing collaborating users.
244
244
  # @see http://developer.github.com/v3/repos/collaborators/#list
245
245
  # @example
246
- # Octokit.collaborators('pengwynn/octokit')
246
+ # Octokit.collaborators('octokit/octokit.rb')
247
247
  # @example
248
- # Octokit.collabs('pengwynn/octokit')
248
+ # Octokit.collabs('octokit/octokit.rb')
249
249
  # @example
250
- # @client.collabs('pengwynn/octokit')
250
+ # @client.collabs('octokit/octokit.rb')
251
251
  def collaborators(repo, options = {})
252
252
  paginate "repos/#{Repository.new repo}/collaborators", options
253
253
  end
@@ -262,9 +262,9 @@ module Octokit
262
262
  # @return [Boolean] True if collaborator added, false otherwise.
263
263
  # @see http://developer.github.com/v3/repos/collaborators/#add-collaborator
264
264
  # @example
265
- # @client.add_collaborator('pengwynn/octokit', 'holman')
265
+ # @client.add_collaborator('octokit/octokit.rb', 'holman')
266
266
  # @example
267
- # @client.add_collab('pengwynn/octokit', 'holman')
267
+ # @client.add_collab('octokit/octokit.rb', 'holman')
268
268
  def add_collaborator(repo, collaborator, options = {})
269
269
  boolean_from_response :put, "repos/#{Repository.new repo}/collaborators/#{collaborator}", options
270
270
  end
@@ -279,9 +279,9 @@ module Octokit
279
279
  # @return [Boolean] True if collaborator removed, false otherwise.
280
280
  # @see http://developer.github.com/v3/repos/collaborators/#remove-collaborator
281
281
  # @example
282
- # @client.remove_collaborator('pengwynn/octokit', 'holman')
282
+ # @client.remove_collaborator('octokit/octokit.rb', 'holman')
283
283
  # @example
284
- # @client.remove_collab('pengwynn/octokit', 'holman')
284
+ # @client.remove_collab('octokit/octokit.rb', 'holman')
285
285
  def remove_collaborator(repo, collaborator, options = {})
286
286
  boolean_from_response :delete, "repos/#{Repository.new repo}/collaborators/#{collaborator}", options
287
287
  end
@@ -315,11 +315,11 @@ module Octokit
315
315
  # @return [Array<Sawyer::Resource>] Array of hashes representing users.
316
316
  # @see http://developer.github.com/v3/repos/#list-contributors
317
317
  # @example
318
- # Octokit.contributors('pengwynn/octokit', true)
318
+ # Octokit.contributors('octokit/octokit.rb', true)
319
319
  # @example
320
- # Octokit.contribs('pengwynn/octokit')
320
+ # Octokit.contribs('octokit/octokit.rb')
321
321
  # @example
322
- # @client.contribs('pengwynn/octokit')
322
+ # @client.contribs('octokit/octokit.rb')
323
323
  def contributors(repo, anon = nil, options = {})
324
324
  options[:anon] = 1 if anon.to_s[/1|true/]
325
325
  paginate "repos/#{Repository.new repo}/contributors", options
@@ -334,9 +334,9 @@ module Octokit
334
334
  # @return [Array<Sawyer::Resource>] Array of hashes representing users.
335
335
  # @see http://developer.github.com/v3/repos/starring/#list-stargazers
336
336
  # @example
337
- # Octokit.stargazers('pengwynn/octokit')
337
+ # Octokit.stargazers('octokit/octokit.rb')
338
338
  # @example
339
- # @client.stargazers('pengwynn/octokit')
339
+ # @client.stargazers('octokit/octokit.rb')
340
340
  def stargazers(repo, options = {})
341
341
  paginate "repos/#{Repository.new repo}/stargazers", options
342
342
  end
@@ -351,9 +351,9 @@ module Octokit
351
351
  # @return [Array<Sawyer::Resource>] Array of hashes representing users.
352
352
  # @see http://developer.github.com/v3/repos/watching/#list-watchers
353
353
  # @example
354
- # Octokit.watchers('pengwynn/octokit')
354
+ # Octokit.watchers('octokit/octokit.rb')
355
355
  # @example
356
- # @client.watchers('pengwynn/octokit')
356
+ # @client.watchers('octokit/octokit.rb')
357
357
  def watchers(repo, options = {})
358
358
  paginate "repos/#{Repository.new repo}/watchers", options
359
359
  end
@@ -366,11 +366,11 @@ module Octokit
366
366
  # @return [Array<Sawyer::Resource>] Array of hashes representing repos.
367
367
  # @see http://developer.github.com/v3/repos/forks/#list-forks
368
368
  # @example
369
- # Octokit.forks('pengwynn/octokit')
369
+ # Octokit.forks('octokit/octokit.rb')
370
370
  # @example
371
- # Octokit.network('pengwynn/octokit')
371
+ # Octokit.network('octokit/octokit.rb')
372
372
  # @example
373
- # @client.forks('pengwynn/octokit')
373
+ # @client.forks('octokit/octokit.rb')
374
374
  def forks(repo, options = {})
375
375
  paginate "repos/#{Repository.new repo}/forks", options
376
376
  end
@@ -384,9 +384,9 @@ module Octokit
384
384
  # @return [Array<Sawyer::Resource>] Array of Hashes representing languages.
385
385
  # @see http://developer.github.com/v3/repos/#list-languages
386
386
  # @example
387
- # Octokit.langauges('pengwynn/octokit')
387
+ # Octokit.langauges('octokit/octokit.rb')
388
388
  # @example
389
- # @client.languages('pengwynn/octokit')
389
+ # @client.languages('octokit/octokit.rb')
390
390
  def languages(repo, options = {})
391
391
  paginate "repos/#{Repository.new repo}/languages", options
392
392
  end
@@ -399,9 +399,9 @@ module Octokit
399
399
  # @return [Array<Sawyer::Resource>] Array of hashes representing tags.
400
400
  # @see http://developer.github.com/v3/repos/#list-tags
401
401
  # @example
402
- # Octokit.tags('pengwynn/octokit')
402
+ # Octokit.tags('octokit/octokit.rb')
403
403
  # @example
404
- # @client.tags('pengwynn/octokit')
404
+ # @client.tags('octokit/octokit.rb')
405
405
  def tags(repo, options = {})
406
406
  paginate "repos/#{Repository.new repo}/tags", options
407
407
  end
@@ -414,9 +414,9 @@ module Octokit
414
414
  # @return [Array<Sawyer::Resource>] Array of hashes representing branches.
415
415
  # @see http://developer.github.com/v3/repos/#list-branches
416
416
  # @example
417
- # Octokit.branches('pengwynn/octokit')
417
+ # Octokit.branches('octokit/octokit.rb')
418
418
  # @example
419
- # @client.branches('pengwynn/octokit')
419
+ # @client.branches('octokit/octokit.rb')
420
420
  def branches(repo, options = {})
421
421
  paginate "repos/#{Repository.new repo}/branches", options
422
422
  end
@@ -427,8 +427,8 @@ module Octokit
427
427
  # @param branch [String] Branch name
428
428
  # @return [Sawyer::Resource] The branch requested, if it exists
429
429
  # @see http://developer.github.com/v3/repos/#get-branch
430
- # @example Get branch 'master` from pengwynn/octokit
431
- # Octokit.branch("pengwynn/octokit", "master")
430
+ # @example Get branch 'master` from octokit/octokit.rb
431
+ # Octokit.branch("octokit/octokit.rb", "master")
432
432
  def branch(repo, branch, options = {})
433
433
  get "repos/#{Repository.new repo}/branches/#{branch}", options
434
434
  end
@@ -442,7 +442,7 @@ module Octokit
442
442
  # @return [Array<Sawyer::Resource>] Array of hashes representing hooks.
443
443
  # @see http://developer.github.com/v3/repos/hooks/#list
444
444
  # @example
445
- # @client.hooks('pengwynn/octokit')
445
+ # @client.hooks('octokit/octokit.rb')
446
446
  def hooks(repo, options = {})
447
447
  paginate "repos/#{Repository.new repo}/hooks", options
448
448
  end
@@ -456,7 +456,7 @@ module Octokit
456
456
  # @return [Sawyer::Resource] Hash representing hook.
457
457
  # @see http://developer.github.com/v3/repos/hooks/#get-single-hook
458
458
  # @example
459
- # @client.hook('pengwynn/octokit', 100000)
459
+ # @client.hook('octokit/octokit.rb', 100000)
460
460
  def hook(repo, id, options = {})
461
461
  get "repos/#{Repository.new repo}/hooks/#{id}", options
462
462
  end
@@ -481,7 +481,7 @@ module Octokit
481
481
  # @see http://developer.github.com/v3/repos/hooks/#create-a-hook
482
482
  # @example
483
483
  # @client.create_hook(
484
- # 'pengwynn/octokit',
484
+ # 'octokit/octokit.rb',
485
485
  # 'web',
486
486
  # {
487
487
  # :url => 'http://something.com/webhook',
@@ -522,7 +522,7 @@ module Octokit
522
522
  # @see http://developer.github.com/v3/repos/hooks/#edit-a-hook
523
523
  # @example
524
524
  # @client.edit_hook(
525
- # 'pengwynn/octokit',
525
+ # 'octokit/octokit.rb',
526
526
  # 'web',
527
527
  # {
528
528
  # :url => 'http://something.com/webhook',
@@ -548,7 +548,7 @@ module Octokit
548
548
  # @return [Boolean] True if hook removed, false otherwise.
549
549
  # @see http://developer.github.com/v3/repos/hooks/#delete-a-hook
550
550
  # @example
551
- # @client.remove_hook('pengwynn/octokit', 1000000)
551
+ # @client.remove_hook('octokit/octokit.rb', 1000000)
552
552
  def remove_hook(repo, id, options = {})
553
553
  boolean_from_response :delete, "repos/#{Repository.new repo}/hooks/#{id}", options
554
554
  end
@@ -562,7 +562,7 @@ module Octokit
562
562
  # @return [Boolean] Success
563
563
  # @see http://developer.github.com/v3/repos/hooks/#test-a-hook
564
564
  # @example
565
- # @client.test_hook('pengwynn/octokit', 1000000)
565
+ # @client.test_hook('octokit/octokit.rb', 1000000)
566
566
  def test_hook(repo, id, options = {})
567
567
  boolean_from_response :post, "repos/#{Repository.new repo}/hooks/#{id}/tests", options
568
568
  end
@@ -575,11 +575,11 @@ module Octokit
575
575
  # @return [Array<Sawyer::Resource>] Array of hashes representing users.
576
576
  # @see http://developer.github.com/v3/issues/assignees/#list-assignees
577
577
  # @example
578
- # Octokit.repository_assignees('pengwynn/octokit')
578
+ # Octokit.repository_assignees('octokit/octokit.rb')
579
579
  # @example
580
- # Octokit.repo_assignees('pengwynn/octokit')
580
+ # Octokit.repo_assignees('octokit/octokit.rb')
581
581
  # @example
582
- # @client.repository_assignees('pengwynn/octokit')
582
+ # @client.repository_assignees('octokit/octokit.rb')
583
583
  def repository_assignees(repo, options = {})
584
584
  paginate "repos/#{Repository.new repo}/assignees", options
585
585
  end
@@ -592,7 +592,7 @@ module Octokit
592
592
  # @return [Boolean] True if assignable on project, false otherwise.
593
593
  # @see http://developer.github.com/v3/issues/assignees/#check-assignee
594
594
  # @example
595
- # Octokit.check_assignee('pengwynn/octokit', 'andrew')
595
+ # Octokit.check_assignee('octokit/octokit.rb', 'andrew')
596
596
  def check_assignee(repo, assignee, options = {})
597
597
  boolean_from_response :get, "repos/#{Repository.new repo}/assignees/#{assignee}", options
598
598
  end
@@ -603,7 +603,7 @@ module Octokit
603
603
  # @return [Array<Sawyer::Resource>] Array of users watching.
604
604
  # @see http://developer.github.com/v3/activity/watching/#list-watchers
605
605
  # @example
606
- # @client.subscribers("pengwynn/octokit")
606
+ # @client.subscribers("octokit/octokit.rb")
607
607
  def subscribers(repo, options = {})
608
608
  paginate "repos/#{Repository.new repo}/subscribers", options
609
609
  end
@@ -614,7 +614,7 @@ module Octokit
614
614
  # @return [Sawyer::Resource] Repository subscription.
615
615
  # @see http://developer.github.com/v3/activity/watching/#get-a-repository-subscription
616
616
  # @example
617
- # @client.subscription("pengwynn/octokit")
617
+ # @client.subscription("octokit/octokit.rb")
618
618
  def subscription(repo, options = {})
619
619
  get "repos/#{Repository.new repo}/subscription", options
620
620
  end
@@ -631,7 +631,7 @@ module Octokit
631
631
  # @return [Sawyer::Resource] Updated repository subscription.
632
632
  # @see http://developer.github.com/v3/activity/watching/#set-a-repository-subscription
633
633
  # @example Subscribe to notifications for a repository
634
- # @client.update_subscription("pengwynn/octokit", {subscribed: true})
634
+ # @client.update_subscription("octokit/octokit.rb", {subscribed: true})
635
635
  def update_subscription(repo, options = {})
636
636
  put "repos/#{Repository.new repo}/subscription", options
637
637
  end
@@ -643,7 +643,7 @@ module Octokit
643
643
  # @see http://developer.github.com/v3/activity/watching/#delete-a-repository-subscription
644
644
  #
645
645
  # @example
646
- # @client.delete_subscription("pengwynn/octokit")
646
+ # @client.delete_subscription("octokit/octokit.rb")
647
647
  def delete_subscription(repo, options = {})
648
648
  boolean_from_response :delete, "repos/#{Repository.new repo}/subscription", options
649
649
  end
@@ -12,7 +12,7 @@ module Octokit
12
12
  # @return [Array<Sawyer::Resource>] Array of contributor stats
13
13
  # @see http://developer.github.com/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts
14
14
  # @example Get contributor stats for octokit
15
- # @client.contributors_stats('pengwynn/octokit')
15
+ # @client.contributors_stats('octokit/octokit.rb')
16
16
  def contributors_stats(repo, options = {})
17
17
  get_stats(repo, "contributors", options)
18
18
  end
@@ -25,7 +25,7 @@ module Octokit
25
25
  # week. The days array is a group of commits per day, starting on Sunday.
26
26
  # @see http://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity-data
27
27
  # @example Get commit activity for octokit
28
- # @client.commit_activity_stats('pengwynn/octokit')
28
+ # @client.commit_activity_stats('octokit/octokit.rb')
29
29
  def commit_activity_stats(repo, options = {})
30
30
  get_stats(repo, "commit_activity", options)
31
31
  end
@@ -37,7 +37,7 @@ module Octokit
37
37
  # and deletions pushed to a repository.
38
38
  # @see http://developer.github.com/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week
39
39
  # @example Get code frequency stats for octokit
40
- # @client.code_frequency_stats('pengwynn/octokit')
40
+ # @client.code_frequency_stats('octokit/octokit.rb')
41
41
  def code_frequency_stats(repo, options = {})
42
42
  get_stats(repo, "code_frequency", options)
43
43
  end
@@ -51,7 +51,7 @@ module Octokit
51
51
  # subtract all from owner.
52
52
  # @see http://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repo-owner-and-everyone-else
53
53
  # @example Get weekly commit counts for octokit
54
- # @client.participation_stats("pengwynn/octokit")
54
+ # @client.participation_stats("octokit/octokit.rb")
55
55
  def participation_stats(repo, options = {})
56
56
  get_stats(repo, "participation", options)
57
57
  end
data/lib/octokit/error.rb CHANGED
@@ -5,8 +5,8 @@ module Octokit
5
5
  # Returns the appropriate Octokit::Error sublcass based
6
6
  # on status and response message
7
7
  #
8
- # @param [Hash]
9
- # @returns [Octokit::Error]
8
+ # @param [Hash] response HTTP response
9
+ # @return [Octokit::Error]
10
10
  def self.from_response(response)
11
11
  status = response[:status].to_i
12
12
  body = response[:body].to_s
@@ -2,6 +2,6 @@ module Octokit
2
2
 
3
3
  # Current version
4
4
  # @return [String]
5
- VERSION = "2.0.0.rc4".freeze
5
+ VERSION = "2.0.0".freeze
6
6
 
7
7
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octokit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc4
5
- prerelease: 6
4
+ version: 2.0.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Wynn Netherland
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-08-20 00:00:00.000000000 Z
14
+ date: 2013-08-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -436,9 +436,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
436
436
  required_rubygems_version: !ruby/object:Gem::Requirement
437
437
  none: false
438
438
  requirements:
439
- - - ! '>'
439
+ - - ! '>='
440
440
  - !ruby/object:Gem::Version
441
- version: 1.3.1
441
+ version: 1.3.5
442
442
  requirements: []
443
443
  rubyforge_project:
444
444
  rubygems_version: 1.8.23