foreplay 0.5.4 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 268b5eef91268a778b58b440b097564b0754cf16
4
- data.tar.gz: ac5510c9b3d8317df6112b2cb3e4078379a4503c
3
+ metadata.gz: b7ea912d964e8739bbc47f12b5e7e8af8412de4d
4
+ data.tar.gz: 4b6549c8b798076018f4666baeb2fe30c2da0012
5
5
  SHA512:
6
- metadata.gz: 0be767e6941bf59faddbfb86a91b616663b72408456547471a1e47c463b021d4d2dbb3b5c13aa2cd0f3463e60a130bd2e2740ea18f7a9f261f6bba6722f670d7
7
- data.tar.gz: 8b521c091d90d80dfaa43750655f40b03ace00cf9f26204a0412231ba7a8fbf5025bb6f6d5bfc89bea25073db746663a234cb58338049e79521328e0900cd712
6
+ metadata.gz: b9f95cbc6f08acfe5dcaff62282bb007c741eb9cb2a1ac4521d9939a428664565596379220038e05d1dbf3f34e9b790366364bda621cbfd378476719cb48bd78
7
+ data.tar.gz: f804ec1bf034d722705886df6b75d0a236bebc69640a61ced31a40b70eb9e568e1d7616cf16bd210185034862fcb545dc6124448b1a4c8170fccf63f45876be3
data/.hound.yml CHANGED
@@ -33,7 +33,7 @@ CyclomaticComplexity:
33
33
  ClassLength:
34
34
  Description: 'Avoid classes longer than 100 lines of code.'
35
35
  CountComments: false # count full line comments?
36
- Max: 283
36
+ Max: 284
37
37
 
38
38
  Output:
39
39
  Description: 'Checks for calls to puts, print, etc.'
@@ -164,8 +164,6 @@ module Foreplay
164
164
  commentary: 'Trusting the .rvmrc file for the new instance' },
165
165
  { command: "rvm rvmrc warning ignore #{current_port}",
166
166
  commentary: 'Ignoring the .rvmrc warning for the new instance' },
167
- { command: 'gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3',
168
- commentary: "Trusting RVM's public key" },
169
167
  { command: "cd #{current_port} && mkdir -p tmp doc log config",
170
168
  commentary: 'If you have a .rvmrc file there may be a delay now while we install a new ruby' },
171
169
  { command: 'if [ -f .ruby-version ] ; then rvm install `cat .ruby-version` ; '\
@@ -192,14 +190,17 @@ module Foreplay
192
190
  commentary: 'Building config/resque.yml',
193
191
  before: environment,
194
192
  path: 'config/' },
195
- { command: 'if [ -d ../cache/vendor/bundle ] ; then cp -rf ../cache/vendor/bundle vendor/bundle'\
193
+ { command: 'if [ -d ../cache/vendor/bundle/bundle ] ; then rm -rf ../cache/vendor/bundle/bundle'\
194
+ ' ; else echo No evidence of legacy copy bug ; fi',
195
+ commentary: 'Fixing legacy copy bug' },
196
+ { command: 'if [ -d ../cache/vendor/bundle ] ; then rsync -aW --no-compress ../cache/vendor/bundle/ vendor/bundle'\
196
197
  ' ; else echo No bundle to restore ; fi',
197
198
  commentary: 'Attempting to restore bundle from cache' },
198
199
  { command: 'sudo ln -f `which bundle` /usr/bin/bundle || echo Using default version of bundle',
199
200
  commentary: 'Setting the current version of bundle to be the default' },
200
201
  { command: 'bundle install --deployment --clean --jobs 2 --without development test',
201
202
  commentary: 'Using bundler to install the required gems in deployment mode' },
202
- { command: 'mkdir -p ../cache/vendor && cp -rf vendor/bundle ../cache/vendor/bundle',
203
+ { command: 'mkdir -p ../cache/vendor && rsync -av --no-compress vendor/bundle/ ../cache/vendor/bundle',
203
204
  commentary: 'Caching bundle' },
204
205
  { command: 'if [ -f public/assets/manifest.yml ] ; then echo "Not precompiling assets"'\
205
206
  " ; else RAILS_ENV=#{environment} bundle exec foreman run rake assets:precompile ; fi",
@@ -1,3 +1,3 @@
1
1
  module Foreplay
2
- VERSION = '0.5.4'
2
+ VERSION = '0.6.0'
3
3
  end
@@ -111,11 +111,13 @@ describe Foreplay::Deploy do
111
111
  'echo " host: TODO Put here the database host name" >> config/database.yml',
112
112
  'echo " username: TODO Put here the database user" >> config/database.yml',
113
113
  'echo " password: TODO Put here the database user\'s password" >> config/database.yml',
114
- 'if [ -d ../cache/vendor/bundle ] ; then cp -rf ../cache/vendor/bundle vendor/bundle'\
114
+ 'if [ -d ../cache/vendor/bundle/bundle ] ; then rm -rf ../cache/vendor/bundle/bundle'\
115
+ ' ; else echo No evidence of legacy copy bug ; fi',
116
+ 'if [ -d ../cache/vendor/bundle ] ; then rsync -aW --no-compress ../cache/vendor/bundle/ vendor/bundle'\
115
117
  ' ; else echo No bundle to restore ; fi',
116
118
  'sudo ln -f `which bundle` /usr/bin/bundle || echo Using default version of bundle',
117
119
  'bundle install --deployment --clean --jobs 2 --without development test',
118
- 'mkdir -p ../cache/vendor && cp -rf vendor/bundle ../cache/vendor/bundle',
120
+ 'mkdir -p ../cache/vendor && rsync -av --no-compress vendor/bundle/ ../cache/vendor/bundle',
119
121
  'if [ -f public/assets/manifest.yml ] ; then echo "Not precompiling assets"'\
120
122
  ' ; else RAILS_ENV=production bundle exec foreman run rake assets:precompile ; fi',
121
123
  'sudo bundle exec foreman export upstart /etc/init',
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreplay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xenapto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-18 00:00:00.000000000 Z
11
+ date: 2014-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport