ncr-background_fu 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ === 1.0.4 / 1008-05-28
2
+
3
+ * GitHub is now generating a gem. [ncr]
4
+ * Making sure that it will work as a plugin when installed as a gem. [ncr]
5
+
1
6
  === 1.0.2 / 2008-05-27
2
7
 
3
8
  * Fiddling with gemspec to make it work on GitHub. [ncr]
data/Manifest.txt CHANGED
@@ -20,8 +20,8 @@ generators/background/templates/scaffold/index.html.erb
20
20
  generators/background/templates/scaffold/jobs.html.erb
21
21
  generators/background/templates/scaffold/jobs_controller.rb
22
22
  generators/background/templates/scaffold/jobs_helper.rb
23
- init.rb
24
23
  lib/background_fu.rb
25
24
  lib/background_fu/worker_monitoring.rb
26
25
  lib/job.rb
27
26
  lib/job/bonus_features.rb
27
+ rails/init.rb
@@ -0,0 +1,23 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = %q{background_fu}
3
+ s.version = "1.0.4"
4
+
5
+ s.specification_version = 2 if s.respond_to? :specification_version=
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Jacek Becela"]
9
+ s.date = %q{2008-05-28}
10
+ s.description = %q{Background tasks in Ruby On Rails made dead simple.}
11
+ s.email = ["jacek.becela@gmail.com"]
12
+ s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
13
+ 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/_job.html.erb", "generators/background/templates/scaffold/_job_deleted.html.erb", "generators/background/templates/scaffold/_progress_indicator.html.erb", "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", "lib/background_fu.rb", "lib/background_fu/worker_monitoring.rb", "lib/job.rb", "lib/job/bonus_features.rb", "rails/init.rb"]
14
+ s.has_rdoc = true
15
+ s.homepage = %q{http://github.com/ncr/background-fu}
16
+ s.rdoc_options = ["--main", "README.txt"]
17
+ s.require_paths = ["lib"]
18
+ s.rubyforge_project = %q{background-fu}
19
+ s.rubygems_version = %q{1.1.1}
20
+ s.summary = %q{Background tasks in Ruby On Rails made dead simple.}
21
+
22
+ s.add_dependency(%q<daemons>, [">= 1.0.10"])
23
+ end
@@ -0,0 +1,8 @@
1
+ # Simple, non-monitored worker.
2
+ class ExampleWorker
3
+
4
+ def add(a, b)
5
+ a + b
6
+ end
7
+
8
+ end
data/lib/background_fu.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module BackgroundFu
2
2
 
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.4"
4
4
 
5
5
  end
@@ -1,5 +1,10 @@
1
+ require 'background_fu'
2
+ require 'background_fu/worker_monitoring'
3
+ require 'job'
4
+
1
5
  Dependencies.load_paths << "#{RAILS_ROOT}/lib/workers"
2
6
 
3
7
  if ActiveRecord::Base.allow_concurrency
8
+ require 'job/bonus_features'
4
9
  Job.send!(:include, Job::BonusFeatures)
5
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ncr-background_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacek Becela
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-05-27 00:00:00 -07:00
12
+ date: 2008-05-28 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirements:
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.0.9
22
+ version: 1.0.10
23
23
  version:
24
24
  description: Background tasks in Ruby On Rails made dead simple.
25
25
  email:
@@ -28,13 +28,16 @@ executables: []
28
28
 
29
29
  extensions: []
30
30
 
31
- extra_rdoc_files: []
32
-
31
+ extra_rdoc_files:
32
+ - History.txt
33
+ - Manifest.txt
34
+ - README.txt
33
35
  files:
34
36
  - History.txt
35
37
  - Manifest.txt
36
38
  - README.txt
37
39
  - Rakefile
40
+ - background-fu.gemspec
38
41
  - generators/background/USAGE
39
42
  - generators/background/background_generator.rb
40
43
  - generators/background/templates/background.rb
@@ -52,16 +55,17 @@ files:
52
55
  - generators/background/templates/scaffold/jobs.html.erb
53
56
  - generators/background/templates/scaffold/jobs_controller.rb
54
57
  - generators/background/templates/scaffold/jobs_helper.rb
55
- - init.rb
56
58
  - lib/background_fu.rb
57
59
  - lib/background_fu/worker_monitoring.rb
58
60
  - lib/job.rb
59
61
  - lib/job/bonus_features.rb
60
- has_rdoc: false
62
+ - rails/init.rb
63
+ has_rdoc: true
61
64
  homepage: http://github.com/ncr/background-fu
62
65
  post_install_message:
63
- rdoc_options: []
64
-
66
+ rdoc_options:
67
+ - --main
68
+ - README.txt
65
69
  require_paths:
66
70
  - lib
67
71
  required_ruby_version: !ruby/object:Gem::Requirement