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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7f5dafa01a783e6660f0cc3d9cb8eead6db80c5609419ec09b2ca06938db1ab4
|
4
|
+
data.tar.gz: f6a3901c13fb99f67f38ab6720bd82ec179f6fbee31fe7a47a3e9492f94aaad7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f43b12a023e4735c70ea85098a8560db64d65a0a7e72b57cf18da984418c63f5de4ffec17e111ddf267c52e6082d5ea2e2fab30d42cbb33fb91fa98e281db66
|
7
|
+
data.tar.gz: ec25b1de61dff06866a8a5dad10b1f3f3e303e095ef57deca322200b4ae505a82d856dddc79638181671ebc37b04a7a8147380393d5cd875cbc6ab16e15bc48c
|
data/.circle-ruby
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
2.
|
2
|
-
2.3
|
3
|
-
2.
|
1
|
+
2.6.1
|
2
|
+
2.5.3
|
3
|
+
2.4.5
|
4
|
+
2.3.8
|
data/.prospectus
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
+
my_slug = 'akerl/targit'
|
2
|
+
|
3
|
+
Prospectus.extra_dep('file', 'prospectus_travis')
|
4
|
+
Prospectus.extra_dep('file', 'prospectus_gems')
|
5
|
+
|
1
6
|
item do
|
2
|
-
|
3
|
-
static
|
4
|
-
set 'green'
|
5
|
-
end
|
7
|
+
noop
|
6
8
|
|
7
|
-
|
8
|
-
|
9
|
-
slug 'akerl/targit'
|
10
|
-
end
|
9
|
+
extend ProspectusGems::Gemspec.new
|
10
|
+
extend ProspectusTravis::Build.new(my_slug)
|
11
11
|
end
|
data/.rubocop.yml
CHANGED
data/.travis.yml
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
dist: xenial
|
2
|
+
install:
|
3
|
+
- for i in $(cat .circle-ruby) ; do rvm install $i || exit 1 ; done
|
4
|
+
- for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done
|
5
|
+
script:
|
6
|
+
- for i in $(cat .circle-ruby) ; do rvm-exec $i bundle exec rake || exit 1 ; done
|
7
|
+
notifications:
|
8
|
+
email: false
|
9
|
+
slack:
|
10
|
+
secure: CGqRjSwOFvW7AE8puUc35Us+VcAMsGsS+jnSox3FE+svyAd/0ZzIYYomgPp+5hgZx4Z62OZWfx7B+YZHoYy2oatgPDjSgOQAnyrvwgTwoEMo6IC9TtKpizWvBoQPwhrTIPdCDNsRBVjsbljbZdwqeowmTB0wZVgN9NiBtZ5oT1k15avejGIwLX+GCaVgFk7k/cPt0qBkReiOOwKKwtdKVnhxsZy6CSwcFAnx/suB/YM9y6vCd/AQKv2FJZtUaekDpD2b+z5wlasxzIURBStNu3rSSt5rmbwNRVI8sYqD+zlg0Gt2M9Zm47uSN16DhJOzwUiQqgQmYkNbbB8Gv/bhN9oFfKeRrIJDgU/NSWsKJ4MA+K3eOfPkI4vIcKuzq4q1omduMoSqEEBxY47Q3HUtImvTrjWmPngizMzI90+aGDsa4SWMSP0socZaaHjraLoGiyG/odJWUQmt/8mbkD9o3EaYy/DE1mJCERneuK6rLTn0HNZ9EV15b4mciwzHNGEBp6F4/vF8zdSjbR306RxEB9IulsGJ3JT1CsU26UU94FziEFQzQGq1R4FjaE73lHkwz9VUo/PqYMUzcV9dffhANHGZhrASAl9VCUpZpjYhDeQnFjHqkSBQPSmMNPFMBY2FlI3ku8puJyZ3nN07ru+7l9TzA8sO53qyQN2H4woENVA=
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -2,8 +2,7 @@ targit
|
|
2
2
|
=========
|
3
3
|
|
4
4
|
[![Gem Version](https://img.shields.io/gem/v/targit.svg)](https://rubygems.org/gems/targit)
|
5
|
-
[![
|
6
|
-
[![Build Status](https://img.shields.io/circleci/project/akerl/targit/master.svg)](https://circleci.com/gh/akerl/targit)
|
5
|
+
[![Build Status](https://img.shields.io/travis/com/akerl/targit.svg)](https://travis-ci.com/akerl/targit)
|
7
6
|
[![Coverage Status](https://img.shields.io/codecov/c/github/akerl/targit.svg)](https://codecov.io/github/akerl/targit)
|
8
7
|
[![Code Quality](https://img.shields.io/codacy/596c329739534caeb1df1f14a5381355.svg)](https://www.codacy.com/app/akerl/targit)
|
9
8
|
[![MIT Licensed](https://img.shields.io/badge/license-MIT-green.svg)](https://tldrlegal.com/license/mit-license)
|
data/Rakefile
CHANGED
@@ -7,8 +7,7 @@ RSpec::Core::RakeTask.new(:spec)
|
|
7
7
|
|
8
8
|
desc 'Run Rubocop on the gem'
|
9
9
|
RuboCop::RakeTask.new(:rubocop) do |task|
|
10
|
-
task.patterns = ['lib/**/*.rb', 'spec/**/*.rb', 'bin/*']
|
11
10
|
task.fail_on_error = true
|
12
11
|
end
|
13
12
|
|
14
|
-
task default: [
|
13
|
+
task default: %i[spec rubocop build install]
|
data/bin/targit
CHANGED
data/lib/targit/asset.rb
CHANGED
data/lib/targit/client.rb
CHANGED
@@ -13,12 +13,12 @@ module Targit
|
|
13
13
|
|
14
14
|
def _client
|
15
15
|
auth = Octoauth.new octoauth_options
|
16
|
-
Octokit::Client.new(
|
16
|
+
Octokit::Client.new({
|
17
17
|
access_token: auth.token,
|
18
18
|
api_endpoint: @options[:api_endpoint],
|
19
19
|
web_endpoint: @options[:api_endpoint],
|
20
20
|
auto_paginate: true
|
21
|
-
)
|
21
|
+
}.compact)
|
22
22
|
end
|
23
23
|
|
24
24
|
def octoauth_options
|
@@ -33,7 +33,7 @@ module Targit
|
|
33
33
|
|
34
34
|
def authfiles
|
35
35
|
return [:default] unless @options[:authfile]
|
36
|
-
@
|
36
|
+
@authfiles ||= @options[:authfile].split(',')
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|
data/lib/targit/version.rb
CHANGED
@@ -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:35 GMT
|
25
27
|
Content-Type:
|
26
28
|
- application/json; charset=utf-8
|
27
29
|
Transfer-Encoding:
|
@@ -31,42 +33,42 @@ http_interactions:
|
|
31
33
|
X-Ratelimit-Limit:
|
32
34
|
- '5000'
|
33
35
|
X-Ratelimit-Remaining:
|
34
|
-
- '
|
36
|
+
- '4992'
|
35
37
|
X-Ratelimit-Reset:
|
36
|
-
- '
|
38
|
+
- '1580804477'
|
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/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},{"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:35 GMT
|
70
72
|
- request:
|
71
73
|
method: get
|
72
74
|
uri: https://api.github.com/repos/akerl/targit/releases?per_page=100
|
@@ -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:35 GMT
|
92
96
|
Content-Type:
|
93
97
|
- application/json; charset=utf-8
|
94
98
|
Transfer-Encoding:
|
@@ -98,42 +102,42 @@ http_interactions:
|
|
98
102
|
X-Ratelimit-Limit:
|
99
103
|
- '5000'
|
100
104
|
X-Ratelimit-Remaining:
|
101
|
-
- '
|
105
|
+
- '4991'
|
102
106
|
X-Ratelimit-Reset:
|
103
|
-
- '
|
107
|
+
- '1580804477'
|
104
108
|
Cache-Control:
|
105
109
|
- private, max-age=60, s-maxage=60
|
106
|
-
X-Oauth-Scopes:
|
107
|
-
- public_repo
|
108
|
-
X-Accepted-Oauth-Scopes:
|
109
|
-
- ''
|
110
110
|
Vary:
|
111
111
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
112
|
-
-
|
112
|
+
X-Oauth-Scopes:
|
113
|
+
- read:org, read:user, repo
|
114
|
+
X-Accepted-Oauth-Scopes:
|
115
|
+
- repo
|
113
116
|
X-Github-Media-Type:
|
114
117
|
- github.v3; format=json
|
115
|
-
X-Xss-Protection:
|
116
|
-
- 1; mode=block
|
117
|
-
X-Frame-Options:
|
118
|
-
- deny
|
119
|
-
Content-Security-Policy:
|
120
|
-
- default-src 'none'
|
121
|
-
Access-Control-Allow-Credentials:
|
122
|
-
- 'true'
|
123
118
|
Access-Control-Expose-Headers:
|
124
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
125
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
119
|
+
- ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
120
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
|
121
|
+
X-GitHub-Media-Type
|
126
122
|
Access-Control-Allow-Origin:
|
127
123
|
- "*"
|
128
124
|
Strict-Transport-Security:
|
129
|
-
- max-age=31536000; includeSubdomains
|
125
|
+
- max-age=31536000; includeSubdomains; preload
|
126
|
+
X-Frame-Options:
|
127
|
+
- deny
|
130
128
|
X-Content-Type-Options:
|
131
129
|
- nosniff
|
130
|
+
X-Xss-Protection:
|
131
|
+
- 1; mode=block
|
132
|
+
Referrer-Policy:
|
133
|
+
- origin-when-cross-origin, strict-origin-when-cross-origin
|
134
|
+
Content-Security-Policy:
|
135
|
+
- default-src 'none'
|
132
136
|
body:
|
133
|
-
encoding:
|
134
|
-
string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/
|
137
|
+
encoding: ASCII-8BIT
|
138
|
+
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},{"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}]'
|
135
139
|
http_version:
|
136
|
-
recorded_at:
|
140
|
+
recorded_at: Tue, 04 Feb 2020 07:23:35 GMT
|
137
141
|
- request:
|
138
142
|
method: post
|
139
143
|
uri: https://api.github.com/repos/akerl/targit/releases
|
@@ -144,7 +148,9 @@ http_interactions:
|
|
144
148
|
Accept:
|
145
149
|
- application/vnd.github.v3+json
|
146
150
|
User-Agent:
|
147
|
-
- Octokit Ruby Gem
|
151
|
+
- Octokit Ruby Gem 4.15.0
|
152
|
+
Content-Type:
|
153
|
+
- application/json
|
148
154
|
Accept-Encoding:
|
149
155
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
150
156
|
response:
|
@@ -155,53 +161,54 @@ http_interactions:
|
|
155
161
|
Server:
|
156
162
|
- GitHub.com
|
157
163
|
Date:
|
158
|
-
-
|
164
|
+
- Tue, 04 Feb 2020 07:23:36 GMT
|
159
165
|
Content-Type:
|
160
166
|
- application/json; charset=utf-8
|
167
|
+
Content-Length:
|
168
|
+
- '1605'
|
161
169
|
Status:
|
162
170
|
- 201 Created
|
163
171
|
X-Ratelimit-Limit:
|
164
172
|
- '5000'
|
165
173
|
X-Ratelimit-Remaining:
|
166
|
-
- '
|
174
|
+
- '4990'
|
167
175
|
X-Ratelimit-Reset:
|
168
|
-
- '
|
176
|
+
- '1580804477'
|
169
177
|
Cache-Control:
|
170
178
|
- private, max-age=60, s-maxage=60
|
179
|
+
Vary:
|
180
|
+
- Accept, Authorization, Cookie, X-GitHub-OTP
|
171
181
|
X-Oauth-Scopes:
|
172
|
-
-
|
182
|
+
- read:org, read:user, repo
|
173
183
|
X-Accepted-Oauth-Scopes:
|
174
|
-
-
|
184
|
+
- repo
|
175
185
|
Location:
|
176
|
-
- https://api.github.com/repos/akerl/targit/releases/
|
177
|
-
Vary:
|
178
|
-
- Accept, Authorization, Cookie, X-GitHub-OTP
|
186
|
+
- https://api.github.com/repos/akerl/targit/releases/23363537
|
179
187
|
X-Github-Media-Type:
|
180
188
|
- github.v3; format=json
|
181
|
-
X-Xss-Protection:
|
182
|
-
- 1; mode=block
|
183
|
-
X-Frame-Options:
|
184
|
-
- deny
|
185
|
-
Content-Security-Policy:
|
186
|
-
- default-src 'none'
|
187
|
-
Content-Length:
|
188
|
-
- '1549'
|
189
|
-
Access-Control-Allow-Credentials:
|
190
|
-
- 'true'
|
191
189
|
Access-Control-Expose-Headers:
|
192
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
193
|
-
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
|
194
193
|
Access-Control-Allow-Origin:
|
195
194
|
- "*"
|
196
195
|
Strict-Transport-Security:
|
197
|
-
- max-age=31536000; includeSubdomains
|
196
|
+
- max-age=31536000; includeSubdomains; preload
|
197
|
+
X-Frame-Options:
|
198
|
+
- deny
|
198
199
|
X-Content-Type-Options:
|
199
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'
|
200
207
|
body:
|
201
208
|
encoding: UTF-8
|
202
|
-
string: '{"url":"https://api.github.com/repos/akerl/targit/releases/
|
209
|
+
string: '{"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}'
|
203
210
|
http_version:
|
204
|
-
recorded_at:
|
211
|
+
recorded_at: Tue, 04 Feb 2020 07:23:36 GMT
|
205
212
|
- request:
|
206
213
|
method: get
|
207
214
|
uri: https://api.github.com/repos/akerl/targit/releases?per_page=100
|
@@ -212,7 +219,9 @@ http_interactions:
|
|
212
219
|
Accept:
|
213
220
|
- application/vnd.github.v3+json
|
214
221
|
User-Agent:
|
215
|
-
- Octokit Ruby Gem
|
222
|
+
- Octokit Ruby Gem 4.15.0
|
223
|
+
Content-Type:
|
224
|
+
- application/json
|
216
225
|
Accept-Encoding:
|
217
226
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
218
227
|
response:
|
@@ -223,7 +232,7 @@ http_interactions:
|
|
223
232
|
Server:
|
224
233
|
- GitHub.com
|
225
234
|
Date:
|
226
|
-
-
|
235
|
+
- Tue, 04 Feb 2020 07:23:36 GMT
|
227
236
|
Content-Type:
|
228
237
|
- application/json; charset=utf-8
|
229
238
|
Transfer-Encoding:
|
@@ -233,40 +242,40 @@ http_interactions:
|
|
233
242
|
X-Ratelimit-Limit:
|
234
243
|
- '5000'
|
235
244
|
X-Ratelimit-Remaining:
|
236
|
-
- '
|
245
|
+
- '4989'
|
237
246
|
X-Ratelimit-Reset:
|
238
|
-
- '
|
247
|
+
- '1580804477'
|
239
248
|
Cache-Control:
|
240
249
|
- private, max-age=60, s-maxage=60
|
241
|
-
X-Oauth-Scopes:
|
242
|
-
- public_repo
|
243
|
-
X-Accepted-Oauth-Scopes:
|
244
|
-
- ''
|
245
250
|
Vary:
|
246
251
|
- Accept, Authorization, Cookie, X-GitHub-OTP
|
247
|
-
-
|
252
|
+
X-Oauth-Scopes:
|
253
|
+
- read:org, read:user, repo
|
254
|
+
X-Accepted-Oauth-Scopes:
|
255
|
+
- repo
|
248
256
|
X-Github-Media-Type:
|
249
257
|
- github.v3; format=json
|
250
|
-
X-Xss-Protection:
|
251
|
-
- 1; mode=block
|
252
|
-
X-Frame-Options:
|
253
|
-
- deny
|
254
|
-
Content-Security-Policy:
|
255
|
-
- default-src 'none'
|
256
|
-
Access-Control-Allow-Credentials:
|
257
|
-
- 'true'
|
258
258
|
Access-Control-Expose-Headers:
|
259
|
-
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
260
|
-
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
259
|
+
- ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
|
260
|
+
X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
|
261
|
+
X-GitHub-Media-Type
|
261
262
|
Access-Control-Allow-Origin:
|
262
263
|
- "*"
|
263
264
|
Strict-Transport-Security:
|
264
|
-
- max-age=31536000; includeSubdomains
|
265
|
+
- max-age=31536000; includeSubdomains; preload
|
266
|
+
X-Frame-Options:
|
267
|
+
- deny
|
265
268
|
X-Content-Type-Options:
|
266
269
|
- nosniff
|
270
|
+
X-Xss-Protection:
|
271
|
+
- 1; mode=block
|
272
|
+
Referrer-Policy:
|
273
|
+
- origin-when-cross-origin, strict-origin-when-cross-origin
|
274
|
+
Content-Security-Policy:
|
275
|
+
- default-src 'none'
|
267
276
|
body:
|
268
|
-
encoding:
|
269
|
-
string: '[{"url":"https://api.github.com/repos/akerl/targit/releases/
|
277
|
+
encoding: ASCII-8BIT
|
278
|
+
string: '[{"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":[],"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}]'
|
270
279
|
http_version:
|
271
|
-
recorded_at:
|
272
|
-
recorded_with: VCR
|
280
|
+
recorded_at: Tue, 04 Feb 2020 07:23:36 GMT
|
281
|
+
recorded_with: VCR 5.0.0
|