foreplay 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foreplay/deploy.rb +2 -2
- data/lib/foreplay/version.rb +1 -1
- data/spec/lib/foreplay/deploy_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 723f0071cd06023ca4d21388cffe21b6bb4751ee
|
4
|
+
data.tar.gz: ee924c943327303248273170e5e75bd526dcb8be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c563791606c25ff157f2fb44c1498d63105992d5a687ae85363af8907dfdf1f8bef603d10b9fb93eca64ed58cf930f6cf88d852bd8d2faef17f7a85f210171b
|
7
|
+
data.tar.gz: a7932fd647001d10f04f3dc002d819a9646d41621317bd8fb451da756de4c4356937b78d3c7fdd2f882b3f0aaa26a9c4b684364f29db7fb2afd99680d6b46668
|
data/lib/foreplay/deploy.rb
CHANGED
@@ -197,14 +197,14 @@ module Foreplay
|
|
197
197
|
{ command: 'if [ -d ../cache/vendor/bundle/bundle ] ; then rm -rf ../cache/vendor/bundle/bundle'\
|
198
198
|
' ; else echo No evidence of legacy copy bug ; fi',
|
199
199
|
commentary: 'Fixing legacy copy bug' },
|
200
|
-
{ command: 'if [ -d ../cache/vendor/bundle ] ; then rsync -
|
200
|
+
{ command: 'if [ -d ../cache/vendor/bundle ] ; then rsync -aW --no-compress --delete --info=STATS3'\
|
201
201
|
' ../cache/vendor/bundle/ vendor/bundle ; else echo No bundle to restore ; fi',
|
202
202
|
commentary: 'Attempting to restore bundle from cache' },
|
203
203
|
{ command: 'sudo ln -f `which bundle` /usr/bin/bundle || echo Using default version of bundle',
|
204
204
|
commentary: 'Setting the current version of bundle to be the default' },
|
205
205
|
{ command: 'bundle install --deployment --clean --jobs 2 --without development test',
|
206
206
|
commentary: 'Using bundler to install the required gems in deployment mode' },
|
207
|
-
{ command: 'mkdir -p ../cache/vendor && rsync -
|
207
|
+
{ command: 'mkdir -p ../cache/vendor && rsync -aW --no-compress --delete --info=STATS3'\
|
208
208
|
' vendor/bundle/ ../cache/vendor/bundle',
|
209
209
|
commentary: 'Caching bundle' },
|
210
210
|
{ command: 'if [ -f public/assets/manifest.yml ] ; then echo "Not precompiling assets"'\
|
data/lib/foreplay/version.rb
CHANGED
@@ -113,11 +113,11 @@ describe Foreplay::Deploy do
|
|
113
113
|
'echo " password: TODO Put here the database user\'s password" >> config/database.yml',
|
114
114
|
'if [ -d ../cache/vendor/bundle/bundle ] ; then rm -rf ../cache/vendor/bundle/bundle'\
|
115
115
|
' ; else echo No evidence of legacy copy bug ; fi',
|
116
|
-
'if [ -d ../cache/vendor/bundle ] ; then rsync -
|
116
|
+
'if [ -d ../cache/vendor/bundle ] ; then rsync -aW --no-compress --delete --info=STATS3 ../cache/vendor/bundle/ vendor/bundle'\
|
117
117
|
' ; else echo No bundle to restore ; fi',
|
118
118
|
'sudo ln -f `which bundle` /usr/bin/bundle || echo Using default version of bundle',
|
119
119
|
'bundle install --deployment --clean --jobs 2 --without development test',
|
120
|
-
'mkdir -p ../cache/vendor && rsync -
|
120
|
+
'mkdir -p ../cache/vendor && rsync -aW --no-compress --delete --info=STATS3 vendor/bundle/ ../cache/vendor/bundle',
|
121
121
|
'if [ -f public/assets/manifest.yml ] ; then echo "Not precompiling assets"'\
|
122
122
|
' ; else RAILS_ENV=production bundle exec foreman run rake assets:precompile ; fi',
|
123
123
|
'sudo bundle exec foreman export upstart /etc/init',
|