testbot_cloud 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -5,4 +5,5 @@ pkg/*
5
5
  todo.txt
6
6
  tmp
7
7
  ec2
8
- bb_*
8
+ bb
9
+ bb_albert
data/CHANGELOG CHANGED
@@ -1,8 +1,4 @@
1
- 0.1.3
2
-
3
- Updating fog.
4
-
5
- 0.1.2
1
+ 0.1.4
6
2
 
7
3
  Locking to a compatible fog version.
8
4
 
data/Rakefile CHANGED
@@ -5,8 +5,9 @@ require 'rspec/core/rake_task'
5
5
 
6
6
  Bundler::GemHelper.install_tasks
7
7
 
8
- Cucumber::Rake::Task.new(:features) do |t|
9
- t.cucumber_opts = "features --format progress"
8
+ task :features do
9
+ puts
10
+ system("cucumber features --format progress") || exit(1)
10
11
  end
11
12
 
12
13
  desc "Run specs"
@@ -1,14 +1,6 @@
1
- begin
2
- require 'fog/compute/models/brightbox/server'
3
- require 'fog/compute/models/aws/server'
4
- require 'fog/compute/models/bluebox/server'
5
- rescue LoadError
6
- # New style paths in fog master
7
- require 'fog/brightbox/models/compute/server'
8
- require 'fog/aws/models/compute/server'
9
- require 'fog/bluebox/models/compute/server'
10
- end
11
-
1
+ require 'fog/compute/models/slicehost/server'
2
+ require 'fog/compute/models/brightbox/server'
3
+ require 'fog/compute/models/aws/server'
12
4
  require File.expand_path(File.join(File.dirname(__FILE__), 'brightbox.rb'))
13
5
  require File.expand_path(File.join(File.dirname(__FILE__), 'aws.rb'))
14
6
 
@@ -1,3 +1,3 @@
1
1
  module TestbotCloud
2
- VERSION = "0.1.3" unless defined?(TestbotCloud::VERSION)
2
+ VERSION = "0.1.4" unless defined?(TestbotCloud::VERSION)
3
3
  end
@@ -1,6 +1,7 @@
1
1
  require File.expand_path(File.join(File.dirname(__FILE__), '../spec_helper.rb'))
2
2
 
3
3
  describe TestbotCloud::Server::Factory do
4
+
4
5
  it "should create a server wrapper for Brightbox" do
5
6
  server = TestbotCloud::Server::Factory.create(nil, nil, Fog::Brightbox::Compute::Server.new)
6
7
  server.should be_instance_of(TestbotCloud::Server::Brightbox)
@@ -13,7 +14,9 @@ describe TestbotCloud::Server::Factory do
13
14
 
14
15
  it "should raise an error when there is no server wrapper" do
15
16
  expect {
16
- TestbotCloud::Server::Factory.create(nil, nil, Fog::Bluebox::Compute::Server.new)
17
+ TestbotCloud::Server::Factory.create(nil, nil, Fog::Slicehost::Compute::Server.new)
17
18
  }.to raise_error(/Unsupported server type: /)
18
19
  end
20
+
21
+
19
22
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
 
20
20
  s.add_dependency "thor", ">0.14.5"
21
- s.add_dependency "fog", ">0.7.2"
21
+ s.add_dependency "fog", "=0.7.2"
22
22
  s.add_dependency "activesupport", ">3.0.0"
23
23
  s.add_dependency "rake"
24
24
  s.add_development_dependency "bundler"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testbot_cloud
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Joakim Kolsj\xC3\xB6"
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ">"
43
+ - - "="
44
44
  - !ruby/object:Gem::Version
45
45
  hash: 7
46
46
  segments: