dnapi 1.1.94 → 1.1.97

Sign up to get free protection for your applications and to get access to all the features.
@@ -85,11 +85,11 @@ module DNApi
85
85
 
86
86
  NAME = 'REE'.freeze
87
87
  VERSION = '1.8.7'.freeze
88
- PATCH_LEVEL = '2011.12'.freeze
88
+ PATCH_LEVEL = '2012.02'.freeze
89
89
  RUBYGEMS_VERSION = '1.5.2'.freeze
90
90
 
91
91
  def self.label
92
- "#{self::NAME} #{self::PATCH_LEVEL}"
92
+ self::NAME
93
93
  end
94
94
 
95
95
  def ruby_version
@@ -184,7 +184,7 @@ module DNApi
184
184
  key :jruby_187
185
185
 
186
186
  def self.compat_version
187
- '(ruby-1.8.7-p330)'
187
+ '(ruby-1.8.7)'
188
188
  end
189
189
  end
190
190
 
@@ -198,7 +198,7 @@ module DNApi
198
198
  key :jruby_192
199
199
 
200
200
  def self.compat_version
201
- '(ruby-1.9.2-p136)'
201
+ '(ruby-1.9.2)'
202
202
  end
203
203
  end
204
204
 
@@ -218,7 +218,7 @@ module DNApi
218
218
  RUBYGEMS_VERSION = nil
219
219
 
220
220
  def self.label
221
- "#{self::NAME} 2.0.0dev (ruby-1.8.7)"
221
+ "#{self::NAME} (ruby-1.8.7)"
222
222
  end
223
223
 
224
224
  def ruby_version
@@ -254,7 +254,7 @@ module DNApi
254
254
  RUBYGEMS_VERSION = nil
255
255
 
256
256
  def self.label
257
- "#{self::NAME} 2.0.0dev (ruby-1.9.3)"
257
+ "#{self::NAME} (ruby-1.9.3)"
258
258
  end
259
259
 
260
260
  def self.compat_version
data/lib/dnapi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DNApi
2
- VERSION = '1.1.94'
2
+ VERSION = '1.1.97'
3
3
  end
@@ -84,8 +84,8 @@ describe DNApi::Components::REE do
84
84
 
85
85
  describe "#label" do
86
86
  it "should have the right label" do
87
- described_class.label.should == 'REE 2011.12'
88
- @ruby.label.should == 'REE 2011.12'
87
+ described_class.label.should == 'REE'
88
+ @ruby.label.should == 'REE'
89
89
  end
90
90
  end
91
91
 
@@ -102,8 +102,8 @@ describe DNApi::Components::REE do
102
102
  end
103
103
 
104
104
  describe "#patch_level" do
105
- it 'is 2011.03' do
106
- @ruby.patch_level.should == '2011.12'
105
+ it 'is 2012.02' do
106
+ @ruby.patch_level.should == '2012.02'
107
107
  end
108
108
  end
109
109
 
@@ -204,8 +204,8 @@ describe DNApi::Components::Rubinius do
204
204
 
205
205
  describe "#label" do
206
206
  it "should have the right label" do
207
- described_class.label.should == 'Rubinius 2.0.0dev (ruby-1.8.7)'
208
- @ruby.label.should == 'Rubinius 2.0.0dev (ruby-1.8.7)'
207
+ described_class.label.should == 'Rubinius (ruby-1.8.7)'
208
+ @ruby.label.should == 'Rubinius (ruby-1.8.7)'
209
209
  end
210
210
  end
211
211
 
@@ -241,8 +241,8 @@ describe DNApi::Components::Rubinius19 do
241
241
 
242
242
  describe "#label" do
243
243
  it "should have the right label" do
244
- described_class.label.should == 'Rubinius 2.0.0dev (ruby-1.9.3)'
245
- @ruby.label.should == 'Rubinius 2.0.0dev (ruby-1.9.3)'
244
+ described_class.label.should == 'Rubinius (ruby-1.9.3)'
245
+ @ruby.label.should == 'Rubinius (ruby-1.9.3)'
246
246
  end
247
247
  end
248
248
 
@@ -271,44 +271,78 @@ describe DNApi::Components::Rubinius19 do
271
271
  end
272
272
  end
273
273
 
274
- describe 'JRuby' do
275
- [DNApi::Components::JRuby187, DNApi::Components::JRuby192].each do |jruby|
276
- describe jruby do
277
- before do
278
- @environment = DNApi::Environment.new
279
- @ruby = @environment.add_component(jruby.key_id)
280
- end
274
+ describe DNApi::Components::JRuby187 do
275
+ before do
276
+ @environment = DNApi::Environment.new
277
+ @ruby = @environment.add_component(:jruby_187)
278
+ end
281
279
 
282
- describe "#label" do
283
- it "should have the right label" do
284
- described_class.label.should == "JRuby 1.6.7 #{jruby.compat_version}"
285
- @ruby.label.should == "JRuby 1.6.7 #{jruby.compat_version}"
286
- end
287
- end
280
+ describe "#label" do
281
+ it "should have the right label" do
282
+ described_class.label.should == "JRuby 1.6.7 (ruby-1.8.7)"
283
+ @ruby.label.should == "JRuby 1.6.7 (ruby-1.8.7)"
284
+ end
285
+ end
288
286
 
289
- describe "#name" do
290
- it 'is JRuby' do
291
- @ruby.name.should == 'JRuby'
292
- end
293
- end
287
+ describe "#name" do
288
+ it 'is JRuby' do
289
+ @ruby.name.should == 'JRuby'
290
+ end
291
+ end
294
292
 
