simple_workflow 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +46 -46
- data/lib/simple_workflow/railtie.rb +10 -0
- data/lib/simple_workflow/version.rb +1 -1
- data/lib/simple_workflow.rb +0 -16
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b56544da20bd9c70a907f7c26984a8096a19815
|
|
4
|
+
data.tar.gz: b831978ff7e307ea68e7fda534039cb28537e92d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6c77fba67d0f3f07170597a46fae3707dc5ff8e641ef88e12f2b6c53056cc773000cfa0530a11af6cd242cb4817a6b976c5049069135c23675c95a48ecc0ea6
|
|
7
|
+
data.tar.gz: 7d45af00d7e6f9f1b5901286c7c61d59123c68f35c93d1fdeeacd0929e92f46b13336834768433b711ac5183289a3f44784a274501b57d88f4e3a9c2abadde9b
|
data/Gemfile.lock
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
simple_workflow (1.3.
|
|
4
|
+
simple_workflow (1.3.4)
|
|
5
5
|
rails (>= 4, < 5.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
actioncable (5.0.
|
|
11
|
-
actionpack (= 5.0.
|
|
10
|
+
actioncable (5.0.3)
|
|
11
|
+
actionpack (= 5.0.3)
|
|
12
12
|
nio4r (>= 1.2, < 3.0)
|
|
13
13
|
websocket-driver (~> 0.6.1)
|
|
14
|
-
actionmailer (5.0.
|
|
15
|
-
actionpack (= 5.0.
|
|
16
|
-
actionview (= 5.0.
|
|
17
|
-
activejob (= 5.0.
|
|
14
|
+
actionmailer (5.0.3)
|
|
15
|
+
actionpack (= 5.0.3)
|
|
16
|
+
actionview (= 5.0.3)
|
|
17
|
+
activejob (= 5.0.3)
|
|
18
18
|
mail (~> 2.5, >= 2.5.4)
|
|
19
19
|
rails-dom-testing (~> 2.0)
|
|
20
|
-
actionpack (5.0.
|
|
21
|
-
actionview (= 5.0.
|
|
22
|
-
activesupport (= 5.0.
|
|
20
|
+
actionpack (5.0.3)
|
|
21
|
+
actionview (= 5.0.3)
|
|
22
|
+
activesupport (= 5.0.3)
|
|
23
23
|
rack (~> 2.0)
|
|
24
24
|
rack-test (~> 0.6.3)
|
|
25
25
|
rails-dom-testing (~> 2.0)
|
|
26
26
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
27
|
-
actionview (5.0.
|
|
28
|
-
activesupport (= 5.0.
|
|
27
|
+
actionview (5.0.3)
|
|
28
|
+
activesupport (= 5.0.3)
|
|
29
29
|
builder (~> 3.1)
|
|
30
30
|
erubis (~> 2.7.0)
|
|
31
31
|
rails-dom-testing (~> 2.0)
|
|
32
32
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
33
|
-
activejob (5.0.
|
|
34
|
-
activesupport (= 5.0.
|
|
33
|
+
activejob (5.0.3)
|
|
34
|
+
activesupport (= 5.0.3)
|
|
35
35
|
globalid (>= 0.3.6)
|
|
36
|
-
activemodel (5.0.
|
|
37
|
-
activesupport (= 5.0.
|
|
38
|
-
activerecord (5.0.
|
|
39
|
-
activemodel (= 5.0.
|
|
40
|
-
activesupport (= 5.0.
|
|
36
|
+
activemodel (5.0.3)
|
|
37
|
+
activesupport (= 5.0.3)
|
|
38
|
+
activerecord (5.0.3)
|
|
39
|
+
activemodel (= 5.0.3)
|
|
40
|
+
activesupport (= 5.0.3)
|
|
41
41
|
arel (~> 7.0)
|
|
42
|
-
activesupport (5.0.
|
|
42
|
+
activesupport (5.0.3)
|
|
43
43
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
44
44
|
i18n (~> 0.7)
|
|
45
45
|
minitest (~> 5.1)
|
|
@@ -51,54 +51,54 @@ GEM
|
|
|
51
51
|
concurrent-ruby (1.0.5)
|
|
52
52
|
docile (1.1.5)
|
|
53
53
|
erubis (2.7.0)
|
|
54
|
-
globalid (0.
|
|
55
|
-
activesupport (>= 4.
|
|
56
|
-
i18n (0.8.
|
|
54
|
+
globalid (0.4.0)
|
|
55
|
+
activesupport (>= 4.2.0)
|
|
56
|
+
i18n (0.8.4)
|
|
57
57
|
json (2.0.3)
|
|
58
58
|
loofah (2.0.3)
|
|
59
59
|
nokogiri (>= 1.5.9)
|
|
60
|
-
mail (2.6.
|
|
60
|
+
mail (2.6.6)
|
|
61
61
|
mime-types (>= 1.16, < 4)
|
|
62
62
|
method_source (0.8.2)
|
|
63
63
|
mime-types (3.1)
|
|
64
64
|
mime-types-data (~> 3.2015)
|
|
65
65
|
mime-types-data (3.2016.0521)
|
|
66
|
-
mini_portile2 (2.
|
|
66
|
+
mini_portile2 (2.2.0)
|
|
67
67
|
minitest (5.10.1)
|
|
68
68
|
minitest-reporters (1.1.14)
|
|
69
69
|
ansi
|
|
70
70
|
builder
|
|
71
71
|
minitest (>= 5.0)
|
|
72
72
|
ruby-progressbar
|
|
73
|
-
nio4r (2.
|
|
74
|
-
nokogiri (1.
|
|
75
|
-
mini_portile2 (~> 2.
|
|
73
|
+
nio4r (2.1.0)
|
|
74
|
+
nokogiri (1.8.0)
|
|
75
|
+
mini_portile2 (~> 2.2.0)
|
|
76
76
|
parser (2.4.0.0)
|
|
77
77
|
ast (~> 2.2)
|
|
78
78
|
powerpack (0.1.1)
|
|
79
|
-
rack (2.0.
|
|
79
|
+
rack (2.0.3)
|
|
80
80
|
rack-test (0.6.3)
|
|
81
81
|
rack (>= 1.0)
|
|
82
|
-
rails (5.0.
|
|
83
|
-
actioncable (= 5.0.
|
|
84
|
-
actionmailer (= 5.0.
|
|
85
|
-
actionpack (= 5.0.
|
|
86
|
-
actionview (= 5.0.
|
|
87
|
-
activejob (= 5.0.
|
|
88
|
-
activemodel (= 5.0.
|
|
89
|
-
activerecord (= 5.0.
|
|
90
|
-
activesupport (= 5.0.
|
|
82
|
+
rails (5.0.3)
|
|
83
|
+
actioncable (= 5.0.3)
|
|
84
|
+
actionmailer (= 5.0.3)
|
|
85
|
+
actionpack (= 5.0.3)
|
|
86
|
+
actionview (= 5.0.3)
|
|
87
|
+
activejob (= 5.0.3)
|
|
88
|
+
activemodel (= 5.0.3)
|
|
89
|
+
activerecord (= 5.0.3)
|
|
90
|
+
activesupport (= 5.0.3)
|
|
91
91
|
bundler (>= 1.3.0, < 2.0)
|
|
92
|
-
railties (= 5.0.
|
|
92
|
+
railties (= 5.0.3)
|
|
93
93
|
sprockets-rails (>= 2.0.0)
|
|
94
|
-
rails-dom-testing (2.0.
|
|
95
|
-
activesupport (>= 4.2.0
|
|
96
|
-
nokogiri (
|
|
94
|
+
rails-dom-testing (2.0.3)
|
|
95
|
+
activesupport (>= 4.2.0)
|
|
96
|
+
nokogiri (>= 1.6)
|
|
97
97
|
rails-html-sanitizer (1.0.3)
|
|
98
98
|
loofah (~> 2.0)
|
|
99
|
-
railties (5.0.
|
|
100
|
-
actionpack (= 5.0.
|
|
101
|
-
activesupport (= 5.0.
|
|
99
|
+
railties (5.0.3)
|
|
100
|
+
actionpack (= 5.0.3)
|
|
101
|
+
activesupport (= 5.0.3)
|
|
102
102
|
method_source
|
|
103
103
|
rake (>= 0.8.7)
|
|
104
104
|
thor (>= 0.18.1, < 2.0)
|
|
@@ -142,4 +142,4 @@ DEPENDENCIES
|
|
|
142
142
|
simplecov (~> 0.9)
|
|
143
143
|
|
|
144
144
|
BUNDLED WITH
|
|
145
|
-
1.
|
|
145
|
+
1.15.1
|
|
@@ -3,6 +3,16 @@ module SimpleWorkflow
|
|
|
3
3
|
class Railtie < Rails::Railtie
|
|
4
4
|
initializer 'SimpleWorkflow.configure_rails_initialization' do |app|
|
|
5
5
|
app.middleware.insert_before ActionDispatch::Flash, SimpleWorkflow::Middleware
|
|
6
|
+
|
|
7
|
+
# Make workflow test utility methods available in views
|
|
8
|
+
ApplicationHelper.send :include, SimpleWorkflow::Helper
|
|
9
|
+
|
|
10
|
+
# Make workflow test utility methods available in controllers
|
|
11
|
+
ActionController::Base.send :include, SimpleWorkflow::Helper
|
|
12
|
+
ActionController::Base.send :include, SimpleWorkflow::Controller
|
|
13
|
+
|
|
14
|
+
# Make workflow test utility methods available in ActiveSupport test cases
|
|
15
|
+
ActiveSupport::TestCase.send :include, SimpleWorkflow::TestHelper
|
|
6
16
|
end
|
|
7
17
|
end
|
|
8
18
|
end
|
data/lib/simple_workflow.rb
CHANGED
|
@@ -11,19 +11,3 @@ require 'simple_workflow/controller'
|
|
|
11
11
|
require 'simple_workflow/test_helper'
|
|
12
12
|
require 'simple_workflow/middleware'
|
|
13
13
|
require 'simple_workflow/railtie'
|
|
14
|
-
|
|
15
|
-
# Make workflow test utility methods available in views
|
|
16
|
-
module ApplicationHelper
|
|
17
|
-
include SimpleWorkflow::Helper
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
# Make workflow test utility methods available in controllers
|
|
21
|
-
class ActionController::Base
|
|
22
|
-
include SimpleWorkflow::Helper
|
|
23
|
-
include SimpleWorkflow::Controller
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
# Make workflow test utility methods available in ActiveSupport test cases
|
|
27
|
-
class ActiveSupport::TestCase
|
|
28
|
-
include SimpleWorkflow::TestHelper
|
|
29
|
-
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple_workflow
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Uwe Kubosch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-06-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|