spreewald 4.1.0 → 4.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +3 -6
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +27 -0
  5. data/Gemfile.lock +1 -1
  6. data/{Gemfile.ruby245 → Gemfile.ruby300} +2 -0
  7. data/Gemfile.ruby300.lock +108 -0
  8. data/README.md +1 -1
  9. data/Rakefile +3 -11
  10. data/lib/spreewald/browser_tab_steps.rb +1 -1
  11. data/lib/spreewald/development_steps.rb +5 -5
  12. data/lib/spreewald/email_steps.rb +4 -18
  13. data/lib/spreewald_support/version.rb +1 -1
  14. data/lib/steps/follow_the_link.rb +63 -0
  15. data/lib/steps/show_me_the_mails.rb +20 -0
  16. data/spec/steps/follow_the_link_spec.rb +81 -0
  17. data/spec/steps/show_me_the_mails_spec.rb +96 -0
  18. data/tests/rails-6_capybara-3/.ruby-version +1 -1
  19. data/tests/rails-6_capybara-3/Gemfile +4 -2
  20. data/tests/rails-6_capybara-3/Gemfile.lock +176 -142
  21. data/tests/rails-6_capybara-3/config.ru +1 -0
  22. data/tests/rails-6_capybara-3/config/cucumber.yml +1 -1
  23. data/tests/rails-6_capybara-3/config/environments/development.rb +21 -3
  24. data/tests/rails-6_capybara-3/config/environments/test.rb +12 -1
  25. data/tests/rails-6_capybara-3/config/initializers/backtrace_silencers.rb +4 -3
  26. data/tests/rails-6_capybara-3/config/initializers/filter_parameter_logging.rb +3 -1
  27. data/tests/rails-6_capybara-3/config/initializers/new_framework_defaults_6_1.rb +67 -0
  28. data/tests/rails-6_capybara-3/config/initializers/permissions_policy.rb +11 -0
  29. data/tests/shared/features/shared/iframe_steps.feature +1 -2
  30. metadata +13 -111
  31. data/Gemfile.ruby245.lock +0 -73
  32. data/tests/rails-4_capybara-2/Gemfile +0 -24
  33. data/tests/rails-4_capybara-2/Gemfile.lock +0 -230
  34. data/tests/rails-4_capybara-2/README.rdoc +0 -28
  35. data/tests/rails-4_capybara-2/Rakefile +0 -6
  36. data/tests/rails-4_capybara-2/app +0 -1
  37. data/tests/rails-4_capybara-2/bin/bundle +0 -3
  38. data/tests/rails-4_capybara-2/bin/rails +0 -4
  39. data/tests/rails-4_capybara-2/bin/rake +0 -4
  40. data/tests/rails-4_capybara-2/bin/setup +0 -29
  41. data/tests/rails-4_capybara-2/config.ru +0 -4
  42. data/tests/rails-4_capybara-2/config/application.rb +0 -35
  43. data/tests/rails-4_capybara-2/config/boot.rb +0 -3
  44. data/tests/rails-4_capybara-2/config/cucumber.yml +0 -8
  45. data/tests/rails-4_capybara-2/config/database.yml +0 -18
  46. data/tests/rails-4_capybara-2/config/environment.rb +0 -5
  47. data/tests/rails-4_capybara-2/config/environments/development.rb +0 -28
  48. data/tests/rails-4_capybara-2/config/environments/test.rb +0 -42
  49. data/tests/rails-4_capybara-2/config/initializers/backtrace_silencers.rb +0 -7
  50. data/tests/rails-4_capybara-2/config/initializers/cookies_serializer.rb +0 -3
  51. data/tests/rails-4_capybara-2/config/initializers/filter_parameter_logging.rb +0 -4
  52. data/tests/rails-4_capybara-2/config/initializers/inflections.rb +0 -16
  53. data/tests/rails-4_capybara-2/config/initializers/mime_types.rb +0 -4
  54. data/tests/rails-4_capybara-2/config/initializers/session_store.rb +0 -3
  55. data/tests/rails-4_capybara-2/config/initializers/silence_deprecation_warnings.rb +0 -11
  56. data/tests/rails-4_capybara-2/config/initializers/to_time_preserves_timezone.rb +0 -10
  57. data/tests/rails-4_capybara-2/config/initializers/wrap_parameters.rb +0 -14
  58. data/tests/rails-4_capybara-2/config/locales/en.yml +0 -23
  59. data/tests/rails-4_capybara-2/config/routes.rb +0 -1
  60. data/tests/rails-4_capybara-2/config/secrets.yml +0 -22
  61. data/tests/rails-4_capybara-2/db +0 -1
  62. data/tests/rails-4_capybara-2/features/browser_tab_steps.feature +0 -1
  63. data/tests/rails-4_capybara-2/features/development_steps.feature +0 -1
  64. data/tests/rails-4_capybara-2/features/email_steps.feature +0 -1
  65. data/tests/rails-4_capybara-2/features/iframe_steps.feature +0 -1
  66. data/tests/rails-4_capybara-2/features/overriding.feature +0 -1
  67. data/tests/rails-4_capybara-2/features/session_steps.feature +0 -1
  68. data/tests/rails-4_capybara-2/features/step_definitions/overriding_steps.rb +0 -1
  69. data/tests/rails-4_capybara-2/features/step_definitions/test_steps.rb +0 -1
  70. data/tests/rails-4_capybara-2/features/support/env.rb +0 -66
  71. data/tests/rails-4_capybara-2/features/support/paths.rb +0 -1
  72. data/tests/rails-4_capybara-2/features/support/selectors.rb +0 -1
  73. data/tests/rails-4_capybara-2/features/support/selenium.rb +0 -1
  74. data/tests/rails-4_capybara-2/features/table_steps.feature +0 -1
  75. data/tests/rails-4_capybara-2/features/time_steps.feature +0 -1
  76. data/tests/rails-4_capybara-2/features/web_steps.feature +0 -1
  77. data/tests/rails-4_capybara-2/lib/tasks/cucumber.rake +0 -65
  78. data/tests/rails-4_capybara-2/log/.keep +0 -0
  79. data/tests/rails-4_capybara-2/public/404.html +0 -67
  80. data/tests/rails-4_capybara-2/public/422.html +0 -67
  81. data/tests/rails-4_capybara-2/public/500.html +0 -66
  82. data/tests/rails-4_capybara-2/public/favicon.ico +0 -0
  83. data/tests/rails-4_capybara-2/public/fixture_files +0 -1
  84. data/tests/rails-4_capybara-2/script/cucumber +0 -10
