pipeline 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/CHANGELOG +14 -0
- data/README.rdoc +31 -9
- data/Rakefile +3 -1
- data/TODO +1 -2
- data/VERSION +1 -1
- data/generators/pipeline/templates/migration.rb +3 -0
- data/lib/pipeline.rb +2 -1
- data/lib/pipeline/api_methods.rb +15 -1
- data/lib/pipeline/base.rb +204 -13
- data/lib/pipeline/core_ext/symbol_attribute.rb +16 -2
- data/lib/pipeline/core_ext/transactional_attribute.rb +18 -1
- data/lib/pipeline/errors.rb +18 -2
- data/lib/pipeline/stage/base.rb +141 -8
- data/pipeline.gemspec +13 -6
- data/spec/database_integration_helper.rb +1 -0
- data/spec/models.rb +72 -0
- data/spec/pipeline/api_methods_spec.rb +5 -4
- data/spec/pipeline/base_spec.rb +119 -80
- data/spec/pipeline/core_ext/symbol_attribute_spec.rb +1 -1
- data/spec/pipeline/core_ext/transactional_attribute_spec.rb +1 -1
- data/spec/pipeline/errors_spec.rb +1 -1
- data/spec/pipeline/stage/base_spec.rb +103 -88
- data/spec/spec_helper.rb +2 -0
- metadata +7 -4
data/spec/spec_helper.rb
CHANGED
@@ -6,6 +6,8 @@ gem 'collectiveidea-delayed_job'
|
|
6
6
|
require File.join(File.dirname(__FILE__), '..', 'init')
|
7
7
|
require File.join(File.dirname(__FILE__), 'database_integration_helper')
|
8
8
|
|
9
|
+
require File.join(File.dirname(__FILE__), 'models')
|
10
|
+
|
9
11
|
ActiveRecord::Base.logger = Logger.new('pipeline.log')
|
10
12
|
|
11
13
|
at_exit do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipeline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
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-
|
12
|
+
date: 2009-12-14 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
version: "2.0"
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
26
|
+
name: delayed_job
|
27
27
|
type: :runtime
|
28
28
|
version_requirement:
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- lib/pipeline/stage/base.rb
|
66
66
|
- pipeline.gemspec
|
67
67
|
- spec/database_integration_helper.rb
|
68
|
+
- spec/models.rb
|
68
69
|
- spec/pipeline/api_methods_spec.rb
|
69
70
|
- spec/pipeline/base_spec.rb
|
70
71
|
- spec/pipeline/core_ext/symbol_attribute_spec.rb
|
@@ -101,12 +102,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
102
|
requirements: []
|
102
103
|
|
103
104
|
rubyforge_project: pipeline
|
104
|
-
rubygems_version: 1.3.
|
105
|
+
rubygems_version: 1.3.5
|
105
106
|
signing_key:
|
106
107
|
specification_version: 3
|
107
108
|
summary: A Rails plugin/gem to run asynchronous processes in a configurable pipeline
|
108
109
|
test_files:
|
109
110
|
- spec/database_integration_helper.rb
|
111
|
+
- spec/models.rb
|
110
112
|
- spec/pipeline/api_methods_spec.rb
|
111
113
|
- spec/pipeline/base_spec.rb
|
112
114
|
- spec/pipeline/core_ext/symbol_attribute_spec.rb
|
@@ -117,6 +119,7 @@ test_files:
|
|
117
119
|
- spec/spec.opts
|
118
120
|
- spec/spec_helper.rb
|
119
121
|
- spec/database_integration_helper.rb
|
122
|
+
- spec/models.rb
|
120
123
|
- spec/rcov.opts
|
121
124
|
- spec/spec.opts
|
122
125
|
- spec/spec_helper.rb
|