simple_workflow 1.7.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +98 -78
- data/lib/simple_workflow/middleware.rb +1 -1
- data/lib/simple_workflow/version.rb +1 -1
- data/test/middleware_test.rb +1 -0
- data/test/test_helper.rb +0 -4
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4993c8e2332ed3f15e61401f237d0a6ae5ece68f6ec01a7e3ca76768dcecef99
|
4
|
+
data.tar.gz: 4f47b26cc397e2aa98dbb144543e2f014c8d4eb9332ce9479309fc513d01123e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e29e8b81b08ba503a1e9476f8a38f7fb39c79d7c58c62e82865d310e89790c04a07a0d7e633995c5d8066d6eeb379c2fdfcaebf52615be3d9d525c81b06cbf1
|
7
|
+
data.tar.gz: a0f9d242235367349ef8da0af26b438c319c48e4ca8629ecee419d61af5d7f100ac8df92c01b8bef98fa6ddfd44a320b0cc0cd3f6db39fd66f4f64035df7e6ad
|
data/Gemfile.lock
CHANGED
@@ -1,68 +1,81 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
simple_workflow (
|
5
|
-
rails (>= 4.2, <
|
4
|
+
simple_workflow (2.0.0)
|
5
|
+
rails (>= 4.2, < 6.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (
|
11
|
-
actionpack (=
|
10
|
+
actioncable (6.0.2.1)
|
11
|
+
actionpack (= 6.0.2.1)
|
12
12
|
nio4r (~> 2.0)
|
13
13
|
websocket-driver (>= 0.6.1)
|
14
|
-
|
15
|
-
actionpack (=
|
16
|
-
|
17
|
-
|
14
|
+
actionmailbox (6.0.2.1)
|
15
|
+
actionpack (= 6.0.2.1)
|
16
|
+
activejob (= 6.0.2.1)
|
17
|
+
activerecord (= 6.0.2.1)
|
18
|
+
activestorage (= 6.0.2.1)
|
19
|
+
activesupport (= 6.0.2.1)
|
20
|
+
mail (>= 2.7.1)
|
21
|
+
actionmailer (6.0.2.1)
|
22
|
+
actionpack (= 6.0.2.1)
|
23
|
+
actionview (= 6.0.2.1)
|
24
|
+
activejob (= 6.0.2.1)
|
18
25
|
mail (~> 2.5, >= 2.5.4)
|
19
26
|
rails-dom-testing (~> 2.0)
|
20
|
-
actionpack (
|
21
|
-
actionview (=
|
22
|
-
activesupport (=
|
23
|
-
rack (~> 2.0)
|
27
|
+
actionpack (6.0.2.1)
|
28
|
+
actionview (= 6.0.2.1)
|
29
|
+
activesupport (= 6.0.2.1)
|
30
|
+
rack (~> 2.0, >= 2.0.8)
|
24
31
|
rack-test (>= 0.6.3)
|
25
32
|
rails-dom-testing (~> 2.0)
|
26
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
27
|
-
|
28
|
-
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
34
|
+
actiontext (6.0.2.1)
|
35
|
+
actionpack (= 6.0.2.1)
|
36
|
+
activerecord (= 6.0.2.1)
|
37
|
+
activestorage (= 6.0.2.1)
|
38
|
+
activesupport (= 6.0.2.1)
|
39
|
+
nokogiri (>= 1.8.5)
|
40
|
+
actionview (6.0.2.1)
|
41
|
+
activesupport (= 6.0.2.1)
|
29
42
|
builder (~> 3.1)
|
30
43
|
erubi (~> 1.4)
|
31
44
|
rails-dom-testing (~> 2.0)
|
32
|
-
rails-html-sanitizer (~> 1.
|
33
|
-
activejob (
|
34
|
-
activesupport (=
|
45
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
46
|
+
activejob (6.0.2.1)
|
47
|
+
activesupport (= 6.0.2.1)
|
35
48
|
globalid (>= 0.3.6)
|
36
|
-
activemodel (
|
37
|
-
activesupport (=
|
38
|
-
activerecord (
|
39
|
-
activemodel (=
|
40
|
-
activesupport (=
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
activerecord (=
|
49
|
+
activemodel (6.0.2.1)
|
50
|
+
activesupport (= 6.0.2.1)
|
51
|
+
activerecord (6.0.2.1)
|
52
|
+
activemodel (= 6.0.2.1)
|
53
|
+
activesupport (= 6.0.2.1)
|
54
|
+
activestorage (6.0.2.1)
|
55
|
+
actionpack (= 6.0.2.1)
|
56
|
+
activejob (= 6.0.2.1)
|
57
|
+
activerecord (= 6.0.2.1)
|
45
58
|
marcel (~> 0.3.1)
|
46
|
-
activesupport (
|
59
|
+
activesupport (6.0.2.1)
|
47
60
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
48
61
|
i18n (>= 0.7, < 2)
|
49
62
|
minitest (~> 5.1)
|
50
63
|
tzinfo (~> 1.1)
|
64
|
+
zeitwerk (~> 2.2)
|
51
65
|
ansi (1.5.0)
|
52
|
-
arel (9.0.0)
|
53
66
|
ast (2.4.0)
|
54
|
-
builder (3.2.
|
67
|
+
builder (3.2.4)
|
55
68
|
concurrent-ruby (1.1.5)
|
56
|
-
crass (1.0.
|
57
|
-
docile (1.3.
|
58
|
-
erubi (1.
|
69
|
+
crass (1.0.5)
|
70
|
+
docile (1.3.2)
|
71
|
+
erubi (1.9.0)
|
59
72
|
globalid (0.4.2)
|
60
73
|
activesupport (>= 4.2.0)
|
61
|
-
i18n (1.
|
74
|
+
i18n (1.7.0)
|
62
75
|
concurrent-ruby (~> 1.0)
|
63
|
-
jaro_winkler (1.5.
|
64
|
-
json (2.
|
65
|
-
loofah (2.
|
76
|
+
jaro_winkler (1.5.4)
|
77
|
+
json (2.3.0)
|
78
|
+
loofah (2.4.0)
|
66
79
|
crass (~> 1.0.2)
|
67
80
|
nokogiri (>= 1.5.9)
|
68
81
|
mail (2.7.1)
|
@@ -71,79 +84,85 @@ GEM
|
|
71
84
|
mimemagic (~> 0.3.2)
|
72
85
|
method_source (0.9.2)
|
73
86
|
mimemagic (0.3.3)
|
74
|
-
mini_mime (1.0.
|
87
|
+
mini_mime (1.0.2)
|
75
88
|
mini_portile2 (2.4.0)
|
76
|
-
minitest (5.
|
77
|
-
minitest-reporters (1.
|
89
|
+
minitest (5.13.0)
|
90
|
+
minitest-reporters (1.4.2)
|
78
91
|
ansi
|
79
92
|
builder
|
80
93
|
minitest (>= 5.0)
|
81
94
|
ruby-progressbar
|
82
|
-
nio4r (2.
|
83
|
-
nokogiri (1.10.
|
95
|
+
nio4r (2.5.2)
|
96
|
+
nokogiri (1.10.7)
|
84
97
|
mini_portile2 (~> 2.4.0)
|
85
|
-
parallel (1.
|
86
|
-
parser (2.
|
98
|
+
parallel (1.19.1)
|
99
|
+
parser (2.7.0.1)
|
87
100
|
ast (~> 2.4.0)
|
88
|
-
rack (2.0.
|
101
|
+
rack (2.0.8)
|
89
102
|
rack-test (1.1.0)
|
90
103
|
rack (>= 1.0, < 3)
|
91
|
-
rails (
|
92
|
-
actioncable (=
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
104
|
+
rails (6.0.2.1)
|
105
|
+
actioncable (= 6.0.2.1)
|
106
|
+
actionmailbox (= 6.0.2.1)
|
107
|
+
actionmailer (= 6.0.2.1)
|
108
|
+
actionpack (= 6.0.2.1)
|
109
|
+
actiontext (= 6.0.2.1)
|
110
|
+
actionview (= 6.0.2.1)
|
111
|
+
activejob (= 6.0.2.1)
|
112
|
+
activemodel (= 6.0.2.1)
|
113
|
+
activerecord (= 6.0.2.1)
|
114
|
+
activestorage (= 6.0.2.1)
|
115
|
+
activesupport (= 6.0.2.1)
|
101
116
|
bundler (>= 1.3.0)
|
102
|
-
railties (=
|
117
|
+
railties (= 6.0.2.1)
|
103
118
|
sprockets-rails (>= 2.0.0)
|
104
119
|
rails-dom-testing (2.0.3)
|
105
120
|
activesupport (>= 4.2.0)
|
106
121
|
nokogiri (>= 1.6)
|
107
|
-
rails-html-sanitizer (1.0
|
108
|
-
loofah (~> 2.
|
109
|
-
railties (
|
110
|
-
actionpack (=
|
111
|
-
activesupport (=
|
122
|
+
rails-html-sanitizer (1.3.0)
|
123
|
+
loofah (~> 2.3)
|
124
|
+
railties (6.0.2.1)
|
125
|
+
actionpack (= 6.0.2.1)
|
126
|
+
activesupport (= 6.0.2.1)
|
112
127
|
method_source
|
113
128
|
rake (>= 0.8.7)
|
114
|
-
thor (>= 0.
|
129
|
+
thor (>= 0.20.3, < 2.0)
|
115
130
|
rainbow (3.0.0)
|
116
|
-
rake (
|
117
|
-
rubocop (0.
|
131
|
+
rake (13.0.1)
|
132
|
+
rubocop (0.78.0)
|
118
133
|
jaro_winkler (~> 1.5.1)
|
119
134
|
parallel (~> 1.10)
|
120
|
-
parser (>= 2.
|
135
|
+
parser (>= 2.6)
|
121
136
|
rainbow (>= 2.2.2, < 4.0)
|
122
137
|
ruby-progressbar (~> 1.7)
|
123
|
-
unicode-display_width (>= 1.4.0, < 1.
|
124
|
-
rubocop-performance (
|
125
|
-
rubocop (>= 0.
|
126
|
-
|
127
|
-
|
138
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
139
|
+
rubocop-performance (1.5.2)
|
140
|
+
rubocop (>= 0.71.0)
|
141
|
+
rubocop-rails (2.4.1)
|
142
|
+
rack (>= 1.1)
|
143
|
+
rubocop (>= 0.72.0)
|
144
|
+
ruby-progressbar (1.10.1)
|
145
|
+
simplecov (0.17.1)
|
128
146
|
docile (~> 1.1)
|
129
147
|
json (>= 1.8, < 3)
|
130
148
|
simplecov-html (~> 0.10.0)
|
131
149
|
simplecov-html (0.10.2)
|
132
|
-
sprockets (
|
150
|
+
sprockets (4.0.0)
|
133
151
|
concurrent-ruby (~> 1.0)
|
134
152
|
rack (> 1, < 3)
|
135
153
|
sprockets-rails (3.2.1)
|
136
154
|
actionpack (>= 4.0)
|
137
155
|
activesupport (>= 4.0)
|
138
156
|
sprockets (>= 3.0.0)
|
139
|
-
thor (0.
|
157
|
+
thor (1.0.1)
|
140
158
|
thread_safe (0.3.6)
|
141
|
-
tzinfo (1.2.
|
159
|
+
tzinfo (1.2.6)
|
142
160
|
thread_safe (~> 0.1)
|
143
|
-
unicode-display_width (1.
|
144
|
-
websocket-driver (0.7.
|
161
|
+
unicode-display_width (1.6.0)
|
162
|
+
websocket-driver (0.7.1)
|
145
163
|
websocket-extensions (>= 0.1.0)
|
146
|
-
websocket-extensions (0.1.
|
164
|
+
websocket-extensions (0.1.4)
|
165
|
+
zeitwerk (2.2.2)
|
147
166
|
|
148
167
|
PLATFORMS
|
149
168
|
ruby
|
@@ -151,9 +170,10 @@ PLATFORMS
|
|
151
170
|
DEPENDENCIES
|
152
171
|
minitest-reporters (~> 1.0)
|
153
172
|
rubocop (~> 0.49)
|
154
|
-
rubocop-performance (~>
|
173
|
+
rubocop-performance (~> 1.5)
|
174
|
+
rubocop-rails (~> 2.4)
|
155
175
|
simple_workflow!
|
156
176
|
simplecov (~> 0.9)
|
157
177
|
|
158
178
|
BUNDLED WITH
|
159
|
-
1.
|
179
|
+
1.17.3
|
@@ -78,7 +78,7 @@ class SimpleWorkflow::Middleware
|
|
78
78
|
Rails.logger.warn "simple_workflow: session: #{session.to_hash}"
|
79
79
|
end
|
80
80
|
|
81
|
-
if ActionPack::VERSION::MAJOR
|
81
|
+
if ActionPack::VERSION::MAJOR >= 5
|
82
82
|
def serialize_session(cookie_jar, session)
|
83
83
|
cookie_jar.send(:serialize, session)
|
84
84
|
end
|
data/test/middleware_test.rb
CHANGED
@@ -92,6 +92,7 @@ class MiddlewareTest < MiniTest::Test
|
|
92
92
|
|
93
93
|
def env_for(url, opts = {})
|
94
94
|
default_opts = {
|
95
|
+
ActionDispatch::Cookies::COOKIES_ROTATIONS => ActiveSupport::Messages::RotationConfiguration.new,
|
95
96
|
ActionDispatch::Cookies::COOKIES_SERIALIZER => :json,
|
96
97
|
ActionDispatch::Cookies::ENCRYPTED_COOKIE_SALT => 'salt',
|
97
98
|
ActionDispatch::Cookies::ENCRYPTED_SIGNED_COOKIE_SALT => 'signed_salt',
|
data/test/test_helper.rb
CHANGED
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:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uwe Kubosch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '4.2'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '6.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '4.2'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: minitest-reporters
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +64,28 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
67
|
+
version: '1.5'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
74
|
+
version: '1.5'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rubocop-rails
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '2.4'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '2.4'
|
75
89
|
- !ruby/object:Gem::Dependency
|
76
90
|
name: simplecov
|
77
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,7 +136,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
122
136
|
requirements:
|
123
137
|
- - "~>"
|
124
138
|
- !ruby/object:Gem::Version
|
125
|
-
version: '2.
|
139
|
+
version: '2.5'
|
126
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
141
|
requirements:
|
128
142
|
- - ">="
|