dctl_rb 0.13.1 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -2
- data/Gemfile.lock +7 -7
- data/bin/localinstall +3 -0
- data/dctl_rb.gemspec +2 -0
- data/lib/dctl/main.rb +10 -1
- data/lib/dctl/version.rb +1 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee06b8d559f090e06961ee23528f12c2098c6d76e760ae3cb40addf7ea66e797
|
4
|
+
data.tar.gz: 7964006f99b82c8de3152ad4a20f59cea7ad9fdb9eada8e453c593bf1b3410f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cea38e7a36f221c71c4b5d266fbebb325101ad93dd5ac89d6474d2c2f938ac4d6306f658623813aa45f499e240a88caa60accad02a39dba0c92f26f2cf07ea2
|
7
|
+
data.tar.gz: f9e88b90f0c41a0c9dcc9570bfa0eb273ad69af2c61ff0ee0be1dc54b948925772ff37c00fa98945c3ec3de8dca36d8af80f841a0703d5497f467f2a5826377f
|
data/.travis.yml
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
sudo: false
|
2
|
+
notifications:
|
3
|
+
email: false
|
2
4
|
language: ruby
|
3
5
|
rvm:
|
4
6
|
- 2.4
|
5
7
|
- 2.5
|
8
|
+
- 2.6
|
6
9
|
before_install:
|
7
|
-
- gem install bundler -v 1.16.
|
8
|
-
- bundle config mirror.https://rubygems.org https://gems.jutonz.com
|
10
|
+
- gem install bundler -v 1.16.1
|
9
11
|
deploy:
|
10
12
|
provider: rubygems
|
11
13
|
api_key:
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dctl_rb (0.
|
4
|
+
dctl_rb (0.14.0)
|
5
5
|
config (>= 1, < 2)
|
6
6
|
rainbow (>= 2.2, < 3)
|
7
7
|
rake (~> 12)
|
@@ -10,13 +10,13 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (5.2.
|
13
|
+
activesupport (5.2.2)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 0.7, < 2)
|
16
16
|
minitest (~> 5.1)
|
17
17
|
tzinfo (~> 1.1)
|
18
18
|
byebug (9.1.0)
|
19
|
-
concurrent-ruby (1.
|
19
|
+
concurrent-ruby (1.1.3)
|
20
20
|
config (1.7.0)
|
21
21
|
activesupport (>= 3.0)
|
22
22
|
deep_merge (~> 1.2.1)
|
@@ -36,7 +36,7 @@ GEM
|
|
36
36
|
dry-container (~> 0.2, >= 0.2.6)
|
37
37
|
dry-core (~> 0.2)
|
38
38
|
dry-equalizer (~> 0.2)
|
39
|
-
dry-types (0.13.
|
39
|
+
dry-types (0.13.3)
|
40
40
|
concurrent-ruby (~> 1.0)
|
41
41
|
dry-container (~> 0.3)
|
42
42
|
dry-core (~> 0.4, >= 0.4.4)
|
@@ -50,12 +50,12 @@ GEM
|
|
50
50
|
dry-equalizer (~> 0.2)
|
51
51
|
dry-logic (~> 0.4, >= 0.4.0)
|
52
52
|
dry-types (~> 0.13.1)
|
53
|
-
i18n (1.1.
|
53
|
+
i18n (1.1.1)
|
54
54
|
concurrent-ruby (~> 1.0)
|
55
55
|
minitest (5.11.3)
|
56
56
|
rainbow (2.2.2)
|
57
57
|
rake
|
58
|
-
rake (12.3.
|
58
|
+
rake (12.3.2)
|
59
59
|
rspec (3.6.0)
|
60
60
|
rspec-core (~> 3.6.0)
|
61
61
|
rspec-expectations (~> 3.6.0)
|
@@ -69,7 +69,7 @@ GEM
|
|
69
69
|
diff-lcs (>= 1.2.0, < 2.0)
|
70
70
|
rspec-support (~> 3.6.0)
|
71
71
|
rspec-support (3.6.0)
|
72
|
-
thor (0.20.
|
72
|
+
thor (0.20.3)
|
73
73
|
thread_safe (0.3.6)
|
74
74
|
tzinfo (1.2.5)
|
75
75
|
thread_safe (~> 0.1)
|
data/bin/localinstall
ADDED
data/dctl_rb.gemspec
CHANGED
@@ -29,6 +29,8 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = ["dctl"]
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
|
32
|
+
spec.required_ruby_version = ">= 2.4", "< 3"
|
33
|
+
|
32
34
|
spec.add_development_dependency "bundler", "~> 1.16"
|
33
35
|
spec.add_development_dependency "rspec", "~> 3.0"
|
34
36
|
spec.add_development_dependency "byebug", "~> 9.1"
|
data/lib/dctl/main.rb
CHANGED
@@ -20,7 +20,16 @@ module Dctl
|
|
20
20
|
project = settings.project
|
21
21
|
|
22
22
|
tag = "#{org}/#{project}-#{env}-#{image}"
|
23
|
-
|
23
|
+
if !version.nil?
|
24
|
+
version = version.to_i
|
25
|
+
tag +=
|
26
|
+
if version.negative?
|
27
|
+
current_version = current_version_for_image(image)
|
28
|
+
":#{current_version + version}"
|
29
|
+
else
|
30
|
+
":#{version}"
|
31
|
+
end
|
32
|
+
end
|
24
33
|
|
25
34
|
tag
|
26
35
|
end
|
data/lib/dctl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dctl_rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Toniazzo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -139,6 +139,7 @@ files:
|
|
139
139
|
- README.md
|
140
140
|
- Rakefile
|
141
141
|
- bin/console
|
142
|
+
- bin/localinstall
|
142
143
|
- bin/setup
|
143
144
|
- dctl_rb.gemspec
|
144
145
|
- exe/dctl
|
@@ -162,7 +163,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
163
|
requirements:
|
163
164
|
- - ">="
|
164
165
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
166
|
+
version: '2.4'
|
167
|
+
- - "<"
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '3'
|
166
170
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
171
|
requirements:
|
168
172
|
- - ">="
|
@@ -170,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
174
|
version: '0'
|
171
175
|
requirements: []
|
172
176
|
rubyforge_project:
|
173
|
-
rubygems_version: 2.7.
|
177
|
+
rubygems_version: 2.7.8
|
174
178
|
signing_key:
|
175
179
|
specification_version: 4
|
176
180
|
summary: Simple dockerized app config
|