pushdeploy 0.0.20 → 0.0.21

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 Pushdeploy
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
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.20
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-03 00:00:00 Z
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'