295
- describe "#version" do
296
- it 'is the expected version' do
297
- @ruby.version.should == '1.6.7'
298
- end
299
- end
293
+ describe "#version" do
294
+ it 'is the expected version' do
295
+ @ruby.version.should == '1.6.7'
296
+ end
297
+ end
300
298
 
301
- describe "#patch_level" do
302
- it 'is nil' do
303
- @ruby.patch_level.should be_nil
304
- end
305
- end
299
+ describe "#patch_level" do
300
+ it 'is nil' do
301
+ @ruby.patch_level.should be_nil
302
+ end
303
+ end
306
304
 
307
- describe "#rubygems_version" do
308
- it 'is 1.5.1' do
309
- @ruby.rubygems_version.should == '1.5.1'
310
- end
311
- end
305
+ describe "#rubygems_version" do
306
+ it 'is 1.5.1' do
307
+ @ruby.rubygems_version.should == '1.5.1'
308
+ end
309
+ end
310
+ end
311
+
312
+ describe DNApi::Components::JRuby192 do
313
+ before do
314
+ @environment = DNApi::Environment.new
315
+ @ruby = @environment.add_component(:jruby_192)
316
+ end
317
+
318
+ describe "#label" do
319
+ it "should have the right label" do
320
+ described_class.label.should == "JRuby 1.6.7 (ruby-1.9.2)"
321
+ @ruby.label.should == "JRuby 1.6.7 (ruby-1.9.2)"
322
+ end
323
+ end
324
+
325
+ describe "#name" do
326
+ it 'is JRuby' do
327
+ @ruby.name.should == 'JRuby'
328
+ end
329
+ end
330
+
331
+ describe "#version" do
332
+ it 'is the expected version' do
333
+ @ruby.version.should == '1.6.7'
334
+ end
335
+ end
336
+
337
+ describe "#patch_level" do
338
+ it 'is nil' do
339
+ @ruby.patch_level.should be_nil
340
+ end
341
+ end
342
+
343
+ describe "#rubygems_version" do
344
+ it 'is 1.5.1' do
345
+ @ruby.rubygems_version.should == '1.5.1'
312
346
  end
313
347
  end
314
348
  end
metadata CHANGED
@@ -1,87 +1,90 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dnapi
3
- version: !ruby/object:Gem::Version
4
- version: 1.1.94
3
+ version: !ruby/object:Gem::Version
4
+ hash: 209
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 1
9
+ - 97
10
+ version: 1.1.97
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Engine Yard
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-07-26 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-07-19 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: json
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
31
- name: extlib
32
- requirement: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
33
24
  none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
38
32
  type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: extlib
39
36
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: sexp_processor
48
- requirement: !ruby/object:Gem::Requirement
37
+ requirement: &id002 !ruby/object:Gem::Requirement
49
38
  none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
54
46
  type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: sexp_processor
55
50
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
63
- name: jexp
64
- requirement: !ruby/object:Gem::Requirement
51
+ requirement: &id003 !ruby/object:Gem::Requirement
65
52
  none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: 0.1.1
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
70
60
  type: :runtime
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
63
+ name: jexp
71
64
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
65
+ requirement: &id004 !ruby/object:Gem::Requirement
73
66
  none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ hash: 25
71
+ segments:
72
+ - 0
73
+ - 1
74
+ - 1
77
75
  version: 0.1.1
76
+ type: :runtime
77
+ version_requirements: *id004
78
78
  description: API for chef DNA.
79
- email:
79
+ email:
80
80
  - gems@engineyard.com
81
81
  executables: []
82
+
82
83
  extensions: []
84
+
83
85
  extra_rdoc_files: []
84
- files:
86
+
87
+ files:
85
88
  - lib/dnapi/app.rb
86
89
  - lib/dnapi/component.rb
87
90
  - lib/dnapi/component_possessor.rb
@@ -145,29 +148,40 @@ files:
145
148
  - spec/vhost_spec.rb
146
149
  homepage: http://github.com/engineyard/dnapi
147
150
  licenses: []
151
+
148
152
  post_install_message:
149
153
  rdoc_options: []
150
- require_paths:
154
+
155
+ require_paths:
151
156
  - lib
152
- required_ruby_version: !ruby/object:Gem::Requirement
157
+ required_ruby_version: !ruby/object:Gem::Requirement
153
158
  none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
158
- required_rubygems_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ hash: 3
163
+ segments:
164
+ - 0
165
+ version: "0"
166
+ required_rubygems_version: !ruby/object:Gem::Requirement
159
167
  none: false
160
- requirements:
161
- - - ! '>'
162
- - !ruby/object:Gem::Version
168
+ requirements:
169
+ - - ">"
170
+ - !ruby/object:Gem::Version
171
+ hash: 25
172
+ segments:
173
+ - 1
174
+ - 3
175
+ - 1
163
176
  version: 1.3.1
164
177
  requirements: []
178
+
165
179
  rubyforge_project:
166
- rubygems_version: 1.8.19
180
+ rubygems_version: 1.8.24
167
181
  signing_key:
168
182
  specification_version: 3
169
183
  summary: API for chef DNA.
170
- test_files:
184
+ test_files:
171
185
  - spec/app_spec.rb
172
186
  - spec/component_spec.rb
173
187
  - spec/components/addons_spec.rb