rake_docker 2.20.0.pre.7 → 2.20.0.pre.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b1f782561548d3b4e7c49bec4c73d89cbe41ceda863cf66d31aa88f78571142
4
- data.tar.gz: 26c6e1c22b4473f812a671b1f61d14299ce0d289d79e4a4e96189034119bf441
3
+ metadata.gz: 3a008ce1bf43da531e002791654af777aa48c54d82100454866c234184148fd3
4
+ data.tar.gz: d98a94dd88aab65438f5c4dc9e40ca9356d61b6547e1e7fcb945e43bce039724
5
5
  SHA512:
6
- metadata.gz: ff0a2ad3e23c270caad1d1406f5a033bfbd277e5d46a6ef5cbbee52ee366a4242466a8e2089a3a4c7aca557278d7888b81bc281f3e62299d637560ac56861a49
7
- data.tar.gz: c45a5cb0e016e6daa3ddf608ab6c7e1b62a1ce80961a4d6c6b38bd1aca26fdce910252a1fd630e30d9bb8c71a7c12de95432efb5ae78ced1f37dd76c03839075
6
+ metadata.gz: 2f1a560272232ebe2a2eb24ce552680677644d788f76e730fcaa6d8d37d37204896ee2c06f84b764d56ab258c9bdad0add5eac554baf82cdd1c7f8d8e91ac277
7
+ data.tar.gz: 795a7b23a19dbe33a58c18ea139f03361fa822ad1411857b894b033b6854b4721408668ce5c83926e2e612f4d3e9b886a00ab07fbdfe96a55da28004d0741812
data/Gemfile.lock CHANGED
@@ -1,16 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_docker (2.20.0.pre.7)
4
+ rake_docker (2.20.0.pre.8)
5
5
  aws-sdk-ecr (~> 1.2)
6
6
  colored2 (~> 3.1)
7
7
  docker-api (>= 1.34, < 3.0)
8
- rake_factory (~> 0.23)
8
+ rake_factory (~> 0.33)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (7.1.1)
13
+ activesupport (7.1.3.4)
14
14
  base64
15
15
  bigdecimal
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -20,145 +20,144 @@ GEM
20
20
  minitest (>= 5.1)
21
21
  mutex_m
22
22
  tzinfo (~> 2.0)
23
- addressable (2.8.5)
24
- public_suffix (>= 2.0.2, < 6.0)
23
+ addressable (2.8.7)
24
+ public_suffix (>= 2.0.2, < 7.0)
25
25
  ast (2.4.2)
26
- aws-eventstream (1.2.0)
27
- aws-partitions (1.845.0)
28
- aws-sdk-core (3.186.0)
29
- aws-eventstream (~> 1, >= 1.0.2)
26
+ aws-eventstream (1.3.0)
27
+ aws-partitions (1.956.0)
28
+ aws-sdk-core (3.201.1)
29
+ aws-eventstream (~> 1, >= 1.3.0)
30
30
  aws-partitions (~> 1, >= 1.651.0)
31
- aws-sigv4 (~> 1.5)
31
+ aws-sigv4 (~> 1.8)
32
32
  jmespath (~> 1, >= 1.6.1)
33
- aws-sdk-ecr (1.65.0)
34
- aws-sdk-core (~> 3, >= 3.184.0)
35
- aws-sigv4 (~> 1.1)
36
- aws-sigv4 (1.6.1)
33
+ aws-sdk-ecr (1.78.0)
34
+ aws-sdk-core (~> 3, >= 3.201.0)
35
+ aws-sigv4 (~> 1.5)
36
+ aws-sigv4 (1.8.0)
37
37
  aws-eventstream (~> 1, >= 1.0.2)
38
- base64 (0.1.1)
39
- bigdecimal (3.1.4)
38
+ base64 (0.2.0)
39
+ bigdecimal (3.1.8)
40
+ childprocess (5.0.0)
40
41
  colored2 (3.1.2)
41
- concurrent-ruby (1.2.2)
42
+ concurrent-ruby (1.3.3)
42
43
  connection_pool (2.4.1)
43
- diff-lcs (1.5.0)
44
+ diff-lcs (1.5.1)
44
45
  docile (1.4.0)
