rails_workflow 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxim Madzhuga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-29 00:00:00.000000000 Z
11
+ date: 2015-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -271,17 +271,12 @@ files:
271
271
  - app/workers/rails_workflow/operation_worker.rb
272
272
  - config/initializers/rails_workflow.rb
273
273
  - config/routes.rb
274
- - db/migrate/20150123172243_create_workflow_wf_processes.rb
275
- - db/migrate/20150202091139_add_type_to_operation_template.rb
276
- - db/migrate/20150206192702_add_type_to_process_templates.rb
277
- - db/migrate/20150207181058_add_resolved_to_error.rb
278
- - db/migrate/20150210070051_change_namespace.rb
279
- - db/migrate/20150215164401_add_partial_name_to_context.rb
280
- - db/migrate/20150217161051_change_dependencies_to_json.rb
281
- - db/migrate/20150629171932_create_workflow_processes.rb
274
+ - db/migrate/20150630174700_create_workflow_processes.rb
282
275
  - lib/generators/rails_workflow/install/install_generator.rb
283
276
  - lib/generators/rails_workflow/install/templates/create_workflow_processes.rb
284
277
  - lib/rails_workflow.rb
278
+ - lib/rails_workflow/db/mysql.rb
279
+ - lib/rails_workflow/db/pg.rb
285
280
  - lib/rails_workflow/engine.rb
286
281
  - lib/rails_workflow/version.rb
287
282
  - lib/tasks/rails_workflow_tasks.rake
@@ -561,7 +556,6 @@ files:
561
556
  - spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
562
557
  - spec/dummy/tmp/cache/assets/test/sprockets/ed8747bd8403d8326150bf2aff6e7098
563
558
  - spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
564
- - spec/dummy/tmp/pids/server.pid
565
559
  - spec/factories/context.rb
566
560
  - spec/factories/operation_templates.rb
567
561
  - spec/factories/operations.rb
@@ -884,7 +878,6 @@ test_files:
884
878
  - spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
885
879
  - spec/dummy/tmp/cache/assets/test/sprockets/ed8747bd8403d8326150bf2aff6e7098
886
880
  - spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
887
- - spec/dummy/tmp/pids/server.pid
888
881
  - spec/factories/context.rb
889
882
  - spec/factories/operation_templates.rb
890
883
  - spec/factories/operations.rb
@@ -1,88 +0,0 @@
1
- class CreateWorkflowWfProcesses < ActiveRecord::Migration
2
- def change
3
- create_table :workflow_processes do |t|
4
- t.integer :status
5
- t.boolean :async
6
- t.string :title
7
-
8
- t.timestamps
9
- end
10
-
11
- create_table :workflow_operations do |t|
12
- t.integer :status
13
- t.boolean :async
14
- t.string :title
15
-
16
- t.timestamps
17
- end
18
-
19
- create_table :workflow_process_templates do |t|
20
- t.string :title
21
- t.text :source
22
- t.string :manager_class
23
- t.string :process_class
24
-
25
- t.timestamps
26
- end
27
-
28
- create_table :workflow_operation_templates do |t|
29
- t.string :title
30
- t.text :source
31
- t.text :dependencies
32
- t.string :operation_class
33
- t.integer :process_template_id
34
- t.timestamps
35
- end
36
-
37
-
38
- add_column :workflow_processes, :template_id, :integer
39
- add_column :workflow_processes, :type, :string
40
- add_column :workflow_operations, :process_id, :integer
41
- add_column :workflow_operations, :template_id, :integer
42
- add_column :workflow_operation_templates, :async, :boolean
43
- add_column :workflow_operations, :dependencies, :text
44
- add_column :workflow_operation_templates, :child_process_id, :integer
45
- add_column :workflow_operations, :child_process_id, :integer
46
-
47
- add_column :workflow_operation_templates, :assignment_id, :integer
48
- add_column :workflow_operation_templates, :assignment_type, :string
49
-
50
- add_column :workflow_operations, :assignment_id, :integer
51
- add_column :workflow_operations, :assignment_type, :string
52
- add_column :workflow_operations, :assigned_at, :datetime
53
-
54
- add_column :workflow_operation_templates, :kind, :string
55
-
56
- add_column :workflow_operation_templates, :role, :string
57
- add_column :workflow_operation_templates, :group, :string
58
-
59
- add_column :workflow_operations, :type, :string
60
- add_column :workflow_operations, :is_active, :boolean
61
- add_column :workflow_operation_templates, :instruction, :text
62
-
63
- create_table :workflow_contexts do |t|
64
- t.integer :parent_id
65
- t.string :parent_type
66
- t.json :body
67
-
68
- t.timestamps
69
- end
70
-
71
- add_index :workflow_contexts, [:parent_id, :parent_type]
72
-
73
- create_table :workflow_errors do |t|
74
- t.string :message
75
- t.text :stack_trace
76
- t.integer :parent_id
77
- t.string :parent_type
78
-
79
- t.timestamps
80
- end
81
-
82
- add_column :workflow_operations, :completed_at, :datetime
83
- add_column :workflow_operation_templates, :is_background, :boolean, default: true
84
- add_column :workflow_operations, :is_background, :boolean
85
-
86
-
87
- end
88
- end
@@ -1,5 +0,0 @@
1
- class AddTypeToOperationTemplate < ActiveRecord::Migration
2
- def change
3
- add_column :workflow_operation_templates, :type, :string
4
- end
5
- end
@@ -1,5 +0,0 @@
1
- class AddTypeToProcessTemplates < ActiveRecord::Migration
2
- def change
3
- add_column :workflow_process_templates, :type, :string
4
- end
5
- end
@@ -1,5 +0,0 @@
1
- class AddResolvedToError < ActiveRecord::Migration
2
- def change
3
- add_column :workflow_errors, :resolved, :boolean
4
- end
5
- end
@@ -1,10 +0,0 @@
1
- class ChangeNamespace < ActiveRecord::Migration
2
- def change
3
- rename_table :workflow_processes, :rails_workflow_processes
4
- rename_table :workflow_operations, :rails_workflow_operations
5
- rename_table :workflow_process_templates, :rails_workflow_process_templates
6
- rename_table :workflow_operation_templates, :rails_workflow_operation_templates
7
- rename_table :workflow_contexts, :rails_workflow_contexts
8
- rename_table :workflow_errors, :rails_workflow_errors
9
- end
10
- end
@@ -1,6 +0,0 @@
1
- class AddPartialNameToContext < ActiveRecord::Migration
2
- def change
3
- add_column :rails_workflow_operation_templates, :partial_name, :string
4
- add_column :rails_workflow_process_templates, :partial_name, :string
5
- end
6
- end
@@ -1,6 +0,0 @@
1
- class ChangeDependenciesToJson < ActiveRecord::Migration
2
- def change
3
- change_column :rails_workflow_operation_templates, :dependencies, 'JSON USING dependencies::JSON'
4
- change_column :rails_workflow_operations, :dependencies, 'JSON USING dependencies::JSON'
5
- end
6
- end
@@ -1 +0,0 @@
1
- 31902