workless 0.0.2 → 0.0.3

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.
@@ -1,4 +1,4 @@
1
- = workless
1
+ h1. Workless
2
2
 
3
3
  This is an addon for delayed_job (2.1.0.pre2) http://github.com/collectiveidea/delayed_job/tree/v2.1.0.pre2
4
4
  It is designed to be used when you're using Heroku as a host and have the need to do background work with delayed job but you dont want to leave the workers running all the time as it costs money.
@@ -9,14 +9,15 @@ There are already a few of these out there, notably @mtravers' cheepnis http://g
9
9
 
10
10
  This one takes bits from both and is helping me understand gem and plugin development. It's built for rails 3 on the delayed_job 2.1.0.pre2 tag but don't see why it wouldn't work on rails 2 as well as it hooks into the callbacks of the Delayed::Job ActiveRecord class to turn workers on and off based on the creation and destruction of jobs.
11
11
 
12
- == installation
12
+ h2. Installation
13
13
 
14
14
  Add the gem to your Gemfile
15
+
15
16
  <pre>
16
17
  gem "workless"
17
18
  </pre>
18
19
 
19
- == Note on Patches/Pull Requests
20
+ h2. Note on Patches/Pull Requests
20
21
 
21
22
  * Fork the project.
22
23
  * Make your feature addition or bug fix.
@@ -26,6 +27,6 @@ gem "workless"
26
27
  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
27
28
  * Send me a pull request. Bonus points for topic branches.
28
29
 
29
- == Copyright
30
+ h2. Copyright
30
31
 
31
32
  Copyright (c) 2010 lostboy. See LICENSE for details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -23,7 +23,7 @@ module Delayed
23
23
  private
24
24
 
25
25
  def client
26
- @client ||= Heroku::Client.new(ENV['HEROKU_USER'], ENV['HEROKU_PASSWORD'])
26
+ @client ||= ::Heroku::Client.new(ENV['HEROKU_USER'], ENV['HEROKU_PASSWORD'])
27
27
  end
28
28
 
29
29
  end
data/workless.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{workless}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["lostboy"]
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.email = %q{paul.crabtree@gmail.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.rdoc"
17
+ "README.textile"
18
18
  ]
19
19
  s.files = [
20
20
  ".bundle/config",
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  "Gemfile",
25
25
  "Gemfile.lock",
26
26
  "LICENSE",
27
- "README.rdoc",
27
+ "README.textile",
28
28
  "Rakefile",
29
29
  "VERSION",
30
30
  "lib/workless.rb",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - lostboy
@@ -99,7 +99,7 @@ extensions: []
99
99
 
100
100
  extra_rdoc_files:
101
101
  - LICENSE
102
- - README.rdoc
102
+ - README.textile
103
103
  files:
104
104
  - .bundle/config
105
105
  - .document
@@ -108,7 +108,7 @@ files:
108
108
  - Gemfile
109
109
  - Gemfile.lock
110
110
  - LICENSE
111
- - README.rdoc
111
+ - README.textile
112
112
  - Rakefile
113
113
  - VERSION
114
114
  - lib/workless.rb