45
- docker-api (2.2.0)
46
- excon (>= 0.47.0)
46
+ docker-api (2.3.0)
47
+ excon (>= 0.64.0)
47
48
  multi_json
48
- drb (2.1.1)
49
- ruby2_keywords
50
- excon (0.104.0)
51
- faraday (2.7.11)
52
- base64
53
- faraday-net_http (>= 2.0, < 3.1)
54
- ruby2_keywords (>= 0.0.4)
55
- faraday-net_http (3.0.2)
49
+ drb (2.2.1)
50
+ excon (0.111.0)
51
+ faraday (2.10.0)
52
+ faraday-net_http (>= 2.0, < 3.2)
53
+ logger
54
+ faraday-net_http (3.1.0)
55
+ net-http
56
56
  gem-release (2.2.2)
57
- git (1.18.0)
57
+ git (1.19.1)
58
58
  addressable (~> 2.8)
59
59
  rchardet (~> 1.8)
60
60
  hamster (3.0.0)
61
61
  concurrent-ruby (~> 1.0)
62
- i18n (1.14.1)
62
+ i18n (1.14.5)
63
63
  concurrent-ruby (~> 1.0)
64
64
  immutable-struct (2.4.1)
65
65
  jmespath (1.6.2)
66
- json (2.6.3)
66
+ json (2.7.2)
67
67
  language_server-protocol (3.17.0.3)
68
- lino (3.1.0)
68
+ lino (4.1.0)
69
+ childprocess (~> 5.0.0)
69
70
  hamster (~> 3.0)
70
71
  open4 (~> 1.3)
72
+ logger (1.6.0)
71
73
  memfs (1.0.0)
72
- minitest (5.20.0)
74
+ minitest (5.24.1)
73
75
  multi_json (1.15.0)
74
- mutex_m (0.1.2)
75
- octokit (8.0.0)
76
+ mutex_m (0.2.0)
77
+ net-http (0.4.1)
78
+ uri
79
+ octokit (8.1.0)
80
+ base64
76
81
  faraday (>= 1, < 3)
77
82
  sawyer (~> 0.9)
78
83
  open4 (1.3.4)
79
- parallel (1.23.0)
80
- parser (3.2.2.4)
84
+ parallel (1.25.1)
85
+ parser (3.3.4.0)
81
86
  ast (~> 2.4.1)
82
87
  racc
83
- public_suffix (5.0.3)
84
- racc (1.7.3)
88
+ public_suffix (6.0.0)
89
+ racc (1.8.0)
85
90
  rainbow (3.1.1)
86
- rake (13.1.0)
87
- rake_circle_ci (0.11.0)
91
+ rake (13.2.1)
92
+ rake_circle_ci (0.13.0)
88
93
  colored2 (~> 3.1)
89
94
  excon (~> 0.72)
90
- rake_factory (~> 0.23)
95
+ rake_factory (~> 0.33)
91
96
  sshkey (~> 2.0)
92
- rake_factory (0.32.0.pre.2)
97
+ rake_factory (0.33.0)
93
98
  activesupport (>= 4)
94
99
  rake (~> 13.0)
95
- rake_git (0.1.0.pre.9)
100
+ rake_git (0.2.0)
96
101
  colored2 (~> 3.1)
97
102
  git (~> 1.13, >= 1.13.2)
98
- rake_factory (= 0.32.0.pre.2)
99
- rake_git_crypt (0.1.0.pre.28)
103
+ rake_factory (~> 0.33)
104
+ rake_git_crypt (0.2.0)
100
105
  colored2 (~> 3.1)
101
- rake_factory (= 0.32.0.pre.2)
102
- ruby_git_crypt (= 0.1.0.pre.2)
103
- ruby_gpg2 (~> 0.6)
106
+ rake_factory (~> 0.33)
107
+ ruby_git_crypt (~> 0.1)
108
+ ruby_gpg2 (~> 0.12)
104
109
  rake_github (0.13.0)
105
110
  colored2 (~> 3.1)
106
111
  octokit (>= 4.16, < 9.0)
107
112
  rake_factory (~> 0.23)
108
113
  sshkey (~> 2.0)
