small_wonder 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/small_wonder/application.rb +4 -4
  2. metadata +4 -4
@@ -80,20 +80,20 @@ module SmallWonder
80
80
 
81
81
  def create_application_deployment_attribute(node, application)
82
82
  data = Chef::Node.load(node)
83
- data[SmallWonder::Config.application_deployment_attribute] = {}
84
- data[SmallWonder::Config.application_deployment_attribute][application] = {}
83
+ data.set[SmallWonder::Config.application_deployment_attribute] = {}
84
+ data.set[SmallWonder::Config.application_deployment_attribute][application] = {}
85
85
  data.save
86
86
  end
87
87
 
88
88
  def create_application_deployment_attribute_child(node, application)
89
89
  data = Chef::Node.load(node)
90
- data[SmallWonder::Config.application_deployment_attribute][application] = {}
90
+ data.set[SmallWonder::Config.application_deployment_attribute][application] = {}
91
91
  data.save
92
92
  end
93
93
 
94
94
  def update_application_data(node, application, key, value)
95
95
  data = Chef::Node.load(node)
96
- data[SmallWonder::Config.application_deployment_attribute][application][key] = value
96
+ data.set[SmallWonder::Config.application_deployment_attribute][application][key] = value
97
97
  data.save
98
98
 
99
99
  #SmallWonder::Log.info("[#{node} // #{application}] #{key} was updated to #{value}")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: small_wonder
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joe Williams
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-10-05 00:00:00 Z
18
+ date: 2012-11-17 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: mixlib-config