knife-attribute 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmY1MThkMjg4YjljZWNkNDUzNTJhYjAzZGRkZjIxNDJiYzM0ZjAwZg==
4
+ MTIxYjlhOWExM2IyZThkYzM1ZGE4ZjMxYTk3NGFhNDg1NWIwYjI5Ng==
5
5
  data.tar.gz: !binary |-
6
- N2Q1NDI1NjQ5MmExNDhkNzc0YWNhMmEwNTgxOTVkNzAxMDYwOGExMw==
6
+ NDg5YmNiMGVlNTlmMTE1MzBjZDM5MmQyNGRiNzIwNWM0NDBhYjhkYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjAwYzQ4MzY5ZjMwNWY1YzI4NjIyYjRlYzkyZmEzOGRhZjJjYTYzNTJiNDli
10
- NzNiYjc2YzI2MGY4MWJjNmVlMmI3Mzg4OTUwMjg5Y2EzMTRlOGU1NDEzMzc4
11
- OTlmZWZhZjI5MGQzYmFlODEwMDgyN2QyNWUyYWUzZGQ2OGY1MWM=
9
+ NDQxNGM2YzhmYWY4YjdkYTRhNDRlNDJhNDFkMTg3YWI0YmU3N2RjMmFjYjli
10
+ MDQ2ZGEyMzFlYjYxNGQ1ZDkxYjQ4NTExZDQzZmU4YWNjMjc1ZDRlZWE0ZTA1
11
+ YzNlZTM3MDdiNDE1M2UzODliNzM3NWYyYzUwNTgwOWRmOGNhMTY=
12
12
  data.tar.gz: !binary |-
13
- MGM4M2E5MjVmOWFiYjQwOWNkNjM4ZTdmY2IwN2Y3MWFiMGJiYWJkNjkyMjI4
14
- N2UzYWEyYWRhMjRjZjI3OWJkYmNiOWI2YzE4ZjAwNDA0NDNjZThiOWViMDYz
15
- MWEyZWNlODFlYjE5MWNlYTM3MWNlYmQwZWU4YjAxMDQ2M2VmMjQ=
13
+ OWE5MThiZWI4ZmI2ODY0NzcxZGY4ZDk1YWE0M2VkN2YzOWZmMTIzYTRhZjBm
14
+ MzRkODEzNWFhOGVlM2Q0MjEyMjg2MmNkMThkMDVjY2JlM2I5NTZiYTViNzA3
15
+ NzExZmNiNDM2N2NmZjNlZGM2N2MxN2Q1OGYyZGVjN2Y1MGJhMmY=
@@ -40,7 +40,7 @@ module KnifeAttribute
40
40
  def set_attribute(target)
41
41
  begin
42
42
  new_value = Chef::JSONCompat.from_json(value)
43
- rescue JSON::ParserError, Yajl::ParseError
43
+ rescue
44
44
  new_value = value
45
45
  end
46
46
  new_attribute = attribute.split('.').reverse.inject(new_value) { |result, key| { key => result } }
@@ -1,3 +1,3 @@
1
1
  module KnifeAttribute
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-attribute
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Fern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-15 00:00:00.000000000 Z
11
+ date: 2014-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef