git-runner-deploy 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/git-runner-deploy.rb +8 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d241d9e4e915e7235707ccd65e5b0ea61f5718d8
4
- data.tar.gz: f1f7e668645e336bacecd51724585f61460760cb
3
+ metadata.gz: 391c6b17b3feaa48e361581e5545da6046f0db54
4
+ data.tar.gz: 5ca2f915d73f198fc00c9ff63bee910ed4816f73
5
5
  SHA512:
6
- metadata.gz: 281bc73e50c4ba87f0bb5778d42a3013f926eddcde9f14080d6fb8f469f978aec86b4ed569e91c1c4aed5d7f84cd0ce2c58691205a099af71d8223783e1926f7
7
- data.tar.gz: 10bedca6cfdb1763aefc58c815331733bf6d73fbe36effee74a78f445f8c064284d0b3e449f7a0ac046891c518c397981068712ae9822f0840f1424517d5ad86
6
+ metadata.gz: 4ff52f97346cd4db10ffaf8468c1332cb634a83bddd62b4c6df5e5bc6198eba3486acb1b89c00477362c93a14f2b4348e53f4f3ef8f8b08d3d0ac4a2e7887c60
7
+ data.tar.gz: 8d88de1869aedc7640e59a0b85cbfe9b8aa29d214d595abf2fdfda66e1d9843d5138340a4289a0c2a0126d4bddf04a07b7b648c357a4c445befe1fec6ec3995c
@@ -7,7 +7,7 @@ module GitRunner
7
7
 
8
8
  # Performs deployments using capistrano (cap deploy)
9
9
  class Deploy < Base
10
- VERSION = '0.1.4'
10
+ VERSION = '0.1.5'
11
11
 
12
12
  attr_accessor :clone_directory
13
13
 
@@ -106,6 +106,9 @@ module GitRunner
106
106
  "cap deploy"
107
107
  end
108
108
 
109
+ # 'bundle exec' if bundler is being used
110
+ cap_deploy_command = "bundle exec #{cap_deploy_command}" if uses_bundler?
111
+
109
112
  Text.indent do
110
113
  execute(
111
114
  "cd #{clone_directory}",
@@ -120,10 +123,13 @@ module GitRunner
120
123
  def cap_deploy_outproc(out)
121
124
  if out =~ /executing `(.*)'/
122
125
  case $1
126
+ when 'deploy:update_code'
127
+ Text.out('* Copying application code')
128
+
123
129
  when 'bundle:install'
124
130
  Text.out('* Installing gems')
125
131
 
126
- when 'assets:precompile'
132
+ when 'assets:precompile', 'deploy:assets:precompile'
127
133
  Text.out('* Precompilng assets')
128
134
 
129
135
  when 'deploy:restart'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-runner-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-05 00:00:00.000000000 Z
11
+ date: 2013-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git-runner
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  version: '0'
58
58
  requirements: []
59
59
  rubyforge_project:
60
- rubygems_version: 2.0.0
60
+ rubygems_version: 2.0.6
61
61
  signing_key:
62
62
  specification_version: 4
63
63
  summary: Capistrano deploy module for git-runner