propel 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/propel/runner.rb +3 -0
- data/lib/propel/version.rb +1 -1
- data/spec/propel/runner_spec.rb +3 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/propel/runner.rb
CHANGED
@@ -23,6 +23,7 @@ module Propel
|
|
23
23
|
private
|
24
24
|
|
25
25
|
def check_remote_build!
|
26
|
+
puts "Checking remote build..."
|
26
27
|
if @options[:wait]
|
27
28
|
unless remote_build_green?
|
28
29
|
wait_with_notice do
|
@@ -36,6 +37,8 @@ module Propel
|
|
36
37
|
|
37
38
|
alert_broken_build_and_exit unless remote_build_green?
|
38
39
|
end
|
40
|
+
|
41
|
+
puts "Remote build is passing."
|
39
42
|
end
|
40
43
|
|
41
44
|
def wait_with_notice
|
data/lib/propel/version.rb
CHANGED
data/spec/propel/runner_spec.rb
CHANGED
@@ -33,7 +33,8 @@ describe Propel::Runner do
|
|
33
33
|
runner.stub!(:remote_build_green?).and_return(true)
|
34
34
|
|
35
35
|
runner.should_receive(:propel!)
|
36
|
-
|
36
|
+
runner.should_receive(:puts).with("Checking remote build...")
|
37
|
+
runner.should_receive(:puts).with("Remote build is passing.")
|
37
38
|
runner.start
|
38
39
|
end
|
39
40
|
|
@@ -54,6 +55,7 @@ describe Propel::Runner do
|
|
54
55
|
runner.should_receive(:alert_broken_build_and_exit).and_raise(TestError.new("Execution should be aborted here"))
|
55
56
|
runner.should_not_receive(:propel!)
|
56
57
|
|
58
|
+
runner.should_receive(:puts).with("Checking remote build...")
|
57
59
|
lambda {
|
58
60
|
runner.start
|
59
61
|
}.should raise_error(TestError)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: propel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Justin Leitgeb
|