engineyard 2.0.11 → 2.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/engineyard/version.rb +2 -2
- data/spec/spec_helper.rb +0 -1
- data/spec/support/shared_behavior.rb +3 -4
- metadata +9 -9
data/lib/engineyard/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -40,7 +40,6 @@ TMPDIR = Pathname.new(__FILE__).dirname.parent.join('tmp')
|
|
40
40
|
RSpec.configure do |config|
|
41
41
|
config.treat_symbols_as_metadata_keys_with_true_values = true
|
42
42
|
config.run_all_when_everything_filtered = true
|
43
|
-
config.filter_run :focus
|
44
43
|
|
45
44
|
config.include SpecHelpers
|
46
45
|
config.include SpecHelpers::IntegrationHelpers
|
@@ -94,14 +94,13 @@ shared_examples_for "it takes an environment name and an account name" do
|
|
94
94
|
|
95
95
|
context "when the backend raises an error" do
|
96
96
|
before do
|
97
|
-
|
98
|
-
|
99
|
-
RestClient.stub!(:send).and_raise(RestClient::RequestFailed.new(failed_response))
|
97
|
+
# FIXME, cloud-client needs to provide an API for making responses raise
|
98
|
+
EY::CLI::API.stub!(:new).and_raise(EY::CloudClient::RequestFailed.new("Error: Important infos"))
|
100
99
|
end
|
101
100
|
|
102
101
|
it "returns the error message to the user" do
|
103
102
|
fast_failing_ey(command_to_run({:environment => "giblets", :account => "main"}))
|
104
|
-
@err.should match(/
|
103
|
+
@err.should match(/Important infos/)
|
105
104
|
end
|
106
105
|
end
|
107
106
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 2.0.
|
69
|
+
version: 2.0.5
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -74,7 +74,7 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 2.0.
|
77
|
+
version: 2.0.5
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: engineyard-cloud-client
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - ~>
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 2.2
|
101
|
+
version: '2.2'
|
102
102
|
type: :runtime
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -106,7 +106,7 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 2.2
|
109
|
+
version: '2.2'
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
111
|
name: launchy
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -426,7 +426,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
426
426
|
version: '0'
|
427
427
|
segments:
|
428
428
|
- 0
|
429
|
-
hash:
|
429
|
+
hash: -3354831071858298430
|
430
430
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
431
431
|
none: false
|
432
432
|
requirements:
|
@@ -435,10 +435,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
435
435
|
version: '0'
|
436
436
|
segments:
|
437
437
|
- 0
|
438
|
-
hash:
|
438
|
+
hash: -3354831071858298430
|
439
439
|
requirements: []
|
440
440
|
rubyforge_project:
|
441
|
-
rubygems_version: 1.8.
|
441
|
+
rubygems_version: 1.8.25
|
442
442
|
signing_key:
|
443
443
|
specification_version: 3
|
444
444
|
summary: Command-line deployment for the Engine Yard cloud
|