shuttle-deploy 0.2.0.beta14 → 0.2.0.beta15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shuttle/deployment/rails.rb +6 -2
- data/lib/shuttle/hook.rb +3 -1
- data/lib/shuttle/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 411dc85415adcc5be434b2e8100c4add52712e57
|
4
|
+
data.tar.gz: 9ceb482f4cabab9785b89af3c20f27cb82a34bc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 280eaeedc129e1629d165dbfa823fcf6ef12cf0b9472f6638dc391938a75ce8a642445a2bf8cf0a53d1417728e9986cb2781344d0b9b1b2ae74253489dea5da9
|
7
|
+
data.tar.gz: 63eea7e62568b64b0304e7966a91d488b842a69df7435ea42c501d6850857484872d6fb87f1eb9879fe89e17dd4e25fef35354df9734527dd749307330a0258c
|
@@ -12,7 +12,11 @@ module Shuttle
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def precompile_assets?
|
15
|
-
|
15
|
+
if ENV["ASSETS"]
|
16
|
+
true
|
17
|
+
else
|
18
|
+
config.rails && config.rails.precompile_assets != false
|
19
|
+
end
|
16
20
|
end
|
17
21
|
|
18
22
|
def cache_assets?
|
@@ -41,7 +45,7 @@ module Shuttle
|
|
41
45
|
end
|
42
46
|
|
43
47
|
def rake(command)
|
44
|
-
res = ssh.run("cd #{release_path} && rake #{command}")
|
48
|
+
res = ssh.run("cd #{release_path} && bundle exec rake #{command}")
|
45
49
|
if res.failure?
|
46
50
|
error "Unable to run rake command: #{command}. Reason: #{res.output}"
|
47
51
|
end
|
data/lib/shuttle/hook.rb
CHANGED
data/lib/shuttle/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shuttle-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.
|
4
|
+
version: 0.2.0.beta15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Sosedoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|