concourse.rb 0.5.0.pre.8 → 0.5.0.pre.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +59 -52
- data/Rakefile +5 -4
- data/concourse.rb.gemspec +4 -4
- data/lib/concourse/errors.rb +2 -2
- data/lib/concourse/version.rb +1 -1
- metadata +8 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a3465787950bdb4617c33bd535e2a698b0d201b5e0d507683f74876a1215ec1
|
4
|
+
data.tar.gz: 3362cbc901b91425d52491d148d7e9d3c1fd51f8123bd887c51b4d090126e6e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4fd10821afeb622edecb28a43afdbf4e4e9cd05ab714aaf95cb1f554ceed0136e9dd7c7c3ff7d18c428afdbdd94bd47f3a33dda99ef3bbbe17ab672170ade29
|
7
|
+
data.tar.gz: 3b5923ed798926127e8bcb57c3f533cd9282a77057bedda847714e2c19bdc8fac1e0c9f9b4ca72b95333f01dc769985b63965e70b9dcbbb1d1de4ff264a7b10e
|
data/Gemfile.lock
CHANGED
@@ -1,64 +1,73 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
concourse.rb (0.5.0.pre.
|
5
|
-
excon (
|
6
|
-
semantic (
|
4
|
+
concourse.rb (0.5.0.pre.11)
|
5
|
+
excon (~> 0.72)
|
6
|
+
semantic (~> 1.5)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (
|
11
|
+
activesupport (7.0.2.3)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
13
|
i18n (>= 1.6, < 2)
|
14
14
|
minitest (>= 5.1)
|
15
15
|
tzinfo (~> 2.0)
|
16
|
-
|
17
|
-
addressable (2.7.0)
|
16
|
+
addressable (2.8.0)
|
18
17
|
public_suffix (>= 2.0.2, < 5.0)
|
19
18
|
ast (2.4.2)
|
20
19
|
colored2 (3.1.2)
|
21
|
-
concurrent-ruby (1.1.
|
22
|
-
diff-lcs (1.
|
20
|
+
concurrent-ruby (1.1.9)
|
21
|
+
diff-lcs (1.5.0)
|
23
22
|
docile (1.4.0)
|
24
|
-
excon (0.
|
25
|
-
faker (2.
|
26
|
-
i18n (>= 1.
|
27
|
-
faraday (1.
|
23
|
+
excon (0.91.0)
|
24
|
+
faker (2.20.0)
|
25
|
+
i18n (>= 1.8.11, < 2)
|
26
|
+
faraday (1.10.0)
|
28
27
|
faraday-em_http (~> 1.0)
|
29
28
|
faraday-em_synchrony (~> 1.0)
|
30
29
|
faraday-excon (~> 1.1)
|
30
|
+
faraday-httpclient (~> 1.0)
|
31
|
+
faraday-multipart (~> 1.0)
|
31
32
|
faraday-net_http (~> 1.0)
|
32
|
-
faraday-net_http_persistent (~> 1.
|
33
|
-
|
33
|
+
faraday-net_http_persistent (~> 1.0)
|
34
|
+
faraday-patron (~> 1.0)
|
35
|
+
faraday-rack (~> 1.0)
|
36
|
+
faraday-retry (~> 1.0)
|
34
37
|
ruby2_keywords (>= 0.0.4)
|
35
38
|
faraday-em_http (1.0.0)
|
36
39
|
faraday-em_synchrony (1.0.0)
|
37
40
|
faraday-excon (1.1.0)
|
41
|
+
faraday-httpclient (1.0.1)
|
42
|
+
faraday-multipart (1.0.3)
|
43
|
+
multipart-post (>= 1.2, < 3)
|
38
44
|
faraday-net_http (1.0.1)
|
39
|
-
faraday-net_http_persistent (1.
|
40
|
-
|
45
|
+
faraday-net_http_persistent (1.2.0)
|
46
|
+
faraday-patron (1.0.0)
|
47
|
+
faraday-rack (1.0.0)
|
48
|
+
faraday-retry (1.0.3)
|
49
|
+
gem-release (2.2.2)
|
41
50
|
hamster (3.0.0)
|
42
51
|
concurrent-ruby (~> 1.0)
|
43
|
-
i18n (1.
|
52
|
+
i18n (1.10.0)
|
44
53
|
concurrent-ruby (~> 1.0)
|
45
|
-
jwt (2.
|
54
|
+
jwt (2.3.0)
|
46
55
|
lino (3.0.0)
|
47
56
|
hamster (~> 3.0)
|
48
57
|
open4 (~> 1.3)
|
49
|
-
minitest (5.
|
58
|
+
minitest (5.15.0)
|
50
59
|
multipart-post (2.1.1)
|
51
|
-
octokit (4.
|
60
|
+
octokit (4.22.0)
|
52
61
|
faraday (>= 0.9)
|
53
62
|
sawyer (~> 0.8.0, >= 0.5.3)
|
54
63
|
open4 (1.3.4)
|
55
|
-
openssl (
|
56
|
-
parallel (1.
|
57
|
-
parser (3.
|
64
|
+
openssl (3.0.0)
|
65
|
+
parallel (1.21.0)
|
66
|
+
parser (3.1.1.0)
|
58
67
|
ast (~> 2.4.1)
|
59
68
|
public_suffix (4.0.6)
|
60
|
-
rainbow (3.
|
61
|
-
rake (13.0.
|
69
|
+
rainbow (3.1.1)
|
70
|
+
rake (13.0.6)
|
62
71
|
rake_circle_ci (0.9.0)
|
63
72
|
colored2 (~> 3.1)
|
64
73
|
excon (~> 0.72)
|
@@ -67,7 +76,7 @@ GEM
|
|
67
76
|
rake_factory (0.29.0)
|
68
77
|
activesupport (>= 4)
|
69
78
|
rake (~> 13.0)
|
70
|
-
rake_github (0.
|
79
|
+
rake_github (0.9.0)
|
71
80
|
colored2 (~> 3.1)
|
72
81
|
octokit (~> 4.16)
|
73
82
|
rake_factory (~> 0.23)
|
@@ -79,39 +88,38 @@ GEM
|
|
79
88
|
colored2 (~> 3.1)
|
80
89
|
rake_factory (~> 0.23)
|
81
90
|
sshkey (~> 2.0)
|
82
|
-
regexp_parser (2.
|
91
|
+
regexp_parser (2.2.1)
|
83
92
|
rexml (3.2.5)
|
84
|
-
rspec (3.
|
85
|
-
rspec-core (~> 3.
|
86
|
-
rspec-expectations (~> 3.
|
87
|
-
rspec-mocks (~> 3.
|
88
|
-
rspec-core (3.
|
89
|
-
rspec-support (~> 3.
|
90
|
-
rspec-expectations (3.
|
93
|
+
rspec (3.11.0)
|
94
|
+
rspec-core (~> 3.11.0)
|
95
|
+
rspec-expectations (~> 3.11.0)
|
96
|
+
rspec-mocks (~> 3.11.0)
|
97
|
+
rspec-core (3.11.0)
|
98
|
+
rspec-support (~> 3.11.0)
|
99
|
+
rspec-expectations (3.11.0)
|
91
100
|
diff-lcs (>= 1.2.0, < 2.0)
|
92
|
-
rspec-support (~> 3.
|
93
|
-
rspec-mocks (3.
|
101
|
+
rspec-support (~> 3.11.0)
|
102
|
+
rspec-mocks (3.11.0)
|
94
103
|
diff-lcs (>= 1.2.0, < 2.0)
|
95
|
-
rspec-support (~> 3.
|
96
|
-
rspec-support (3.
|
97
|
-
rubocop (1.
|
104
|
+
rspec-support (~> 3.11.0)
|
105
|
+
rspec-support (3.11.0)
|
106
|
+
rubocop (1.26.0)
|
98
107
|
parallel (~> 1.10)
|
99
|
-
parser (>= 3.
|
108
|
+
parser (>= 3.1.0.0)
|
100
109
|
rainbow (>= 2.2.2, < 4.0)
|
101
110
|
regexp_parser (>= 1.8, < 3.0)
|
102
111
|
rexml
|
103
|
-
rubocop-ast (>= 1.
|
112
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
104
113
|
ruby-progressbar (~> 1.7)
|
105
114
|
unicode-display_width (>= 1.4.0, < 3.0)
|
106
|
-
rubocop-ast (1.
|
107
|
-
parser (>= 3.
|
108
|
-
rubocop-rake (0.
|
109
|
-
rubocop
|
110
|
-
rubocop-rspec (2.3.0)
|
115
|
+
rubocop-ast (1.16.0)
|
116
|
+
parser (>= 3.1.1.0)
|
117
|
+
rubocop-rake (0.6.0)
|
111
118
|
rubocop (~> 1.0)
|
112
|
-
|
119
|
+
rubocop-rspec (2.9.0)
|
120
|
+
rubocop (~> 1.19)
|
113
121
|
ruby-progressbar (1.11.0)
|
114
|
-
ruby2_keywords (0.0.
|
122
|
+
ruby2_keywords (0.0.5)
|
115
123
|
ruby_gpg2 (0.8.0)
|
116
124
|
lino (>= 1.5)
|
117
125
|
sawyer (0.8.2)
|
@@ -123,12 +131,11 @@ GEM
|
|
123
131
|
simplecov-html (~> 0.11)
|
124
132
|
simplecov_json_formatter (~> 0.1)
|
125
133
|
simplecov-html (0.12.3)
|
126
|
-
simplecov_json_formatter (0.1.
|
134
|
+
simplecov_json_formatter (0.1.4)
|
127
135
|
sshkey (2.0.0)
|
128
136
|
tzinfo (2.0.4)
|
129
137
|
concurrent-ruby (~> 1.0)
|
130
|
-
unicode-display_width (2.
|
131
|
-
zeitwerk (2.4.2)
|
138
|
+
unicode-display_width (2.1.0)
|
132
139
|
|
133
140
|
PLATFORMS
|
134
141
|
ruby
|
@@ -154,4 +161,4 @@ DEPENDENCIES
|
|
154
161
|
simplecov
|
155
162
|
|
156
163
|
BUNDLED WITH
|
157
|
-
2.
|
164
|
+
2.3.9
|
data/Rakefile
CHANGED
@@ -18,9 +18,8 @@ namespace :encryption do
|
|
18
18
|
namespace :passphrase do
|
19
19
|
desc 'Generate encryption passphrase for CI GPG key'
|
20
20
|
task :generate do
|
21
|
-
File.
|
22
|
-
|
23
|
-
end
|
21
|
+
File.write('config/secrets/ci/encryption.passphrase',
|
22
|
+
SecureRandom.base64(36))
|
24
23
|
end
|
25
24
|
end
|
26
25
|
end
|
@@ -83,7 +82,7 @@ end
|
|
83
82
|
RakeGithub.define_repository_tasks(
|
84
83
|
namespace: :github,
|
85
84
|
repository: 'infrablocks/concourse.rb'
|
86
|
-
) do |t|
|
85
|
+
) do |t, args|
|
87
86
|
github_config =
|
88
87
|
YAML.load_file('config/secrets/github/config.yaml')
|
89
88
|
|
@@ -94,6 +93,8 @@ RakeGithub.define_repository_tasks(
|
|
94
93
|
public_key: File.read('config/secrets/ci/ssh.public')
|
95
94
|
}
|
96
95
|
]
|
96
|
+
t.branch_name = args.branch_name
|
97
|
+
t.commit_message = args.commit_message
|
97
98
|
end
|
98
99
|
|
99
100
|
namespace :pipeline do
|
data/concourse.rb.gemspec
CHANGED
@@ -16,7 +16,7 @@ files = %w[
|
|
16
16
|
README.md
|
17
17
|
]
|
18
18
|
|
19
|
-
Gem::Specification.new do |spec|
|
19
|
+
Gem::Specification.new do |spec| # rubocop:disable Gemspec/RequireMFA
|
20
20
|
spec.name = 'concourse.rb'
|
21
21
|
spec.version = Concourse::VERSION
|
22
22
|
spec.authors = ['InfraBlocks Maintainers']
|
@@ -34,10 +34,10 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
35
35
|
spec.require_paths = ['lib']
|
36
36
|
|
37
|
-
spec.required_ruby_version = '>= 2.
|
37
|
+
spec.required_ruby_version = '>= 2.7'
|
38
38
|
|
39
|
-
spec.add_dependency 'excon', '
|
40
|
-
spec.add_dependency 'semantic', '
|
39
|
+
spec.add_dependency 'excon', '~> 0.72'
|
40
|
+
spec.add_dependency 'semantic', '~> 1.5'
|
41
41
|
|
42
42
|
spec.add_development_dependency 'bundler'
|
43
43
|
spec.add_development_dependency 'faker'
|
data/lib/concourse/errors.rb
CHANGED
@@ -8,8 +8,8 @@ module Concourse
|
|
8
8
|
@response = parameters[:response]
|
9
9
|
|
10
10
|
super("Request to #{@request.url} failed " \
|
11
|
-
|
12
|
-
|
11
|
+
"with status #{@response.status} " \
|
12
|
+
"and body #{@response.body}")
|
13
13
|
end
|
14
14
|
end
|
15
15
|
end
|
data/lib/concourse/version.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: concourse.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.0.pre.
|
4
|
+
version: 0.5.0.pre.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- InfraBlocks Maintainers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.72'
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '1'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- - "
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0.72'
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '1'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: semantic
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
|
-
- - "
|
31
|
+
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
33
|
version: '1.5'
|
40
|
-
- - "<"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '2'
|
43
34
|
type: :runtime
|
44
35
|
prerelease: false
|
45
36
|
version_requirements: !ruby/object:Gem::Requirement
|
46
37
|
requirements:
|
47
|
-
- - "
|
38
|
+
- - "~>"
|
48
39
|
- !ruby/object:Gem::Version
|
49
40
|
version: '1.5'
|
50
|
-
- - "<"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '2'
|
53
41
|
- !ruby/object:Gem::Dependency
|
54
42
|
name: bundler
|
55
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -299,14 +287,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
299
287
|
requirements:
|
300
288
|
- - ">="
|
301
289
|
- !ruby/object:Gem::Version
|
302
|
-
version: 2.
|
290
|
+
version: '2.7'
|
303
291
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
304
292
|
requirements:
|
305
293
|
- - ">"
|
306
294
|
- !ruby/object:Gem::Version
|
307
295
|
version: 1.3.1
|
308
296
|
requirements: []
|
309
|
-
rubygems_version: 3.
|
297
|
+
rubygems_version: 3.1.6
|
310
298
|
signing_key:
|
311
299
|
specification_version: 4
|
312
300
|
summary: A Ruby SDK for the Concourse CI API.
|