itamae 1.4.2 → 1.4.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca602900dbe55fdba0c7bacb1197671abbba904c
4
- data.tar.gz: 825435955896ae3c8a4edce30492cff94a4b7916
3
+ metadata.gz: 227dbcf60bef27ebe4fe8ac784778ba216db0ef9
4
+ data.tar.gz: a197449bc2efd001cffc643948adce729bee01ae
5
5
  SHA512:
6
- metadata.gz: 5f8319ae741d5b8df3f1e0fea5d54ba45cccce8c62282fabbd658fdca29f69797759a77fbb1ce62aa98a7b43b75de0fdb27798bd974731f49410e0f9f0be2c94
7
- data.tar.gz: df167b91a2439485103f7d45754e4b459c9f3573ad5ac4cc18b34286297e73fa82e8bb8b5966548a648de772fb2f78c92c6ec4852241cca430483fa6d418b34b
6
+ metadata.gz: 85e3000f94d22b93dc3f1841c9c2c32f02a7e582f547637fcaff3623c8194e07a02211df19b72a7f7c3c7d0548fa692dfdc00bd92fe8253db749ec86e7f2dc4b
7
+ data.tar.gz: 34edd65f815cbdb4d5159c9a452c469d1d4b57a035c5db10cae747d9c721e52efc8cc099f4cb337987a25dec86464e6acbf7bea11a2d74acebcde666ac70b605
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v1.4.3
2
+
3
+ Bugfixes
4
+
5
+ - [Restore original attributes of a resource after each action.](https://github.com/itamae-kitchen/itamae/commit/28d33da3cb67c6a7635e47845b0055cb17df53a8)
6
+
1
7
  ## v1.4.2
2
8
 
3
9
  Improvements
@@ -133,7 +133,9 @@ module Itamae
133
133
  end
134
134
 
135
135
  [specific_action || attributes.action].flatten.each do |action|
136
+ original_attributes = @attributes
136
137
  run_action(action, options)
138
+ @attributes = original_attributes
137
139
  end
138
140
 
139
141
  verify unless options[:dry_run]
@@ -1 +1 @@
1
- 1.4.2
1
+ 1.4.3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-27 00:00:00.000000000 Z
11
+ date: 2015-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor