spreewald 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +3 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +18 -0
- data/Gemfile.lock +1 -1
- data/Gemfile.ruby245.lock +1 -1
- data/Gemfile.ruby300 +12 -0
- data/Gemfile.ruby300.lock +108 -0
- data/Rakefile +2 -2
- data/lib/spreewald/browser_tab_steps.rb +1 -1
- data/lib/spreewald_support/version.rb +1 -1
- data/tests/rails-4_capybara-2/Gemfile.lock +2 -2
- data/tests/rails-6_capybara-3/.ruby-version +1 -1
- data/tests/rails-6_capybara-3/Gemfile +4 -2
- data/tests/rails-6_capybara-3/Gemfile.lock +176 -142
- data/tests/rails-6_capybara-3/config.ru +1 -0
- data/tests/rails-6_capybara-3/config/cucumber.yml +1 -1
- data/tests/rails-6_capybara-3/config/environments/development.rb +21 -3
- data/tests/rails-6_capybara-3/config/environments/test.rb +12 -1
- data/tests/rails-6_capybara-3/config/initializers/backtrace_silencers.rb +4 -3
- data/tests/rails-6_capybara-3/config/initializers/filter_parameter_logging.rb +3 -1
- data/tests/rails-6_capybara-3/config/initializers/new_framework_defaults_6_1.rb +67 -0
- data/tests/rails-6_capybara-3/config/initializers/permissions_policy.rb +11 -0
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06fe5aa45812c755a6f7b875be6fd48a9c17e134a059aaec4f18d7777f4e88ca
|
4
|
+
data.tar.gz: 5612118b301015088b9b9702aaf77d5b1e140ae03e785d2ad840c7bc5805c3d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39507ac68849f59b244bfe7555654aba0b8371d62fdfbb70dcf186713b2458b300a47a05c66c3f6b78183d35313914df60c2b2197ec0ba688f1b82d01fec34cd
|
7
|
+
data.tar.gz: a6f5033b9f9d952c7fed05fd38ec6a2e6b72c6ad1e7eadae2311491ff0342ce84afe60015ec81b950a4b04fbe01597e277deec95a929da32b2eadaf4e5f5c4c3
|
data/.github/workflows/test.yml
CHANGED
@@ -17,13 +17,15 @@ jobs:
|
|
17
17
|
# Test projects
|
18
18
|
- ruby: 2.4.5
|
19
19
|
gemfile: tests/rails-4_capybara-2/Gemfile
|
20
|
-
- ruby:
|
20
|
+
- ruby: 3.0.0
|
21
21
|
gemfile: tests/rails-6_capybara-3/Gemfile
|
22
22
|
# Used to run rspec and integration tests for spreewald binary:
|
23
23
|
- ruby: 2.4.5
|
24
24
|
gemfile: Gemfile.ruby245
|
25
25
|
- ruby: 2.6.6
|
26
26
|
gemfile: Gemfile.ruby266
|
27
|
+
- ruby: 3.0.0
|
28
|
+
gemfile: Gemfile.ruby300
|
27
29
|
env:
|
28
30
|
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
|
29
31
|
steps:
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.0
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
5
5
|
|
6
|
+
## 4.1.1
|
7
|
+
- The step `I open .. in a new browser tab` is now using the `noopener` option (see issue [#174])
|
8
|
+
|
9
|
+
## 4.1.0
|
10
|
+
|
11
|
+
- New steps:
|
12
|
+
- When ... inside the ... iframe
|
13
|
+
|
14
|
+
- New steps only available for Capybara 3+:
|
15
|
+
- When I switch to the ... iframe
|
16
|
+
- When I switch back to the whole page
|
17
|
+
- The I switch back to the whole page step does not work reliably with Capybara 2 and lead to StaleReferenceErrors, therefore we decided to not make these steps available for Capybara 2.
|
18
|
+
|
19
|
+
- Small improvements:
|
20
|
+
- Trying to match against unsupported email headers will raise an error. Supported headers are "To", "CC", "BCC", "From", "Reply-To", "Subject", "Attachments"
|
21
|
+
- It's now possible to have indented header lines in email steps.
|
22
|
+
- If there's not an explicit text part in a mail, Spreewald determines if the email body is HTML or plaintext and converts it to plaintext accordingly.
|
23
|
+
|
6
24
|
## 4.0.0
|
7
25
|
|
8
26
|
- Dropped support for capybara 1, Ruby 2.1 and Rails 3.2.
|
data/Gemfile.lock
CHANGED
data/Gemfile.ruby245.lock
CHANGED
data/Gemfile.ruby300
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
activesupport (6.1.3.1)
|
5
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
|
+
i18n (>= 1.6, < 2)
|
7
|
+
minitest (>= 5.1)
|
8
|
+
tzinfo (~> 2.0)
|
9
|
+
zeitwerk (~> 2.3)
|
10
|
+
aruba (1.0.4)
|
11
|
+
childprocess (>= 2.0, < 5.0)
|
12
|
+
contracts (~> 0.16.0)
|
13
|
+
cucumber (>= 2.4, < 6.0)
|
14
|
+
rspec-expectations (~> 3.4)
|
15
|
+
thor (~> 1.0)
|
16
|
+
builder (3.2.4)
|
17
|
+
childprocess (4.0.0)
|
18
|
+
concurrent-ruby (1.1.8)
|
19
|
+
contracts (0.16.0)
|
20
|
+
cucumber (5.3.0)
|
21
|
+
builder (~> 3.2, >= 3.2.4)
|
22
|
+
cucumber-core (~> 8.0, >= 8.0.1)
|
23
|
+
cucumber-create-meta (~> 2.0, >= 2.0.2)
|
24
|
+
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
25
|
+
cucumber-gherkin (~> 15.0, >= 15.0.2)
|
26
|
+
cucumber-html-formatter (~> 9.0, >= 9.0.0)
|
27
|
+
cucumber-messages (~> 13.1, >= 13.1.0)
|
28
|
+
cucumber-wire (~> 4.0, >= 4.0.1)
|
29
|
+
diff-lcs (~> 1.4, >= 1.4.4)
|
30
|
+
multi_test (~> 0.1, >= 0.1.2)
|
31
|
+
sys-uname (~> 1.2, >= 1.2.1)
|
32
|
+
cucumber-core (8.0.1)
|
33
|
+
cucumber-gherkin (~> 15.0, >= 15.0.2)
|
34
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
35
|
+
cucumber-tag-expressions (~> 2.0, >= 2.0.4)
|
36
|
+
cucumber-create-meta (2.0.4)
|
37
|
+
cucumber-messages (~> 13.1, >= 13.1.0)
|
38
|
+
sys-uname (~> 1.2, >= 1.2.1)
|
39
|
+
cucumber-cucumber-expressions (10.3.0)
|
40
|
+
cucumber-gherkin (15.0.2)
|
41
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
42
|
+
cucumber-html-formatter (9.0.0)
|
43
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
44
|
+
cucumber-messages (13.2.1)
|
45
|
+
protobuf-cucumber (~> 3.10, >= 3.10.8)
|
46
|
+
cucumber-tag-expressions (2.0.4)
|
47
|
+
cucumber-wire (4.0.1)
|
48
|
+
cucumber-core (~> 8.0, >= 8.0.1)
|
49
|
+
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
50
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
51
|
+
diff-lcs (1.4.4)
|
52
|
+
ffi (1.15.0)
|
53
|
+
gemika (0.5.0)
|
54
|
+
i18n (1.8.10)
|
55
|
+
concurrent-ruby (~> 1.0)
|
56
|
+
mail (2.7.1)
|
57
|
+
mini_mime (>= 0.1.1)
|
58
|
+
middleware (0.1.0)
|
59
|
+
mini_mime (1.0.3)
|
60
|
+
minitest (5.14.4)
|
61
|
+
multi_test (0.1.2)
|
62
|
+
nokogiri (1.11.2-x86_64-linux)
|
63
|
+
racc (~> 1.4)
|
64
|
+
protobuf-cucumber (3.10.8)
|
65
|
+
activesupport (>= 3.2)
|
66
|
+
middleware
|
67
|
+
thor
|
68
|
+
thread_safe
|
69
|
+
racc (1.5.2)
|
70
|
+
rake (13.0.3)
|
71
|
+
rspec (3.10.0)
|
72
|
+
rspec-core (~> 3.10.0)
|
73
|
+
rspec-expectations (~> 3.10.0)
|
74
|
+
rspec-mocks (~> 3.10.0)
|
75
|
+
rspec-core (3.10.1)
|
76
|
+
rspec-support (~> 3.10.0)
|
77
|
+
rspec-expectations (3.10.1)
|
78
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
79
|
+
rspec-support (~> 3.10.0)
|
80
|
+
rspec-mocks (3.10.2)
|
81
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
82
|
+
rspec-support (~> 3.10.0)
|
83
|
+
rspec-support (3.10.2)
|
84
|
+
sys-uname (1.2.2)
|
85
|
+
ffi (~> 1.1)
|
86
|
+
thor (1.1.0)
|
87
|
+
thread_safe (0.3.6)
|
88
|
+
tzinfo (2.0.4)
|
89
|
+
concurrent-ruby (~> 1.0)
|
90
|
+
zeitwerk (2.4.2)
|
91
|
+
|
92
|
+
PLATFORMS
|
93
|
+
x86_64-linux
|
94
|
+
|
95
|
+
DEPENDENCIES
|
96
|
+
aruba
|
97
|
+
cucumber
|
98
|
+
gemika
|
99
|
+
mail
|
100
|
+
nokogiri
|
101
|
+
rake
|
102
|
+
rspec
|
103
|
+
|
104
|
+
RUBY VERSION
|
105
|
+
ruby 3.0.0p0
|
106
|
+
|
107
|
+
BUNDLED WITH
|
108
|
+
2.2.3
|
data/Rakefile
CHANGED
@@ -65,13 +65,13 @@ def run_tests(gemfile, ruby)
|
|
65
65
|
# Run specs and integration tests for Spreewald binary
|
66
66
|
[
|
67
67
|
system("BUNDLE_GEMFILE=#{gemfile} bundle exec rspec"),
|
68
|
-
system("BUNDLE_GEMFILE=#{gemfile} bundle exec cucumber"),
|
68
|
+
system("BUNDLE_GEMFILE=#{gemfile} bundle exec cucumber --publish-quiet"),
|
69
69
|
].all?
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
73
73
|
def cucumber_command(directory, ruby_version)
|
74
|
-
command = "cd #{directory} && BUNDLE_GEMFILE=Gemfile bundle exec cucumber"
|
74
|
+
command = "cd #{directory} && BUNDLE_GEMFILE=Gemfile bundle exec cucumber --publish-quiet"
|
75
75
|
if Gem::Version.new(ruby_version) > Gem::Version.new('2.5')
|
76
76
|
# Modern cucumber sees pending tests as failures.
|
77
77
|
# We don't want this.
|
@@ -19,7 +19,7 @@ When /^I open (.+?) in a new browser tab$/ do |page_name|
|
|
19
19
|
previous_handles_count = browser.window_handles.size
|
20
20
|
relative_target_path = path_to(page_name)
|
21
21
|
|
22
|
-
page.execute_script "window.open('#{relative_target_path}', '_blank')"
|
22
|
+
page.execute_script "window.open('#{relative_target_path}', '_blank', 'noopener')"
|
23
23
|
step "there should be #{previous_handles_count + 1} browser tabs"
|
24
24
|
step "I switch to the new browser tab"
|
25
25
|
end.overridable
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.0
|
@@ -1,12 +1,14 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
3
|
|
4
|
-
ruby '
|
4
|
+
ruby '3.0.0'
|
5
5
|
|
6
|
-
gem 'rails', '~>6.
|
6
|
+
gem 'rails', '~>6.1'
|
7
7
|
gem 'sqlite3'
|
8
8
|
gem 'haml-rails'
|
9
9
|
gem 'gemika'
|
10
|
+
gem 'rexml'
|
11
|
+
gem 'webrick'
|
10
12
|
|
11
13
|
group :development, :test do
|
12
14
|
gem 'byebug'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
spreewald (4.1.
|
4
|
+
spreewald (4.1.1)
|
5
5
|
cucumber
|
6
6
|
cucumber_priority (>= 0.3.0)
|
7
7
|
rspec (>= 2.13.0)
|
@@ -9,114 +9,137 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actioncable (6.
|
13
|
-
actionpack (= 6.
|
12
|
+
actioncable (6.1.3.1)
|
13
|
+
actionpack (= 6.1.3.1)
|
14
|
+
activesupport (= 6.1.3.1)
|
14
15
|
nio4r (~> 2.0)
|
15
16
|
websocket-driver (>= 0.6.1)
|
16
|
-
actionmailbox (6.
|
17
|
-
actionpack (= 6.
|
18
|
-
activejob (= 6.
|
19
|
-
activerecord (= 6.
|
20
|
-
activestorage (= 6.
|
21
|
-
activesupport (= 6.
|
17
|
+
actionmailbox (6.1.3.1)
|
18
|
+
actionpack (= 6.1.3.1)
|
19
|
+
activejob (= 6.1.3.1)
|
20
|
+
activerecord (= 6.1.3.1)
|
21
|
+
activestorage (= 6.1.3.1)
|
22
|
+
activesupport (= 6.1.3.1)
|
22
23
|
mail (>= 2.7.1)
|
23
|
-
actionmailer (6.
|
24
|
-
actionpack (= 6.
|
25
|
-
actionview (= 6.
|
26
|
-
activejob (= 6.
|
24
|
+
actionmailer (6.1.3.1)
|
25
|
+
actionpack (= 6.1.3.1)
|
26
|
+
actionview (= 6.1.3.1)
|
27
|
+
activejob (= 6.1.3.1)
|
28
|
+
activesupport (= 6.1.3.1)
|
27
29
|
mail (~> 2.5, >= 2.5.4)
|
28
30
|
rails-dom-testing (~> 2.0)
|
29
|
-
actionpack (6.
|
30
|
-
actionview (= 6.
|
31
|
-
activesupport (= 6.
|
32
|
-
rack (~> 2.0, >= 2.0.
|
31
|
+
actionpack (6.1.3.1)
|
32
|
+
actionview (= 6.1.3.1)
|
33
|
+
activesupport (= 6.1.3.1)
|
34
|
+
rack (~> 2.0, >= 2.0.9)
|
33
35
|
rack-test (>= 0.6.3)
|
34
36
|
rails-dom-testing (~> 2.0)
|
35
37
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
-
actiontext (6.
|
37
|
-
actionpack (= 6.
|
38
|
-
activerecord (= 6.
|
39
|
-
activestorage (= 6.
|
40
|
-
activesupport (= 6.
|
38
|
+
actiontext (6.1.3.1)
|
39
|
+
actionpack (= 6.1.3.1)
|
40
|
+
activerecord (= 6.1.3.1)
|
41
|
+
activestorage (= 6.1.3.1)
|
42
|
+
activesupport (= 6.1.3.1)
|
41
43
|
nokogiri (>= 1.8.5)
|
42
|
-
actionview (6.
|
43
|
-
activesupport (= 6.
|
44
|
+
actionview (6.1.3.1)
|
45
|
+
activesupport (= 6.1.3.1)
|
44
46
|
builder (~> 3.1)
|
45
47
|
erubi (~> 1.4)
|
46
48
|
rails-dom-testing (~> 2.0)
|
47
49
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
-
activejob (6.
|
49
|
-
activesupport (= 6.
|
50
|
+
activejob (6.1.3.1)
|
51
|
+
activesupport (= 6.1.3.1)
|
50
52
|
globalid (>= 0.3.6)
|
51
|
-
activemodel (6.
|
52
|
-
activesupport (= 6.
|
53
|
-
activerecord (6.
|
54
|
-
activemodel (= 6.
|
55
|
-
activesupport (= 6.
|
56
|
-
activestorage (6.
|
57
|
-
actionpack (= 6.
|
58
|
-
activejob (= 6.
|
59
|
-
activerecord (= 6.
|
60
|
-
|
61
|
-
|
53
|
+
activemodel (6.1.3.1)
|
54
|
+
activesupport (= 6.1.3.1)
|
55
|
+
activerecord (6.1.3.1)
|
56
|
+
activemodel (= 6.1.3.1)
|
57
|
+
activesupport (= 6.1.3.1)
|
58
|
+
activestorage (6.1.3.1)
|
59
|
+
actionpack (= 6.1.3.1)
|
60
|
+
activejob (= 6.1.3.1)
|
61
|
+
activerecord (= 6.1.3.1)
|
62
|
+
activesupport (= 6.1.3.1)
|
63
|
+
marcel (~> 1.0.0)
|
64
|
+
mini_mime (~> 1.0.2)
|
65
|
+
activesupport (6.1.3.1)
|
62
66
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
63
|
-
i18n (>=
|
64
|
-
minitest (
|
65
|
-
tzinfo (~>
|
66
|
-
zeitwerk (~> 2.
|
67
|
+
i18n (>= 1.6, < 2)
|
68
|
+
minitest (>= 5.1)
|
69
|
+
tzinfo (~> 2.0)
|
70
|
+
zeitwerk (~> 2.3)
|
67
71
|
addressable (2.7.0)
|
68
72
|
public_suffix (>= 2.0.2, < 5.0)
|
69
|
-
backports (3.17.0)
|
70
73
|
builder (3.2.4)
|
71
|
-
byebug (11.1.
|
72
|
-
capybara (3.
|
74
|
+
byebug (11.1.3)
|
75
|
+
capybara (3.35.3)
|
73
76
|
addressable
|
74
77
|
mini_mime (>= 0.1.3)
|
75
78
|
nokogiri (~> 1.8)
|
76
79
|
rack (>= 1.6.0)
|
77
80
|
rack-test (>= 0.6.3)
|
78
|
-
regexp_parser (
|
81
|
+
regexp_parser (>= 1.5, < 3.0)
|
79
82
|
xpath (~> 3.2)
|
80
|
-
capybara-screenshot (1.0.
|
83
|
+
capybara-screenshot (1.0.25)
|
81
84
|
capybara (>= 1.0, < 4)
|
82
85
|
launchy
|
83
86
|
childprocess (3.0.0)
|
84
|
-
coderay (1.1.
|
85
|
-
concurrent-ruby (1.1.
|
87
|
+
coderay (1.1.3)
|
88
|
+
concurrent-ruby (1.1.8)
|
86
89
|
crass (1.0.6)
|
87
|
-
cucumber (3.
|
88
|
-
builder (>= 2.
|
89
|
-
cucumber-core (~>
|
90
|
-
cucumber-
|
91
|
-
cucumber-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
90
|
+
cucumber (5.3.0)
|
91
|
+
builder (~> 3.2, >= 3.2.4)
|
92
|
+
cucumber-core (~> 8.0, >= 8.0.1)
|
93
|
+
cucumber-create-meta (~> 2.0, >= 2.0.2)
|
94
|
+
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
95
|
+
cucumber-gherkin (~> 15.0, >= 15.0.2)
|
96
|
+
cucumber-html-formatter (~> 9.0, >= 9.0.0)
|
97
|
+
cucumber-messages (~> 13.1, >= 13.1.0)
|
98
|
+
cucumber-wire (~> 4.0, >= 4.0.1)
|
99
|
+
diff-lcs (~> 1.4, >= 1.4.4)
|
100
|
+
multi_test (~> 0.1, >= 0.1.2)
|
101
|
+
sys-uname (~> 1.2, >= 1.2.1)
|
102
|
+
cucumber-core (8.0.1)
|
103
|
+
cucumber-gherkin (~> 15.0, >= 15.0.2)
|
104
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
105
|
+
cucumber-tag-expressions (~> 2.0, >= 2.0.4)
|
106
|
+
cucumber-create-meta (2.0.4)
|
107
|
+
cucumber-messages (~> 13.1, >= 13.1.0)
|
108
|
+
sys-uname (~> 1.2, >= 1.2.1)
|
109
|
+
cucumber-cucumber-expressions (10.3.0)
|
110
|
+
cucumber-gherkin (15.0.2)
|
111
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
112
|
+
cucumber-html-formatter (9.0.0)
|
113
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
114
|
+
cucumber-messages (13.2.1)
|
115
|
+
protobuf-cucumber (~> 3.10, >= 3.10.8)
|
116
|
+
cucumber-rails (2.3.0)
|
117
|
+
capybara (>= 2.18, < 4)
|
118
|
+
cucumber (>= 3.0.2, < 6)
|
119
|
+
mime-types (~> 3.2)
|
105
120
|
nokogiri (~> 1.8)
|
106
|
-
railties (>=
|
107
|
-
cucumber-
|
108
|
-
cucumber-wire (
|
121
|
+
railties (>= 5.0, < 7)
|
122
|
+
cucumber-tag-expressions (2.0.4)
|
123
|
+
cucumber-wire (4.0.1)
|
124
|
+
cucumber-core (~> 8.0, >= 8.0.1)
|
125
|
+
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
126
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
109
127
|
cucumber_priority (0.3.2)
|
110
128
|
cucumber
|
111
|
-
database_cleaner (
|
112
|
-
|
113
|
-
|
129
|
+
database_cleaner (2.0.1)
|
130
|
+
database_cleaner-active_record (~> 2.0.0)
|
131
|
+
database_cleaner-active_record (2.0.0)
|
132
|
+
activerecord (>= 5.a)
|
133
|
+
database_cleaner-core (~> 2.0.0)
|
134
|
+
database_cleaner-core (2.0.1)
|
135
|
+
diff-lcs (1.4.4)
|
136
|
+
erubi (1.10.0)
|
114
137
|
erubis (2.7.0)
|
138
|
+
ffi (1.15.0)
|
115
139
|
gemika (0.5.0)
|
116
|
-
gherkin (5.1.0)
|
117
140
|
globalid (0.4.2)
|
118
141
|
activesupport (>= 4.2.0)
|
119
|
-
haml (5.1
|
142
|
+
haml (5.2.1)
|
120
143
|
temple (>= 0.8.0)
|
121
144
|
tilt
|
122
145
|
haml-rails (2.0.1)
|
@@ -130,113 +153,122 @@ GEM
|
|
130
153
|
haml (>= 4.0, < 6)
|
131
154
|
nokogiri (>= 1.6.0)
|
132
155
|
ruby_parser (~> 3.5)
|
133
|
-
i18n (1.8.
|
156
|
+
i18n (1.8.10)
|
134
157
|
concurrent-ruby (~> 1.0)
|
135
158
|
launchy (2.5.0)
|
136
159
|
addressable (~> 2.7)
|
137
|
-
loofah (2.
|
160
|
+
loofah (2.9.0)
|
138
161
|
crass (~> 1.0.2)
|
139
162
|
nokogiri (>= 1.5.9)
|
140
163
|
mail (2.7.1)
|
141
164
|
mini_mime (>= 0.1.1)
|
142
|
-
marcel (0.
|
143
|
-
mimemagic (~> 0.3.2)
|
165
|
+
marcel (1.0.0)
|
144
166
|
method_source (1.0.0)
|
167
|
+
middleware (0.1.0)
|
145
168
|
mime-types (3.3.1)
|
146
169
|
mime-types-data (~> 3.2015)
|
147
|
-
mime-types-data (3.
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
minitest (5.14.0)
|
152
|
-
multi_json (1.14.1)
|
170
|
+
mime-types-data (3.2021.0225)
|
171
|
+
mini_mime (1.0.3)
|
172
|
+
mini_portile2 (2.5.0)
|
173
|
+
minitest (5.14.4)
|
153
174
|
multi_test (0.1.2)
|
154
|
-
nio4r (2.5.
|
155
|
-
nokogiri (1.
|
156
|
-
mini_portile2 (~> 2.
|
157
|
-
|
175
|
+
nio4r (2.5.7)
|
176
|
+
nokogiri (1.11.2)
|
177
|
+
mini_portile2 (~> 2.5.0)
|
178
|
+
racc (~> 1.4)
|
179
|
+
protobuf-cucumber (3.10.8)
|
180
|
+
activesupport (>= 3.2)
|
181
|
+
middleware
|
182
|
+
thor
|
183
|
+
thread_safe
|
184
|
+
pry (0.14.0)
|
158
185
|
coderay (~> 1.1)
|
159
186
|
method_source (~> 1.0)
|
160
|
-
public_suffix (4.0.
|
161
|
-
|
187
|
+
public_suffix (4.0.6)
|
188
|
+
racc (1.5.2)
|
189
|
+
rack (2.2.3)
|
162
190
|
rack-test (1.1.0)
|
163
191
|
rack (>= 1.0, < 3)
|
164
|
-
rails (6.
|
165
|
-
actioncable (= 6.
|
166
|
-
actionmailbox (= 6.
|
167
|
-
actionmailer (= 6.
|
168
|
-
actionpack (= 6.
|
169
|
-
actiontext (= 6.
|
170
|
-
actionview (= 6.
|
171
|
-
activejob (= 6.
|
172
|
-
activemodel (= 6.
|
173
|
-
activerecord (= 6.
|
174
|
-
activestorage (= 6.
|
175
|
-
activesupport (= 6.
|
176
|
-
bundler (>= 1.
|
177
|
-
railties (= 6.
|
192
|
+
rails (6.1.3.1)
|
193
|
+
actioncable (= 6.1.3.1)
|
194
|
+
actionmailbox (= 6.1.3.1)
|
195
|
+
actionmailer (= 6.1.3.1)
|
196
|
+
actionpack (= 6.1.3.1)
|
197
|
+
actiontext (= 6.1.3.1)
|
198
|
+
actionview (= 6.1.3.1)
|
199
|
+
activejob (= 6.1.3.1)
|
200
|
+
activemodel (= 6.1.3.1)
|
201
|
+
activerecord (= 6.1.3.1)
|
202
|
+
activestorage (= 6.1.3.1)
|
203
|
+
activesupport (= 6.1.3.1)
|
204
|
+
bundler (>= 1.15.0)
|
205
|
+
railties (= 6.1.3.1)
|
178
206
|
sprockets-rails (>= 2.0.0)
|
179
207
|
rails-dom-testing (2.0.3)
|
180
208
|
activesupport (>= 4.2.0)
|
181
209
|
nokogiri (>= 1.6)
|
182
210
|
rails-html-sanitizer (1.3.0)
|
183
211
|
loofah (~> 2.3)
|
184
|
-
railties (6.
|
185
|
-
actionpack (= 6.
|
186
|
-
activesupport (= 6.
|
212
|
+
railties (6.1.3.1)
|
213
|
+
actionpack (= 6.1.3.1)
|
214
|
+
activesupport (= 6.1.3.1)
|
187
215
|
method_source
|
188
216
|
rake (>= 0.8.7)
|
189
|
-
thor (
|
190
|
-
rake (13.0.
|
191
|
-
regexp_parser (1.
|
192
|
-
|
193
|
-
|
194
|
-
rspec-
|
195
|
-
rspec-
|
196
|
-
|
197
|
-
|
198
|
-
|
217
|
+
thor (~> 1.0)
|
218
|
+
rake (13.0.3)
|
219
|
+
regexp_parser (2.1.1)
|
220
|
+
rexml (3.2.4)
|
221
|
+
rspec (3.10.0)
|
222
|
+
rspec-core (~> 3.10.0)
|
223
|
+
rspec-expectations (~> 3.10.0)
|
224
|
+
rspec-mocks (~> 3.10.0)
|
225
|
+
rspec-core (3.10.1)
|
226
|
+
rspec-support (~> 3.10.0)
|
227
|
+
rspec-expectations (3.10.1)
|
199
228
|
diff-lcs (>= 1.2.0, < 2.0)
|
200
|
-
rspec-support (~> 3.
|
201
|
-
rspec-mocks (3.
|
229
|
+
rspec-support (~> 3.10.0)
|
230
|
+
rspec-mocks (3.10.2)
|
202
231
|
diff-lcs (>= 1.2.0, < 2.0)
|
203
|
-
rspec-support (~> 3.
|
204
|
-
rspec-rails (
|
205
|
-
actionpack (>=
|
206
|
-
activesupport (>=
|
207
|
-
railties (>=
|
208
|
-
rspec-core (~> 3.
|
209
|
-
rspec-expectations (~> 3.
|
210
|
-
rspec-mocks (~> 3.
|
211
|
-
rspec-support (~> 3.
|
212
|
-
rspec-support (3.
|
213
|
-
ruby_parser (3.
|
232
|
+
rspec-support (~> 3.10.0)
|
233
|
+
rspec-rails (5.0.1)
|
234
|
+
actionpack (>= 5.2)
|
235
|
+
activesupport (>= 5.2)
|
236
|
+
railties (>= 5.2)
|
237
|
+
rspec-core (~> 3.10)
|
238
|
+
rspec-expectations (~> 3.10)
|
239
|
+
rspec-mocks (~> 3.10)
|
240
|
+
rspec-support (~> 3.10)
|
241
|
+
rspec-support (3.10.2)
|
242
|
+
ruby_parser (3.15.1)
|
214
243
|
sexp_processor (~> 4.9)
|
215
244
|
rubyzip (2.3.0)
|
216
245
|
selenium-webdriver (3.142.7)
|
217
246
|
childprocess (>= 0.5, < 4.0)
|
218
247
|
rubyzip (>= 1.2.2)
|
219
|
-
sexp_processor (4.
|
220
|
-
sprockets (4.0.
|
248
|
+
sexp_processor (4.15.2)
|
249
|
+
sprockets (4.0.2)
|
221
250
|
concurrent-ruby (~> 1.0)
|
222
251
|
rack (> 1, < 3)
|
223
|
-
sprockets-rails (3.2.
|
252
|
+
sprockets-rails (3.2.2)
|
224
253
|
actionpack (>= 4.0)
|
225
254
|
activesupport (>= 4.0)
|
226
255
|
sprockets (>= 3.0.0)
|
227
256
|
sqlite3 (1.4.2)
|
257
|
+
sys-uname (1.2.2)
|
258
|
+
ffi (~> 1.1)
|
228
259
|
temple (0.8.2)
|
229
|
-
thor (1.0
|
260
|
+
thor (1.1.0)
|
230
261
|
thread_safe (0.3.6)
|
231
262
|
tilt (2.0.10)
|
232
|
-
tzinfo (
|
233
|
-
|
234
|
-
|
263
|
+
tzinfo (2.0.4)
|
264
|
+
concurrent-ruby (~> 1.0)
|
265
|
+
webrick (1.7.0)
|
266
|
+
websocket-driver (0.7.3)
|
235
267
|
websocket-extensions (>= 0.1.0)
|
236
|
-
websocket-extensions (0.1.
|
268
|
+
websocket-extensions (0.1.5)
|
237
269
|
xpath (3.2.0)
|
238
270
|
nokogiri (~> 1.8)
|
239
|
-
zeitwerk (2.
|
271
|
+
zeitwerk (2.4.2)
|
240
272
|
|
241
273
|
PLATFORMS
|
242
274
|
ruby
|
@@ -251,14 +283,16 @@ DEPENDENCIES
|
|
251
283
|
gemika
|
252
284
|
haml-rails
|
253
285
|
pry
|
254
|
-
rails (~> 6.
|
286
|
+
rails (~> 6.1)
|
287
|
+
rexml
|
255
288
|
rspec-rails
|
256
289
|
selenium-webdriver
|
257
290
|
spreewald!
|
258
291
|
sqlite3
|
292
|
+
webrick
|
259
293
|
|
260
294
|
RUBY VERSION
|
261
|
-
ruby
|
295
|
+
ruby 3.0.0p0
|
262
296
|
|
263
297
|
BUNDLED WITH
|
264
|
-
2.
|
298
|
+
2.2.3
|
@@ -4,6 +4,6 @@ rerun = rerun.strip.gsub /\s/, ' '
|
|
4
4
|
rerun_opts = rerun.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
|
5
5
|
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags 'not @wip'"
|
6
6
|
%>
|
7
|
-
default: <%= std_opts %> features
|
7
|
+
default: <%= std_opts %> features --publish-quiet
|
8
8
|
wip: --tags @wip:3 --wip features
|
9
9
|
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags 'not @wip'
|
@@ -1,8 +1,10 @@
|
|
1
|
+
require "active_support/core_ext/integer/time"
|
2
|
+
|
1
3
|
Rails.application.configure do
|
2
4
|
# Settings specified here will take precedence over those in config/application.rb.
|
3
5
|
|
4
|
-
# In the development environment your application's code is reloaded
|
5
|
-
#
|
6
|
+
# In the development environment your application's code is reloaded any time
|
7
|
+
# it changes. This slows down response time but is perfect for development
|
6
8
|
# since you don't have to restart the web server when you make code changes.
|
7
9
|
config.cache_classes = false
|
8
10
|
|
@@ -36,6 +38,12 @@ Rails.application.configure do
|
|
36
38
|
# Print deprecation notices to the Rails logger.
|
37
39
|
config.active_support.deprecation = :log
|
38
40
|
|
41
|
+
# Raise exceptions for disallowed deprecations.
|
42
|
+
config.active_support.disallowed_deprecation = :raise
|
43
|
+
|
44
|
+
# Tell Active Support which deprecation messages to disallow.
|
45
|
+
config.active_support.disallowed_deprecation_warnings = []
|
46
|
+
|
39
47
|
# Raise an error on page load if there are pending migrations.
|
40
48
|
config.active_record.migration_error = :page_load
|
41
49
|
|
@@ -44,5 +52,15 @@ Rails.application.configure do
|
|
44
52
|
|
45
53
|
|
46
54
|
# Raises error for missing translations.
|
47
|
-
# config.
|
55
|
+
# config.i18n.raise_on_missing_translations = true
|
56
|
+
|
57
|
+
# Annotate rendered view with file names.
|
58
|
+
# config.action_view.annotate_rendered_view_with_filenames = true
|
59
|
+
|
60
|
+
# Use an evented file watcher to asynchronously detect changes in source code,
|
61
|
+
# routes, locales, etc. This feature depends on the listen gem.
|
62
|
+
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
63
|
+
|
64
|
+
# Uncomment if you wish to allow Action Cable access from any origin.
|
65
|
+
# config.action_cable.disable_request_forgery_protection = true
|
48
66
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require "active_support/core_ext/integer/time"
|
2
|
+
|
1
3
|
# The test environment is used exclusively to run your application's
|
2
4
|
# test suite. You never need to work with it otherwise. Remember that
|
3
5
|
# your test database is "scratch space" for the test suite and is wiped
|
@@ -40,6 +42,15 @@ Rails.application.configure do
|
|
40
42
|
# Print deprecation notices to the stderr.
|
41
43
|
config.active_support.deprecation = :stderr
|
42
44
|
|
45
|
+
# Raise exceptions for disallowed deprecations.
|
46
|
+
config.active_support.disallowed_deprecation = :raise
|
47
|
+
|
48
|
+
# Tell Active Support which deprecation messages to disallow.
|
49
|
+
config.active_support.disallowed_deprecation_warnings = []
|
50
|
+
|
43
51
|
# Raises error for missing translations.
|
44
|
-
# config.
|
52
|
+
# config.i18n.raise_on_missing_translations = true
|
53
|
+
|
54
|
+
# Annotate rendered view with file names.
|
55
|
+
# config.action_view.annotate_rendered_view_with_filenames = true
|
45
56
|
end
|
@@ -1,7 +1,8 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
3
|
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line|
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| /my_noisy_library/.match?(line) }
|
5
5
|
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code
|
7
|
-
#
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code
|
7
|
+
# by setting BACKTRACE=1 before calling your invocation, like "BACKTRACE=1 ./bin/rails runner 'MyClass.perform'".
|
8
|
+
Rails.backtrace_cleaner.remove_silencers! if ENV["BACKTRACE"]
|
@@ -1,4 +1,6 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
3
|
# Configure sensitive parameters which will be filtered from the log file.
|
4
|
-
Rails.application.config.filter_parameters += [
|
4
|
+
Rails.application.config.filter_parameters += [
|
5
|
+
:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
|
6
|
+
]
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains migration options to ease your Rails 6.1 upgrade.
|
4
|
+
#
|
5
|
+
# Once upgraded flip defaults one by one to migrate to the new default.
|
6
|
+
#
|
7
|
+
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
8
|
+
|
9
|
+
# Support for inversing belongs_to -> has_many Active Record associations.
|
10
|
+
# Rails.application.config.active_record.has_many_inversing = true
|
11
|
+
|
12
|
+
# Track Active Storage variants in the database.
|
13
|
+
# Rails.application.config.active_storage.track_variants = true
|
14
|
+
|
15
|
+
# Apply random variation to the delay when retrying failed jobs.
|
16
|
+
# Rails.application.config.active_job.retry_jitter = 0.15
|
17
|
+
|
18
|
+
# Stop executing `after_enqueue`/`after_perform` callbacks if
|
19
|
+
# `before_enqueue`/`before_perform` respectively halts with `throw :abort`.
|
20
|
+
# Rails.application.config.active_job.skip_after_callbacks_if_terminated = true
|
21
|
+
|
22
|
+
# Specify cookies SameSite protection level: either :none, :lax, or :strict.
|
23
|
+
#
|
24
|
+
# This change is not backwards compatible with earlier Rails versions.
|
25
|
+
# It's best enabled when your entire app is migrated and stable on 6.1.
|
26
|
+
# Rails.application.config.action_dispatch.cookies_same_site_protection = :lax
|
27
|
+
|
28
|
+
# Generate CSRF tokens that are encoded in URL-safe Base64.
|
29
|
+
#
|
30
|
+
# This change is not backwards compatible with earlier Rails versions.
|
31
|
+
# It's best enabled when your entire app is migrated and stable on 6.1.
|
32
|
+
# Rails.application.config.action_controller.urlsafe_csrf_tokens = true
|
33
|
+
|
34
|
+
# Specify whether `ActiveSupport::TimeZone.utc_to_local` returns a time with an
|
35
|
+
# UTC offset or a UTC time.
|
36
|
+
# ActiveSupport.utc_to_local_returns_utc_offset_times = true
|
37
|
+
|
38
|
+
# Change the default HTTP status code to `308` when redirecting non-GET/HEAD
|
39
|
+
# requests to HTTPS in `ActionDispatch::SSL` middleware.
|
40
|
+
# Rails.application.config.action_dispatch.ssl_default_redirect_status = 308
|
41
|
+
|
42
|
+
# Use new connection handling API. For most applications this won't have any
|
43
|
+
# effect. For applications using multiple databases, this new API provides
|
44
|
+
# support for granular connection swapping.
|
45
|
+
# Rails.application.config.active_record.legacy_connection_handling = false
|
46
|
+
|
47
|
+
# Make `form_with` generate non-remote forms by default.
|
48
|
+
# Rails.application.config.action_view.form_with_generates_remote_forms = false
|
49
|
+
|
50
|
+
# Set the default queue name for the analysis job to the queue adapter default.
|
51
|
+
# Rails.application.config.active_storage.queues.analysis = nil
|
52
|
+
|
53
|
+
# Set the default queue name for the purge job to the queue adapter default.
|
54
|
+
# Rails.application.config.active_storage.queues.purge = nil
|
55
|
+
|
56
|
+
# Set the default queue name for the incineration job to the queue adapter default.
|
57
|
+
# Rails.application.config.action_mailbox.queues.incineration = nil
|
58
|
+
|
59
|
+
# Set the default queue name for the routing job to the queue adapter default.
|
60
|
+
# Rails.application.config.action_mailbox.queues.routing = nil
|
61
|
+
|
62
|
+
# Set the default queue name for the mail deliver job to the queue adapter default.
|
63
|
+
# Rails.application.config.action_mailer.deliver_later_queue_name = nil
|
64
|
+
|
65
|
+
# Generate a `Link` header that gives a hint to modern browsers about
|
66
|
+
# preloading assets when using `javascript_include_tag` and `stylesheet_link_tag`.
|
67
|
+
# Rails.application.config.action_view.preload_links_header = true
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Define an application-wide HTTP permissions policy. For further
|
2
|
+
# information see https://developers.google.com/web/updates/2018/06/feature-policy
|
3
|
+
#
|
4
|
+
# Rails.application.config.permissions_policy do |f|
|
5
|
+
# f.camera :none
|
6
|
+
# f.gyroscope :none
|
7
|
+
# f.microphone :none
|
8
|
+
# f.usb :none
|
9
|
+
# f.fullscreen :self
|
10
|
+
# f.payment :self, "https://secure.example.com"
|
11
|
+
# end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreewald
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Kraze
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -142,6 +142,8 @@ files:
|
|
142
142
|
- Gemfile.ruby245.lock
|
143
143
|
- Gemfile.ruby266
|
144
144
|
- Gemfile.ruby266.lock
|
145
|
+
- Gemfile.ruby300
|
146
|
+
- Gemfile.ruby300.lock
|
145
147
|
- LICENSE
|
146
148
|
- README.md
|
147
149
|
- Rakefile
|
@@ -267,6 +269,8 @@ files:
|
|
267
269
|
- tests/rails-6_capybara-3/config/initializers/filter_parameter_logging.rb
|
268
270
|
- tests/rails-6_capybara-3/config/initializers/inflections.rb
|
269
271
|
- tests/rails-6_capybara-3/config/initializers/mime_types.rb
|
272
|
+
- tests/rails-6_capybara-3/config/initializers/new_framework_defaults_6_1.rb
|
273
|
+
- tests/rails-6_capybara-3/config/initializers/permissions_policy.rb
|
270
274
|
- tests/rails-6_capybara-3/config/initializers/wrap_parameters.rb
|
271
275
|
- tests/rails-6_capybara-3/config/locales/en.yml
|
272
276
|
- tests/rails-6_capybara-3/config/routes.rb
|
@@ -391,7 +395,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
391
395
|
- !ruby/object:Gem::Version
|
392
396
|
version: '0'
|
393
397
|
requirements: []
|
394
|
-
rubygems_version: 3.
|
398
|
+
rubygems_version: 3.2.3
|
395
399
|
signing_key:
|
396
400
|
specification_version: 4
|
397
401
|
summary: Collection of useful cucumber steps.
|
@@ -478,6 +482,8 @@ test_files:
|
|
478
482
|
- tests/rails-6_capybara-3/config/initializers/filter_parameter_logging.rb
|
479
483
|
- tests/rails-6_capybara-3/config/initializers/inflections.rb
|
480
484
|
- tests/rails-6_capybara-3/config/initializers/mime_types.rb
|
485
|
+
- tests/rails-6_capybara-3/config/initializers/new_framework_defaults_6_1.rb
|
486
|
+
- tests/rails-6_capybara-3/config/initializers/permissions_policy.rb
|
481
487
|
- tests/rails-6_capybara-3/config/initializers/wrap_parameters.rb
|
482
488
|
- tests/rails-6_capybara-3/config/locales/en.yml
|
483
489
|
- tests/rails-6_capybara-3/config/routes.rb
|