github_api 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +6 -5
- data/features/{events.feature → activity/events.feature} +8 -8
- data/features/{repos → activity}/starring.feature +6 -6
- data/features/{repos → activity}/watching.feature +6 -6
- data/features/cassettes/{events → activity/events}/issue.yml +0 -0
- data/features/cassettes/{events → activity/events}/network.yml +0 -0
- data/features/cassettes/{events → activity/events}/org.yml +0 -0
- data/features/cassettes/{events → activity/events}/performed.yml +0 -0
- data/features/cassettes/{events → activity/events}/public.yml +0 -0
- data/features/cassettes/{events → activity/events}/received.yml +0 -0
- data/features/cassettes/{events → activity/events}/repo.yml +0 -0
- data/features/cassettes/{events → activity/events}/user_org.yml +0 -0
- data/features/cassettes/{repos → activity}/starring/list.yml +0 -0
- data/features/cassettes/{repos → activity}/starring/star.yml +0 -0
- data/features/cassettes/{repos → activity}/starring/starred.yml +0 -0
- data/features/cassettes/{repos → activity}/starring/starring.yml +0 -0
- data/features/cassettes/{repos → activity}/starring/unstar.yml +0 -0
- data/features/cassettes/{repos → activity}/watching/list.yml +0 -0
- data/features/cassettes/{repos → activity}/watching/unwatch.yml +0 -0
- data/features/cassettes/{repos → activity}/watching/watch.yml +0 -0
- data/features/cassettes/{repos → activity}/watching/watched.yml +0 -0
- data/features/cassettes/{repos → activity}/watching/watching.yml +0 -0
- data/features/github_api.feature +3 -3
- data/lib/github_api.rb +1 -1
- data/lib/github_api/activity.rb +39 -0
- data/lib/github_api/{events.rb → activity/events.rb} +5 -5
- data/lib/github_api/activity/notifications.rb +162 -0
- data/lib/github_api/{repos → activity}/starring.rb +9 -9
- data/lib/github_api/{repos → activity}/watching.rb +9 -9
- data/lib/github_api/client.rb +6 -4
- data/lib/github_api/repos.rb +2 -14
- data/lib/github_api/response.rb +0 -1
- data/lib/github_api/version.rb +2 -2
- data/spec/fixtures/activity/notifications.json +32 -0
- data/spec/fixtures/activity/subscribed.json +8 -0
- data/spec/fixtures/activity/threads.json +32 -0
- data/spec/github/activity/activity_spec.rb +16 -0
- data/spec/github/activity/events/issue_spec.rb +63 -0
- data/spec/github/activity/events/network_spec.rb +61 -0
- data/spec/github/activity/events/org_spec.rb +60 -0
- data/spec/github/activity/events/performed_spec.rb +91 -0
- data/spec/github/activity/events/public_spec.rb +55 -0
- data/spec/github/activity/events/received_spec.rb +91 -0
- data/spec/github/activity/events/repository_spec.rb +65 -0
- data/spec/github/activity/events/user_org_spec.rb +63 -0
- data/spec/github/activity/notifications/create_spec.rb +44 -0
- data/spec/github/activity/notifications/delete_spec.rb +41 -0
- data/spec/github/activity/notifications/get_spec.rb +58 -0
- data/spec/github/activity/notifications/list_spec.rb +82 -0
- data/spec/github/activity/notifications/mark_spec.rb +74 -0
- data/spec/github/activity/notifications/subscribed_spec.rb +48 -0
- data/spec/github/activity/starring/list_spec.rb +64 -0
- data/spec/github/activity/starring/star_spec.rb +36 -0
- data/spec/github/activity/starring/starred_spec.rb +53 -0
- data/spec/github/activity/starring/starring_spec.rb +38 -0
- data/spec/github/activity/starring/unstar_spec.rb +37 -0
- data/spec/github/activity/watching/list_spec.rb +59 -0
- data/spec/github/activity/watching/unwatch_spec.rb +37 -0
- data/spec/github/activity/watching/watch_spec.rb +37 -0
- data/spec/github/activity/watching/watched_spec.rb +53 -0
- data/spec/github/activity/watching/watching_spec.rb +41 -0
- data/spec/github/authorization_spec.rb +2 -2
- data/spec/github/issues_spec.rb +1 -1
- data/spec/github/repos/comments/delete_spec.rb +2 -0
- data/spec/github/repos/delete_spec.rb +1 -1
- data/spec/github/repos/get_spec.rb +2 -2
- data/spec/github/repos/starring_spec.rb +0 -199
- data/spec/github/repos_spec.rb +0 -4
- data/spec/github/result_spec.rb +1 -1
- metadata +88 -62
- data/features/cassettes/git_data/tags/get.yml +0 -54
- data/features/git_data/tags.feature +0 -17
- data/spec/github/events_spec.rb +0 -491
- data/spec/github/repos/watching_spec.rb +0 -203
data/spec/github/repos_spec.rb
CHANGED
@@ -22,12 +22,8 @@ describe Github::Repos, 'integration' do
|
|
22
22
|
|
23
23
|
its(:merging) { should be_a Github::Repos::Merging }
|
24
24
|
|
25
|
-
its(:starring) { should be_a Github::Repos::Starring }
|
26
|
-
|
27
25
|
its(:statuses) { should be_a Github::Repos::Statuses }
|
28
26
|
|
29
|
-
its(:watching) { should be_a Github::Repos::Watching }
|
30
|
-
|
31
27
|
its(:pubsubhubbub) { should be_a Github::Repos::PubSubHubbub }
|
32
28
|
|
33
29
|
end # Github::Repos
|
data/spec/github/result_spec.rb
CHANGED
@@ -5,7 +5,7 @@ require 'spec_helper'
|
|
5
5
|
describe Github::Result do
|
6
6
|
let(:github) { Github.new }
|
7
7
|
let(:user) { 'wycats' }
|
8
|
-
let(:res) { github.events.public({ 'per_page' => 20 }) }
|
8
|
+
let(:res) { github.activity.events.public({ 'per_page' => 20 }) }
|
9
9
|
let(:pages) { ['1', '5', '6'] }
|
10
10
|
let(:link) {
|
11
11
|
"<https://api.github.com/users/wycats/repos?page=6&per_page=20>; rel=\"last\", <https://api.github.com/users/wycats/repos?page=1&per_page=20>; rel=\"first\""
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-04 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hashie
|
16
|
-
requirement: &
|
16
|
+
requirement: &2152546820 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2152546820
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: faraday
|
27
|
-
requirement: &
|
27
|
+
requirement: &2152546320 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.8.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2152546320
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: multi_json
|
38
|
-
requirement: &
|
38
|
+
requirement: &2152545860 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '1.3'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2152545860
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: oauth2
|
49
|
-
requirement: &
|
49
|
+
requirement: &2152545480 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2152545480
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: nokogiri
|
60
|
-
requirement: &
|
60
|
+
requirement: &2152544940 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.5.2
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2152544940
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
|
-
requirement: &
|
71
|
+
requirement: &2152544440 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2152544440
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: cucumber
|
82
|
-
requirement: &
|
82
|
+
requirement: &2152543980 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2152543980
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: webmock
|
93
|
-
requirement: &
|
93
|
+
requirement: &2152541440 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,21 +98,21 @@ dependencies:
|
|
98
98
|
version: 1.8.0
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2152541440
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: vcr
|
104
|
-
requirement: &
|
104
|
+
requirement: &2152540980 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 2.
|
109
|
+
version: 2.3.0
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2152540980
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: simplecov
|
115
|
-
requirement: &
|
115
|
+
requirement: &2152540520 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: 0.7.1
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *2152540520
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: guard
|
126
|
-
requirement: &
|
126
|
+
requirement: &2152540140 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *2152540140
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: guard-rspec
|
137
|
-
requirement: &
|
137
|
+
requirement: &2152539680 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *2152539680
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: guard-cucumber
|
148
|
-
requirement: &
|
148
|
+
requirement: &2152539260 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *2152539260
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: rake
|
159
|
-
requirement: &
|
159
|
+
requirement: &2152538840 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ! '>='
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: '0'
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *2152538840
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: bundler
|
170
|
-
requirement: &
|
170
|
+
requirement: &2152538420 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ! '>='
|
@@ -175,7 +175,7 @@ dependencies:
|
|
175
175
|
version: '0'
|
176
176
|
type: :development
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *2152538420
|
179
179
|
description: ! ' Ruby wrapper that supports all of the GitHub API v3 methods(nearly
|
180
180
|
200). It''s build in a modular way, that is, you can either instantiate the whole
|
181
181
|
api wrapper Github.new or use parts of it e.i. Github::Repos.new if working solely
|
@@ -186,16 +186,29 @@ extensions: []
|
|
186
186
|
extra_rdoc_files: []
|
187
187
|
files:
|
188
188
|
- Rakefile
|
189
|
+
- features/activity/events.feature
|
190
|
+
- features/activity/starring.feature
|
191
|
+
- features/activity/watching.feature
|
192
|
+
- features/cassettes/activity/events/issue.yml
|
193
|
+
- features/cassettes/activity/events/network.yml
|
194
|
+
- features/cassettes/activity/events/org.yml
|
195
|
+
- features/cassettes/activity/events/performed.yml
|
196
|
+
- features/cassettes/activity/events/public.yml
|
197
|
+
- features/cassettes/activity/events/received.yml
|
198
|
+
- features/cassettes/activity/events/repo.yml
|
199
|
+
- features/cassettes/activity/events/user_org.yml
|
200
|
+
- features/cassettes/activity/starring/list.yml
|
201
|
+
- features/cassettes/activity/starring/star.yml
|
202
|
+
- features/cassettes/activity/starring/starred.yml
|
203
|
+
- features/cassettes/activity/starring/starring.yml
|
204
|
+
- features/cassettes/activity/starring/unstar.yml
|
205
|
+
- features/cassettes/activity/watching/list.yml
|
206
|
+
- features/cassettes/activity/watching/unwatch.yml
|
207
|
+
- features/cassettes/activity/watching/watch.yml
|
208
|
+
- features/cassettes/activity/watching/watched.yml
|
209
|
+
- features/cassettes/activity/watching/watching.yml
|
189
210
|
- features/cassettes/emojis/list.yml
|
190
211
|
- features/cassettes/errors/repos/create.yml
|
191
|
-
- features/cassettes/events/issue.yml
|
192
|
-
- features/cassettes/events/network.yml
|
193
|
-
- features/cassettes/events/org.yml
|
194
|
-
- features/cassettes/events/performed.yml
|
195
|
-
- features/cassettes/events/public.yml
|
196
|
-
- features/cassettes/events/received.yml
|
197
|
-
- features/cassettes/events/repo.yml
|
198
|
-
- features/cassettes/events/user_org.yml
|
199
212
|
- features/cassettes/gists/comments/all.yml
|
200
213
|
- features/cassettes/gists/comments/first.yml
|
201
214
|
- features/cassettes/gists/fork.yml
|
@@ -209,7 +222,6 @@ files:
|
|
209
222
|
- features/cassettes/git_data/references/all.yml
|
210
223
|
- features/cassettes/git_data/references/all_tags.yml
|
211
224
|
- features/cassettes/git_data/references/one.yml
|
212
|
-
- features/cassettes/git_data/tags/get.yml
|
213
225
|
- features/cassettes/issues/assignees/ckeck.yml
|
214
226
|
- features/cassettes/issues/assignees/ckeck_not.yml
|
215
227
|
- features/cassettes/issues/assignees/list.yml
|
@@ -248,20 +260,10 @@ files:
|
|
248
260
|
- features/cassettes/repos/get.yml
|
249
261
|
- features/cassettes/repos/languages.yml
|
250
262
|
- features/cassettes/repos/list.yml
|
251
|
-
- features/cassettes/repos/starring/list.yml
|
252
|
-
- features/cassettes/repos/starring/star.yml
|
253
|
-
- features/cassettes/repos/starring/starred.yml
|
254
|
-
- features/cassettes/repos/starring/starring.yml
|
255
|
-
- features/cassettes/repos/starring/unstar.yml
|
256
263
|
- features/cassettes/repos/statuses/create.yml
|
257
264
|
- features/cassettes/repos/statuses/list.yml
|
258
265
|
- features/cassettes/repos/tags.yml
|
259
266
|
- features/cassettes/repos/teams.yml
|
260
|
-
- features/cassettes/repos/watching/list.yml
|
261
|
-
- features/cassettes/repos/watching/unwatch.yml
|
262
|
-
- features/cassettes/repos/watching/watch.yml
|
263
|
-
- features/cassettes/repos/watching/watched.yml
|
264
|
-
- features/cassettes/repos/watching/watching.yml
|
265
267
|
- features/cassettes/search/email.yml
|
266
268
|
- features/cassettes/search/issues.yml
|
267
269
|
- features/cassettes/search/repos.yml
|
@@ -273,11 +275,9 @@ files:
|
|
273
275
|
- features/cassettes/users/get/user.yml
|
274
276
|
- features/emojis.feature
|
275
277
|
- features/error_codes.feature
|
276
|
-
- features/events.feature
|
277
278
|
- features/gists/comments.feature
|
278
279
|
- features/gists.feature
|
279
280
|
- features/git_data/references.feature
|
280
|
-
- features/git_data/tags.feature
|
281
281
|
- features/github_api.feature
|
282
282
|
- features/issues/assignees.feature
|
283
283
|
- features/issues.feature
|
@@ -288,9 +288,7 @@ files:
|
|
288
288
|
- features/pull_requests.feature
|
289
289
|
- features/README.rdoc
|
290
290
|
- features/repos/contents.feature
|
291
|
-
- features/repos/starring.feature
|
292
291
|
- features/repos/statuses.feature
|
293
|
-
- features/repos/watching.feature
|
294
292
|
- features/repos.feature
|
295
293
|
- features/search.feature
|
296
294
|
- features/settings.yml
|
@@ -303,6 +301,11 @@ files:
|
|
303
301
|
- features/support/vcr.rb
|
304
302
|
- features/users/emails.feature
|
305
303
|
- features/users.feature
|
304
|
+
- lib/github_api/activity/events.rb
|
305
|
+
- lib/github_api/activity/notifications.rb
|
306
|
+
- lib/github_api/activity/starring.rb
|
307
|
+
- lib/github_api/activity/watching.rb
|
308
|
+
- lib/github_api/activity.rb
|
306
309
|
- lib/github_api/api/actions.rb
|
307
310
|
- lib/github_api/api.rb
|
308
311
|
- lib/github_api/api_factory.rb
|
@@ -334,7 +337,6 @@ files:
|
|
334
337
|
- lib/github_api/error/unprocessable_entity.rb
|
335
338
|
- lib/github_api/error/validations.rb
|
336
339
|
- lib/github_api/error.rb
|
337
|
-
- lib/github_api/events.rb
|
338
340
|
- lib/github_api/gists/comments.rb
|
339
341
|
- lib/github_api/gists.rb
|
340
342
|
- lib/github_api/git_data/blobs.rb
|
@@ -375,9 +377,7 @@ files:
|
|
375
377
|
- lib/github_api/repos/keys.rb
|
376
378
|
- lib/github_api/repos/merging.rb
|
377
379
|
- lib/github_api/repos/pub_sub_hubbub.rb
|
378
|
-
- lib/github_api/repos/starring.rb
|
379
380
|
- lib/github_api/repos/statuses.rb
|
380
|
-
- lib/github_api/repos/watching.rb
|
381
381
|
- lib/github_api/repos.rb
|
382
382
|
- lib/github_api/request/basic_auth.rb
|
383
383
|
- lib/github_api/request/jsonize.rb
|
@@ -406,6 +406,9 @@ files:
|
|
406
406
|
- lib/github_api/version.rb
|
407
407
|
- lib/github_api.rb
|
408
408
|
- spec/coverage_adapter.rb
|
409
|
+
- spec/fixtures/activity/notifications.json
|
410
|
+
- spec/fixtures/activity/subscribed.json
|
411
|
+
- spec/fixtures/activity/threads.json
|
409
412
|
- spec/fixtures/auths/authorization.json
|
410
413
|
- spec/fixtures/auths/authorizations.json
|
411
414
|
- spec/fixtures/events/events.json
|
@@ -488,6 +491,31 @@ files:
|
|
488
491
|
- spec/fixtures/users/key.json
|
489
492
|
- spec/fixtures/users/keys.json
|
490
493
|
- spec/fixtures/users/user.json
|
494
|
+
- spec/github/activity/activity_spec.rb
|
495
|
+
- spec/github/activity/events/issue_spec.rb
|
496
|
+
- spec/github/activity/events/network_spec.rb
|
497
|
+
- spec/github/activity/events/org_spec.rb
|
498
|
+
- spec/github/activity/events/performed_spec.rb
|
499
|
+
- spec/github/activity/events/public_spec.rb
|
500
|
+
- spec/github/activity/events/received_spec.rb
|
501
|
+
- spec/github/activity/events/repository_spec.rb
|
502
|
+
- spec/github/activity/events/user_org_spec.rb
|
503
|
+
- spec/github/activity/notifications/create_spec.rb
|
504
|
+
- spec/github/activity/notifications/delete_spec.rb
|
505
|
+
- spec/github/activity/notifications/get_spec.rb
|
506
|
+
- spec/github/activity/notifications/list_spec.rb
|
507
|
+
- spec/github/activity/notifications/mark_spec.rb
|
508
|
+
- spec/github/activity/notifications/subscribed_spec.rb
|
509
|
+
- spec/github/activity/starring/list_spec.rb
|
510
|
+
- spec/github/activity/starring/star_spec.rb
|
511
|
+
- spec/github/activity/starring/starred_spec.rb
|
512
|
+
- spec/github/activity/starring/starring_spec.rb
|
513
|
+
- spec/github/activity/starring/unstar_spec.rb
|
514
|
+
- spec/github/activity/watching/list_spec.rb
|
515
|
+
- spec/github/activity/watching/unwatch_spec.rb
|
516
|
+
- spec/github/activity/watching/watch_spec.rb
|
517
|
+
- spec/github/activity/watching/watched_spec.rb
|
518
|
+
- spec/github/activity/watching/watching_spec.rb
|
491
519
|
- spec/github/api/set_spec.rb
|
492
520
|
- spec/github/api_factory_spec.rb
|
493
521
|
- spec/github/api_spec.rb
|
@@ -502,7 +530,6 @@ files:
|
|
502
530
|
- spec/github/error/service_error_spec.rb
|
503
531
|
- spec/github/error/unknown_value_spec.rb
|
504
532
|
- spec/github/error/validations_spec.rb
|
505
|
-
- spec/github/events_spec.rb
|
506
533
|
- spec/github/gists/comments_spec.rb
|
507
534
|
- spec/github/gists_spec.rb
|
508
535
|
- spec/github/git_data/blobs_spec.rb
|
@@ -563,7 +590,6 @@ files:
|
|
563
590
|
- spec/github/repos/statuses_spec.rb
|
564
591
|
- spec/github/repos/tags_spec.rb
|
565
592
|
- spec/github/repos/teams_spec.rb
|
566
|
-
- spec/github/repos/watching_spec.rb
|
567
593
|
- spec/github/repos_spec.rb
|
568
594
|
- spec/github/request/jsonize_spec.rb
|
569
595
|
- spec/github/request/oauth2_spec.rb
|
@@ -593,7 +619,7 @@ files:
|
|
593
619
|
homepage: https://github.com/peter-murach/github
|
594
620
|
licenses: []
|
595
621
|
post_install_message: ! "\n--------------------------------------------------------------------------------\nThank
|
596
|
-
you for installing github_api-0.
|
622
|
+
you for installing github_api-0.8.0.\n\nFor more information: https://github.com/peter-murach/github\n--------------------------------------------------------------------------------\n
|
597
623
|
\ "
|
598
624
|
rdoc_options: []
|
599
625
|
require_paths:
|
@@ -1,54 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://<BASIC_AUTH>@api.github.com/repos/wycats/thor/git/tags/54cbeb8591609aa949212c8988a08741008c9ade?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.6.4
|
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: 404
|
23
|
-
message: Not Found
|
24
|
-
headers:
|
25
|
-
Server:
|
26
|
-
- nginx/1.0.13
|
27
|
-
Date:
|
28
|
-
- Fri, 17 Aug 2012 18:00:54 GMT
|
29
|
-
Content-Type:
|
30
|
-
- application/json; charset=utf-8
|
31
|
-
Transfer-Encoding:
|
32
|
-
- chunked
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Status:
|
36
|
-
- 404 Not Found
|
37
|
-
X-Content-Type-Options:
|
38
|
-
- nosniff
|
39
|
-
Cache-Control:
|
40
|
-
- ""
|
41
|
-
X-Ratelimit-Remaining:
|
42
|
-
- "4995"
|
43
|
-
X-Ratelimit-Limit:
|
44
|
-
- "5000"
|
45
|
-
Content-Encoding:
|
46
|
-
- gzip
|
47
|
-
body:
|
48
|
-
encoding: ASCII-8BIT
|
49
|
-
string: !binary |
|
50
|
-
H4sIAAAAAAAAA6tWyk0tLk5MT1WyUvLLL1Fwyy/NS1GqBQB8+Ys1FwAAAA==
|
51
|
-
|
52
|
-
http_version:
|
53
|
-
recorded_at: Fri, 17 Aug 2012 18:00:54 GMT
|
54
|
-
recorded_with: VCR 2.2.0
|