109
- rake_gpg (0.18.0)
110
- rake_factory (~> 0.23)
111
- ruby_gpg2 (~> 0.6)
114
+ rake_gpg (0.20.0)
115
+ rake_factory (~> 0.33)
116
+ ruby_gpg2 (~> 0.12)
112
117
  rake_ssh (0.10.0)
113
118
  colored2 (~> 3.1)
114
119
  rake_factory (~> 0.23)
115
120
  sshkey (~> 2.0)
116
121
  rchardet (1.8.0)
117
- regexp_parser (2.8.2)
118
- rexml (3.2.6)
119
- rspec (3.12.0)
120
- rspec-core (~> 3.12.0)
121
- rspec-expectations (~> 3.12.0)
122
- rspec-mocks (~> 3.12.0)
123
- rspec-core (3.12.2)
124
- rspec-support (~> 3.12.0)
125
- rspec-expectations (3.12.3)
122
+ regexp_parser (2.9.2)
123
+ rexml (3.3.2)
124
+ strscan
125
+ rspec (3.13.0)
126
+ rspec-core (~> 3.13.0)
127
+ rspec-expectations (~> 3.13.0)
128
+ rspec-mocks (~> 3.13.0)
129
+ rspec-core (3.13.0)
130
+ rspec-support (~> 3.13.0)
131
+ rspec-expectations (3.13.1)
126
132
  diff-lcs (>= 1.2.0, < 2.0)
127
- rspec-support (~> 3.12.0)
128
- rspec-mocks (3.12.6)
133
+ rspec-support (~> 3.13.0)
134
+ rspec-mocks (3.13.1)
129
135
  diff-lcs (>= 1.2.0, < 2.0)
130
- rspec-support (~> 3.12.0)
131
- rspec-support (3.12.1)
132
- rubocop (1.57.2)
136
+ rspec-support (~> 3.13.0)
137
+ rspec-support (3.13.1)
138
+ rubocop (1.65.0)
133
139
  json (~> 2.3)
134
140
  language_server-protocol (>= 3.17.0)
135
141
  parallel (~> 1.10)
136
- parser (>= 3.2.2.4)
142
+ parser (>= 3.3.0.2)
137
143
  rainbow (>= 2.2.2, < 4.0)
138
- regexp_parser (>= 1.8, < 3.0)
144
+ regexp_parser (>= 2.4, < 3.0)
139
145
  rexml (>= 3.2.5, < 4.0)
140
- rubocop-ast (>= 1.28.1, < 2.0)
146
+ rubocop-ast (>= 1.31.1, < 2.0)
141
147
  ruby-progressbar (~> 1.7)
142
148
  unicode-display_width (>= 2.4.0, < 3.0)
143
- rubocop-ast (1.30.0)
144
- parser (>= 3.2.1.0)
145
- rubocop-capybara (2.19.0)
146
- rubocop (~> 1.41)
147
- rubocop-factory_bot (2.24.0)
148
- rubocop (~> 1.33)
149
+ rubocop-ast (1.31.3)
150
+ parser (>= 3.3.1.0)
149
151
  rubocop-rake (0.6.0)
150
152
  rubocop (~> 1.0)
151
- rubocop-rspec (2.25.0)
152
- rubocop (~> 1.40)
153
- rubocop-capybara (~> 2.17)
154
- rubocop-factory_bot (~> 2.22)
153
+ rubocop-rspec (3.0.3)
154
+ rubocop (~> 1.61)
155
155
  ruby-progressbar (1.13.0)
156
- ruby2_keywords (0.0.5)
157
- ruby_git_crypt (0.1.0.pre.2)
156
+ ruby_git_crypt (0.1.0)
158
157
  immutable-struct (~> 2.4)
159
- lino (~> 3.0)
160
- ruby_gpg2 (0.10.0)
161
- lino (~> 3.0)
158
+ lino (>= 4.1)
159
+ ruby_gpg2 (0.12.0)
160
+ lino (>= 4.1)
162
161
  sawyer (0.9.2)
163
162
  addressable (>= 2.3.5)
164
163
  faraday (>= 0.17.3, < 3)
@@ -169,9 +168,11 @@ GEM
169
168
  simplecov-html (0.12.3)
170
169
  simplecov_json_formatter (0.1.4)
171
170
  sshkey (2.0.0)
171
+ strscan (3.1.0)
172
172
  tzinfo (2.0.6)
173
173
  concurrent-ruby (~> 1.0)
174
174
  unicode-display_width (2.5.0)
175
+ uri (0.13.0)
175
176
 
176
177
  PLATFORMS
177
178
  ruby
@@ -32,9 +32,9 @@ module RakeDocker
32
32
 
33
33
  def make_credentials_hash(email, password, username, proxy_endpoint)
34
34
  {
35
- username: username,
36
- password: password,
37
- email: email,
35
+ username:,
36
+ password:,
37
+ email:,
38
38
  serveraddress: proxy_endpoint
39
39
  }
40
40
  end
@@ -227,7 +227,7 @@ module RakeDocker
227
227
  name, image, exposed_ports, port_bindings, environment
228
228
  )
229
229
  {
230
- name: name,
230
+ name:,
231
231
  Image: image,
232
232
  ExposedPorts: exposed_ports,
233
233
  HostConfig: { PortBindings: port_bindings },
@@ -28,7 +28,7 @@ module RakeDocker
28
28
 
29
29
  image = images.first
30
30
  t.tags.each do |tag|
31
- image.push(nil, tag: tag) do |chunk|
31
+ image.push(nil, tag:) do |chunk|
32
32
  Output.print chunk
33
33
  end
34
34
  end
@@ -28,7 +28,7 @@ module RakeDocker
28
28
 
29
29
  t.tags.each do |tag|
30
30
  image.tag(repo: t.repository_url,
31
- tag: tag,
31
+ tag:,
32
32
  force: true)
33
33
  end
34
34
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RakeDocker
4
- VERSION = '2.20.0.pre.7'
4
+ VERSION = '2.20.0.pre.8'
5
5
  end
data/lib/rake_docker.rb CHANGED
@@ -9,11 +9,11 @@ require 'rake_docker/task_sets'
9
9
  require 'rake_docker/authentication'
10
10
 
11
11
  module RakeDocker
12
- def self.define_image_tasks(opts = {}, &block)
13
- RakeDocker::TaskSets::Image.define(opts, &block)
12
+ def self.define_image_tasks(opts = {}, &)
13
+ RakeDocker::TaskSets::Image.define(opts, &)
14
14
  end
15
15
 
16
- def self.define_container_tasks(opts = {}, &block)
17
- RakeDocker::TaskSets::Container.define(opts, &block)
16
+ def self.define_container_tasks(opts = {}, &)
17
+ RakeDocker::TaskSets::Container.define(opts, &)
18
18
  end
19
19
  end
data/rake_docker.gemspec CHANGED
@@ -35,12 +35,12 @@ Gem::Specification.new do |spec|
35
35
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
36
36
  spec.require_paths = ['lib']
37
37
 
38
- spec.required_ruby_version = '>= 2.7'
38
+ spec.required_ruby_version = '>= 3.1'
39
39
 
40
40
  spec.add_dependency 'aws-sdk-ecr', '~> 1.2'
41
41
  spec.add_dependency 'colored2', '~> 3.1'
42
42
  spec.add_dependency 'docker-api', '>= 1.34', '< 3.0'
43
- spec.add_dependency 'rake_factory', '~> 0.23'
43
+ spec.add_dependency 'rake_factory', '~> 0.33'
44
44
 
45
45
  spec.add_development_dependency 'activesupport'
46
46
  spec.add_development_dependency 'bundler'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20.0.pre.7
4
+ version: 2.20.0.pre.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfraBlocks Maintainers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-06 00:00:00.000000000 Z
11
+ date: 2024-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-ecr
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.23'
67
+ version: '0.33'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '0.23'
74
+ version: '0.33'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: activesupport
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -346,14 +346,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
346
346
  requirements:
347
347
  - - ">="
348
348
  - !ruby/object:Gem::Version
349
- version: '2.7'
349
+ version: '3.1'
350
350
  required_rubygems_version: !ruby/object:Gem::Requirement
351
351
  requirements:
352
352
  - - ">"
353
353
  - !ruby/object:Gem::Version
354
354
  version: 1.3.1
355
355
  requirements: []
356
- rubygems_version: 3.1.6
356
+ rubygems_version: 3.3.7
357
357
  signing_key:
358
358
  specification_version: 4
359
359
  summary: Rake tasks for managing images and containers.