guard-delayed 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.0.9 (2011-06-22)
2
+
3
+ * Fixed argument passing to the start script
4
+ * Cleaned up some documentation.
5
+
1
6
  ## 0.0.8 (2011-05-24)
2
7
 
3
8
  * Changed template to include :environment => 'development'
data/README.markdown CHANGED
@@ -33,13 +33,24 @@ being active.
33
33
 
34
34
  ## Development
35
35
 
36
- * Source hosted at [GitHub](http://github.com/suranyami/guard-delayed)
37
- * Report issues/Questions/Feature requests on [GitHub Issues](http://github.com/suranyami/guard-delayed/issues)
36
+ * Source hosted at [GitHub](http://github.com/suranyami/guard-delayed)
37
+ * Report issues/Questions/Feature requests on [GitHub Issues](http://github.com/suranyami/guard-delayed/issues)
38
38
 
39
39
  Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change
40
40
  you make.
41
41
 
42
- == Authors
42
+ ## Building and deploying gem
43
+
44
+ * Update the version number in `lib/guard/delayed/version.rb`
45
+ * Update `CHANGELOG.md`
46
+ * Build the gem:
47
+
48
+ gem build guard-delayed.gemspec
49
+
50
+ *
51
+
52
+
53
+ ## Authors
43
54
 
44
55
  [David Parry](http://github.com/suranyami)
45
56
 
data/lib/guard/delayed.rb CHANGED
@@ -9,10 +9,10 @@ module Guard
9
9
  # :min_priority e.g. 2
10
10
  # :max_priority e.g. 10
11
11
  # :number_of_workers e.g. 2
12
- # :pid_dir e.g. tmp/pids Specifies an alternate directory in which to store the process ids.
13
- # :identifier A numeric identifier for the worker.
12
+ # :pid_dir e.g. tmp/pids Specifies an alternate directory in which to store the process ids.
13
+ # :identifier A numeric identifier for the worker.
14
14
  # :monitor Start monitor process.
15
- # :sleep-delay N Amount of time to sleep when no jobs are found
15
+ # :sleep-delay N Amount of time to sleep in seconds when no jobs are found
16
16
  # :prefix NAME String to be prefixed to worker process names
17
17
 
18
18
  def initialize(watchers = [], options = {})
@@ -33,7 +33,7 @@ module Guard
33
33
  args << "--monitor " if @options[:monitor]
34
34
  args << "--sleep-delay #{@options[:sleep_delay]} " if @options[:sleep_delay]
35
35
  args << "--prefix #{@options[:prefix]} " if @options[:prefix]
36
- system('script/delayed_job', 'start')
36
+ system('script/delayed_job', args)
37
37
  end
38
38
 
39
39
  # Called on Ctrl-C signal (when Guard quits)
@@ -45,7 +45,7 @@ module Guard
45
45
  # Called on Ctrl-Z signal
46
46
  # This method should be mainly used for "reload" (really!) actions like reloading passenger/spork/bundler/...
47
47
  def reload
48
- UI.info "Stopping delayed_job..."
48
+ UI.info "Restarting delayed_job..."
49
49
  restart
50
50
  end
51
51
 
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module DelayedVersion
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-delayed
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
5
- prerelease: false
4
+ hash: 13
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Parry
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-24 00:00:00 +10:00
19
- default_executable:
18
+ date: 2011-06-22 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: guard
@@ -134,7 +133,6 @@ files:
134
133
  - lib/guard/delayed/version.rb
135
134
  - spec/guard/delayed_spec.rb
136
135
  - spec/spec_helper.rb
137
- has_rdoc: true
138
136
  homepage: http://rubygems.org/gems/guard-delayed
139
137
  licenses: []
140
138
 
@@ -166,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
164
  requirements: []
167
165
 
168
166
  rubyforge_project: guard-delayed
169
- rubygems_version: 1.3.7
167
+ rubygems_version: 1.8.5
170
168
  signing_key:
171
169
  specification_version: 3
172
170
  summary: guard gem for delayed_job