itamae 1.11.1 → 1.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/lib/itamae/cli.rb +8 -8
- data/lib/itamae/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5515825a305cf166326ba3e4faa87184dc6e5b403a8b343e33728d54312c2285
|
4
|
+
data.tar.gz: 66954374e94ef25f88962fc1e2e412c625b316f07370fa58c1bfcf285acee948
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c68ce846c4c87b2d6e0f5b6e1542f78d3e4daa1c932854610904ecb5fa146e6d5878c4805c3c82af419fa018a6c9276e021cb821e9b4e6b2058bee678cd1c3ac
|
7
|
+
data.tar.gz: 2aef78fe4642fa717e6b5752b74ea35bb040208d4516cfa8b24fe4541255700c966a9e061f0b3d8100ad2b836a4fc84b313756a28d63037cba1734104fd11b7b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
## Unreleased
|
2
|
-
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.
|
2
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.2...master)
|
3
|
+
|
4
|
+
## v1.11.2
|
5
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.1...v1.11.2)
|
6
|
+
|
7
|
+
Bugfixes
|
8
|
+
|
9
|
+
- [Support thor-1.1.0 (by @chaaaaarlotte)](https://github.com/itamae-kitchen/itamae/pull/329)
|
3
10
|
|
4
11
|
## v1.11.1
|
5
12
|
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.0...v1.11.1)
|
data/lib/itamae/cli.rb
CHANGED
@@ -27,6 +27,14 @@ module Itamae
|
|
27
27
|
option :config, type: :string, aliases: ['-c']
|
28
28
|
end
|
29
29
|
|
30
|
+
def self.options
|
31
|
+
@itamae_options ||= super.dup.tap do |options|
|
32
|
+
if config = options[:config]
|
33
|
+
options.merge!(YAML.load_file(config))
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
30
38
|
desc "local RECIPE [RECIPE...]", "Run Itamae locally"
|
31
39
|
define_exec_options
|
32
40
|
def local(*recipe_files)
|
@@ -117,14 +125,6 @@ module Itamae
|
|
117
125
|
end
|
118
126
|
|
119
127
|
private
|
120
|
-
def options
|
121
|
-
@itamae_options ||= super.dup.tap do |options|
|
122
|
-
if config = options[:config]
|
123
|
-
options.merge!(YAML.load_file(config))
|
124
|
-
end
|
125
|
-
end
|
126
|
-
end
|
127
|
-
|
128
128
|
def validate_generate_target!(command, target)
|
129
129
|
unless GENERATE_TARGETS.include?(target)
|
130
130
|
msg = %Q!ERROR: "itamae #{command}" was called with "#{target}" !
|
data/lib/itamae/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Arai
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-02-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|
@@ -329,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
329
329
|
- !ruby/object:Gem::Version
|
330
330
|
version: '0'
|
331
331
|
requirements: []
|
332
|
-
rubygems_version: 3.
|
332
|
+
rubygems_version: 3.2.3
|
333
333
|
signing_key:
|
334
334
|
specification_version: 4
|
335
335
|
summary: Simple Configuration Management Tool
|