foreplay 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dcbca2bf63654d78d2cdf528733477fee020f96
4
- data.tar.gz: 19ff47ee0a537a7f1e1935d5e91c95fd43d2231c
3
+ metadata.gz: e3187104553d8ec5acea46ca3aa6fd8c9695174a
4
+ data.tar.gz: 15c976fdb6594a9f46621c80e08ce72dc537df96
5
5
  SHA512:
6
- metadata.gz: b23f47bddebe80d7523143fd570e661b910de5ca303b6a47d8487bcbbd12c64dd57e15e845ce5401c93103a68f1ca6de4037e467764ea0199f3b587a8aa9378f
7
- data.tar.gz: 885d93213b21d90fb7e1b1217907069085d592b44469e21974bedf2275bcec92e6f6bb169643594b2ad8978373109cba1a22b7d65df0959de813ae5f6494f7c2
6
+ metadata.gz: 268a3cedc7be52aa8d68d0e772098ed3d9fbb4e43ec39d3772ff667dc21fb57b5c85ec7296c4dfe86388f25640018a5b57ce4cbf89bb6fa108ab79c9a139f200
7
+ data.tar.gz: fdf9753862a96cbaccf1c07719392754865a9488abefab793a9d7bbc9cdd09a0872396a6ca0d740dc8bbc35c85f20e2df2b061f5d0de6240e2229005830c817b
data/.hound.yml CHANGED
@@ -33,4 +33,4 @@ 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: 272
36
+ Max: 273
@@ -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}",
@@ -1,3 +1,3 @@
1
1
  module Foreplay
2
- VERSION = '0.3.4'
2
+ VERSION = '0.3.5'
3
3
  end
@@ -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
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 00:00:00.000000000 Z
11
+ date: 2014-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport