simple_workflow 1.7.0 → 2.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9556a1a400f0f30cb7c5618ebbdc193bd8b4ba6d2c475d6a4cb5fa51503a52cf
4
- data.tar.gz: 7b678c66af66a9b40339e5015342b4ce499167e9fdbb9bf032ff096918d42c4a
3
+ metadata.gz: 4993c8e2332ed3f15e61401f237d0a6ae5ece68f6ec01a7e3ca76768dcecef99
4
+ data.tar.gz: 4f47b26cc397e2aa98dbb144543e2f014c8d4eb9332ce9479309fc513d01123e
5
5
  SHA512:
6
- metadata.gz: dac5db9584a5647d1d0203295f6b98ff8e3faf0db5d74ef29d44f7b34be2a2aaf1cfc5b902008d7c9aba4bc4a72fbd4224145b616d43dac90758355ed944785a
7
- data.tar.gz: 761c0799055db90e0b6834a092cb55a8deda18dc11ca5fec9091d1c8c81cea459328002b438e10f869d5be9e4d8d24bc6fd12ee69c5baecbba2d2967736dd689
6
+ metadata.gz: 2e29e8b81b08ba503a1e9476f8a38f7fb39c79d7c58c62e82865d310e89790c04a07a0d7e633995c5d8066d6eeb379c2fdfcaebf52615be3d9d525c81b06cbf1
7
+ data.tar.gz: a0f9d242235367349ef8da0af26b438c319c48e4ca8629ecee419d61af5d7f100ac8df92c01b8bef98fa6ddfd44a320b0cc0cd3f6db39fd66f4f64035df7e6ad
@@ -1,68 +1,81 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_workflow (1.7.0)
5
- rails (>= 4.2, < 5.3)
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 (5.2.3)
11
- actionpack (= 5.2.3)
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
- actionmailer (5.2.3)
15
- actionpack (= 5.2.3)
16
- actionview (= 5.2.3)
17
- activejob (= 5.2.3)
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 (5.2.3)
21
- actionview (= 5.2.3)
22
- activesupport (= 5.2.3)
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.2)
27
- actionview (5.2.3)
28
- activesupport (= 5.2.3)
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.0, >= 1.0.3)
33
- activejob (5.2.3)
34
- activesupport (= 5.2.3)
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 (5.2.3)
37
- activesupport (= 5.2.3)
38
- activerecord (5.2.3)
39
- activemodel (= 5.2.3)
40
- activesupport (= 5.2.3)
41
- arel (>= 9.0)
42
- activestorage (5.2.3)
43
- actionpack (= 5.2.3)
44
- activerecord (= 5.2.3)
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 (5.2.3)
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.3)
67
+ builder (3.2.4)
55
68
  concurrent-ruby (1.1.5)
56
- crass (1.0.4)
57
- docile (1.3.1)
58
- erubi (1.8.0)
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.6.0)
74
+ i18n (1.7.0)
62
75
  concurrent-ruby (~> 1.0)
63
- jaro_winkler (1.5.2)
64
- json (2.2.0)
65
- loofah (2.2.3)
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.1)
87
+ mini_mime (1.0.2)
75
88
  mini_portile2 (2.4.0)
76
- minitest (5.11.3)
77
- minitest-reporters (1.3.6)
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.3.1)
83
- nokogiri (1.10.3)
95
+ nio4r (2.5.2)
96
+ nokogiri (1.10.7)
84
97
  mini_portile2 (~> 2.4.0)
85
- parallel (1.17.0)
86
- parser (2.6.3.0)
98
+ parallel (1.19.1)
99
+ parser (2.7.0.1)
87
100
  ast (~> 2.4.0)
88
- rack (2.0.7)
101
+ rack (2.0.8)
89
102
  rack-test (1.1.0)
90
103
  rack (>= 1.0, < 3)
91
- rails (5.2.3)
92
- actioncable (= 5.2.3)
93
- actionmailer (= 5.2.3)
94
- actionpack (= 5.2.3)
95
- actionview (= 5.2.3)
96
- activejob (= 5.2.3)
97
- activemodel (= 5.2.3)
98
- activerecord (= 5.2.3)
99
- activestorage (= 5.2.3)
100
- activesupport (= 5.2.3)
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 (= 5.2.3)
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.4)
108
- loofah (~> 2.2, >= 2.2.2)
109
- railties (5.2.3)
110
- actionpack (= 5.2.3)
111
- activesupport (= 5.2.3)
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.19.0, < 2.0)
129
+ thor (>= 0.20.3, < 2.0)
115
130
  rainbow (3.0.0)
116
- rake (12.3.2)
117
- rubocop (0.68.1)
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.5, != 2.5.1.1)
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.6)
124
- rubocop-performance (0.0.1)
125
- rubocop (>= 0.58.0)
126
- ruby-progressbar (1.10.0)
127
- simplecov (0.16.1)
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 (3.7.2)
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.20.3)
157
+ thor (1.0.1)
140
158
  thread_safe (0.3.6)
141
- tzinfo (1.2.5)
159
+ tzinfo (1.2.6)
142
160
  thread_safe (~> 0.1)
143
- unicode-display_width (1.5.0)
144
- websocket-driver (0.7.0)
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.3)
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 (~> 0.0)
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.16.6
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 == 5
81
+ if ActionPack::VERSION::MAJOR >= 5
82
82
  def serialize_session(cookie_jar, session)
83
83
  cookie_jar.send(:serialize, session)
84
84
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleWorkflow
4
- VERSION = '1.7.0'
4
+ VERSION = '2.0.0'
5
5
  end
@@ -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',
@@ -13,8 +13,4 @@ MiniTest::Reporters.use!
13
13
  require 'rails'
14
14
  require 'simple_workflow'
15
15
 
16
- if Gem::Requirement.new('~>4.2') =~ Gem::Version.new(Rails.version)
17
- ActiveSupport::TestCase.test_order = :random
18
- end
19
-
20
16
  FileUtils.mkdir_p File.expand_path '../log', __dir__
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.7.0
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: 2019-05-02 00:00:00.000000000 Z
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: '5.3'
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: '5.3'
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: '0.0'
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: '0.0'
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.3'
139
+ version: '2.5'
126
140
  required_rubygems_version: !ruby/object:Gem::Requirement
127
141
  requirements:
128
142
  - - ">="