targit 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circle-ruby +4 -3
- data/.prospectus +8 -8
- data/.rubocop.yml +2 -5
- data/.travis.yml +10 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile +0 -1
- data/README.md +1 -2
- data/Rakefile +1 -2
- data/bin/targit +1 -0
- data/lib/targit/asset.rb +1 -1
- data/lib/targit/client.rb +3 -3
- data/lib/targit/version.rb +1 -1
- data/spec/fixtures/cassettes/asset_autocreate_release.yml +103 -94
- data/spec/fixtures/cassettes/asset_existence_check_fail.yml +79 -73
- data/spec/fixtures/cassettes/asset_existence_check_pass.yml +79 -73
- data/spec/fixtures/cassettes/asset_metadata_absent.yml +79 -76
- data/spec/fixtures/cassettes/asset_metadata_present.yml +251 -232
- data/spec/fixtures/cassettes/asset_url_absent.yml +154 -146
- data/spec/fixtures/cassettes/asset_url_present.yml +252 -237
- data/spec/fixtures/cassettes/asset_without_release.yml +26 -24
- data/spec/fixtures/cassettes/block_existing_asset.yml +79 -73
- data/spec/fixtures/cassettes/create_named_release.yml +80 -76
- data/spec/fixtures/cassettes/create_new_asset.yml +252 -237
- data/spec/fixtures/cassettes/create_new_release.yml +78 -71
- data/spec/fixtures/cassettes/current_asset.yml +22 -158
- data/spec/fixtures/cassettes/current_io_asset.yml +26 -24
- data/spec/fixtures/cassettes/current_releases.yml +26 -24
- data/spec/fixtures/cassettes/delete_asset.yml +207 -195
- data/spec/fixtures/cassettes/no_release_found.yml +26 -24
- data/spec/fixtures/cassettes/release_object.yml +26 -24
- data/spec/fixtures/cassettes/replace_existing_asset.yml +327 -304
- data/spec/spec_helper.rb +3 -13
- data/spec/targit/release_spec.rb +2 -1
- data/targit.gemspec +13 -11
- metadata +50 -37
- data/circle.yml +0 -7
@@ -10,7 +10,9 @@ http_interactions:
|
|
10
10
|
Accept:
|
11
11
|
- application/vnd.github.v3+json
|
12
12
|
User-Agent:
|
13
|
-
- Octokit Ruby Gem
|
13
|
+
- Octokit Ruby Gem 4.15.0
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
14
16
|
Accept-Encoding:
|
15
17
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
18
|
response:
|
@@ -21,7 +23,7 @@ http_interactions:
|
|
21
23
|
Server:
|
22
24
|
- GitHub.com
|
23
25
|
Date:
|
24
|
-
-
|
26
|
+
- Tue, 04 Feb 2020 07:23:44 GMT
|
25
27
|
Content-Type:
|
26
28
|
- application/json; charset=utf-8
|
27
29
|
Transfer-Encoding:
|
@@ -31,45 +33,45 @@ http_interactions:
|
|
31
33
|
X-Ratelimit-Limit:
|
32
34
|
- '5000'
|
33
35
|
X-Ratelimit-Remaining:
|
34
|
-
- '
|
36
|
+
- '4921'
|
35
37
|
X-Ratelimit-Reset:
|
36
|
-
- '
|
38
|
+
- '1580804476'
|
37
39
|
Cache-Control:
|
38
40
|
- private, max-age=60, s-maxage=60
|
39
|
-
X-Oauth-Scopes:
|
40
|
-
- public_repo
|
41
|
-
X-Accepted-Oauth-Scopes:
|
42
|
-
- ''
|
43
41
|
Vary:
|
44
42
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
45
|
-
-
|
43
|
+
X-Oauth-Scopes:
|
44
|
+
- read:org, read:user, repo
|
45
|
+
X-Accepted-Oauth-Scopes:
|
46
|
+
- repo
|
46
47
|
X-Github-Media-Type:
|
47
48
|
- 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
49
|
Access-Control-Expose-Headers:
|
57
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
58
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
50
|
+
- ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
51
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
|
52
|
+
X-GitHub-Media-Type
|
59
53
|
Access-Control-Allow-Origin:
|
60
54
|
- "*"
|
61
55
|
Strict-Transport-Security:
|
62
|
-
- max-age=31536000; includeSubdomains
|
56
|
+
- max-age=31536000; includeSubdomains; preload
|
57
|
+
X-Frame-Options:
|
58
|
+
- deny
|
63
59
|
X-Content-Type-Options:
|
64
60
|
- nosniff
|
61
|
+
X-Xss-Protection:
|
62
|
+
- 1; mode=block
|
63
|
+
Referrer-Policy:
|
64
|
+
- origin-when-cross-origin, strict-origin-when-cross-origin
|
65
|
+
Content-Security-Policy:
|
66
|
+
- default-src 'none'
|
65
67
|
body:
|
66
|
-
encoding:
|
67
|
-
string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/
|
68
|
+
encoding: ASCII-8BIT
|
69
|
+
string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/23363538","assets_url":"https://api.github.com/repos/akerl/targit/releases/23363538/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/23363538/assets{?name,label}","html_url":"https://github.com/akerl/targit/releases/tag/meta_testing","id":23363538,"node_id":"MDc6UmVsZWFzZTIzMzYzNTM4","tag_name":"meta_testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"node_id":"MDQ6VXNlcjQ5MTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/491209?v=4","gravatar_id":"","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":"2019-10-31T18:56:45Z","published_at":"2020-02-04T07:23:41Z","assets":[{"url":"https://api.github.com/repos/akerl/targit/releases/assets/17779578","id":17779578,"node_id":"MDEyOlJlbGVhc2VBc3NldDE3Nzc5NTc4","name":"beta","label":"","uploader":{"login":"akerl","id":491209,"node_id":"MDQ6VXNlcjQ5MTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/491209?v=4","gravatar_id":"","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":"2020-02-04T07:23:42Z","updated_at":"2020-02-04T07:23:42Z","browser_download_url":"https://github.com/akerl/targit/releases/download/meta_testing/beta"}],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/meta_testing","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/meta_testing","body":null},{"url":"https://api.github.com/repos/akerl/targit/releases/23363537","assets_url":"https://api.github.com/repos/akerl/targit/releases/23363537/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/23363537/assets{?name,label}","html_url":"https://github.com/akerl/targit/releases/tag/more_testing","id":23363537,"node_id":"MDc6UmVsZWFzZTIzMzYzNTM3","tag_name":"more_testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"node_id":"MDQ6VXNlcjQ5MTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/491209?v=4","gravatar_id":"","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":"2019-10-31T18:56:45Z","published_at":"2020-02-04T07:23:35Z","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/23363520","assets_url":"https://api.github.com/repos/akerl/targit/releases/23363520/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/23363520/assets{?name,label}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":23363520,"node_id":"MDc6UmVsZWFzZTIzMzYzNTIw","tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"node_id":"MDQ6VXNlcjQ5MTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/491209?v=4","gravatar_id":"","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":"2019-10-31T18:56:45Z","published_at":"2020-02-04T07:22:02Z","assets":[{"url":"https://api.github.com/repos/akerl/targit/releases/assets/17779580","id":17779580,"node_id":"MDEyOlJlbGVhc2VBc3NldDE3Nzc5NTgw","name":"beta","label":"","uploader":{"login":"akerl","id":491209,"node_id":"MDQ6VXNlcjQ5MTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/491209?v=4","gravatar_id":"","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":"2020-02-04T07:23:44Z","updated_at":"2020-02-04T07:23:44Z","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},{"url":"https://api.github.com/repos/akerl/targit/releases/1980148","assets_url":"https://api.github.com/repos/akerl/targit/releases/1980148/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/1980148/assets{?name,label}","html_url":"https://github.com/akerl/targit/releases/tag/1.1.0","id":1980148,"node_id":"MDc6UmVsZWFzZTE5ODAxNDg=","tag_name":"1.1.0","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"node_id":"MDQ6VXNlcjQ5MTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/491209?v=4","gravatar_id":"","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":"2015-10-14T02:33:04Z","published_at":"2015-10-19T05:15:22Z","assets":[],"tarball_url":"https://api.github.com/repos/akerl/targit/tarball/1.1.0","zipball_url":"https://api.github.com/repos/akerl/targit/zipball/1.1.0","body":null}]'
|
68
70
|
http_version:
|
69
|
-
recorded_at:
|
71
|
+
recorded_at: Tue, 04 Feb 2020 07:23:44 GMT
|
70
72
|
- request:
|
71
73
|
method: get
|
72
|
-
uri: https://api.github.com/repos/akerl/targit/releases/
|
74
|
+
uri: https://api.github.com/repos/akerl/targit/releases/23363520
|
73
75
|
body:
|
74
76
|
encoding: US-ASCII
|
75
77
|
string: ''
|
@@ -77,7 +79,9 @@ http_interactions:
|
|
77
79
|
Accept:
|
78
80
|
- application/vnd.github.v3+json
|
79
81
|
User-Agent:
|
80
|
-
- Octokit Ruby Gem
|
82
|
+
- Octokit Ruby Gem 4.15.0
|
83
|
+
Content-Type:
|
84
|
+
- application/json
|
81
85
|
Accept-Encoding:
|
82
86
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
83
87
|
response:
|
@@ -88,7 +92,7 @@ http_interactions:
|
|
88
92
|
Server:
|
89
93
|
- GitHub.com
|
90
94
|
Date:
|
91
|
-
-
|
95
|
+
- Tue, 04 Feb 2020 07:23:45 GMT
|
92
96
|
Content-Type:
|
93
97
|
- application/json; charset=utf-8
|
94
98
|
Transfer-Encoding:
|
@@ -98,47 +102,47 @@ http_interactions:
|
|
98
102
|
X-Ratelimit-Limit:
|
99
103
|
- '5000'
|
100
104
|
X-Ratelimit-Remaining:
|
101
|
-
- '
|
105
|
+
- '4920'
|
102
106
|
X-Ratelimit-Reset:
|
103
|
-
- '
|
107
|
+
- '1580804477'
|
104
108
|
Cache-Control:
|
105
109
|
- private, max-age=60, s-maxage=60
|
110
|
+
Vary:
|
111
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
106
112
|
Last-Modified:
|
107
|
-
-
|
113
|
+
- Tue, 04 Feb 2020 07:22:02 GMT
|
108
114
|
X-Oauth-Scopes:
|
109
|
-
-
|
115
|
+
- read:org, read:user, repo
|
110
116
|
X-Accepted-Oauth-Scopes:
|
111
|
-
-
|
112
|
-
Vary:
|
113
|
-
- Accept, Authorization, Cookie, X-GitHub-OTP
|
114
|
-
- Accept-Encoding
|
117
|
+
- repo
|
115
118
|
X-Github-Media-Type:
|
116
119
|
- 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
120
|
Access-Control-Expose-Headers:
|
126
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
127
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
121
|
+
- ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
122
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
|
123
|
+
X-GitHub-Media-Type
|
128
124
|
Access-Control-Allow-Origin:
|
129
125
|
- "*"
|
130
126
|
Strict-Transport-Security:
|
131
|
-
- max-age=31536000; includeSubdomains
|
127
|
+
- max-age=31536000; includeSubdomains; preload
|
128
|
+
X-Frame-Options:
|
129
|
+
- deny
|
132
130
|
X-Content-Type-Options:
|
133
131
|
- nosniff
|
132
|
+
X-Xss-Protection:
|
133
|
+
- 1; mode=block
|
134
|
+
Referrer-Policy:
|
135
|
+
- origin-when-cross-origin, strict-origin-when-cross-origin
|
136
|
+
Content-Security-Policy:
|
137
|
+
- default-src 'none'
|
134
138
|
body:
|
135
|
-
encoding:
|
136
|
-
string: '{"url":"https://api.github.com/repos/akerl/targit/releases/
|
139
|
+
encoding: ASCII-8BIT
|
140
|
+
string: '{"url":"https://api.github.com/repos/akerl/targit/releases/23363520","assets_url":"https://api.github.com/repos/akerl/targit/releases/23363520/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/23363520/assets{?name,label}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":23363520,"node_id":"MDc6UmVsZWFzZTIzMzYzNTIw","tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"node_id":"MDQ6VXNlcjQ5MTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/491209?v=4","gravatar_id":"","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":"2019-10-31T18:56:45Z","published_at":"2020-02-04T07:22:02Z","assets":[{"url":"https://api.github.com/repos/akerl/targit/releases/assets/17779580","id":17779580,"node_id":"MDEyOlJlbGVhc2VBc3NldDE3Nzc5NTgw","name":"beta","label":"","uploader":{"login":"akerl","id":491209,"node_id":"MDQ6VXNlcjQ5MTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/491209?v=4","gravatar_id":"","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":"2020-02-04T07:23:44Z","updated_at":"2020-02-04T07:23:44Z","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
141
|
http_version:
|
138
|
-
recorded_at:
|
142
|
+
recorded_at: Tue, 04 Feb 2020 07:23:45 GMT
|
139
143
|
- request:
|
140
144
|
method: get
|
141
|
-
uri: https://api.github.com/repos/akerl/targit/releases/
|
145
|
+
uri: https://api.github.com/repos/akerl/targit/releases/23363520/assets?per_page=100
|
142
146
|
body:
|
143
147
|
encoding: US-ASCII
|
144
148
|
string: ''
|
@@ -146,7 +150,9 @@ http_interactions:
|
|
146
150
|
Accept:
|
147
151
|
- application/vnd.github.v3+json
|
148
152
|
User-Agent:
|
149
|
-
- Octokit Ruby Gem
|
153
|
+
- Octokit Ruby Gem 4.15.0
|
154
|
+
Content-Type:
|
155
|
+
- application/json
|
150
156
|
Accept-Encoding:
|
151
157
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
152
158
|
response:
|
@@ -157,7 +163,7 @@ http_interactions:
|
|
157
163
|
Server:
|
158
164
|
- GitHub.com
|
159
165
|
Date:
|
160
|
-
-
|
166
|
+
- Tue, 04 Feb 2020 07:23:45 GMT
|
161
167
|
Content-Type:
|
162
168
|
- application/json; charset=utf-8
|
163
169
|
Transfer-Encoding:
|
@@ -167,45 +173,45 @@ http_interactions:
|
|
167
173
|
X-Ratelimit-Limit:
|
168
174
|
- '5000'
|
169
175
|
X-Ratelimit-Remaining:
|
170
|
-
- '
|
176
|
+
- '4919'
|
171
177
|
X-Ratelimit-Reset:
|
172
|
-
- '
|
178
|
+
- '1580804477'
|
173
179
|
Cache-Control:
|
174
180
|
- private, max-age=60, s-maxage=60
|
175
|
-
X-Oauth-Scopes:
|
176
|
-
- public_repo
|
177
|
-
X-Accepted-Oauth-Scopes:
|
178
|
-
- ''
|
179
181
|
Vary:
|
180
182
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
181
|
-
-
|
183
|
+
X-Oauth-Scopes:
|
184
|
+
- read:org, read:user, repo
|
185
|
+
X-Accepted-Oauth-Scopes:
|
186
|
+
- repo
|
182
187
|
X-Github-Media-Type:
|
183
188
|
- 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
189
|
Access-Control-Expose-Headers:
|
193
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
194
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
190
|
+
- ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
191
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
|
192
|
+
X-GitHub-Media-Type
|
195
193
|
Access-Control-Allow-Origin:
|
196
194
|
- "*"
|
197
195
|
Strict-Transport-Security:
|
198
|
-
- max-age=31536000; includeSubdomains
|
196
|
+
- max-age=31536000; includeSubdomains; preload
|
197
|
+
X-Frame-Options:
|
198
|
+
- deny
|
199
199
|
X-Content-Type-Options:
|
200
200
|
- nosniff
|
201
|
+
X-Xss-Protection:
|
202
|
+
- 1; mode=block
|
203
|
+
Referrer-Policy:
|
204
|
+
- origin-when-cross-origin, strict-origin-when-cross-origin
|
205
|
+
Content-Security-Policy:
|
206
|
+
- default-src 'none'
|
201
207
|
body:
|
202
|
-
encoding:
|
203
|
-
string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/assets/
|
208
|
+
encoding: ASCII-8BIT
|
209
|
+
string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/assets/17779580","id":17779580,"node_id":"MDEyOlJlbGVhc2VBc3NldDE3Nzc5NTgw","name":"beta","label":"","uploader":{"login":"akerl","id":491209,"node_id":"MDQ6VXNlcjQ5MTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/491209?v=4","gravatar_id":"","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":"2020-02-04T07:23:44Z","updated_at":"2020-02-04T07:23:44Z","browser_download_url":"https://github.com/akerl/targit/releases/download/testing/beta"}]'
|
204
210
|
http_version:
|
205
|
-
recorded_at:
|
211
|
+
recorded_at: Tue, 04 Feb 2020 07:23:45 GMT
|
206
212
|
- request:
|
207
213
|
method: delete
|
208
|
-
uri: https://api.github.com/repos/akerl/targit/releases/assets/
|
214
|
+
uri: https://api.github.com/repos/akerl/targit/releases/assets/17779580
|
209
215
|
body:
|
210
216
|
encoding: UTF-8
|
211
217
|
string: "{}"
|
@@ -213,7 +219,9 @@ http_interactions:
|
|
213
219
|
Accept:
|
214
220
|
- application/vnd.github.v3+json
|
215
221
|
User-Agent:
|
216
|
-
- Octokit Ruby Gem
|
222
|
+
- Octokit Ruby Gem 4.15.0
|
223
|
+
Content-Type:
|
224
|
+
- application/json
|
217
225
|
Accept-Encoding:
|
218
226
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
219
227
|
response:
|
@@ -224,48 +232,47 @@ http_interactions:
|
|
224
232
|
Server:
|
225
233
|
- GitHub.com
|
226
234
|
Date:
|
227
|
-
-
|
235
|
+
- Tue, 04 Feb 2020 07:23:45 GMT
|
228
236
|
Status:
|
229
237
|
- 204 No Content
|
230
238
|
X-Ratelimit-Limit:
|
231
239
|
- '5000'
|
232
240
|
X-Ratelimit-Remaining:
|
233
|
-
- '
|
241
|
+
- '4918'
|
234
242
|
X-Ratelimit-Reset:
|
235
|
-
- '
|
243
|
+
- '1580804477'
|
236
244
|
X-Oauth-Scopes:
|
237
|
-
-
|
245
|
+
- read:org, read:user, repo
|
238
246
|
X-Accepted-Oauth-Scopes:
|
239
|
-
-
|
247
|
+
- repo
|
240
248
|
X-Github-Media-Type:
|
241
249
|
- github.v3; format=json
|
242
|
-
X-Xss-Protection:
|
243
|
-
- 1; mode=block
|
244
|
-
X-Frame-Options:
|
245
|
-
- deny
|
246
|
-
Content-Security-Policy:
|
247
|
-
- default-src 'none'
|
248
|
-
Access-Control-Allow-Credentials:
|
249
|
-
- 'true'
|
250
250
|
Access-Control-Expose-Headers:
|
251
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
252
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
251
|
+
- ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
252
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
|
253
|
+
X-GitHub-Media-Type
|
253
254
|
Access-Control-Allow-Origin:
|
254
255
|
- "*"
|
255
256
|
Strict-Transport-Security:
|
256
|
-
- max-age=31536000; includeSubdomains
|
257
|
+
- max-age=31536000; includeSubdomains; preload
|
258
|
+
X-Frame-Options:
|
259
|
+
- deny
|
257
260
|
X-Content-Type-Options:
|
258
261
|
- nosniff
|
259
|
-
|
260
|
-
-
|
262
|
+
X-Xss-Protection:
|
263
|
+
- 1; mode=block
|
264
|
+
Referrer-Policy:
|
265
|
+
- origin-when-cross-origin, strict-origin-when-cross-origin
|
266
|
+
Content-Security-Policy:
|
267
|
+
- default-src 'none'
|
261
268
|
body:
|
262
269
|
encoding: UTF-8
|
263
270
|
string: ''
|
264
271
|
http_version:
|
265
|
-
recorded_at:
|
272
|
+
recorded_at: Tue, 04 Feb 2020 07:23:45 GMT
|
266
273
|
- request:
|
267
274
|
method: get
|
268
|
-
uri: https://api.github.com/repos/akerl/targit/releases/
|
275
|
+
uri: https://api.github.com/repos/akerl/targit/releases/23363520
|
269
276
|
body:
|
270
277
|
encoding: US-ASCII
|
271
278
|
string: ''
|
@@ -273,7 +280,9 @@ http_interactions:
|
|
273
280
|
Accept:
|
274
281
|
- application/vnd.github.v3+json
|
275
282
|
User-Agent:
|
276
|
-
- Octokit Ruby Gem
|
283
|
+
- Octokit Ruby Gem 4.15.0
|
284
|
+
Content-Type:
|
285
|
+
- application/json
|
277
286
|
Accept-Encoding:
|
278
287
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
279
288
|
response:
|
@@ -284,7 +293,7 @@ http_interactions:
|
|
284
293
|
Server:
|
285
294
|
- GitHub.com
|
286
295
|
Date:
|
287
|
-
-
|
296
|
+
- Tue, 04 Feb 2020 07:23:45 GMT
|
288
297
|
Content-Type:
|
289
298
|
- application/json; charset=utf-8
|
290
299
|
Transfer-Encoding:
|
@@ -294,47 +303,47 @@ http_interactions:
|
|
294
303
|
X-Ratelimit-Limit:
|
295
304
|
- '5000'
|
296
305
|
X-Ratelimit-Remaining:
|
297
|
-
- '
|
306
|
+
- '4917'
|
298
307
|
X-Ratelimit-Reset:
|
299
|
-
- '
|
308
|
+
- '1580804477'
|
300
309
|
Cache-Control:
|
301
310
|
- private, max-age=60, s-maxage=60
|
311
|
+
Vary:
|
312
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
302
313
|
Last-Modified:
|
303
|
-
-
|
314
|
+
- Tue, 04 Feb 2020 07:22:02 GMT
|
304
315
|
X-Oauth-Scopes:
|
305
|
-
-
|
316
|
+
- read:org, read:user, repo
|
306
317
|
X-Accepted-Oauth-Scopes:
|
307
|
-
-
|
308
|
-
Vary:
|
309
|
-
- Accept, Authorization, Cookie, X-GitHub-OTP
|
310
|
-
- Accept-Encoding
|
318
|
+
- repo
|
311
319
|
X-Github-Media-Type:
|
312
320
|
- github.v3; format=json
|
313
|
-
X-Xss-Protection:
|
314
|
-
- 1; mode=block
|
315
|
-
X-Frame-Options:
|
316
|
-
- deny
|
317
|
-
Content-Security-Policy:
|
318
|
-
- default-src 'none'
|
319
|
-
Access-Control-Allow-Credentials:
|
320
|
-
- 'true'
|
321
321
|
Access-Control-Expose-Headers:
|
322
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
323
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
322
|
+
- ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
323
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
|
324
|
+
X-GitHub-Media-Type
|
324
325
|
Access-Control-Allow-Origin:
|
325
326
|
- "*"
|
326
327
|
Strict-Transport-Security:
|
327
|
-
- max-age=31536000; includeSubdomains
|
328
|
+
- max-age=31536000; includeSubdomains; preload
|
329
|
+
X-Frame-Options:
|
330
|
+
- deny
|
328
331
|
X-Content-Type-Options:
|
329
332
|
- nosniff
|
333
|
+
X-Xss-Protection:
|
334
|
+
- 1; mode=block
|
335
|
+
Referrer-Policy:
|
336
|
+
- origin-when-cross-origin, strict-origin-when-cross-origin
|
337
|
+
Content-Security-Policy:
|
338
|
+
- default-src 'none'
|
330
339
|
body:
|
331
|
-
encoding:
|
332
|
-
string: '{"url":"https://api.github.com/repos/akerl/targit/releases/
|
340
|
+
encoding: ASCII-8BIT
|
341
|
+
string: '{"url":"https://api.github.com/repos/akerl/targit/releases/23363520","assets_url":"https://api.github.com/repos/akerl/targit/releases/23363520/assets","upload_url":"https://uploads.github.com/repos/akerl/targit/releases/23363520/assets{?name,label}","html_url":"https://github.com/akerl/targit/releases/tag/testing","id":23363520,"node_id":"MDc6UmVsZWFzZTIzMzYzNTIw","tag_name":"testing","target_commitish":"master","name":null,"draft":false,"author":{"login":"akerl","id":491209,"node_id":"MDQ6VXNlcjQ5MTIwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/491209?v=4","gravatar_id":"","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":"2019-10-31T18:56:45Z","published_at":"2020-02-04T07:22:02Z","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}'
|
333
342
|
http_version:
|
334
|
-
recorded_at:
|
343
|
+
recorded_at: Tue, 04 Feb 2020 07:23:45 GMT
|
335
344
|
- request:
|
336
345
|
method: get
|
337
|
-
uri: https://api.github.com/repos/akerl/targit/releases/
|
346
|
+
uri: https://api.github.com/repos/akerl/targit/releases/23363520/assets?per_page=100
|
338
347
|
body:
|
339
348
|
encoding: US-ASCII
|
340
349
|
string: ''
|
@@ -342,7 +351,9 @@ http_interactions:
|
|
342
351
|
Accept:
|
343
352
|
- application/vnd.github.v3+json
|
344
353
|
User-Agent:
|
345
|
-
- Octokit Ruby Gem
|
354
|
+
- Octokit Ruby Gem 4.15.0
|
355
|
+
Content-Type:
|
356
|
+
- application/json
|
346
357
|
Accept-Encoding:
|
347
358
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
348
359
|
response:
|
@@ -353,53 +364,50 @@ http_interactions:
|
|
353
364
|
Server:
|
354
365
|
- GitHub.com
|
355
366
|
Date:
|
356
|
-
-
|
367
|
+
- Tue, 04 Feb 2020 07:23:45 GMT
|
357
368
|
Content-Type:
|
358
369
|
- application/json; charset=utf-8
|
370
|
+
Content-Length:
|
371
|
+
- '2'
|
359
372
|
Status:
|
360
373
|
- 200 OK
|
361
374
|
X-Ratelimit-Limit:
|
362
375
|
- '5000'
|
363
376
|
X-Ratelimit-Remaining:
|
364
|
-
- '
|
377
|
+
- '4916'
|
365
378
|
X-Ratelimit-Reset:
|
366
|
-
- '
|
379
|
+
- '1580804476'
|
367
380
|
Cache-Control:
|
368
381
|
- private, max-age=60, s-maxage=60
|
369
|
-
X-Oauth-Scopes:
|
370
|
-
- public_repo
|
371
|
-
X-Accepted-Oauth-Scopes:
|
372
|
-
- ''
|
373
382
|
Vary:
|
374
383
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
375
|
-
-
|
384
|
+
X-Oauth-Scopes:
|
385
|
+
- read:org, read:user, repo
|
386
|
+
X-Accepted-Oauth-Scopes:
|
387
|
+
- repo
|
376
388
|
X-Github-Media-Type:
|
377
389
|
- github.v3; format=json
|
378
|
-
Link:
|
379
|
-
- <https://api.github.com/repositories/21316764/releases/426208/assets?per_page=100&page=0>;
|
380
|
-
rel="last"
|
381
|
-
X-Xss-Protection:
|
382
|
-
- 1; mode=block
|
383
|
-
X-Frame-Options:
|
384
|
-
- deny
|
385
|
-
Content-Security-Policy:
|
386
|
-
- default-src 'none'
|
387
|
-
Content-Length:
|
388
|
-
- '2'
|
389
|
-
Access-Control-Allow-Credentials:
|
390
|
-
- 'true'
|
391
390
|
Access-Control-Expose-Headers:
|
392
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
393
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
391
|
+
- ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
392
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
|
393
|
+
X-GitHub-Media-Type
|
394
394
|
Access-Control-Allow-Origin:
|
395
395
|
- "*"
|
396
396
|
Strict-Transport-Security:
|
397
|
-
- max-age=31536000; includeSubdomains
|
397
|
+
- max-age=31536000; includeSubdomains; preload
|
398
|
+
X-Frame-Options:
|
399
|
+
- deny
|
398
400
|
X-Content-Type-Options:
|
399
401
|
- nosniff
|
402
|
+
X-Xss-Protection:
|
403
|
+
- 1; mode=block
|
404
|
+
Referrer-Policy:
|
405
|
+
- origin-when-cross-origin, strict-origin-when-cross-origin
|
406
|
+
Content-Security-Policy:
|
407
|
+
- default-src 'none'
|
400
408
|
body:
|
401
409
|
encoding: UTF-8
|
402
410
|
string: "[]"
|
403
411
|
http_version:
|
404
|
-
recorded_at:
|
405
|
-
recorded_with: VCR
|
412
|
+
recorded_at: Tue, 04 Feb 2020 07:23:45 GMT
|
413
|
+
recorded_with: VCR 5.0.0
|