github_api 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,318 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://<BASIC_AUTH>@api.github.com/repos/peter-murach/github/forks?access_token=<TOKEN>&sort=oldest
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/jsonapplication/vnd.github+json;q=0.7application/vnd.github.v3.raw+json;q=0.5application/vnd.github.beta.raw+json;q=0.1
12
+ Accept-Charset:
13
+ - utf-8
14
+ User-Agent:
15
+ - Github Ruby Gem 0.8.5
16
+ Content-Type:
17
+ - application/json
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Server:
26
+ - nginx
27
+ Date:
28
+ - Wed, 02 Jan 2013 22:05:55 GMT
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Connection:
34
+ - keep-alive
35
+ Status:
36
+ - 200 OK
37
+ X-Ratelimit-Remaining:
38
+ - '4998'
39
+ Cache-Control:
40
+ - private, max-age=60, s-maxage=60
41
+ Vary:
42
+ - Accept, Authorization, Cookie
43
+ X-Ratelimit-Limit:
44
+ - '5000'
45
+ Etag:
46
+ - ! '"728dd851039d17112ae9d67099cbab0b"'
47
+ X-Content-Type-Options:
48
+ - nosniff
49
+ Link:
50
+ - <https://api.github.com/repos/peter-murach/github/forks?access_token=<TOKEN>&page=2&sort=oldest>;
51
+ rel="next", <https://api.github.com/repos/peter-murach/github/forks?access_token=<TOKEN>&page=2&sort=oldest>;
52
+ rel="last"
53
+ Last-Modified:
54
+ - Tue, 04 Dec 2012 20:14:38 GMT
55
+ X-Github-Media-Type:
56
+ - github.beta
57
+ Content-Encoding:
58
+ - gzip
59
+ body:
60
+ encoding: ASCII-8BIT
61
+ string: !binary |-
62
+ H4sIA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jiQoDFMykDhrgrKNMqK
309
+ JAmy2qvSWm0iE5W7JKvzprmbt2VP+5JhQNO+swCgyWl2oj9jHpt+YISl+0xH
310
+ IRN9xghtsk7iqQnly8FnTDFqj2mIrq0907HngHpQHMt5UIoEeVCYXHhQJJd3
311
+ UNCs7XjqF9Vql5h0G+dbr1tWq87JdY8M9aft5nrD/6IexTYwlgs7MGc11UEV
312
+ iUkHJUo8B4VxMAeG8CQHpsgYB6VZGA4seyeAA5vlSm9QLp9uUJQTtwki9Ut/
313
+ 8WQd1DYHaIMymWLTXwOnD/kGsYEVL+EaWEZoNTBOBjUojak0KMcB0aDMdX0G
314
+ VWeNMyiBLzMoajHLRH7qO2EZ1ASpyaBAAcigLGuNQQl2FAOLP/z1n/8fg4T7
315
+ Ku0JAgA=
316
+ http_version: !!null
317
+ recorded_at: Wed, 02 Jan 2013 22:05:55 GMT
318
+ recorded_with: VCR 2.3.0
@@ -83,3 +83,41 @@ Feature: Labels API
83
83
  When I make request within a cassette named "issues/labels/delete" and match on method
84
84
  Then the response status should be 204
85
85
 
86
+ Scenario: Add
87
+
88
+ Given I want to add resource with the following params:
89
+ | user | repo | issue_id | label1 |
90
+ | murek | github_api_test | 1 | bug |
91
+ When I make request within a cassette named "issues/labels/add" and match on method
92
+ Then the response status should be 200
93
+ And the response type should be JSON
94
+ And the response should not be empty
95
+
96
+ Scenario: Replace
97
+
98
+ Given I want to replace resource with the following params:
99
+ | user | repo | issue_id | label1 | label 2 |
100
+ | murek | github_api_test | 1 | question | duplicate |
101
+ When I make request within a cassette named "issues/labels/replace" and match on method
102
+ Then the response status should be 200
103
+ And the response type should be JSON
104
+ And the response should not be empty
105
+
106
+ Scenario: Remove a single label
107
+
108
+ Given I want to remove resource with the following params:
109
+ | user | repo | issue_id |
110
+ | murek | github_api_test | 1 |
111
+ And I pass the following request options:
112
+ | lable_name |
113
+ | duplicate |
114
+ When I make request within a cassette named "issues/labels/remove_one" and match on method
115
+ Then the response status should be 204
116
+
117
+ Scenario: Remove all labels
118
+
119
+ Given I want to remove resource with the following params:
120
+ | user | repo | issue_id |
121
+ | murek | github_api_test | 1 |
122
+ When I make request within a cassette named "issues/labels/remove_all" and match on method
123
+ Then the response status should be 204
@@ -0,0 +1,28 @@
1
+ Feature: Forks API
2
+
3
+ Background:
4
+ Given I have "Github::Repos::Forks" instance
5
+
6
+ Scenario: List
7
+
8
+ Given I want to list resources with the following params:
9
+ | user | repo |
10
+ | peter-murach | github |
11
+ When I make request within a cassette named "repos/forks/list"
12
+ Then the response status should be 200
13
+ And the response type should be JSON
14
+ And the response should not be empty
15
+
16
+ Scenario: List with sort
17
+
18
+ Given I want to list resources with the following params:
19
+ | user | repo |
20
+ | peter-murach | github |
21
+ And I pass the following request options:
22
+ | sort |
23
+ | oldest |
24
+ When I make request within a cassette named "repos/forks/list_sort"
25
+ Then the response status should be 200
26
+ And the response type should be JSON
27
+ And the response should not be empty
28
+ And the response first item created_at should be 2011-10-03T20:19:43Z
@@ -80,3 +80,11 @@ Then /^the response (.*) link should contain:$/ do |type, table|
80
80
  end
