dtsato-pipeline 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,7 +1,24 @@
1
+ 0.0.3
2
+ =====
3
+
4
+ Bug Fix:
5
+ * Autoloading delayed_job to avoid hardcoded dependency to collectiveidea's fork
6
+
7
+ Known Issue:
8
+ * Rails' tests/specs will only work if delayed_job is installed as a gem, rather than a plugin. Need to investigate further...
9
+
10
+ 0.0.2
11
+ =====
12
+
13
+ Bug Fix:
14
+ * Bundling migrations on generator to avoid timestamp clashing
15
+
1
16
  0.0.1
2
17
  =====
3
18
 
4
- Initial Release:
19
+ Initial Release
20
+
21
+ Features:
5
22
  * Execution of sequential user-defined stages in an asynchronous pipeline
6
23
  * Persistence of pipeline instances and stages
7
24
  * Error recovery strategies:
data/README.rdoc CHANGED
@@ -14,11 +14,14 @@ Pipeline is a Rails plugin/gem to run asynchronous processes in a configurable p
14
14
  * Recoverable errors that require user input pause the pipeline for further retry
15
15
  * Cancelling of a paused pipeline
16
16
 
17
+ Known Issues:
18
+ * Rails' tests/specs will only work if delayed_job is installed as a gem, rather than a plugin.
19
+
17
20
  == Installation
18
21
 
19
22
  Add the following lines to your config/environment.rb file:
20
23
 
21
- config.gem "pipeline", :version => ">= 0.0.2"
24
+ config.gem "pipeline", :version => ">= 0.0.3"
22
25
 
23
26
  Run the following:
24
27
 
data/TODO ADDED
@@ -0,0 +1,12 @@
1
+ * Allow delayed_job to be used as a plugin, as well as a gem
2
+ * Add examples of view display
3
+ * view helpers?
4
+ * Improve documentation (RDoc)
5
+ * Adapter for other persistence frameworks (ActiveModel?)
6
+ * Adapter for other background processing mechanisms (currently relying on dj's auto-retry)
7
+
8
+ Think more about:
9
+ - Repeated code on status handling on pipeline instance/pipeline stage
10
+ - Composite for nesting stages? (is that useful?)
11
+ - Can I cancel a stage/pipeline that's in progress?
12
+ - Pausing a stage?
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/lib/pipeline.rb CHANGED
@@ -1,6 +1,4 @@
1
- require 'rubygems'
2
- require 'activerecord'
3
- gem 'collectiveidea-delayed_job'
1
+ autoload :ActiveRecord, 'activerecord'
4
2
  autoload :Delayed, 'delayed_job'
5
3
 
6
4
  $: << File.dirname(__FILE__)
data/pipeline.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{pipeline}
5
- s.version = "0.0.2"
5
+ s.version = "0.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Danilo Sato"]
9
- s.date = %q{2009-07-30}
9
+ s.date = %q{2009-07-31}
10
10
  s.description = %q{Pipeline is a Rails plugin/gem to run asynchronous processes in a configurable pipeline.}
11
11
  s.email = %q{danilo@dtsato.com}
12
12
  s.extra_rdoc_files = [
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  "LICENSE",
19
19
  "README.rdoc",
20
20
  "Rakefile",
21
+ "TODO",
21
22
  "VERSION",
22
23
  "examples/auto_recoverable_pipeline.rb",
23
24
  "examples/cancelling_pipeline.rb",
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,7 @@
1
+ require 'rubygems'
1
2
  require 'spec'
3
+ gem 'activerecord'
4
+ gem 'collectiveidea-delayed_job'
2
5
 
3
6
  require File.join(File.dirname(__FILE__), '..', 'init')
4
7
  require File.join(File.dirname(__FILE__), 'database_integration_helper')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtsato-pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Sato
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-30 00:00:00 -07:00
12
+ date: 2009-07-31 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -46,6 +46,7 @@ files:
46
46
  - LICENSE
47
47
  - README.rdoc
48
48
  - Rakefile
49
+ - TODO
49
50
  - VERSION
50
51
  - examples/auto_recoverable_pipeline.rb
51
52
  - examples/cancelling_pipeline.rb