itamae 1.12.3 → 1.12.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +15 -1
- data/CHANGELOG.md +29 -1
- data/bin/itamae +0 -1
- data/lib/itamae/cli.rb +5 -1
- data/lib/itamae/runner.rb +3 -2
- data/lib/itamae/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e18a63f707a8c5e6553adf7548c3467e704f59a845a81292385a34c14ae4462b
|
4
|
+
data.tar.gz: 8d159da6ad0674a343f521a0cbc721ccd5016e6e394489724f18381c4c04edfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 236c31793aef48956d4d04b92ac7dd09076d7f3a33a9f7eefc943fe74beebc8914f4aa05630c104dc35f11b2b70e6504409b4469a8b436d5d2d476482439dc90
|
7
|
+
data.tar.gz: fcb7322c39beba8614cdc88383a9b1ece9626f5318a717f323c9420ecc57e29f9e6dd28285df42588fe9a8abdb6899b1121eba6a2ba53269e2ba615a4affaf1b
|
data/.github/workflows/test.yml
CHANGED
@@ -27,9 +27,11 @@ jobs:
|
|
27
27
|
- "2.6"
|
28
28
|
- "2.7"
|
29
29
|
- "3.0"
|
30
|
+
- "3.1"
|
30
31
|
rubyopt:
|
31
32
|
- ""
|
32
33
|
- "--jit"
|
34
|
+
- "--yjit"
|
33
35
|
exclude:
|
34
36
|
# --jit is available since MRI 2.6
|
35
37
|
- ruby: "2.3"
|
@@ -38,7 +40,19 @@ jobs:
|
|
38
40
|
rubyopt: "--jit"
|
39
41
|
- ruby: "2.5"
|
40
42
|
rubyopt: "--jit"
|
41
|
-
|
43
|
+
# --yjit is available since MRI 3.1
|
44
|
+
- ruby: "2.3"
|
45
|
+
rubyopt: "--yjit"
|
46
|
+
- ruby: "2.4"
|
47
|
+
rubyopt: "--yjit"
|
48
|
+
- ruby: "2.5"
|
49
|
+
rubyopt: "--yjit"
|
50
|
+
- ruby: "2.6"
|
51
|
+
rubyopt: "--yjit"
|
52
|
+
- ruby: "2.7"
|
53
|
+
rubyopt: "--yjit"
|
54
|
+
- ruby: "3.0"
|
55
|
+
rubyopt: "--yjit"
|
42
56
|
env:
|
43
57
|
RUBYOPT: ${{ matrix.rubyopt }}
|
44
58
|
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,33 @@
|
|
1
1
|
## Unreleased
|
2
|
-
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.
|
2
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.6...master)
|
3
|
+
|
4
|
+
## v1.12.6
|
5
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.5...v1.12.6)
|
6
|
+
|
7
|
+
Bugfixes
|
8
|
+
|
9
|
+
- [Support Psych4.x](https://github.com/itamae-kitchen/itamae/pull/348)
|
10
|
+
|
11
|
+
## v1.12.5
|
12
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.4...v1.12.5)
|
13
|
+
|
14
|
+
Bugfixes
|
15
|
+
|
16
|
+
- [Define exit_on_failure? to suppress thor's warning](https://github.com/itamae-kitchen/itamae/pull/344)
|
17
|
+
|
18
|
+
## v1.12.4
|
19
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.3...v1.12.4)
|
20
|
+
|
21
|
+
Improvements
|
22
|
+
|
23
|
+
- [Initialize tmp_dir if no tmpdir option was specified.](https://github.com/itamae-kitchen/itamae/pull/341)
|
24
|
+
|
25
|
+
## v1.12.3
|
26
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.2...v1.12.3)
|
27
|
+
|
28
|
+
Bugfixes
|
29
|
+
|
30
|
+
- [Fix Chef install script URL (by @NPoi)](https://github.com/itamae-kitchen/itamae/pull/339)
|
3
31
|
|
4
32
|
## v1.12.2
|
5
33
|
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.1...v1.12.2)
|
data/bin/itamae
CHANGED
data/lib/itamae/cli.rb
CHANGED
@@ -31,11 +31,15 @@ module Itamae
|
|
31
31
|
def self.options
|
32
32
|
@itamae_options ||= super.dup.tap do |options|
|
33
33
|
if config = options[:config]
|
34
|
-
options.merge!(YAML.
|
34
|
+
options.merge!(YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(config) : YAML.load(config))
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
+
def self.exit_on_failure?
|
40
|
+
true
|
41
|
+
end
|
42
|
+
|
39
43
|
desc "local RECIPE [RECIPE...]", "Run Itamae locally"
|
40
44
|
define_exec_options
|
41
45
|
def local(*recipe_files)
|
data/lib/itamae/runner.rb
CHANGED
@@ -30,7 +30,7 @@ module Itamae
|
|
30
30
|
prepare_handler
|
31
31
|
|
32
32
|
@node = create_node
|
33
|
-
@tmpdir = options[:tmp_dir]
|
33
|
+
@tmpdir = options[:tmp_dir] || '/tmp/itamae_tmp'
|
34
34
|
@children = RecipeChildren.new
|
35
35
|
@diff = false
|
36
36
|
|
@@ -114,7 +114,8 @@ module Itamae
|
|
114
114
|
if @options[:node_yaml]
|
115
115
|
path = File.expand_path(@options[:node_yaml])
|
116
116
|
Itamae.logger.info "Loading node data from #{path}..."
|
117
|
-
|
117
|
+
yaml = YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(open(path)) : YAML.load(open(path))
|
118
|
+
hash.merge!(yaml || {})
|
118
119
|
end
|
119
120
|
|
120
121
|
Node.new(hash, @backend)
|
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.12.
|
4
|
+
version: 1.12.6
|
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: 2022-04-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|