vlad-daemon_kit 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG.rdoc +6 -0
  2. data/lib/vlad/daemon_kit.rb +4 -4
  3. metadata +1 -1
@@ -1,3 +1,9 @@
1
+ === 1.1.2 / 2009-11-09
2
+
3
+ * 1 bug fix
4
+
5
+ * arguments were the wrong way around! (blush)
6
+
1
7
  === 1.1.1 / 2009-11-09
2
8
 
3
9
  * 1 minor bug fix
@@ -1,7 +1,7 @@
1
1
  require 'vlad'
2
2
 
3
3
  class Vlad::DaemonKit
4
- VERSION = '1.1.1'
4
+ VERSION = '1.1.2'
5
5
 
6
6
  set :mkdirs, 'tmp'
7
7
  set :shared_paths, { 'log' => 'log' }
@@ -12,19 +12,19 @@ class Vlad::DaemonKit
12
12
  desc "Run the daemon in the foreground"
13
13
  remote_task(:run_app, :extra_args, {:roles => :app}) do |task, args|
14
14
  extra_args = args[:extra_args]
15
- run "cd #{current_path} && bin/#{application} -e #{environment} #{arguments.join(' ')} #{extra_args} run"
15
+ run "cd #{current_path} && bin/#{application} run -e #{environment} #{arguments.join(' ')} #{extra_args}"
16
16
  end
17
17
 
18
18
  desc "Start the daemon"
19
19
  remote_task(:start_app, :extra_args, {:roles => :app}) do |task, args|
20
20
  extra_args = args[:extra_args]
21
- run "cd #{current_path} && bin/#{application} -e #{environment} #{arguments.join(' ')} #{extra_args} start"
21
+ run "cd #{current_path} && bin/#{application} start -e #{environment} #{arguments.join(' ')} #{extra_args}"
22
22
  end
23
23
  Rake::Task['vlad:start_app'].enhance %w(vlad:stop_app)
24
24
 
25
25
  desc "Stop the daemon"
26
26
  remote_task :stop_app, :roles => :app do
27
- run "cd #{current_path} && bin/#{application} -e #{environment} stop"
27
+ run "cd #{current_path} && bin/#{application} stop -e #{environment}"
28
28
  end
29
29
 
30
30
  desc "Run script/console on the remove"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vlad-daemon_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Tucker