github_api 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/features/README.rdoc +4 -4
- data/features/cassettes/gitignore/get.yml +60 -0
- data/features/cassettes/gitignore/get_raw.yml +224 -0
- data/features/cassettes/gitignore/list.yml +67 -0
- data/features/cassettes/issues/comments/get.yml +71 -0
- data/features/cassettes/issues/comments/list_issue.yml +82 -0
- data/features/cassettes/issues/comments/list_repo.yml +266 -0
- data/features/cassettes/pull_requests/comments/get.yml +159 -0
- data/features/cassettes/pull_requests/comments/list_pull.yml +54 -0
- data/features/cassettes/pull_requests/comments/list_repo.yml +54 -0
- data/features/cassettes/repos/list_repos.yml +129 -0
- data/features/cassettes/users/all.yml +256 -0
- data/features/gitignore.feature +37 -0
- data/features/issues/comments.feature +37 -0
- data/features/pull_requests/comments.feature +27 -0
- data/features/repos.feature +8 -0
- data/features/step_definitions/common_steps.rb +2 -0
- data/features/users.feature +8 -0
- data/lib/github_api.rb +1 -0
- data/lib/github_api/client.rb +5 -0
- data/lib/github_api/git_data/tags.rb +4 -4
- data/lib/github_api/gitignore.rb +56 -0
- data/lib/github_api/issues/comments.rb +23 -9
- data/lib/github_api/pull_requests/comments.rb +24 -6
- data/lib/github_api/repos.rb +14 -1
- data/lib/github_api/repos/keys.rb +4 -4
- data/lib/github_api/users.rb +21 -0
- data/lib/github_api/users/keys.rb +6 -6
- data/lib/github_api/version.rb +1 -1
- data/spec/fixtures/gitignore/template.json +4 -0
- data/spec/fixtures/gitignore/template_raw +1 -0
- data/spec/fixtures/gitignore/templates.json +9 -0
- data/spec/fixtures/users/users.json +9 -0
- data/spec/github/activity/notifications/mark_spec.rb +1 -1
- data/spec/github/activity/starring/starring_spec.rb +2 -2
- data/spec/github/activity/watching/watching_spec.rb +2 -2
- data/spec/github/git_data/commits/create_spec.rb +75 -0
- data/spec/github/git_data/commits/get_spec.rb +50 -0
- data/spec/github/git_data/commits_spec.rb +1 -126
- data/spec/github/git_data/references/create_spec.rb +67 -0
- data/spec/github/git_data/references/delete_spec.rb +38 -0
- data/spec/github/git_data/references/get_spec.rb +54 -0
- data/spec/github/git_data/references/list_spec.rb +77 -0
- data/spec/github/git_data/references/update_spec.rb +62 -0
- data/spec/github/git_data/references_spec.rb +1 -298
- data/spec/github/git_data/tags/create_spec.rb +61 -0
- data/spec/github/git_data/tags/get_spec.rb +48 -0
- data/spec/github/git_data/tags_spec.rb +0 -108
- data/spec/github/git_data/trees/create_spec.rb +62 -0
- data/spec/github/git_data/trees/get_spec.rb +69 -0
- data/spec/github/git_data/trees_spec.rb +0 -133
- data/spec/github/gitignore/get_spec.rb +54 -0
- data/spec/github/gitignore/list_spec.rb +42 -0
- data/spec/github/issues/comments_spec.rb +46 -11
- data/spec/github/pull_requests/comments_spec.rb +46 -11
- data/spec/github/pull_requests_spec.rb +3 -3
- data/spec/github/repos/contents/archive_spec.rb +26 -0
- data/spec/github/repos/contents/get_spec.rb +30 -0
- data/spec/github/repos/contents/readme_spec.rb +30 -0
- data/spec/github/repos/hooks/create_spec.rb +68 -0
- data/spec/github/repos/hooks/delete_spec.rb +40 -0
- data/spec/github/repos/hooks/edit_spec.rb +77 -0
- data/spec/github/repos/hooks/get_spec.rb +49 -0
- data/spec/github/repos/hooks/list_spec.rb +54 -0
- data/spec/github/repos/hooks/test_spec.rb +40 -0
- data/spec/github/repos/hooks_spec.rb +2 -337
- data/spec/github/repos/keys/create_spec.rb +50 -0
- data/spec/github/repos/keys/delete_spec.rb +40 -0
- data/spec/github/repos/keys/edit_spec.rb +40 -0
- data/spec/github/repos/keys/get_spec.rb +43 -0
- data/spec/github/repos/keys/list_spec.rb +52 -0
- data/spec/github/repos/keys_spec.rb +2 -213
- data/spec/github/repos/list_spec.rb +19 -3
- data/spec/github/repos/merging/merge_spec.rb +58 -0
- data/spec/github/repos/pub_sub_hubbub_spec.rb +16 -14
- data/spec/github/repos/statuses/create_spec.rb +54 -0
- data/spec/github/repos/statuses/list_spec.rb +53 -0
- data/spec/github/repos/statuses_spec.rb +1 -114
- data/spec/github/users/emails/add_spec.rb +33 -0
- data/spec/github/users/emails/delete_spec.rb +33 -0
- data/spec/github/users/emails/list_spec.rb +52 -0
- data/spec/github/users/followers/list_spec.rb +68 -0
- data/spec/github/users/followers_spec.rb +0 -70
- data/spec/github/users/get_spec.rb +66 -0
- data/spec/github/users/keys/create_spec.rb +51 -0
- data/spec/github/users/keys/delete_spec.rb +37 -0
- data/spec/github/users/keys/get_spec.rb +50 -0
- data/spec/github/users/keys/list_spec.rb +50 -0
- data/spec/github/users/keys/update_spec.rb +56 -0
- data/spec/github/users/list_spec.rb +45 -0
- data/spec/github/users/update_spec.rb +56 -0
- metadata +96 -43
- data/spec/github/repos/contents_spec.rb +0 -65
- data/spec/github/repos/merging_spec.rb +0 -71
- data/spec/github/repos/starring_spec.rb +0 -4
- data/spec/github/users/emails_spec.rb +0 -110
- data/spec/github/users/keys_spec.rb +0 -256
- data/spec/github/users_spec.rb +0 -128
data/README.md
CHANGED
@@ -278,7 +278,8 @@ By default no caching will be performed. In order to set the cache do... If no c
|
|
278
278
|
Any request that returns multiple items will be paginated to 30 items by default. You can specify custom `page` and `per_page` query parameters to alter default behavior. For instance:
|
279
279
|
|
280
280
|
```ruby
|
281
|
-
|
281
|
+
repos = Github::Repos.new
|
282
|
+
repos.list user: 'wycats', per_page: 10, page: 5
|
282
283
|
```
|
283
284
|
|
284
285
|
Then you can query pagination information included in the link header by:
|
data/features/README.rdoc
CHANGED
@@ -2,26 +2,26 @@
|
|
2
2
|
|
3
3
|
== Setup
|
4
4
|
|
5
|
-
Start by renaming the 'settings.yml.sample' file to 'settings.yml'. Then fill in all the information required such as authentication token etc. This should be enough to get the whole test suite run.
|
5
|
+
Start by renaming the 'settings.yml.sample' file to 'settings.yml'. Then fill in all the information required such as authentication token etc. This should be enough to get the whole test suite to run.
|
6
6
|
|
7
7
|
== Running the specs and features
|
8
8
|
|
9
9
|
To run the specs first run the +bundle+ command to install the necessary gems and then +rake+ command to run the specs.
|
10
10
|
|
11
11
|
bundle
|
12
|
-
rake
|
12
|
+
bundle exec rake
|
13
13
|
|
14
14
|
The specs currently require Ruby 1.9.x.
|
15
15
|
|
16
16
|
In order to run only features
|
17
17
|
|
18
|
-
rake features
|
18
|
+
bundle exec rake features
|
19
19
|
|
20
20
|
== Coverage
|
21
21
|
|
22
22
|
GithubAPI will run coverage only on demand and to run it do
|
23
23
|
|
24
|
-
COVERAGE=true rake
|
24
|
+
COVERAGE=true bundle exec rake
|
25
25
|
|
26
26
|
== Automation
|
27
27
|
|
@@ -0,0 +1,60 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/gitignore/templates/Ruby?access_token=<TOKEN>
|
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.1
|
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
|
+
- Fri, 30 Nov 2012 22:52: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-Github-Media-Type:
|
38
|
+
- github.beta
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '4998'
|
41
|
+
X-Content-Type-Options:
|
42
|
+
- nosniff
|
43
|
+
X-Ratelimit-Limit:
|
44
|
+
- '5000'
|
45
|
+
Cache-Control:
|
46
|
+
- max-age=0, private, must-revalidate
|
47
|
+
Etag:
|
48
|
+
- ! '"87b19b4e40c1a7bb73fc667f70a10309"'
|
49
|
+
Content-Encoding:
|
50
|
+
- gzip
|
51
|
+
body:
|
52
|
+
encoding: ASCII-8BIT
|
53
|
+
string: !binary |-
|
54
|
+
H4sIAAAAAAAAAzWOQQvCMAxG/4rU25D27k0QwetuQmGkXTaKbVrSThjifzdj
|
55
|
+
evt4vDzyVjUv7FGdVadnTJY6zc5b0m6hMaIMn2kKsyWfX8gwC7pTbRAjjrcQ
|
56
|
+
sVqKwZldZ5OALJWn+Dxm6dSC3jCWzE3MhrWZlspvSbCGTMNONmzpeHhc+usB
|
57
|
+
uIUJ/HakV9hbw39I2VhSJ0WQttf7xa3q8wV9nKFdzAAAAA==
|
58
|
+
http_version: !!null
|
59
|
+
recorded_at: Fri, 30 Nov 2012 22:52:55 GMT
|
60
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,224 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/gitignore/templates/Ruby?access_token=<TOKEN>&mime=application/vnd.github.beta.raw
|
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.1
|
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
|
+
- Fri, 30 Nov 2012 22:56:05 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-Github-Media-Type:
|
38
|
+
- github.beta
|
39
|
+
X-Ratelimit-Remaining:
|
40
|
+
- '4997'
|
41
|
+
X-Content-Type-Options:
|
42
|
+
- nosniff
|
43
|
+
X-Ratelimit-Limit:
|
44
|
+
- '5000'
|
45
|
+
Cache-Control:
|
46
|
+
- max-age=0, private, must-revalidate
|
47
|
+
Etag:
|
48
|
+
- ! '"87b19b4e40c1a7bb73fc667f70a10309"'
|
49
|
+
Content-Encoding:
|
50
|
+
- gzip
|
51
|
+
body:
|
52
|
+
encoding: ASCII-8BIT
|
53
|
+
string: !binary |-
|
54
|
+
H4sIAAAAAAAAAzWOQQvCMAxG/4rU25D27k0QwetuQmGkXTaKbVrSThjifzdj
|
55
|
+
evt4vDzyVjUv7FGdVadnTJY6zc5b0m6hMaIMn2kKsyWfX8gwC7pTbRAjjrcQ
|
56
|
+
sVqKwZldZ5OALJWn+Dxm6dSC3jCWzE3MhrWZlspvSbCGTMNONmzpeHhc+usB
|
57
|
+
uIUJ/HakV9hbw39I2VhSJ0WQttf7xa3q8wV9nKFdzAAAAA==
|
58
|
+
http_version: !!null
|
59
|
+
recorded_at: Fri, 30 Nov 2012 22:56:06 GMT
|
60
|
+
- request:
|
61
|
+
method: get
|
62
|
+
uri: https://<BASIC_AUTH>@api.github.com/gitignore/templates/Ruby?access_token=<TOKEN>&mime=application/vnd.github.raw
|
63
|
+
body:
|
64
|
+
encoding: US-ASCII
|
65
|
+
string: ''
|
66
|
+
headers:
|
67
|
+
Accept:
|
68
|
+
- application/vnd.github.raw
|
69
|
+
Accept-Encoding:
|
70
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
71
|
+
User-Agent:
|
72
|
+
- Ruby
|
73
|
+
response:
|
74
|
+
status:
|
75
|
+
code: 200
|
76
|
+
message: OK
|
77
|
+
headers:
|
78
|
+
Server:
|
79
|
+
- nginx
|
80
|
+
Date:
|
81
|
+
- Fri, 30 Nov 2012 23:19:33 GMT
|
82
|
+
Content-Type:
|
83
|
+
- application/vnd.github.raw; charset=utf-8
|
84
|
+
Connection:
|
85
|
+
- keep-alive
|
86
|
+
Status:
|
87
|
+
- 200 OK
|
88
|
+
Cache-Control:
|
89
|
+
- max-age=0, private, must-revalidate
|
90
|
+
Etag:
|
91
|
+
- ! '"2d17a08261e2c700b0e2747da47b6f7d"'
|
92
|
+
X-Github-Media-Type:
|
93
|
+
- github.beta; param=raw
|
94
|
+
X-Content-Type-Options:
|
95
|
+
- nosniff
|
96
|
+
Content-Length:
|
97
|
+
- '159'
|
98
|
+
X-Ratelimit-Limit:
|
99
|
+
- '5000'
|
100
|
+
X-Ratelimit-Remaining:
|
101
|
+
- '4996'
|
102
|
+
body:
|
103
|
+
encoding: US-ASCII
|
104
|
+
string: ! '*.gem
|
105
|
+
|
106
|
+
*.rbc
|
107
|
+
|
108
|
+
.bundle
|
109
|
+
|
110
|
+
.config
|
111
|
+
|
112
|
+
coverage
|
113
|
+
|
114
|
+
InstalledFiles
|
115
|
+
|
116
|
+
lib/bundler/man
|
117
|
+
|
118
|
+
pkg
|
119
|
+
|
120
|
+
rdoc
|
121
|
+
|
122
|
+
spec/reports
|
123
|
+
|
124
|
+
test/tmp
|
125
|
+
|
126
|
+
test/version_tmp
|
127
|
+
|
128
|
+
tmp
|
129
|
+
|
130
|
+
|
131
|
+
# YARD artifacts
|
132
|
+
|
133
|
+
.yardoc
|
134
|
+
|
135
|
+
_yardoc
|
136
|
+
|
137
|
+
doc/
|
138
|
+
|
139
|
+
'
|
140
|
+
http_version: !!null
|
141
|
+
recorded_at: Fri, 30 Nov 2012 23:19:33 GMT
|
142
|
+
- request:
|
143
|
+
method: get
|
144
|
+
uri: https://<BASIC_AUTH>@api.github.com/gitignore/templates/Ruby?access_token=<TOKEN>
|
145
|
+
body:
|
146
|
+
encoding: US-ASCII
|
147
|
+
string: ''
|
148
|
+
headers:
|
149
|
+
Accept:
|
150
|
+
- application/vnd.github.raw
|
151
|
+
Accept-Encoding:
|
152
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
153
|
+
User-Agent:
|
154
|
+
- Ruby
|
155
|
+
response:
|
156
|
+
status:
|
157
|
+
code: 200
|
158
|
+
message: OK
|
159
|
+
headers:
|
160
|
+
Server:
|
161
|
+
- nginx
|
162
|
+
Date:
|
163
|
+
- Fri, 30 Nov 2012 23:44:56 GMT
|
164
|
+
Content-Type:
|
165
|
+
- application/vnd.github.raw; charset=utf-8
|
166
|
+
Connection:
|
167
|
+
- keep-alive
|
168
|
+
Status:
|
169
|
+
- 200 OK
|
170
|
+
Cache-Control:
|
171
|
+
- max-age=0, private, must-revalidate
|
172
|
+
Content-Length:
|
173
|
+
- '159'
|
174
|
+
Etag:
|
175
|
+
- ! '"2d17a08261e2c700b0e2747da47b6f7d"'
|
176
|
+
X-Ratelimit-Remaining:
|
177
|
+
- '4995'
|
178
|
+
X-Github-Media-Type:
|
179
|
+
- github.beta; param=raw
|
180
|
+
X-Content-Type-Options:
|
181
|
+
- nosniff
|
182
|
+
X-Ratelimit-Limit:
|
183
|
+
- '5000'
|
184
|
+
body:
|
185
|
+
encoding: US-ASCII
|
186
|
+
string: ! '*.gem
|
187
|
+
|
188
|
+
*.rbc
|
189
|
+
|
190
|
+
.bundle
|
191
|
+
|
192
|
+
.config
|
193
|
+
|
194
|
+
coverage
|
195
|
+
|
196
|
+
InstalledFiles
|
197
|
+
|
198
|
+
lib/bundler/man
|
199
|
+
|
200
|
+
pkg
|
201
|
+
|
202
|
+
rdoc
|
203
|
+
|
204
|
+
spec/reports
|
205
|
+
|
206
|
+
test/tmp
|
207
|
+
|
208
|
+
test/version_tmp
|
209
|
+
|
210
|
+
tmp
|
211
|
+
|
212
|
+
|
213
|
+
# YARD artifacts
|
214
|
+
|
215
|
+
.yardoc
|
216
|
+
|
217
|
+
_yardoc
|
218
|
+
|
219
|
+
doc/
|
220
|
+
|
221
|
+
'
|
222
|
+
http_version: !!null
|
223
|
+
recorded_at: Fri, 30 Nov 2012 23:44:56 GMT
|
224
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,67 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/gitignore/templates?access_token=<TOKEN>
|
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.1
|
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
|
+
- Fri, 30 Nov 2012 22:46:25 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-Content-Type-Options:
|
38
|
+
- nosniff
|
39
|
+
X-Ratelimit-Limit:
|
40
|
+
- '5000'
|
41
|
+
Cache-Control:
|
42
|
+
- max-age=0, private, must-revalidate
|
43
|
+
Etag:
|
44
|
+
- ! '"cc8e8df5d003cd489fd90931fa7f751a"'
|
45
|
+
X-Github-Media-Type:
|
46
|
+
- github.beta
|
47
|
+
X-Ratelimit-Remaining:
|
48
|
+
- '4999'
|
49
|
+
Content-Encoding:
|
50
|
+
- gzip
|
51
|
+
body:
|
52
|
+
encoding: ASCII-8BIT
|
53
|
+
string: !binary |-
|
54
|
+
H4sIAAAAAAAAA02S0XbTMAyG36W3A84YhwfYsrVjNGvXZJTB4UJxtMSNbRnF
|
55
|
+
Kc3bI7njHC4sfZJj65ecn4trkyyF0bCNafFucR1aJtsqxWjQIUMirm2CYCev
|
56
|
+
6SlRInKj8A0E04NAoeviQu1y3yPm3aKEAdVXPXBUkHh7v1VydJg4b1KLX7pg
|
57
|
+
E3KOfIQxH6ZgGBN+zvxb7C262FuFA4SOFHiK4ATu2ElK4RQZx1EaugudDVpg
|
58
|
+
aQO4DMQGbylJDY0mdGctq30t8UovXDHYLP0exgGdXv0AR1DXUJb1gMN8zhN5
|
59
|
+
l3fm1FMQ+Eo9BM2socbv6tEGGzrUzTV6CpUMUSe7tm6O9IapP8+1BPkyqYoS
|
60
|
+
jvnMo4xG3KYAr0o2zQHlrY74vtAoaqkNg3EonXkVt0XWD7cO5iWDxz/Eg8b/
|
61
|
+
FD4RnVrSEk9JzE7XW8O7XoqNYj01No9rNzWzuMpAbrNqjVGH4FdZXTVgMv1z
|
62
|
+
VJw64GJXKs7+lUI+eKarM0aZ0VyUlUQ1cIfp0+XlxxyMXh2eUoQkP4FeXU/c
|
63
|
+
0AqBRz39LD+HXvjt5sMjqu49vKolbvNjC79YK/YHhvb/vjtDR0kHCKTSKWIw
|
64
|
+
wGnx6y8o6qPR9QIAAA==
|
65
|
+
http_version: !!null
|
66
|
+
recorded_at: Fri, 30 Nov 2012 22:46:25 GMT
|
67
|
+
recorded_with: VCR 2.3.0
|
@@ -0,0 +1,71 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/repos/peter-murach/github/issues/comments/10321836?access_token=<TOKEN>
|
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.1
|
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
|
+
- Thu, 06 Dec 2012 22:09:15 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-Github-Media-Type:
|
38
|
+
- github.beta
|
39
|
+
Vary:
|
40
|
+
- Accept, Authorization, Cookie
|
41
|
+
Last-Modified:
|
42
|
+
- Wed, 21 Nov 2012 09:52:45 GMT
|
43
|
+
X-Content-Type-Options:
|
44
|
+
- nosniff
|
45
|
+
Cache-Control:
|
46
|
+
- private, max-age=60, s-maxage=60
|
47
|
+
Etag:
|
48
|
+
- ! '"d132491c5290a778408cb1af702d1a64"'
|
49
|
+
X-Ratelimit-Remaining:
|
50
|
+
- '4997'
|
51
|
+
X-Ratelimit-Limit:
|
52
|
+
- '5000'
|
53
|
+
Content-Encoding:
|
54
|
+
- gzip
|
55
|
+
body:
|
56
|
+
encoding: ASCII-8BIT
|
57
|
+
string: !binary |-
|
58
|
+
H4sIAAAAAAAAA6WUTY+bMBCG/wprqeolYAyBpUhV1Uul3ttLL9EEJsRawJZt
|
59
|
+
EhGU/94xyabZPWwS9YQN7zPfw8SktQOuBtOykm2d07bkHLSMGum2wzqqVMcN
|
60
|
+
amW5Rocm7AYD1ZafvvIZtrxIvuRpJtiC/Z8dctZh7ywXcZqIIs29RV2Dw3oF
|
61
|
+
jgJMYpGEQoQi/SXiMhXlMv/jNRYNKyfmRo2k+u2vC9ZI6+zHmXnQ8k6+HCgj
|
62
|
+
Uk/zYyXro+cN7MCBoat3nSb4XK+LvC6KDDc5xlgXsaiyOIdiUyS3kv/nipTK
|
63
|
+
NNDLAzip+vtDJMoSbCkmQxX5sNZXmZ31E1f7Hs1xmvvpE9yotlV7qsDdpi7E
|
64
|
+
hZZ98yBNBNHzTN1Nzmqizg15m7nFajAYvbZrHtmTkN9q2rf662Xmk2URYQQv
|
65
|
+
0IGMenQcrEVnrxbhU/JDdtCgpcOrt+tz6IseLpM40nOOrWpkT6Pj58v3bVjb
|
66
|
+
ykj9WNPfUGQFd35D7q7cST5xbeQOqtG33WCFckcD9KCpdxxZ8oshsmX2LI4L
|
67
|
+
Vhm8uagzcN7tBVureqTyfO/gQEPxFPz83LaBM2PgVEClDKQLoK8D3cIY7Ol3
|
68
|
+
RC+e2PEvowXrgrMEAAA=
|
69
|
+
http_version: !!null
|
70
|
+
recorded_at: Thu, 06 Dec 2012 22:09:15 GMT
|
71
|
+
recorded_with: VCR 2.3.0
|