propel 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- propel (0.1.0)
4
+ propel (0.1.2)
5
5
  json
6
6
 
7
7
  GEM
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Propel
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -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: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Leitgeb