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.
@@ -11,7 +11,7 @@ module DNApi
11
11
 
12
12
  NAME = 'Node.js'.freeze
13
13
  VERSION = '0.6'.freeze
14
- PATCH_LEVEL = '8'.freeze
14
+ PATCH_LEVEL = '1'.freeze
15
15
 
16
16
  def self.label
17
17
  "#{NAME} - #{version}"
@@ -10,7 +10,7 @@ module DNApi
10
10
 
11
11
  NAME = 'V8'.freeze
12
12
  VERSION = '3.6'.freeze
13
- PATCH_LEVEL = '6.19'.freeze
13
+ PATCH_LEVEL = '6.7'.freeze
14
14
 
15
15
  def self.label
16
16
  "#{NAME} - #{version}"
@@ -1,3 +1,3 @@
1
1
  module DNApi
2
- VERSION = '1.1.85.metadata'
2
+ VERSION = '1.1.85.php'
3
3
  end
@@ -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.8'
12
- @nodejs.label.should == 'Node.js - 0.6.8'
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 == '8' }
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: 329158785
5
- prerelease: 7
4
+ hash: 961239177
5
+ prerelease: true
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
9
  - 85
10
- - metadata
11
- version: 1.1.85.metadata
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.5.2
162
+ rubygems_version: 1.3.7
166
163
  signing_key:
167
164
  specification_version: 3
168
165
  summary: API for chef DNA.
@@ -1,13 +0,0 @@
1
- require 'dnapi/components/metadata'
2
-
3
- module DNApi
4
- module Components
5
- class AppMetadata < Metadata
6
- include Component
7
-
8
- key :app_metadata
9
-
10
- belongs_to App
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- require 'dnapi/components/metadata'
2
-
3
- module DNApi
4
- module Components
5
- class EnvironmentMetadata < Metadata
6
- include Component
7
-
8
- key :environment_metadata
9
-
10
- belongs_to Environment
11
- end
12
- end
13
- end
@@ -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