itamae 1.1.5 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6ccc990f309bf5b3c26f88b954efe855cb4ba76
4
- data.tar.gz: 4893d034791a81b09e8e700351d133d1c5b85a9a
3
+ metadata.gz: 46e8d6ca2f0b4e05123719182e0244d54455a866
4
+ data.tar.gz: e35404ee8a2abcdfcd55849c69a9166fdde7ef64
5
5
  SHA512:
6
- metadata.gz: 7ccc76eb4868ff6033695faed5c6ebf0362b4cdc26a1c09d1c87138840f13c430cbc8e054fa24c50ad9bf80073a045d6c5391cf7a27d789c5e1c1029470e2658
7
- data.tar.gz: a404d77ea0fe586ebb8071f3748ffad10283f8a9df79fdd94ba143c70df08c65e5a651134b7dae56fe42a7dbc03bd6e6641c7fe55c8b39cd81d39702e7593bb3
6
+ metadata.gz: 25fce8fab5558c1fd3240610ff2c52aea30f6427343051e3b5d50950e0814bbe738ad7788159bae53a20385cceb3d6d5108216af6e6c11bbdd55c35ac8195aea
7
+ data.tar.gz: 93cf42c6d44dfb803de6cb82967e57b9cadc4799233f24dabf3b1da863ec2897e8581dd3ed6774dbaf6857c627653edb7bb4cff45d57e518ce1a6dbb29666ecb
data/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
1
+ ## v1.1.7
2
+
3
+ Bugfixes
4
+
5
+ - Fix a typo bug
6
+
7
+ ## v1.1.6 (yanked)
8
+
9
+ Improvements
10
+
11
+ - [Normalize mode value of file resource by prepending '0' (by @sorah)](https://github.com/itamae-kitchen/itamae/pull/76)
12
+
13
+ Bugfixes
14
+
15
+ - [Fix a problem that occurs when the current value is false. (by @mizzy)](https://github.com/itamae-kitchen/itamae/pull/75)
16
+
17
+ ## v1.1.5
18
+
19
+ Bugfixes
20
+
21
+ - Clear current attributes before each action.
22
+ - Turn on updated-flag after each action.
23
+
1
24
  ## v1.1.4
2
25
 
3
26
  Bugfixes
data/README.md CHANGED
@@ -20,7 +20,7 @@ $ gem install itamae
20
20
  ### Run locally
21
21
 
22
22
  ```
23
- $ sudo itamae execute -j example/node.json recipe.rb
23
+ $ sudo itamae local -j example/node.json recipe.rb
24
24
  ```
25
25
 
26
26
  ### Run via SSH
@@ -193,8 +193,8 @@ module Itamae
193
193
 
194
194
  def different?
195
195
  @current_attributes.each_pair.any? do |key, current_value|
196
- current_value &&
197
- @attributes[key] &&
196
+ !current_value.nil? &&
197
+ !@attributes[key].nil? &&
198
198
  current_value != @attributes[key]
199
199
  end
200
200
  end
@@ -49,6 +49,9 @@ module Itamae
49
49
  end
50
50
 
51
51
  def show_differences
52
+ current.mode = current.mode.rjust(4, '0') if current.mode
53
+ attributes.mode = attributes.mode.rjust(4, '0') if attributes.mode
54
+
52
55
  super
53
56
 
54
57
  if current.exist
@@ -1 +1 @@
1
- 1.1.5
1
+ 1.1.7
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.1.5
4
+ version: 1.1.7
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-02-09 00:00:00.000000000 Z
11
+ date: 2015-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor