Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merged some changes from beloved contributors :), bumped version to 1…

….0.10 and added TODO if you ever wonder what to do with your free evening
  • Loading branch information...
commit f3753bb751a366f8b1844c17da80235fe04a986a 1 parent c517aa2
@ncr authored
View
5 History.txt
@@ -1,5 +1,8 @@
-=== Master / 2008-11-06
+
+=== 1.0.10 / 2009-02-07
+
+* Compatibility fixes for Rails 2.2.2. [infused, ovelar, ncr]
* Allow concurrency is deprecated in Rails 2.2 so we check if we can use it. (thanks fixlr).
=== 1.0.9 / 2008-10-22
View
2  Manifest.txt
@@ -28,3 +28,5 @@ lib/background_fu/worker_monitoring.rb
lib/job.rb
lib/job/bonus_features.rb
rails/init.rb
+test/job_test.rb
+test/test_helper.rb
View
2  TODO
@@ -0,0 +1,2 @@
+1. Deprecate daemons and use: http://github.com/kennethkalmer/daemon-kit/
+2. Add a test suite.
View
6 background-fu.gemspec
@@ -1,16 +1,16 @@
Gem::Specification.new do |s|
s.name = %q{background_fu}
- s.version = "1.0.9"
+ s.version = "1.0.10"
s.specification_version = 2 if s.respond_to? :specification_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jacek Becela"]
- s.date = %q{2008-10-22}
+ s.date = %q{2009-02-07}
s.description = %q{Background tasks in Ruby On Rails made dead simple.}
s.email = ["jacek.becela@gmail.com"]
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
- s.files = ["History.txt", "Manifest.txt", "README.txt", "Rakefile", "background-fu.gemspec", "generators/background/USAGE", "generators/background/background_generator.rb", "generators/background/templates/background.rb", "generators/background/templates/background_ctl", "generators/background/templates/daemons", "generators/background/templates/daemons.yml", "generators/background/templates/example_monitored_worker.rb", "generators/background/templates/example_worker.rb", "generators/background/templates/migration.rb", "generators/background/templates/scaffold/_form.html.erb", "generators/background/templates/scaffold/_job.html.erb", "generators/background/templates/scaffold/_job_deleted.html.erb", "generators/background/templates/scaffold/_progress_indicator.html.erb", "generators/background/templates/scaffold/application_controller.rb", "generators/background/templates/scaffold/background_fu.css", "generators/background/templates/scaffold/index.html.erb", "generators/background/templates/scaffold/jobs.html.erb", "generators/background/templates/scaffold/jobs_controller.rb", "generators/background/templates/scaffold/jobs_helper.rb", "generators/background/templates/scaffold/new.html.erb", "lib/background_fu.rb", "lib/background_fu/worker_monitoring.rb", "lib/job.rb", "lib/job/bonus_features.rb", "rails/init.rb"]
+ s.files = ["History.txt", "Manifest.txt", "README.txt", "Rakefile", "background-fu.gemspec", "generators/background/USAGE", "generators/background/background_generator.rb", "generators/background/templates/background.rb", "generators/background/templates/background_ctl", "generators/background/templates/daemons", "generators/background/templates/daemons.yml", "generators/background/templates/example_monitored_worker.rb", "generators/background/templates/example_worker.rb", "generators/background/templates/migration.rb", "generators/background/templates/scaffold/_form.html.erb", "generators/background/templates/scaffold/_job.html.erb", "generators/background/templates/scaffold/_job_deleted.html.erb", "generators/background/templates/scaffold/_progress_indicator.html.erb", "generators/background/templates/scaffold/application_controller.rb", "generators/background/templates/scaffold/background_fu.css", "generators/background/templates/scaffold/index.html.erb", "generators/background/templates/scaffold/jobs.html.erb", "generators/background/templates/scaffold/jobs_controller.rb", "generators/background/templates/scaffold/jobs_helper.rb", "generators/background/templates/scaffold/new.html.erb", "lib/background_fu.rb", "lib/background_fu/worker_monitoring.rb", "lib/job.rb", "lib/job/bonus_features.rb", "rails/init.rb", "test/job_test.rb", "test/test_helper.rb"]
s.has_rdoc = true
s.homepage = %q{http://github.com/ncr/background-fu}
s.rdoc_options = ["--main", "README.txt"]
View
2  lib/background_fu.rb
@@ -1,5 +1,5 @@
module BackgroundFu
- VERSION = "1.0.9"
+ VERSION = "1.0.10"
end
View
2  lib/job.rb
@@ -83,7 +83,7 @@ def self.generate_state_helpers
end
# Job.running => array of running jobs, etc.
- self.class.send!(:define_method, state_name) do
+ self.class.send(:define_method, state_name) do
find_all_by_state(state_name, :order => "id desc")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.