torpedo 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ * Tue Nov 1 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.6
2
+ -Minor metadata test updates.
3
+ -Don't require test-unit (breaks Ruby 1.8.7)
4
+
1
5
  * Tue Nov 1 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.5
2
6
  -Require test-unit if using Ruby 1.9.2.
3
7
  -Disable test-unit-ext if using Ruby 1.9.2 (currently supports Ruby 1.8.x)
data/Rakefile CHANGED
@@ -25,7 +25,6 @@ Jeweler::Tasks.new do |gem|
25
25
  # dependencies defined in Gemfile
26
26
  gem.add_dependency 'thor'
27
27
  gem.add_dependency 'openstack-compute', '>= 1.1.4'
28
- gem.add_dependency 'test-unit'
29
28
  gem.add_dependency 'test-unit-ext', '>= 0.5.0'
30
29
  end
31
30
  Jeweler::RubygemsDotOrgTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.5
1
+ 1.0.6
@@ -142,12 +142,12 @@ class Servers < Test::Unit::TestCase
142
142
  def test_003_update_one_server_metadata_item
143
143
 
144
144
  metadata = @@server.metadata
145
- metadata['foo1'] = 'bar1'
146
- assert metadata.update('foo1')
145
+ metadata['foo0'] = 'bar0'
146
+ assert metadata.update('foo0')
147
147
 
148
148
  metadata.refresh
149
149
 
150
- assert_equal 'bar1', metadata['foo1']
150
+ assert_equal 'bar0', metadata['foo0']
151
151
 
152
152
  assert_equal 1, metadata.size
153
153
 
@@ -156,22 +156,25 @@ class Servers < Test::Unit::TestCase
156
156
  def test_004_update_some_server_metadata_items
157
157
 
158
158
  metadata = @@server.metadata
159
+ metadata.clear
159
160
  metadata['foo1'] = 'bar1'
160
161
  metadata['foo2'] = 'bar2'
161
- assert metadata.update(['foo1','foo2'])
162
+ assert metadata.update()
162
163
 
163
164
  metadata.refresh
164
165
 
166
+ assert_equal 'bar0', metadata['foo0']
165
167
  assert_equal 'bar1', metadata['foo1']
166
168
  assert_equal 'bar2', metadata['foo2']
167
169
 
168
- assert_equal 2, metadata.size
170
+ assert_equal 3, metadata.size
169
171
 
170
172
  end
171
173
 
172
174
  def test_005_set_server_metadata_items
173
175
 
174
176
  metadata = @@server.metadata
177
+ metadata.clear
175
178
  metadata['foo1'] = 'better'
176
179
  metadata['foo2'] = 'watch'
177
180
  metadata['foo3'] = 'out!'
data/torpedo.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{torpedo}
8
- s.version = "1.0.4"
8
+ s.version = "1.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dan Prince"]
12
- s.date = %q{2011-10-29}
12
+ s.date = %q{2011-11-01}
13
13
  s.default_executable = %q{torpedo}
14
14
  s.description = %q{CLI to run functional smoke tests for OpenStack.}
15
15
  s.email = %q{dan.prince@rackspace.com}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torpedo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 5
10
- version: 1.0.5
9
+ - 6
10
+ version: 1.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dan Prince
@@ -80,24 +80,10 @@ dependencies:
80
80
  version: 1.1.4
81
81
  requirement: *id004
82
82
  type: :runtime
83
- - !ruby/object:Gem::Dependency
84
- prerelease: false
85
- name: test-unit
86
- version_requirements: &id005 !ruby/object:Gem::Requirement
87
- none: false
88
- requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- hash: 3
92
- segments:
93
- - 0
94
- version: "0"
95
- requirement: *id005
96
- type: :runtime
97
83
  - !ruby/object:Gem::Dependency
98
84
  prerelease: false
99
85
  name: test-unit-ext
100
- version_requirements: &id006 !ruby/object:Gem::Requirement
86
+ version_requirements: &id005 !ruby/object:Gem::Requirement
101
87
  none: false
102
88
  requirements:
103
89
  - - ">="
@@ -108,7 +94,7 @@ dependencies:
108
94
  - 5
109
95
  - 0
110
96
  version: 0.5.0
111
- requirement: *id006
97
+ requirement: *id005
112
98
  type: :runtime
113
99
  description: CLI to run functional smoke tests for OpenStack.
114
100
  email: dan.prince@rackspace.com