foreplay 0.3.2 → 0.3.3

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: 07ca709d761446e72d95b0447ca9787610cd9b6a
4
- data.tar.gz: 8defdaceb7903d960183454f01ce53c374e316bb
3
+ metadata.gz: 207af9d2a22a8bb5a7f2df432d8a179468b6727e
4
+ data.tar.gz: 840106d3966ec43f626b2b3670563b4c64dc44df
5
5
  SHA512:
6
- metadata.gz: 0acd3b667a835c3890d7a3f6fc09b2dab89576530cca186cc97d841b07fb7f7a22f1c87383682c064cf410291e05dc459676e4e99febfb153181ce55410b976e
7
- data.tar.gz: e55599a8b60030d874e5b42dcb73ff4aedf55eb2cba38bbbe3be32ade02502badc805b35bd3b249f16327d5060e60212d5ea76a37a081fa3640fedfbe53e46e3
6
+ metadata.gz: 2c14bd7f8917e52d7670908f354ec3321b5d3dd50e5dcc57252f8cd9c437f5cdfe909dd5a73707a76cd6e20dc572f37f8f924f47bf7ab665f53d5dac074e4ad2
7
+ data.tar.gz: 3c9002e159c18567745953c910332ae5ccd6c11117190c08e04d32e0570654cc6e014696e3af228e2b0f53e1013e0224420f1191b5d70af35cefd399d599ea83
@@ -155,7 +155,7 @@ module Foreplay
155
155
  steps = [
156
156
  { command: "mkdir -p #{path} && cd #{path} && rm -rf #{current_port} "\
157
157
  "&& git clone -b #{branch} #{repository} #{current_port}",
158
- commentary: "Cloning repository #{repository}" },
158
+ commentary: "Cloning #{branch} branch of repository #{repository}" },
159
159
  { command: "rvm rvmrc trust #{current_port}",
160
160
  commentary: 'Trusting the .rvmrc file for the new instance' },
161
161
  { command: "rvm rvmrc warning ignore #{current_port}",
@@ -188,9 +188,7 @@ module Foreplay
188
188
  path: 'config/' },
189
189
  { command: 'bundle install --deployment --without development test',
190
190
  commentary: 'Using bundler to install the required gems in deployment mode' },
191
- { command: 'sudo ln -f `which foreman` /usr/bin/foreman || echo Using default version of foreman',
192
- commentary: 'Setting the current version of foreman to be the default' },
193
- { command: 'sudo foreman export upstart /etc/init',
191
+ { command: 'sudo bundle exec foreman export upstart /etc/init',
194
192
  commentary: "Converting #{current_service} to an upstart service" },
195
193
  { command: "sudo start #{current_service} || sudo restart #{current_service}",
196
194
  commentary: 'Starting the service',
@@ -1,3 +1,3 @@
1
1
  module Foreplay
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
@@ -108,8 +108,7 @@ describe Foreplay::Deploy do
108
108
  'echo " username: TODO Put here the database user" >> config/database.yml',
109
109
  'echo " password: TODO Put here the database user\'s password" >> config/database.yml',
110
110
  'bundle install --deployment --without development test',
111
- 'sudo ln -f `which foreman` /usr/bin/foreman || echo Using default version of foreman',
112
- 'sudo foreman export upstart /etc/init',
111
+ 'sudo bundle exec foreman export upstart /etc/init',
113
112
  'sudo start foreplay-50000 || sudo restart foreplay-50000',
114
113
  'mkdir -p .foreplay/foreplay && touch .foreplay/foreplay/current_port && cat .foreplay/foreplay/current_port',
115
114
  'echo 50000 > $HOME/.foreplay/foreplay/current_port',
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.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xenapto