pushdeploy 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pushdeploy/version.rb +1 -1
- data/lib/pushdeploy.rb +5 -2
- metadata +2 -2
data/lib/pushdeploy/version.rb
CHANGED
data/lib/pushdeploy.rb
CHANGED
@@ -4,9 +4,12 @@ class PushDeploy
|
|
4
4
|
|
5
5
|
def initialize(args, &block)
|
6
6
|
|
7
|
-
puts 'Running after_deploy...'
|
7
|
+
puts 'Running after_deploy...'
|
8
|
+
puts "!!!"
|
9
|
+
puts args
|
8
10
|
|
9
|
-
@deploy_to, @oldrev, @newrev = args.shift, args.shift, args.shift || 'HEAD'
|
11
|
+
@deploy_to, @oldrev, @newrev = args.shift, args.shift, args.shift || 'HEAD'
|
12
|
+
puts "deploy !! #{@deploy_to}"
|
10
13
|
if @oldrev == '0000000000000000000000000000000000000000'
|
11
14
|
@oldrev = EMPTY_DIR
|
12
15
|
elsif @oldrev.nil?
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: pushdeploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.21
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Artem Yankov
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-04 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description: Automatically deploys application after 'git push' and run specified commands like 'bundle install' and 'rake db:migrate'
|