81
81
  end
82
82
  end
83
+
84
+ Then /^the response (.*) item (.*) should be (.*)$/ do |action, field, result|
85
+ if action == 'first'
86
+ @response.first.send(field).should eql result
87
+ else
88
+ @response.last.send(field).should eql result
89
+ end
90
+ end
@@ -73,14 +73,13 @@ module Github
73
73
  # = Examples
74
74
  # github = Github.new
75
75
  # github.issues.comments.create 'user-name', 'repo-name', 'issue-id',
76
- # "body" => 'a new comment'
76
+ # 'body': 'a new comment'
77
77
  #
78
78
  def create(user_name, repo_name, issue_id, params={})
79
79
  set :user => user_name, :repo => repo_name
80
80
  assert_presence_of user, repo, issue_id
81
81
 
82
82
  normalize! params
83
- # _merge_mime_type(:issue_comment, params)
84
83
  filter! VALID_ISSUE_COMMENT_PARAM_NAME, params
85
84
  assert_required_keys(%w[ body ], params)
86
85
 
@@ -95,14 +94,13 @@ module Github
95
94
  # = Examples
96
95
  # github = Github.new
97
96
  # github.issues.comments.edit 'user-name', 'repo-name', 'comment-id',
98
- # "body" => 'a new comment'
97
+ # 'body': 'a new comment'
99
98
  #
100
99
  def edit(user_name, repo_name, comment_id, params={})
101
100
  set :user => user_name, :repo => repo_name
102
101
  assert_presence_of user, repo, comment_id
103
102
 
104
103
  normalize! params
105
- # _merge_mime_type(:issue_comment, params)
106
104
  filter! VALID_ISSUE_COMMENT_PARAM_NAME, params
107
105
  assert_required_keys(%w[ body ], params)
108
106
 
@@ -118,9 +116,7 @@ module Github
118
116
  def delete(user_name, repo_name, comment_id, params={})
119
117
  set :user => user_name, :repo => repo_name
120
118
  assert_presence_of user, repo, comment_id
121
-
122
119
  normalize! params
123
- # _merge_mime_type(:issue_comment, params)
124
120
 
125
121
  delete_request("/repos/#{user}/#{repo}/issues/comments/#{comment_id}", params)
126
122
  end
@@ -13,7 +13,7 @@ module Github
13
13
  # List all labels for a repository
14
14
  #
15
15
  # = Examples
16
- # github = Github.new :user => 'user-name', :repo => 'repo-name'
16
+ # github = Github.new user: 'user-name', repo: 'repo-name'
17
17
  # github.issues.labels.list
18
18
  # github.issues.labels.list { |label| ... }
19
19
  #
@@ -68,8 +68,8 @@ module Github
68
68
  # <tt>:color</tt> - Required string - 6 character hex code, without leading #
69
69
  #
70
70
  # = Examples
71
- # github = Github.new :user => 'user-name', :repo => 'repo-name'
72
- # github.issues.labels.create :name => 'API', :color => 'FFFFFF'
71
+ # github = Github.new user: 'user-name', repo: 'repo-name'
72
+ # github.issues.labels.create name: 'API', color: 'FFFFFF'
73
73
  #
74
74
  def create(user_name, repo_name, params={})
75
75
  set :user => user_name, :repo => repo_name
@@ -91,7 +91,7 @@ module Github
91
91
  # = Examples
92
92
  # @github = Github.new
93
93
  # @github.issues.labels.update 'user-name', 'repo-name', 'label-name',
94
- # :name => 'API', :color => "FFFFFF"
94
+ # name: 'API', color: "FFFFFF"
95
95
  #
96
96
  def update(user_name, repo_name, label_name, params={})
97
97
  set :user => user_name, :repo => repo_name
@@ -143,19 +143,20 @@ module Github
143
143
  #
144
144
  # = Examples
145
145
  # github = Github.new
146
- # github.issues.labels.remove 'user-name', 'repo-name', 'issue-id', 'label-id'
146
+ # github.issues.labels.remove 'user-name', 'repo-name', 'issue-id',
147
+ # lable_name: 'label-name'
147
148
  #
148
149
  # Remove all labels from an issue
149
150
  # = Examples
150
151
  # github = Github.new
151
152
  # github.issues.labels.remove 'user-name', 'repo-name', 'issue-id'
152
153
  #
153
- def remove(user_name, repo_name, issue_id, label_name=nil, params={})
154
+ def remove(user_name, repo_name, issue_id, params={})
154
155
  set :user => user_name, :repo => repo_name
155
156
  assert_presence_of user, repo, issue_id
156
157
  normalize! params
157
158
 
158
- if label_name
159
+ if (label_name = params.delete('label_name'))
159
160
  delete_request("/repos/#{user}/#{repo}/issues/#{issue_id}/labels/#{label_name}", params)
160
161
  else
161
162
  delete_request("/repos/#{user}/#{repo}/issues/#{issue_id}/labels", params)