vlad-daemon_kit 1.1.0 → 1.1.1

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 +3 -2
  3. metadata +2 -2
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.1.1 / 2009-11-09
2
+
3
+ * 1 minor bug fix
4
+
5
+ * fix bug caused by use of rake args and dependencies in single task definition
6
+
1
7
  === 1.1.0 / 2009-11-04
2
8
 
3
9
  * 3 enhancements
@@ -1,7 +1,7 @@
1
1
  require 'vlad'
2
2
 
3
3
  class Vlad::DaemonKit
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
 
6
6
  set :mkdirs, 'tmp'
7
7
  set :shared_paths, { 'log' => 'log' }
@@ -16,10 +16,11 @@ class Vlad::DaemonKit
16
16
  end
17
17
 
18
18
  desc "Start the daemon"
19
- remote_task({:start_app => :stop_app}, :extra_args, {:roles => :app}) do |task, args|
19
+ remote_task(:start_app, :extra_args, {:roles => :app}) do |task, args|
20
20
  extra_args = args[:extra_args]
21
21
  run "cd #{current_path} && bin/#{application} -e #{environment} #{arguments.join(' ')} #{extra_args} start"
22
22
  end
23
+ Rake::Task['vlad:start_app'].enhance %w(vlad:stop_app)
23
24
 
24
25
  desc "Stop the daemon"
25
26
  remote_task :stop_app, :roles => :app do
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.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Tucker
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-04 00:00:00 +00:00
12
+ date: 2009-11-09 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency