itamae 1.10.1 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/lib/itamae.rb +1 -0
- data/lib/itamae/mash.rb +7 -0
- data/lib/itamae/node.rb +3 -3
- data/lib/itamae/resource/base.rb +2 -2
- data/lib/itamae/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d537d0b8fccaf05648269fd73bf4b66418997561130cc32daeec44c731d7bc06
|
|
4
|
+
data.tar.gz: ffb4e8c884f3a9fd62ddefd10ed8ef743928edb39fccbe0a3b95399d9ab40f7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 840de2dcfe70cf2100b09686ada740b61fa116189f1d9eda7fe5ed99b9b0e134bc60c83ffbc2034eefec475eba9c5f0e3f074048c75c6e0467f5d3f159260b56
|
|
7
|
+
data.tar.gz: f0bc01b74bd79244bdf7f5b3f93c07ada68333a6427fcac4b1bfbbb3fed48b11b89ccc24a291c7e30665e33f86a0491f2b317e2bedd575780252b808f3e4af36
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
## Unreleased
|
|
2
|
-
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.10.
|
|
2
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.10.2...master)
|
|
3
|
+
|
|
4
|
+
## v1.10.2
|
|
5
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.10.1...v1.10.2)
|
|
6
|
+
|
|
7
|
+
Bugfixes
|
|
8
|
+
|
|
9
|
+
- [Disable mash warnings (review catch up)](https://github.com/itamae-kitchen/itamae/pull/273)
|
|
3
10
|
|
|
4
11
|
## v1.10.1
|
|
5
12
|
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.10.0...v1.10.1)
|
data/lib/itamae.rb
CHANGED
data/lib/itamae/mash.rb
ADDED
data/lib/itamae/node.rb
CHANGED
|
@@ -10,7 +10,7 @@ module Itamae
|
|
|
10
10
|
attr_reader :mash
|
|
11
11
|
|
|
12
12
|
def initialize(hash, backend)
|
|
13
|
-
@mash =
|
|
13
|
+
@mash = Itamae::Mash.new(hash)
|
|
14
14
|
@backend = backend
|
|
15
15
|
end
|
|
16
16
|
|
|
@@ -43,7 +43,7 @@ module Itamae
|
|
|
43
43
|
private
|
|
44
44
|
|
|
45
45
|
def _reverse_merge(other_hash)
|
|
46
|
-
|
|
46
|
+
Itamae::Mash.new(other_hash).merge(@mash)
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
def method_missing(method, *args)
|
|
@@ -63,7 +63,7 @@ module Itamae
|
|
|
63
63
|
def fetch_inventory_value(key)
|
|
64
64
|
value = @backend.host_inventory[key]
|
|
65
65
|
if value.is_a?(Hash)
|
|
66
|
-
value =
|
|
66
|
+
value = Itamae::Mash.new(value)
|
|
67
67
|
end
|
|
68
68
|
|
|
69
69
|
value
|
data/lib/itamae/resource/base.rb
CHANGED
|
@@ -16,7 +16,7 @@ module Itamae
|
|
|
16
16
|
def initialize(resource)
|
|
17
17
|
@resource = resource
|
|
18
18
|
|
|
19
|
-
@attributes =
|
|
19
|
+
@attributes = Itamae::Mash.new
|
|
20
20
|
@notifications = []
|
|
21
21
|
@subscriptions = []
|
|
22
22
|
@verify_commands = []
|
|
@@ -222,7 +222,7 @@ module Itamae
|
|
|
222
222
|
end
|
|
223
223
|
|
|
224
224
|
def clear_current_attributes
|
|
225
|
-
@current_attributes =
|
|
225
|
+
@current_attributes = Itamae::Mash.new
|
|
226
226
|
end
|
|
227
227
|
|
|
228
228
|
def pre_action
|
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.10.
|
|
4
|
+
version: 1.10.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: 2018-
|
|
13
|
+
date: 2018-12-14 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: thor
|
|
@@ -246,6 +246,7 @@ files:
|
|
|
246
246
|
- lib/itamae/handler/json.rb
|
|
247
247
|
- lib/itamae/handler_proxy.rb
|
|
248
248
|
- lib/itamae/logger.rb
|
|
249
|
+
- lib/itamae/mash.rb
|
|
249
250
|
- lib/itamae/node.rb
|
|
250
251
|
- lib/itamae/notification.rb
|
|
251
252
|
- lib/itamae/recipe.rb
|
|
@@ -322,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
322
323
|
version: '0'
|
|
323
324
|
requirements: []
|
|
324
325
|
rubyforge_project:
|
|
325
|
-
rubygems_version: 2.7.
|
|
326
|
+
rubygems_version: 2.7.6
|
|
326
327
|
signing_key:
|
|
327
328
|
specification_version: 4
|
|
328
329
|
summary: Simple Configuration Management Tool
|