engineyard 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/engineyard/version.rb +1 -1
- data/spec/ey/status_spec.rb +7 -2
- data/spec/support/matchers.rb +0 -12
- metadata +8 -8
data/lib/engineyard/version.rb
CHANGED
data/spec/ey/status_spec.rb
CHANGED
@@ -8,9 +8,14 @@ describe "ey environments" do
|
|
8
8
|
login_scenario "one app, many environments"
|
9
9
|
end
|
10
10
|
|
11
|
+
it "tells you it's never been deployed" do
|
12
|
+
fast_failing_ey %w[status -e giblets]
|
13
|
+
@err.should =~ /Application rails232app has not been deployed on giblets./
|
14
|
+
end
|
15
|
+
|
11
16
|
it "outputs the status of the deployment" do
|
12
|
-
|
13
|
-
|
17
|
+
fast_ey %w[deploy -e giblets --ref HEAD --no-migrate]
|
18
|
+
fast_ey %w[status -e giblets]
|
14
19
|
@out.should =~ /Application:\s+rails232app/
|
15
20
|
@out.should =~ /Environment:\s+giblets/
|
16
21
|
@out.should =~ /Ref:\s+HEAD/
|
data/spec/support/matchers.rb
CHANGED
@@ -14,15 +14,3 @@ RSpec::Matchers.define :have_command_like do |regex|
|
|
14
14
|
"Found unwanted command:\n\n#{@found}\n\n(matches regex #{regex})"
|
15
15
|
end
|
16
16
|
end
|
17
|
-
|
18
|
-
RSpec::Matchers.define :have_app_code do
|
19
|
-
match { |instance| instance.has_app_code? }
|
20
|
-
|
21
|
-
failure_message_for_should do |instance|
|
22
|
-
"Expected #has_app_code? to be true on instance: #{instance.inspect}"
|
23
|
-
end
|
24
|
-
|
25
|
-
failure_message_for_should_not do |instance|
|
26
|
-
"Expected #has_app_code? to be false on instance: #{instance.inspect}"
|
27
|
-
end
|
28
|
-
end
|
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.1
|
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: 2012-08-
|
12
|
+
date: 2012-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - '='
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 2.0.
|
101
|
+
version: 2.0.1
|
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.0.
|
109
|
+
version: 2.0.1
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
111
|
name: engineyard-cloud-client
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,7 +114,7 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.0.
|
117
|
+
version: 1.0.6
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
requirements:
|
123
123
|
- - ~>
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 1.0.
|
125
|
+
version: 1.0.6
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: net-ssh
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -409,7 +409,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
409
409
|
version: '0'
|
410
410
|
segments:
|
411
411
|
- 0
|
412
|
-
hash: -
|
412
|
+
hash: -1240633916476760802
|
413
413
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
414
414
|
none: false
|
415
415
|
requirements:
|
@@ -418,7 +418,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
418
418
|
version: '0'
|
419
419
|
segments:
|
420
420
|
- 0
|
421
|
-
hash: -
|
421
|
+
hash: -1240633916476760802
|
422
422
|
requirements: []
|
423
423
|
rubyforge_project:
|
424
424
|
rubygems_version: 1.8.24
|