targit 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/README.md +36 -0
  4. data/bin/targit +20 -7
  5. data/lib/targit.rb +1 -0
  6. data/lib/targit/asset.rb +8 -24
  7. data/lib/targit/client.rb +22 -0
  8. data/lib/targit/release.rb +6 -5
  9. data/lib/targit/version.rb +1 -1
  10. data/spec/examples/alpha +1 -0
  11. data/spec/examples/beta +1 -0
  12. data/spec/fixtures/cassettes/asset_autocreate_release.yml +272 -0
  13. data/spec/fixtures/cassettes/asset_existence_check_fail.yml +206 -0
  14. data/spec/fixtures/cassettes/asset_existence_check_pass.yml +206 -0
  15. data/spec/fixtures/cassettes/asset_metadata_absent.yml +209 -0
  16. data/spec/fixtures/cassettes/asset_metadata_present.yml +670 -0
  17. data/spec/fixtures/cassettes/asset_url_absent.yml +405 -0
  18. data/spec/fixtures/cassettes/asset_url_present.yml +674 -0
  19. data/spec/fixtures/cassettes/asset_without_release.yml +70 -0
  20. data/spec/fixtures/cassettes/block_existing_asset.yml +206 -0
  21. data/spec/fixtures/cassettes/create_new_asset.yml +674 -0
  22. data/spec/fixtures/cassettes/create_new_release.yml +205 -0
  23. data/spec/fixtures/cassettes/current_asset.yml +208 -0
  24. data/spec/fixtures/cassettes/current_io_asset.yml +70 -0
  25. data/spec/fixtures/cassettes/current_releases.yml +70 -0
  26. data/spec/fixtures/cassettes/delete_asset.yml +541 -0
  27. data/spec/fixtures/cassettes/no_release_found.yml +70 -0
  28. data/spec/fixtures/cassettes/release_object.yml +70 -0
  29. data/spec/fixtures/cassettes/replace_existing_asset.yml +867 -0
  30. data/spec/spec_helper.rb +18 -0
  31. data/spec/targit/asset_spec.rb +212 -0
  32. data/spec/targit/release_spec.rb +40 -0
  33. data/spec/targit/version_spec.rb +9 -0
  34. data/spec/targit_spec.rb +17 -0
  35. data/targit.gemspec +2 -0
  36. metadata +78 -4
@@ -0,0 +1,70 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/repos/akerl/targit/releases?per_page=100
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/vnd.github.v3+json
12
+ User-Agent:
13
+ - Octokit Ruby Gem 3.2.0
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - GitHub.com
23
+ Date:
24
+ - Sat, 12 Jul 2014 22:37:07 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Status:
30
+ - 200 OK
31
+ X-Ratelimit-Limit:
32
+ - '5000'
33
+ X-Ratelimit-Remaining:
34
+ - '4449'
35
+ X-Ratelimit-Reset:
36
+ - '1405206221'
37
+ Cache-Control:
38
+ - private, max-age=60, s-maxage=60
39
+ X-Oauth-Scopes:
40
+ - public_repo
41
+ X-Accepted-Oauth-Scopes:
42
+ - ''
43
+ Vary:
44
+ - Accept, Authorization, Cookie, X-GitHub-OTP
45
+ - Accept-Encoding
46
+ X-Github-Media-Type:
47
+ - github.v3; format=json
48
+ X-Xss-Protection:
49
+ - 1; mode=block
50
+ X-Frame-Options:
51
+ - deny
52
+ Content-Security-Policy:
53
+ - default-src 'none'
54
+ Access-Control-Allow-Credentials:
55
+ - 'true'
56
+ Access-Control-Expose-Headers:
57
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
58
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
59
+ Access-Control-Allow-Origin:
60
+ - "*"
61
+ Strict-Transport-Security:
62
+ - max-age=31536000; includeSubdomains
63
+ X-Content-Type-Options:
64
+ - nosniff
65
+ body:
66
+ encoding: UTF-8
67
+ string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/426208","assets_url":"https://api.github.com/repos/akerl/targit/releases/426208/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/426208/assets{?name}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":426208,"tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2014-07-12T20:38:20Z","published_at":"2014-07-12T22:37:06Z","assets":[],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/testing","body":null}]'
68
+ http_version:
69
+ recorded_at: Sat, 12 Jul 2014 22:37:05 GMT
70
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,206 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/repos/akerl/targit/releases?per_page=100
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/vnd.github.v3+json
12
+ User-Agent:
13
+ - Octokit Ruby Gem 3.2.0
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - GitHub.com
23
+ Date:
24
+ - Sat, 12 Jul 2014 22:37:10 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Status:
30
+ - 200 OK
31
+ X-Ratelimit-Limit:
32
+ - '5000'
33
+ X-Ratelimit-Remaining:
34
+ - '4431'
35
+ X-Ratelimit-Reset:
36
+ - '1405206221'
37
+ Cache-Control:
38
+ - private, max-age=60, s-maxage=60
39
+ X-Oauth-Scopes:
40
+ - public_repo
41
+ X-Accepted-Oauth-Scopes:
42
+ - ''
43
+ Vary:
44
+ - Accept, Authorization, Cookie, X-GitHub-OTP
45
+ - Accept-Encoding
46
+ X-Github-Media-Type:
47
+ - github.v3; format=json
48
+ X-Xss-Protection:
49
+ - 1; mode=block
50
+ X-Frame-Options:
51
+ - deny
52
+ Content-Security-Policy:
53
+ - default-src 'none'
54
+ Access-Control-Allow-Credentials:
55
+ - 'true'
56
+ Access-Control-Expose-Headers:
57
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
58
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
59
+ Access-Control-Allow-Origin:
60
+ - "*"
61
+ Strict-Transport-Security:
62
+ - max-age=31536000; includeSubdomains
63
+ X-Content-Type-Options:
64
+ - nosniff
65
+ body:
66
+ encoding: UTF-8
67
+ string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/426209","assets_url":"https://api.github.com/repos/akerl/targit/releases/426209/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/426209/assets{?name}","html_url":"https://github.com/akerl/targit/releases/tag/more_testing","id":426209,"tag_name":"more_testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2014-07-12T20:38:20Z","published_at":"2014-07-12T22:37:07Z","assets":[],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/more_testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/more_testing","body":null},{"url":"https://api.github.com/repos/akerl/targit/releases/426208","assets_url":"https://api.github.com/repos/akerl/targit/releases/426208/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/426208/assets{?name}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":426208,"tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2014-07-12T20:38:20Z","published_at":"2014-07-12T22:37:06Z","assets":[{"url":"https://api.github.com/repos/akerl/targit/releases/assets/182357","id":182357,"name":"beta","label":null,"uploader":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":12,"download_count":0,"created_at":"2014-07-12T22:37:09Z","updated_at":"2014-07-12T22:37:09Z","browser_download_url":"https://github.com/akerl/targit/releases/download/testing/beta"}],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/testing","body":null}]'
68
+ http_version:
69
+ recorded_at: Sat, 12 Jul 2014 22:37:09 GMT
70
+ - request:
71
+ method: get
72
+ uri: https://api.github.com/repos/akerl/targit/releases/426208
73
+ body:
74
+ encoding: US-ASCII
75
+ string: ''
76
+ headers:
77
+ Accept:
78
+ - application/vnd.github.v3+json
79
+ User-Agent:
80
+ - Octokit Ruby Gem 3.2.0
81
+ Accept-Encoding:
82
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
83
+ response:
84
+ status:
85
+ code: 200
86
+ message: OK
87
+ headers:
88
+ Server:
89
+ - GitHub.com
90
+ Date:
91
+ - Sat, 12 Jul 2014 22:37:10 GMT
92
+ Content-Type:
93
+ - application/json; charset=utf-8
94
+ Transfer-Encoding:
95
+ - chunked
96
+ Status:
97
+ - 200 OK
98
+ X-Ratelimit-Limit:
99
+ - '5000'
100
+ X-Ratelimit-Remaining:
101
+ - '4429'
102
+ X-Ratelimit-Reset:
103
+ - '1405206221'
104
+ Cache-Control:
105
+ - private, max-age=60, s-maxage=60
106
+ Last-Modified:
107
+ - Sat, 12 Jul 2014 22:37:06 GMT
108
+ X-Oauth-Scopes:
109
+ - public_repo
110
+ X-Accepted-Oauth-Scopes:
111
+ - ''
112
+ Vary:
113
+ - Accept, Authorization, Cookie, X-GitHub-OTP
114
+ - Accept-Encoding
115
+ X-Github-Media-Type:
116
+ - github.v3; format=json
117
+ X-Xss-Protection:
118
+ - 1; mode=block
119
+ X-Frame-Options:
120
+ - deny
121
+ Content-Security-Policy:
122
+ - default-src 'none'
123
+ Access-Control-Allow-Credentials:
124
+ - 'true'
125
+ Access-Control-Expose-Headers:
126
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
127
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
128
+ Access-Control-Allow-Origin:
129
+ - "*"
130
+ Strict-Transport-Security:
131
+ - max-age=31536000; includeSubdomains
132
+ X-Content-Type-Options:
133
+ - nosniff
134
+ body:
135
+ encoding: UTF-8
136
+ string: '{"url":"https://api.github.com/repos/akerl/targit/releases/426208","assets_url":"https://api.github.com/repos/akerl/targit/releases/426208/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/426208/assets{?name}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":426208,"tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2014-07-12T20:38:20Z","published_at":"2014-07-12T22:37:06Z","assets":[{"url":"https://api.github.com/repos/akerl/targit/releases/assets/182357","id":182357,"name":"beta","label":null,"uploader":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":12,"download_count":0,"created_at":"2014-07-12T22:37:09Z","updated_at":"2014-07-12T22:37:09Z","browser_download_url":"https://github.com/akerl/targit/releases/download/testing/beta"}],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/testing","body":null}'
137
+ http_version:
138
+ recorded_at: Sat, 12 Jul 2014 22:37:09 GMT
139
+ - request:
140
+ method: get
141
+ uri: https://api.github.com/repos/akerl/targit/releases/426208/assets?per_page=100
142
+ body:
143
+ encoding: US-ASCII
144
+ string: ''
145
+ headers:
146
+ Accept:
147
+ - application/vnd.github.v3+json
148
+ User-Agent:
149
+ - Octokit Ruby Gem 3.2.0
150
+ Accept-Encoding:
151
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
152
+ response:
153
+ status:
154
+ code: 200
155
+ message: OK
156
+ headers:
157
+ Server:
158
+ - GitHub.com
159
+ Date:
160
+ - Sat, 12 Jul 2014 22:37:10 GMT
161
+ Content-Type:
162
+ - application/json; charset=utf-8
163
+ Transfer-Encoding:
164
+ - chunked
165
+ Status:
166
+ - 200 OK
167
+ X-Ratelimit-Limit:
168
+ - '5000'
169
+ X-Ratelimit-Remaining:
170
+ - '4428'
171
+ X-Ratelimit-Reset:
172
+ - '1405206221'
173
+ Cache-Control:
174
+ - private, max-age=60, s-maxage=60
175
+ X-Oauth-Scopes:
176
+ - public_repo
177
+ X-Accepted-Oauth-Scopes:
178
+ - ''
179
+ Vary:
180
+ - Accept, Authorization, Cookie, X-GitHub-OTP
181
+ - Accept-Encoding
182
+ X-Github-Media-Type:
183
+ - github.v3; format=json
184
+ X-Xss-Protection:
185
+ - 1; mode=block
186
+ X-Frame-Options:
187
+ - deny
188
+ Content-Security-Policy:
189
+ - default-src 'none'
190
+ Access-Control-Allow-Credentials:
191
+ - 'true'
192
+ Access-Control-Expose-Headers:
193
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
194
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
195
+ Access-Control-Allow-Origin:
196
+ - "*"
197
+ Strict-Transport-Security:
198
+ - max-age=31536000; includeSubdomains
199
+ X-Content-Type-Options:
200
+ - nosniff
201
+ body:
202
+ encoding: UTF-8
203
+ string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/assets/182357","id":182357,"name":"beta","label":null,"uploader":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":12,"download_count":0,"created_at":"2014-07-12T22:37:09Z","updated_at":"2014-07-12T22:37:09Z","browser_download_url":"https://github.com/akerl/targit/releases/download/testing/beta"}]'
204
+ http_version:
205
+ recorded_at: Sat, 12 Jul 2014 22:37:09 GMT
206
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,674 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/repos/akerl/targit/releases?per_page=100
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/vnd.github.v3+json
12
+ User-Agent:
13
+ - Octokit Ruby Gem 3.2.0
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - GitHub.com
23
+ Date:
24
+ - Sat, 12 Jul 2014 22:37:08 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Status:
30
+ - 200 OK
31
+ X-Ratelimit-Limit:
32
+ - '5000'
33
+ X-Ratelimit-Remaining:
34
+ - '4444'
35
+ X-Ratelimit-Reset:
36
+ - '1405206221'
37
+ Cache-Control:
38
+ - private, max-age=60, s-maxage=60
39
+ X-Oauth-Scopes:
40
+ - public_repo
41
+ X-Accepted-Oauth-Scopes:
42
+ - ''
43
+ Vary:
44
+ - Accept, Authorization, Cookie, X-GitHub-OTP
45
+ - Accept-Encoding
46
+ X-Github-Media-Type:
47
+ - github.v3; format=json
48
+ X-Xss-Protection:
49
+ - 1; mode=block
50
+ X-Frame-Options:
51
+ - deny
52
+ Content-Security-Policy:
53
+ - default-src 'none'
54
+ Access-Control-Allow-Credentials:
55
+ - 'true'
56
+ Access-Control-Expose-Headers:
57
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
58
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
59
+ Access-Control-Allow-Origin:
60
+ - "*"
61
+ Strict-Transport-Security:
62
+ - max-age=31536000; includeSubdomains
63
+ X-Content-Type-Options:
64
+ - nosniff
65
+ body:
66
+ encoding: UTF-8
67
+ string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/426209","assets_url":"https://api.github.com/repos/akerl/targit/releases/426209/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/426209/assets{?name}","html_url":"https://github.com/akerl/targit/releases/tag/more_testing","id":426209,"tag_name":"more_testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2014-07-12T20:38:20Z","published_at":"2014-07-12T22:37:07Z","assets":[],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/more_testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/more_testing","body":null},{"url":"https://api.github.com/repos/akerl/targit/releases/426208","assets_url":"https://api.github.com/repos/akerl/targit/releases/426208/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/426208/assets{?name}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":426208,"tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2014-07-12T20:38:20Z","published_at":"2014-07-12T22:37:06Z","assets":[],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/testing","body":null}]'
68
+ http_version:
69
+ recorded_at: Sat, 12 Jul 2014 22:37:06 GMT
70
+ - request:
71
+ method: get
72
+ uri: https://api.github.com/repos/akerl/targit/releases/426208
73
+ body:
74
+ encoding: US-ASCII
75
+ string: ''
76
+ headers:
77
+ Accept:
78
+ - application/vnd.github.v3+json
79
+ User-Agent:
80
+ - Octokit Ruby Gem 3.2.0
81
+ Accept-Encoding:
82
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
83
+ response:
84
+ status:
85
+ code: 200
86
+ message: OK
87
+ headers:
88
+ Server:
89
+ - GitHub.com
90
+ Date:
91
+ - Sat, 12 Jul 2014 22:37:08 GMT
92
+ Content-Type:
93
+ - application/json; charset=utf-8
94
+ Transfer-Encoding:
95
+ - chunked
96
+ Status:
97
+ - 200 OK
98
+ X-Ratelimit-Limit:
99
+ - '5000'
100
+ X-Ratelimit-Remaining:
101
+ - '4443'
102
+ X-Ratelimit-Reset:
103
+ - '1405206221'
104
+ Cache-Control:
105
+ - private, max-age=60, s-maxage=60
106
+ Last-Modified:
107
+ - Sat, 12 Jul 2014 22:37:06 GMT
108
+ X-Oauth-Scopes:
109
+ - public_repo
110
+ X-Accepted-Oauth-Scopes:
111
+ - ''
112
+ Vary:
113
+ - Accept, Authorization, Cookie, X-GitHub-OTP
114
+ - Accept-Encoding
115
+ X-Github-Media-Type:
116
+ - github.v3; format=json
117
+ X-Xss-Protection:
118
+ - 1; mode=block
119
+ X-Frame-Options:
120
+ - deny
121
+ Content-Security-Policy:
122
+ - default-src 'none'
123
+ Access-Control-Allow-Credentials:
124
+ - 'true'
125
+ Access-Control-Expose-Headers:
126
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
127
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
128
+ Access-Control-Allow-Origin:
129
+ - "*"
130
+ Strict-Transport-Security:
131
+ - max-age=31536000; includeSubdomains
132
+ X-Content-Type-Options:
133
+ - nosniff
134
+ body:
135
+ encoding: UTF-8
136
+ string: '{"url":"https://api.github.com/repos/akerl/targit/releases/426208","assets_url":"https://api.github.com/repos/akerl/targit/releases/426208/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/426208/assets{?name}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":426208,"tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2014-07-12T20:38:20Z","published_at":"2014-07-12T22:37:06Z","assets":[],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/testing","body":null}'
137
+ http_version:
138
+ recorded_at: Sat, 12 Jul 2014 22:37:06 GMT
139
+ - request:
140
+ method: get
141
+ uri: https://api.github.com/repos/akerl/targit/releases/426208/assets?per_page=100
142
+ body:
143
+ encoding: US-ASCII
144
+ string: ''
145
+ headers:
146
+ Accept:
147
+ - application/vnd.github.v3+json
148
+ User-Agent:
149
+ - Octokit Ruby Gem 3.2.0
150
+ Accept-Encoding:
151
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
152
+ response:
153
+ status:
154
+ code: 200
155
+ message: OK
156
+ headers:
157
+ Server:
158
+ - GitHub.com
159
+ Date:
160
+ - Sat, 12 Jul 2014 22:37:08 GMT
161
+ Content-Type:
162
+ - application/json; charset=utf-8
163
+ Status:
164
+ - 200 OK
165
+ X-Ratelimit-Limit:
166
+ - '5000'
167
+ X-Ratelimit-Remaining:
168
+ - '4442'
169
+ X-Ratelimit-Reset:
170
+ - '1405206221'
171
+ Cache-Control:
172
+ - private, max-age=60, s-maxage=60
173
+ X-Oauth-Scopes:
174
+ - public_repo
175
+ X-Accepted-Oauth-Scopes:
176
+ - ''
177
+ Vary:
178
+ - Accept, Authorization, Cookie, X-GitHub-OTP
179
+ - Accept-Encoding
180
+ X-Github-Media-Type:
181
+ - github.v3; format=json
182
+ Link:
183
+ - <https://api.github.com/repositories/21316764/releases/426208/assets?per_page=100&page=0>;
184
+ rel="last"
185
+ X-Xss-Protection:
186
+ - 1; mode=block
187
+ X-Frame-Options:
188
+ - deny
189
+ Content-Security-Policy:
190
+ - default-src 'none'
191
+ Content-Length:
192
+ - '2'
193
+ Access-Control-Allow-Credentials:
194
+ - 'true'
195
+ Access-Control-Expose-Headers:
196
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
197
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
198
+ Access-Control-Allow-Origin:
199
+ - "*"
200
+ Strict-Transport-Security:
201
+ - max-age=31536000; includeSubdomains
202
+ X-Content-Type-Options:
203
+ - nosniff
204
+ body:
205
+ encoding: UTF-8
206
+ string: "[]"
207
+ http_version:
208
+ recorded_at: Sat, 12 Jul 2014 22:37:06 GMT
209
+ - request:
210
+ method: get
211
+ uri: https://api.github.com/repos/akerl/targit/releases/426208
212
+ body:
213
+ encoding: US-ASCII
214
+ string: ''
215
+ headers:
216
+ Accept:
217
+ - application/vnd.github.v3+json
218
+ User-Agent:
219
+ - Octokit Ruby Gem 3.2.0
220
+ Accept-Encoding:
221
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
222
+ response:
223
+ status:
224
+ code: 200
225
+ message: OK
226
+ headers:
227
+ Server:
228
+ - GitHub.com
229
+ Date:
230
+ - Sat, 12 Jul 2014 22:37:08 GMT
231
+ Content-Type:
232
+ - application/json; charset=utf-8
233
+ Transfer-Encoding:
234
+ - chunked
235
+ Status:
236
+ - 200 OK
237
+ X-Ratelimit-Limit:
238
+ - '5000'
239
+ X-Ratelimit-Remaining:
240
+ - '4441'
241
+ X-Ratelimit-Reset:
242
+ - '1405206221'
243
+ Cache-Control:
244
+ - private, max-age=60, s-maxage=60
245
+ Last-Modified:
246
+ - Sat, 12 Jul 2014 22:37:06 GMT
247
+ X-Oauth-Scopes:
248
+ - public_repo
249
+ X-Accepted-Oauth-Scopes:
250
+ - ''
251
+ Vary:
252
+ - Accept, Authorization, Cookie, X-GitHub-OTP
253
+ - Accept-Encoding
254
+ X-Github-Media-Type:
255
+ - github.v3; format=json
256
+ X-Xss-Protection:
257
+ - 1; mode=block
258
+ X-Frame-Options:
259
+ - deny
260
+ Content-Security-Policy:
261
+ - default-src 'none'
262
+ Access-Control-Allow-Credentials:
263
+ - 'true'
264
+ Access-Control-Expose-Headers:
265
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
266
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
267
+ Access-Control-Allow-Origin:
268
+ - "*"
269
+ Strict-Transport-Security:
270
+ - max-age=31536000; includeSubdomains
271
+ X-Content-Type-Options:
272
+ - nosniff
273
+ body:
274
+ encoding: UTF-8
275
+ string: '{"url":"https://api.github.com/repos/akerl/targit/releases/426208","assets_url":"https://api.github.com/repos/akerl/targit/releases/426208/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/426208/assets{?name}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":426208,"tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2014-07-12T20:38:20Z","published_at":"2014-07-12T22:37:06Z","assets":[],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/testing","body":null}'
276
+ http_version:
277
+ recorded_at: Sat, 12 Jul 2014 22:37:07 GMT
278
+ - request:
279
+ method: get
280
+ uri: https://api.github.com/repos/akerl/targit/releases/426208/assets?per_page=100
281
+ body:
282
+ encoding: US-ASCII
283
+ string: ''
284
+ headers:
285
+ Accept:
286
+ - application/vnd.github.v3+json
287
+ User-Agent:
288
+ - Octokit Ruby Gem 3.2.0
289
+ Accept-Encoding:
290
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
291
+ response:
292
+ status:
293
+ code: 200
294
+ message: OK
295
+ headers:
296
+ Server:
297
+ - GitHub.com
298
+ Date:
299
+ - Sat, 12 Jul 2014 22:37:08 GMT
300
+ Content-Type:
301
+ - application/json; charset=utf-8
302
+ Status:
303
+ - 200 OK
304
+ X-Ratelimit-Limit:
305
+ - '5000'
306
+ X-Ratelimit-Remaining:
307
+ - '4440'
308
+ X-Ratelimit-Reset:
309
+ - '1405206221'
310
+ Cache-Control:
311
+ - private, max-age=60, s-maxage=60
312
+ X-Oauth-Scopes:
313
+ - public_repo
314
+ X-Accepted-Oauth-Scopes:
315
+ - ''
316
+ Vary:
317
+ - Accept, Authorization, Cookie, X-GitHub-OTP
318
+ - Accept-Encoding
319
+ X-Github-Media-Type:
320
+ - github.v3; format=json
321
+ Link:
322
+ - <https://api.github.com/repositories/21316764/releases/426208/assets?per_page=100&page=0>;
323
+ rel="last"
324
+ X-Xss-Protection:
325
+ - 1; mode=block
326
+ X-Frame-Options:
327
+ - deny
328
+ Content-Security-Policy:
329
+ - default-src 'none'
330
+ Content-Length:
331
+ - '2'
332
+ Access-Control-Allow-Credentials:
333
+ - 'true'
334
+ Access-Control-Expose-Headers:
335
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
336
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
337
+ Access-Control-Allow-Origin:
338
+ - "*"
339
+ Strict-Transport-Security:
340
+ - max-age=31536000; includeSubdomains
341
+ X-Content-Type-Options:
342
+ - nosniff
343
+ body:
344
+ encoding: UTF-8
345
+ string: "[]"
346
+ http_version:
347
+ recorded_at: Sat, 12 Jul 2014 22:37:07 GMT
348
+ - request:
349
+ method: get
350
+ uri: https://api.github.com/repos/akerl/targit/releases/426208
351
+ body:
352
+ encoding: US-ASCII
353
+ string: ''
354
+ headers:
355
+ Accept:
356
+ - application/vnd.github.v3+json
357
+ User-Agent:
358
+ - Octokit Ruby Gem 3.2.0
359
+ Accept-Encoding:
360
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
361
+ response:
362
+ status:
363
+ code: 200
364
+ message: OK
365
+ headers:
366
+ Server:
367
+ - GitHub.com
368
+ Date:
369
+ - Sat, 12 Jul 2014 22:37:08 GMT
370
+ Content-Type:
371
+ - application/json; charset=utf-8
372
+ Transfer-Encoding:
373
+ - chunked
374
+ Status:
375
+ - 200 OK
376
+ X-Ratelimit-Limit:
377
+ - '5000'
378
+ X-Ratelimit-Remaining:
379
+ - '4439'
380
+ X-Ratelimit-Reset:
381
+ - '1405206221'
382
+ Cache-Control:
383
+ - private, max-age=60, s-maxage=60
384
+ Last-Modified:
385
+ - Sat, 12 Jul 2014 22:37:06 GMT
386
+ X-Oauth-Scopes:
387
+ - public_repo
388
+ X-Accepted-Oauth-Scopes:
389
+ - ''
390
+ Vary:
391
+ - Accept, Authorization, Cookie, X-GitHub-OTP
392
+ - Accept-Encoding
393
+ X-Github-Media-Type:
394
+ - github.v3; format=json
395
+ X-Xss-Protection:
396
+ - 1; mode=block
397
+ X-Frame-Options:
398
+ - deny
399
+ Content-Security-Policy:
400
+ - default-src 'none'
401
+ Access-Control-Allow-Credentials:
402
+ - 'true'
403
+ Access-Control-Expose-Headers:
404
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
405
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
406
+ Access-Control-Allow-Origin:
407
+ - "*"
408
+ Strict-Transport-Security:
409
+ - max-age=31536000; includeSubdomains
410
+ X-Content-Type-Options:
411
+ - nosniff
412
+ body:
413
+ encoding: UTF-8
414
+ string: '{"url":"https://api.github.com/repos/akerl/targit/releases/426208","assets_url":"https://api.github.com/repos/akerl/targit/releases/426208/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/426208/assets{?name}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":426208,"tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2014-07-12T20:38:20Z","published_at":"2014-07-12T22:37:06Z","assets":[],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/testing","body":null}'
415
+ http_version:
416
+ recorded_at: Sat, 12 Jul 2014 22:37:07 GMT
417
+ - request:
418
+ method: post
419
+ uri: https://uploads.github.com/repos/akerl/targit/releases/426208/assets?name=beta
420
+ body:
421
+ encoding: ASCII-8BIT
422
+ string: |
423
+ hello world
424
+ headers:
425
+ Accept:
426
+ - application/vnd.github.v3+json
427
+ User-Agent:
428
+ - Octokit Ruby Gem 3.2.0
429
+ Content-Type:
430
+ - application/octet-stream
431
+ Accept-Encoding:
432
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
433
+ response:
434
+ status:
435
+ code: 201
436
+ message: Created
437
+ headers:
438
+ Cache-Control:
439
+ - no-cache
440
+ Content-Security-Policy:
441
+ - default-src 'none'
442
+ Content-Type:
443
+ - application/json; charset=utf-8
444
+ Last-Modified:
445
+ - Sat, 12 Jul 2014 22:37:09 GMT
446
+ Strict-Transport-Security:
447
+ - max-age=2592000
448
+ Vary:
449
+ - Accept, Authorization, Cookie, X-GitHub-OTP
450
+ X-Content-Type-Options:
451
+ - nosniff
452
+ X-Frame-Options:
453
+ - deny
454
+ X-Github-Media-Type:
455
+ - github.v3; format=json
456
+ X-Oauth-Scopes:
457
+ - public_repo
458
+ X-Xss-Protection:
459
+ - 1; mode=block
460
+ Date:
461
+ - Sat, 12 Jul 2014 22:37:09 GMT
462
+ Transfer-Encoding:
463
+ - chunked
464
+ body:
465
+ encoding: UTF-8
466
+ string: '{"url":"https://api.github.com/repos/akerl/targit/releases/assets/182357","id":182357,"name":"beta","label":null,"uploader":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":12,"download_count":0,"created_at":"2014-07-12T22:37:09Z","updated_at":"2014-07-12T22:37:09Z","browser_download_url":"https://github.com/akerl/targit/releases/download/testing/beta"}'
467
+ http_version:
468
+ recorded_at: Sat, 12 Jul 2014 22:37:08 GMT
469
+ - request:
470
+ method: get
471
+ uri: https://api.github.com/repos/akerl/targit/releases/assets/182357
472
+ body:
473
+ encoding: US-ASCII
474
+ string: ''
475
+ headers:
476
+ Accept:
477
+ - application/vnd.github.v3+json
478
+ User-Agent:
479
+ - Octokit Ruby Gem 3.2.0
480
+ Accept-Encoding:
481
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
482
+ response:
483
+ status:
484
+ code: 200
485
+ message: OK
486
+ headers:
487
+ Server:
488
+ - GitHub.com
489
+ Date:
490
+ - Sat, 12 Jul 2014 22:37:10 GMT
491
+ Content-Type:
492
+ - application/json; charset=utf-8
493
+ Transfer-Encoding:
494
+ - chunked
495
+ Status:
496
+ - 200 OK
497
+ X-Ratelimit-Limit:
498
+ - '5000'
499
+ X-Ratelimit-Remaining:
500
+ - '4434'
501
+ X-Ratelimit-Reset:
502
+ - '1405206221'
503
+ Cache-Control:
504
+ - private, max-age=60, s-maxage=60
505
+ Last-Modified:
506
+ - Sat, 12 Jul 2014 22:37:09 GMT
507
+ X-Oauth-Scopes:
508
+ - public_repo
509
+ X-Accepted-Oauth-Scopes:
510
+ - ''
511
+ Vary:
512
+ - Accept, Authorization, Cookie, X-GitHub-OTP
513
+ - Accept-Encoding
514
+ X-Github-Media-Type:
515
+ - github.v3; format=json
516
+ X-Xss-Protection:
517
+ - 1; mode=block
518
+ X-Frame-Options:
519
+ - deny
520
+ Content-Security-Policy:
521
+ - default-src 'none'
522
+ Access-Control-Allow-Credentials:
523
+ - 'true'
524
+ Access-Control-Expose-Headers:
525
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
526
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
527
+ Access-Control-Allow-Origin:
528
+ - "*"
529
+ Strict-Transport-Security:
530
+ - max-age=31536000; includeSubdomains
531
+ X-Content-Type-Options:
532
+ - nosniff
533
+ body:
534
+ encoding: UTF-8
535
+ string: '{"url":"https://api.github.com/repos/akerl/targit/releases/assets/182357","id":182357,"name":"beta","label":null,"uploader":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":12,"download_count":0,"created_at":"2014-07-12T22:37:09Z","updated_at":"2014-07-12T22:37:09Z","browser_download_url":"https://github.com/akerl/targit/releases/download/testing/beta"}'
536
+ http_version:
537
+ recorded_at: Sat, 12 Jul 2014 22:37:08 GMT
538
+ - request:
539
+ method: get
540
+ uri: https://api.github.com/repos/akerl/targit/releases/426208
541
+ body:
542
+ encoding: US-ASCII
543
+ string: ''
544
+ headers:
545
+ Accept:
546
+ - application/vnd.github.v3+json
547
+ User-Agent:
548
+ - Octokit Ruby Gem 3.2.0
549
+ Accept-Encoding:
550
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
551
+ response:
552
+ status:
553
+ code: 200
554
+ message: OK
555
+ headers:
556
+ Server:
557
+ - GitHub.com
558
+ Date:
559
+ - Sat, 12 Jul 2014 22:37:10 GMT
560
+ Content-Type:
561
+ - application/json; charset=utf-8
562
+ Transfer-Encoding:
563
+ - chunked
564
+ Status:
565
+ - 200 OK
566
+ X-Ratelimit-Limit:
567
+ - '5000'
568
+ X-Ratelimit-Remaining:
569
+ - '4433'
570
+ X-Ratelimit-Reset:
571
+ - '1405206221'
572
+ Cache-Control:
573
+ - private, max-age=60, s-maxage=60
574
+ Last-Modified:
575
+ - Sat, 12 Jul 2014 22:37:06 GMT
576
+ X-Oauth-Scopes:
577
+ - public_repo
578
+ X-Accepted-Oauth-Scopes:
579
+ - ''
580
+ Vary:
581
+ - Accept, Authorization, Cookie, X-GitHub-OTP
582
+ - Accept-Encoding
583
+ X-Github-Media-Type:
584
+ - github.v3; format=json
585
+ X-Xss-Protection:
586
+ - 1; mode=block
587
+ X-Frame-Options:
588
+ - deny
589
+ Content-Security-Policy:
590
+ - default-src 'none'
591
+ Access-Control-Allow-Credentials:
592
+ - 'true'
593
+ Access-Control-Expose-Headers:
594
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
595
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
596
+ Access-Control-Allow-Origin:
597
+ - "*"
598
+ Strict-Transport-Security:
599
+ - max-age=31536000; includeSubdomains
600
+ X-Content-Type-Options:
601
+ - nosniff
602
+ body:
603
+ encoding: UTF-8
604
+ string: '{"url":"https://api.github.com/repos/akerl/targit/releases/426208","assets_url":"https://api.github.com/repos/akerl/targit/releases/426208/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/426208/assets{?name}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":426208,"tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2014-07-12T20:38:20Z","published_at":"2014-07-12T22:37:06Z","assets":[{"url":"https://api.github.com/repos/akerl/targit/releases/assets/182357","id":182357,"name":"beta","label":null,"uploader":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":12,"download_count":0,"created_at":"2014-07-12T22:37:09Z","updated_at":"2014-07-12T22:37:09Z","browser_download_url":"https://github.com/akerl/targit/releases/download/testing/beta"}],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/testing","body":null}'
605
+ http_version:
606
+ recorded_at: Sat, 12 Jul 2014 22:37:08 GMT
607
+ - request:
608
+ method: get
609
+ uri: https://api.github.com/repos/akerl/targit/releases/426208/assets?per_page=100
610
+ body:
611
+ encoding: US-ASCII
612
+ string: ''
613
+ headers:
614
+ Accept:
615
+ - application/vnd.github.v3+json
616
+ User-Agent:
617
+ - Octokit Ruby Gem 3.2.0
618
+ Accept-Encoding:
619
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
620
+ response:
621
+ status:
622
+ code: 200
623
+ message: OK
624
+ headers:
625
+ Server:
626
+ - GitHub.com
627
+ Date:
628
+ - Sat, 12 Jul 2014 22:37:10 GMT
629
+ Content-Type:
630
+ - application/json; charset=utf-8
631
+ Transfer-Encoding:
632
+ - chunked
633
+ Status:
634
+ - 200 OK
635
+ X-Ratelimit-Limit:
636
+ - '5000'
637
+ X-Ratelimit-Remaining:
638
+ - '4432'
639
+ X-Ratelimit-Reset:
640
+ - '1405206221'
641
+ Cache-Control:
642
+ - private, max-age=60, s-maxage=60
643
+ X-Oauth-Scopes:
644
+ - public_repo
645
+ X-Accepted-Oauth-Scopes:
646
+ - ''
647
+ Vary:
648
+ - Accept, Authorization, Cookie, X-GitHub-OTP
649
+ - Accept-Encoding
650
+ X-Github-Media-Type:
651
+ - github.v3; format=json
652
+ X-Xss-Protection:
653
+ - 1; mode=block
654
+ X-Frame-Options:
655
+ - deny
656
+ Content-Security-Policy:
657
+ - default-src 'none'
658
+ Access-Control-Allow-Credentials:
659
+ - 'true'
660
+ Access-Control-Expose-Headers:
661
+ - ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
662
+ X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
663
+ Access-Control-Allow-Origin:
664
+ - "*"
665
+ Strict-Transport-Security:
666
+ - max-age=31536000; includeSubdomains
667
+ X-Content-Type-Options:
668
+ - nosniff
669
+ body:
670
+ encoding: UTF-8
671
+ string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/assets/182357","id":182357,"name":"beta","label":null,"uploader":{"login":"akerl","id":491209,"avatar_url":"https://avatars.githubusercontent.com/u/491209?","gravatar_id":"819691dc5c197c042ccd16b894545673","url":"https://api.github.com/users/akerl","html_url":"https://github.com/akerl","followers_url":"https://api.github.com/users/akerl/followers","following_url":"https://api.github.com/users/akerl/following{/other_user}","gists_url":"https://api.github.com/users/akerl/gists{/gist_id}","starred_url":"https://api.github.com/users/akerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akerl/subscriptions","organizations_url":"https://api.github.com/users/akerl/orgs","repos_url":"https://api.github.com/users/akerl/repos","events_url":"https://api.github.com/users/akerl/events{/privacy}","received_events_url":"https://api.github.com/users/akerl/received_events","type":"User","site_admin":false},"content_type":"application/octet-stream","state":"uploaded","size":12,"download_count":0,"created_at":"2014-07-12T22:37:09Z","updated_at":"2014-07-12T22:37:09Z","browser_download_url":"https://github.com/akerl/targit/releases/download/testing/beta"}]'
672
+ http_version:
673
+ recorded_at: Sat, 12 Jul 2014 22:37:09 GMT
674
+ recorded_with: VCR 2.9.2