shuttle 1.2.7 → 1.2.8

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,3 +1,3 @@
1
1
  module Shuttle
2
- VERSION = "1.2.7"
2
+ VERSION = "1.2.8"
3
3
  end
@@ -55,10 +55,12 @@ task :shuttle, [:stages] => :environment do |t, args|
55
55
  end
56
56
  end
57
57
 
58
- args[:stages].split(':').each do |stage|
59
- if repository = Shuttle.stages.try(:[], stage.try(:to_sym))
60
- p80("Executing deploy to #{stage}...") do
61
- sh "git push #{repository} HEAD:master -f"
58
+ if args[:stages].present?
59
+ args[:stages].split(':').each do |stage|
60
+ if repository = Shuttle.stages.try(:[], stage.try(:to_sym))
61
+ p80("Executing deploy to #{stage}...") do
62
+ sh "git push #{repository} HEAD:master -f"
63
+ end
62
64
  end
63
65
  end
64
66
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shuttle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
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-11-21 00:00:00.000000000 Z
12
+ date: 2012-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colored