dnapi 1.1.85.metadata → 1.1.85.php
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dnapi/components/nodejs.rb +1 -1
- data/lib/dnapi/components/v8.rb +1 -1
- data/lib/dnapi/version.rb +1 -1
- data/spec/components/nodejs_spec.rb +3 -3
- metadata +5 -8
- data/lib/dnapi/components/app_metadata.rb +0 -13
- data/lib/dnapi/components/environment_metadata.rb +0 -13
- data/lib/dnapi/components/metadata.rb +0 -22
data/lib/dnapi/components/v8.rb
CHANGED
data/lib/dnapi/version.rb
CHANGED
@@ -8,8 +8,8 @@ describe DNApi::Components::NodeJS do
|
|
8
8
|
|
9
9
|
describe "#label" do
|
10
10
|
it "should have the right label" do
|
11
|
-
described_class.label.should == 'Node.js - 0.6.
|
12
|
-
@nodejs.label.should == 'Node.js - 0.6.
|
11
|
+
described_class.label.should == 'Node.js - 0.6.1'
|
12
|
+
@nodejs.label.should == 'Node.js - 0.6.1'
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
@@ -22,6 +22,6 @@ describe DNApi::Components::NodeJS do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
describe "#patch_level" do
|
25
|
-
it { @nodejs.patch_level.should == '
|
25
|
+
it { @nodejs.patch_level.should == '1' }
|
26
26
|
end
|
27
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dnapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 961239177
|
5
|
+
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
9
|
- 85
|
10
|
-
-
|
11
|
-
version: 1.1.85.
|
10
|
+
- php
|
11
|
+
version: 1.1.85.php
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Engine Yard
|
@@ -76,12 +76,9 @@ files:
|
|
76
76
|
- lib/dnapi/component_possessor.rb
|
77
77
|
- lib/dnapi/components/addons.rb
|
78
78
|
- lib/dnapi/components/apache.rb
|
79
|
-
- lib/dnapi/components/app_metadata.rb
|
80
79
|
- lib/dnapi/components/cloudkick.rb
|
81
80
|
- lib/dnapi/components/encrypted_backup.rb
|
82
|
-
- lib/dnapi/components/environment_metadata.rb
|
83
81
|
- lib/dnapi/components/exim.rb
|
84
|
-
- lib/dnapi/components/metadata.rb
|
85
82
|
- lib/dnapi/components/monitor.rb
|
86
83
|
- lib/dnapi/components/nagios.rb
|
87
84
|
- lib/dnapi/components/newrelic.rb
|
@@ -162,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
159
|
requirements: []
|
163
160
|
|
164
161
|
rubyforge_project:
|
165
|
-
rubygems_version: 1.
|
162
|
+
rubygems_version: 1.3.7
|
166
163
|
signing_key:
|
167
164
|
specification_version: 3
|
168
165
|
summary: API for chef DNA.
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require 'ostruct'
|
2
|
-
|
3
|
-
module DNApi
|
4
|
-
module Components
|
5
|
-
class Metadata < OpenStruct
|
6
|
-
include Component
|
7
|
-
|
8
|
-
desc "Adds arbitrary data to the DNA. DO UNDER NO CIRCUMSTANCE ADD ANY VALIDATION TO THIS!"
|
9
|
-
|
10
|
-
def [](key)
|
11
|
-
self.send(key)
|
12
|
-
end
|
13
|
-
|
14
|
-
|
15
|
-
def to_json(*args)
|
16
|
-
vals = @table.clone
|
17
|
-
vals.delete :parent
|
18
|
-
JSON.dump(({:key => key}).merge(vals))
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|