foreplay 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.hound.yml +1 -1
- data/lib/foreplay/deploy.rb +3 -0
- data/lib/foreplay/version.rb +1 -1
- data/spec/lib/foreplay/deploy_spec.rb +2 -0
- 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: e3187104553d8ec5acea46ca3aa6fd8c9695174a
|
4
|
+
data.tar.gz: 15c976fdb6594a9f46621c80e08ce72dc537df96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 268a3cedc7be52aa8d68d0e772098ed3d9fbb4e43ec39d3772ff667dc21fb57b5c85ec7296c4dfe86388f25640018a5b57ce4cbf89bb6fa108ab79c9a139f200
|
7
|
+
data.tar.gz: fdf9753862a96cbaccf1c07719392754865a9488abefab793a9d7bbc9cdd09a0872396a6ca0d740dc8bbc35c85f20e2df2b061f5d0de6240e2229005830c817b
|
data/.hound.yml
CHANGED
data/lib/foreplay/deploy.rb
CHANGED
@@ -190,6 +190,9 @@ module Foreplay
|
|
190
190
|
commentary: 'Setting the current version of bundle to be the default' },
|
191
191
|
{ command: 'bundle install --deployment --without development test',
|
192
192
|
commentary: 'Using bundler to install the required gems in deployment mode' },
|
193
|
+
{ command: 'if [ -f public/assets/manifest.yml ] ; then echo "Not precompiling assets"'\
|
194
|
+
" ; else RAILS_ENV=#{environment} bundle exec rake assets:precompile ; fi",
|
195
|
+
commentary: 'Precompiling assets unless they were supplied' },
|
193
196
|
{ command: 'sudo bundle exec foreman export upstart /etc/init',
|
194
197
|
commentary: "Converting #{current_service} to an upstart service" },
|
195
198
|
{ command: "sudo start #{current_service} || sudo restart #{current_service}",
|
data/lib/foreplay/version.rb
CHANGED
@@ -109,6 +109,8 @@ describe Foreplay::Deploy do
|
|
109
109
|
'echo " password: TODO Put here the database user\'s password" >> config/database.yml',
|
110
110
|
'sudo ln -f `which bundle` /usr/bin/bundle || echo Using default version of bundle',
|
111
111
|
'bundle install --deployment --without development test',
|
112
|
+
'if [ -f public/assets/manifest.yml ] ; then echo "Not precompiling assets"'\
|
113
|
+
' ; else RAILS_ENV=production bundle exec rake assets:precompile ; fi',
|
112
114
|
'sudo bundle exec foreman export upstart /etc/init',
|
113
115
|
'sudo start foreplay-50000 || sudo restart foreplay-50000',
|
114
116
|
'mkdir -p .foreplay/foreplay && touch .foreplay/foreplay/current_port && cat .foreplay/foreplay/current_port',
|
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.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xenapto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|