@@ -1,24 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
-
4
- gem 'rails', '<5'
5
- gem 'sqlite3'
6
- gem 'haml-rails'
7
- gem 'gemika'
8
-
9
-
10
- group :development, :test do
11
- gem 'byebug'
12
- gem 'pry'
13
- end
14
-
15
- group :test do
16
- gem 'database_cleaner'
17
- gem 'capybara', '<3'
18
- gem 'capybara-screenshot'
19
- gem 'cucumber-rails', require: false
20
- gem 'cucumber'
21
- gem 'selenium-webdriver'
22
- gem 'rspec-rails'
23
- gem 'spreewald', :path => '../..'
24
- end
@@ -1,230 +0,0 @@
1
- PATH
2
- remote: ../..
3
- specs:
4
- spreewald (4.1.0)
5
- cucumber
6
- cucumber_priority (>= 0.3.0)
7
- rspec (>= 2.13.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionmailer (4.2.11)
13
- actionpack (= 4.2.11)
14
- actionview (= 4.2.11)
15
- activejob (= 4.2.11)
16
- mail (~> 2.5, >= 2.5.4)
17
- rails-dom-testing (~> 1.0, >= 1.0.5)
18
- actionpack (4.2.11)
19
- actionview (= 4.2.11)
20
- activesupport (= 4.2.11)
21
- rack (~> 1.6)
22
- rack-test (~> 0.6.2)
23
- rails-dom-testing (~> 1.0, >= 1.0.5)
24
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- actionview (4.2.11)
26
- activesupport (= 4.2.11)
27
- builder (~> 3.1)
28
- erubis (~> 2.7.0)
29
- rails-dom-testing (~> 1.0, >= 1.0.5)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
31
- activejob (4.2.11)
32
- activesupport (= 4.2.11)
33
- globalid (>= 0.3.0)
34
- activemodel (4.2.11)
35
- activesupport (= 4.2.11)
36
- builder (~> 3.1)
37
- activerecord (4.2.11)
38
- activemodel (= 4.2.11)
39
- activesupport (= 4.2.11)
40
- arel (~> 6.0)
41
- activesupport (4.2.11)
42
- i18n (~> 0.7)
43
- minitest (~> 5.1)
44
- thread_safe (~> 0.3, >= 0.3.4)
45
- tzinfo (~> 1.1)
46
- addressable (2.7.0)
47
- public_suffix (>= 2.0.2, < 5.0)
48
- arel (6.0.4)
49
- backports (3.12.0)
50
- builder (3.2.3)
51
- byebug (10.0.2)
52
- capybara (2.18.0)
53
- addressable
54
- mini_mime (>= 0.1.3)
55
- nokogiri (>= 1.3.3)
56
- rack (>= 1.0.0)
57
- rack-test (>= 0.5.4)
58
- xpath (>= 2.0, < 4.0)
59
- capybara-screenshot (1.0.22)
60
- capybara (>= 1.0, < 4)
61
- launchy
62
- childprocess (0.9.0)
63
- ffi (~> 1.0, >= 1.0.11)
64
- coderay (1.1.2)
65
- concurrent-ruby (1.1.4)
66
- crass (1.0.4)
67
- cucumber (3.1.2)
68
- builder (>= 2.1.2)
69
- cucumber-core (~> 3.2.0)
70
- cucumber-expressions (~> 6.0.1)
71
- cucumber-wire (~> 0.0.1)
72
- diff-lcs (~> 1.3)
73
- gherkin (~> 5.1.0)
74
- multi_json (>= 1.7.5, < 2.0)
75
- multi_test (>= 0.1.2)
76
- cucumber-core (3.2.1)
77
- backports (>= 3.8.0)
78
- cucumber-tag_expressions (~> 1.1.0)
79
- gherkin (~> 5.0)
80
- cucumber-expressions (6.0.1)
81
- cucumber-rails (1.6.0)
82
- capybara (>= 1.1.2, < 4)
83
- cucumber (>= 3.0.2, < 4)
84
- mime-types (>= 1.17, < 4)
85
- nokogiri (~> 1.8)
86
- railties (>= 4, < 6)
87
- cucumber-tag_expressions (1.1.1)
88
- cucumber-wire (0.0.1)
89
- cucumber_priority (0.3.2)
90
- cucumber
91
- database_cleaner (1.7.0)
92
- diff-lcs (1.3)
93
- erubis (2.7.0)
94
- ffi (1.10.0)
95
- gemika (0.5.0)
96
- gherkin (5.1.0)
97
- globalid (0.4.2)
98
- activesupport (>= 4.2.0)
99
- haml (5.0.4)
100
- temple (>= 0.8.0)
101
- tilt
102
- haml-rails (1.0.0)
103
- actionpack (>= 4.0.1)
104
- activesupport (>= 4.0.1)
105
- haml (>= 4.0.6, < 6.0)
106
- html2haml (>= 1.0.1)
107
- railties (>= 4.0.1)
108
- html2haml (2.2.0)
109
- erubis (~> 2.7.0)
110
- haml (>= 4.0, < 6)
111
- nokogiri (>= 1.6.0)
112
- ruby_parser (~> 3.5)
113
- i18n (0.9.5)
114
- concurrent-ruby (~> 1.0)
115
- launchy (2.4.3)
116
- addressable (~> 2.3)
117
- loofah (2.2.3)
118
- crass (~> 1.0.2)
119
- nokogiri (>= 1.5.9)
120
- mail (2.7.1)
121
- mini_mime (>= 0.1.1)
122
- method_source (0.9.2)
123
- mime-types (3.2.2)
124
- mime-types-data (~> 3.2015)
125
- mime-types-data (3.2018.0812)
126
- mini_mime (1.0.2)
127
- mini_portile2 (2.4.0)
128
- minitest (5.11.3)
129
- multi_json (1.13.1)
130
- multi_test (0.1.2)
131
- nokogiri (1.10.10)
132
- mini_portile2 (~> 2.4.0)
133
- pry (0.12.2)
134
- coderay (~> 1.1.0)
135
- method_source (~> 0.9.0)
136
- public_suffix (4.0.6)
137
- rack (1.6.13)
138
- rack-test (0.6.3)
139
- rack (>= 1.0)
140
- rails (4.2.11)
141
- actionmailer (= 4.2.11)
142
- actionpack (= 4.2.11)
143
- actionview (= 4.2.11)
144
- activejob (= 4.2.11)
145
- activemodel (= 4.2.11)
146
- activerecord (= 4.2.11)
147
- activesupport (= 4.2.11)
148
- bundler (>= 1.3.0, < 2.0)
149
- railties (= 4.2.11)
150
- sprockets-rails
151
- rails-deprecated_sanitizer (1.0.3)
152
- activesupport (>= 4.2.0.alpha)
153
- rails-dom-testing (1.0.9)
154
- activesupport (>= 4.2.0, < 5.0)
155
- nokogiri (~> 1.6)
156
- rails-deprecated_sanitizer (>= 1.0.1)
157
- rails-html-sanitizer (1.0.4)
158
- loofah (~> 2.2, >= 2.2.2)
159
- railties (4.2.11)
160
- actionpack (= 4.2.11)
161
- activesupport (= 4.2.11)
162
- rake (>= 0.8.7)
163
- thor (>= 0.18.1, < 2.0)
164
- rake (12.3.2)
165
- rspec (3.8.0)
166
- rspec-core (~> 3.8.0)
167
- rspec-expectations (~> 3.8.0)
168
- rspec-mocks (~> 3.8.0)
169
- rspec-core (3.8.0)
170
- rspec-support (~> 3.8.0)
171
- rspec-expectations (3.8.2)
172
- diff-lcs (>= 1.2.0, < 2.0)
173
- rspec-support (~> 3.8.0)
174
- rspec-mocks (3.8.0)
175
- diff-lcs (>= 1.2.0, < 2.0)
176
- rspec-support (~> 3.8.0)
177
- rspec-rails (3.8.2)
178
- actionpack (>= 3.0)
179
- activesupport (>= 3.0)
180
- railties (>= 3.0)
181
- rspec-core (~> 3.8.0)
182
- rspec-expectations (~> 3.8.0)
183
- rspec-mocks (~> 3.8.0)
184
- rspec-support (~> 3.8.0)
185
- rspec-support (3.8.0)
186
- ruby_parser (3.12.0)
187
- sexp_processor (~> 4.9)
188
- rubyzip (1.3.0)
189
- selenium-webdriver (3.141.0)
190
- childprocess (~> 0.5)
191
- rubyzip (~> 1.2, >= 1.2.2)
192
- sexp_processor (4.11.0)
193
- sprockets (3.7.2)
194
- concurrent-ruby (~> 1.0)
195
- rack (> 1, < 3)
196
- sprockets-rails (3.2.1)
197
- actionpack (>= 4.0)
198
- activesupport (>= 4.0)
199
- sprockets (>= 3.0.0)
200
- sqlite3 (1.3.13)
201
- temple (0.8.0)
202
- thor (0.20.3)
203
- thread_safe (0.3.6)
204
- tilt (2.0.9)
205
- tzinfo (1.2.5)
206
- thread_safe (~> 0.1)
207
- xpath (3.2.0)
208
- nokogiri (~> 1.8)
209
-
210
- PLATFORMS
211
- ruby
212
-
213
- DEPENDENCIES
214
- byebug
215
- capybara (< 3)
216
- capybara-screenshot
217
- cucumber
218
- cucumber-rails
219
- database_cleaner
220
- gemika
221
- haml-rails
222
- pry
223
- rails (< 5)
224
- rspec-rails
225
- selenium-webdriver
226
- spreewald!
227
- sqlite3
228
-
229
- BUNDLED WITH
230
- 1.17.3
@@ -1,28 +0,0 @@
1
- == README
2
-
3
- This README would normally document whatever steps are necessary to get the
4
- application up and running.
5
-
6
- Things you may want to cover:
7
-
8
- * Ruby version
9
-
10
- * System dependencies
11
-
12
- * Configuration
13
-
14
- * Database creation
15
-
16
- * Database initialization
17
-
18
- * How to run the test suite
19
-
20
- * Services (job queues, cache servers, search engines, etc.)
21
-
22
- * Deployment instructions
23
-
24
- * ...
25
-
26
-
27
- Please feel free to use a different markup language if you do not plan to run
28
- <tt>rake doc:app</tt>.
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require File.expand_path('../config/application', __FILE__)
5
-
6
- Rails.application.load_tasks
@@ -1 +0,0 @@
1
- ../shared/app/
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
- load Gem.bin_path('bundler', 'bundle')
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_PATH = File.expand_path('../../config/application', __FILE__)
3
- require_relative '../config/boot'
4
- require 'rails/commands'
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require_relative '../config/boot'
3
- require 'rake'
4
- Rake.application.run
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'pathname'
3
-
4
- # path to your application root.
5
- APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
6
-
7
- Dir.chdir APP_ROOT do
8
- # This script is a starting point to setup your application.
9
- # Add necessary setup steps to this file:
10
-
11
- puts "== Installing dependencies =="
12
- system "gem install bundler --conservative"
13
- system "bundle check || bundle install"
14
-
15
- # puts "\n== Copying sample files =="
16
- # unless File.exist?("config/database.yml")
17
- # system "cp config/database.yml.sample config/database.yml"
18
- # end
19
-
20
- puts "\n== Preparing database =="
21
- system "bin/rake db:setup"
22
-
23
- puts "\n== Removing old logs and tempfiles =="
24
- system "rm -f log/*"
25
- system "rm -rf tmp/cache"
26
-
27
- puts "\n== Restarting application server =="
28
- system "touch tmp/restart.txt"
29
- end
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Rails.application
@@ -1,35 +0,0 @@
1
- require File.expand_path('../boot', __FILE__)
2
-
3
- require "rails"
4
- # Pick the frameworks you want:
5
- require "active_model/railtie"
6
- require "active_job/railtie"
7
- require "active_record/railtie"
8
- require "action_controller/railtie"
9
- require "action_mailer/railtie"
10
- require "action_view/railtie"
11
- # require "sprockets/railtie"
12
- # require "rails/test_unit/railtie"
13
-
14
- # Require the gems listed in Gemfile, including any gems
15
- # you've limited to :test, :development, or :production.
16
- Bundler.require(*Rails.groups)
17
-
18
- module Rails4Capybara3
19
- class Application < Rails::Application
20
- # Settings in config/environments/* take precedence over those specified here.
21
- # Application configuration should go into files in config/initializers
22
- # -- all .rb files in that directory are automatically loaded.
23
-
24
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26
- # config.time_zone = 'Central Time (US & Canada)'
27
-
28
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30
- # config.i18n.default_locale = :de
31
-
32
- # Do not swallow errors in after_commit/after_rollback callbacks.
33
- config.active_record.raise_in_transactional_callbacks = true
34
- end
35
- end
@@ -1,3 +0,0 @@
1
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2
-
3
- require 'bundler/setup' # Set up gems listed in the Gemfile.
@@ -1,8 +0,0 @@
1
- <%
2
- rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
3
- rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
4
- std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --no-strict-pending --tags 'not @wip'"
5
- %>
6
- default: <%= std_opts %> features
7
- wip: --tags @wip:3 --wip features
8
- rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --no-strict-pending --tags 'not @wip'
@@ -1,18 +0,0 @@
1
- default: &default
2
- adapter: sqlite3
3
- pool: 5
4
- timeout: 5000
5
-
6
- development:
7
- <<: *default
8
- database: db/development.sqlite3
9
-
10
- # Warning: The database defined as "test" will be erased and
11
- # re-generated from your development database when you run "rake".
12
- # Do not set this db to the same as development or production.
13
- test: &test
14
- <<: *default
15
- database: db/test.sqlite3
16
-
17
- cucumber:
18
- <<: *test
@@ -1,5 +0,0 @@
1
- # Load the Rails application.
2
- require File.expand_path('../application', __FILE__)
3
-
4
- # Initialize the Rails application.
5
- Rails.application.initialize!
@@ -1,28 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # In the development environment your application's code is reloaded on
5
- # every request. This slows down response time but is perfect for development
6
- # since you don't have to restart the web server when you make code changes.
7
- config.cache_classes = false
8
-
9
- # Do not eager load code on boot.
10
- config.eager_load = false
11
-
12
- # Show full error reports and disable caching.
13
- config.consider_all_requests_local = true
14
- config.action_controller.perform_caching = false
15
-
16
- # Don't care if the mailer can't send.
17
- config.action_mailer.raise_delivery_errors = false
18
-
19
- # Print deprecation notices to the Rails logger.
20
- config.active_support.deprecation = :log
21
-
22
- # Raise an error on page load if there are pending migrations.
23
- config.active_record.migration_error = :page_load
24
-
25
-
26
- # Raises error for missing translations
27
- # config.action_view.raise_on_missing_translations = true
28
- end