foreplay 0.0.4 → 0.0.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.
- data/lib/foreplay/deploy.rb +1 -1
- data/lib/foreplay/version.rb +1 -1
- data/spec/lib/foreplay/deploy_spec.rb +1 -1
- metadata +4 -4
data/lib/foreplay/deploy.rb
CHANGED
|
@@ -154,7 +154,7 @@ module Foreplay
|
|
|
154
154
|
:path => 'config/' },
|
|
155
155
|
{ :command => 'bundle install --deployment --without development test',
|
|
156
156
|
:commentary => 'Using bundler to install the required gems in deployment mode' },
|
|
157
|
-
{ :command => 'sudo ln -f `which foreman` /usr/bin/foreman',
|
|
157
|
+
{ :command => 'sudo ln -f `which foreman` /usr/bin/foreman || echo Using default version of foreman',
|
|
158
158
|
:commentary => 'Setting the current version of foreman to be the default' },
|
|
159
159
|
{ :command => 'sudo foreman export upstart /etc/init',
|
|
160
160
|
:commentary => "Converting #{current_service} to an upstart service" },
|
data/lib/foreplay/version.rb
CHANGED
|
@@ -84,7 +84,7 @@ describe Foreplay::Deploy do
|
|
|
84
84
|
'echo " username: TODO Put here the database user" >> config/database.yml',
|
|
85
85
|
'echo " password: TODO Put here the database user\'s password" >> config/database.yml',
|
|
86
86
|
'bundle install --deployment --without development test',
|
|
87
|
-
'sudo ln -f `which foreman` /usr/bin/foreman',
|
|
87
|
+
'sudo ln -f `which foreman` /usr/bin/foreman || echo Using default version of foreman',
|
|
88
88
|
'sudo foreman export upstart /etc/init',
|
|
89
89
|
'sudo start foreplay-50000 || sudo restart foreplay-50000',
|
|
90
90
|
'sleep 60',
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreplay
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-11-
|
|
12
|
+
date: 2013-11-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -250,7 +250,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
250
250
|
version: '0'
|
|
251
251
|
segments:
|
|
252
252
|
- 0
|
|
253
|
-
hash:
|
|
253
|
+
hash: 3647688978766977844
|
|
254
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
255
255
|
none: false
|
|
256
256
|
requirements:
|
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
259
259
|
version: '0'
|
|
260
260
|
segments:
|
|
261
261
|
- 0
|
|
262
|
-
hash:
|
|
262
|
+
hash: 3647688978766977844
|
|
263
263
|
requirements: []
|
|
264
264
|
rubyforge_project:
|
|
265
265
|
rubygems_version: 1.8.25
|