pushwagner 0.0.1.3 → 0.0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/pw +2 -2
- data/lib/pushwagner/version.rb +1 -1
- metadata +2 -2
data/bin/pw
CHANGED
@@ -10,7 +10,7 @@ end
|
|
10
10
|
# TODO: detect version requirement from config
|
11
11
|
version = 1 # ENV["VERSION"] || get_version
|
12
12
|
|
13
|
-
main = Pushwagner::Main.new(:config_file => 'config/deploy.yml', :version => version, :environment => '
|
13
|
+
main = Pushwagner::Main.new(:config_file => 'config/deploy.yml', :version => version, :environment => ENV['PW_ENV'] || 'production')
|
14
14
|
|
15
15
|
# TODO: detect cli from config
|
16
16
|
case ARGV[0]
|
@@ -23,4 +23,4 @@ case ARGV[0]
|
|
23
23
|
|
24
24
|
else
|
25
25
|
puts "Usage: pw <deploy|restart>"
|
26
|
-
end
|
26
|
+
end
|
data/lib/pushwagner/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pushwagner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.4
|
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:
|
12
|
+
date: 2013-06-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: net-ssh
|