itamae 1.12.5 → 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 +14 -1
- data/CHANGELOG.md +8 -1
- data/lib/itamae/cli.rb +1 -1
- data/lib/itamae/runner.rb +2 -1
- 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
@@ -31,6 +31,7 @@ jobs:
|
|
31
31
|
rubyopt:
|
32
32
|
- ""
|
33
33
|
- "--jit"
|
34
|
+
- "--yjit"
|
34
35
|
exclude:
|
35
36
|
# --jit is available since MRI 2.6
|
36
37
|
- ruby: "2.3"
|
@@ -39,7 +40,19 @@ jobs:
|
|
39
40
|
rubyopt: "--jit"
|
40
41
|
- ruby: "2.5"
|
41
42
|
rubyopt: "--jit"
|
42
|
-
|
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"
|
43
56
|
env:
|
44
57
|
RUBYOPT: ${{ matrix.rubyopt }}
|
45
58
|
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
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)
|
3
10
|
|
4
11
|
## v1.12.5
|
5
12
|
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.4...v1.12.5)
|
data/lib/itamae/cli.rb
CHANGED
@@ -31,7 +31,7 @@ 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
|
data/lib/itamae/runner.rb
CHANGED
@@ -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
|