foreplay 0.6.0 → 0.7.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: b7ea912d964e8739bbc47f12b5e7e8af8412de4d
4
- data.tar.gz: 4b6549c8b798076018f4666baeb2fe30c2da0012
3
+ metadata.gz: e3f9aff01fa7dd340b29e6b571e3bfddf438b4b3
4
+ data.tar.gz: 778ea56a90bf7a857ae6b295c82908f73024cc2a
5
5
  SHA512:
6
- metadata.gz: b9f95cbc6f08acfe5dcaff62282bb007c741eb9cb2a1ac4521d9939a428664565596379220038e05d1dbf3f34e9b790366364bda621cbfd378476719cb48bd78
7
- data.tar.gz: f804ec1bf034d722705886df6b75d0a236bebc69640a61ced31a40b70eb9e568e1d7616cf16bd210185034862fcb545dc6124448b1a4c8170fccf63f45876be3
6
+ metadata.gz: 2a217030959dfa535ce15c68f54093047e58e1538bafb75d32bbff8fb5ad427c4aa819220726a048d1455a0acf48aaf9e1f4ae00dbd91c6c261b1c33170978e1
7
+ data.tar.gz: bd00d25bf9f1116a6d475e82bc02a09eb48df104bdb682e3976e3f0c4b82b40baec1c76e501863eca51dd0c7226e12340750f8600660bbff0bbee87a75321a48
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: 284
36
+ Max: 283
37
37
 
38
38
  Output:
39
39
  Description: 'Checks for calls to puts, print, etc.'
@@ -164,6 +164,8 @@ 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" },
167
169
  { command: "cd #{current_port} && mkdir -p tmp doc log config",
168
170
  commentary: 'If you have a .rvmrc file there may be a delay now while we install a new ruby' },
169
171
  { command: 'if [ -f .ruby-version ] ; then rvm install `cat .ruby-version` ; '\
@@ -190,17 +192,14 @@ module Foreplay
190
192
  commentary: 'Building config/resque.yml',
191
193
  before: environment,
192
194
  path: 'config/' },
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'\
195
+ { command: 'if [ -d ../cache/vendor/bundle ] ; then cp -rf ../cache/vendor/bundle vendor/bundle'\
197
196
  ' ; else echo No bundle to restore ; fi',
198
197
  commentary: 'Attempting to restore bundle from cache' },
199
198
  { command: 'sudo ln -f `which bundle` /usr/bin/bundle || echo Using default version of bundle',
200
199
  commentary: 'Setting the current version of bundle to be the default' },
201
200
  { command: 'bundle install --deployment --clean --jobs 2 --without development test',
202
201
  commentary: 'Using bundler to install the required gems in deployment mode' },
203
- { command: 'mkdir -p ../cache/vendor && rsync -av --no-compress vendor/bundle/ ../cache/vendor/bundle',
202
+ { command: 'mkdir -p ../cache/vendor && cp -rf vendor/bundle ../cache/vendor/bundle',
204
203
  commentary: 'Caching bundle' },
205
204
  { command: 'if [ -f public/assets/manifest.yml ] ; then echo "Not precompiling assets"'\
206
205
  " ; else RAILS_ENV=#{environment} bundle exec foreman run rake assets:precompile ; fi",
@@ -1,3 +1,3 @@
1
1
  module Foreplay
2
- VERSION = '0.6.0'
2
+ VERSION = '0.7.0'
3
3
  end
@@ -111,13 +111,11 @@ 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/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'\
114
+ 'if [ -d ../cache/vendor/bundle ] ; then cp -rf ../cache/vendor/bundle vendor/bundle'\
117
115
  ' ; else echo No bundle to restore ; fi',
118
116
  'sudo ln -f `which bundle` /usr/bin/bundle || echo Using default version of bundle',
119
117
  'bundle install --deployment --clean --jobs 2 --without development test',
120
- 'mkdir -p ../cache/vendor && rsync -av --no-compress vendor/bundle/ ../cache/vendor/bundle',
118
+ 'mkdir -p ../cache/vendor && cp -rf vendor/bundle ../cache/vendor/bundle',
121
119
  'if [ -f public/assets/manifest.yml ] ; then echo "Not precompiling assets"'\
122
120
  ' ; else RAILS_ENV=production bundle exec foreman run rake assets:precompile ; fi',
123
121
  '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.6.0
4
+ version: 0.7.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-10-08 00:00:00.000000000 Z
11
+ date: 2014-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport