spreewald 4.2.2 → 4.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +0 -5
  3. data/README.md +1 -1
  4. data/Rakefile +1 -9
  5. data/lib/spreewald_support/version.rb +1 -1
  6. data/tests/rails-6_capybara-3/Gemfile.lock +1 -1
  7. data/tests/shared/features/shared/iframe_steps.feature +1 -2
  8. metadata +2 -110
  9. data/Gemfile.ruby245 +0 -10
  10. data/Gemfile.ruby245.lock +0 -73
  11. data/tests/rails-4_capybara-2/Gemfile +0 -24
  12. data/tests/rails-4_capybara-2/Gemfile.lock +0 -230
  13. data/tests/rails-4_capybara-2/README.rdoc +0 -28
  14. data/tests/rails-4_capybara-2/Rakefile +0 -6
  15. data/tests/rails-4_capybara-2/app +0 -1
  16. data/tests/rails-4_capybara-2/bin/bundle +0 -3
  17. data/tests/rails-4_capybara-2/bin/rails +0 -4
  18. data/tests/rails-4_capybara-2/bin/rake +0 -4
  19. data/tests/rails-4_capybara-2/bin/setup +0 -29
  20. data/tests/rails-4_capybara-2/config.ru +0 -4
  21. data/tests/rails-4_capybara-2/config/application.rb +0 -35
  22. data/tests/rails-4_capybara-2/config/boot.rb +0 -3
  23. data/tests/rails-4_capybara-2/config/cucumber.yml +0 -8
  24. data/tests/rails-4_capybara-2/config/database.yml +0 -18
  25. data/tests/rails-4_capybara-2/config/environment.rb +0 -5
  26. data/tests/rails-4_capybara-2/config/environments/development.rb +0 -28
  27. data/tests/rails-4_capybara-2/config/environments/test.rb +0 -42
  28. data/tests/rails-4_capybara-2/config/initializers/backtrace_silencers.rb +0 -7
  29. data/tests/rails-4_capybara-2/config/initializers/cookies_serializer.rb +0 -3
  30. data/tests/rails-4_capybara-2/config/initializers/filter_parameter_logging.rb +0 -4
  31. data/tests/rails-4_capybara-2/config/initializers/inflections.rb +0 -16
  32. data/tests/rails-4_capybara-2/config/initializers/mime_types.rb +0 -4
  33. data/tests/rails-4_capybara-2/config/initializers/session_store.rb +0 -3
  34. data/tests/rails-4_capybara-2/config/initializers/silence_deprecation_warnings.rb +0 -11
  35. data/tests/rails-4_capybara-2/config/initializers/to_time_preserves_timezone.rb +0 -10
  36. data/tests/rails-4_capybara-2/config/initializers/wrap_parameters.rb +0 -14
  37. data/tests/rails-4_capybara-2/config/locales/en.yml +0 -23
  38. data/tests/rails-4_capybara-2/config/routes.rb +0 -1
  39. data/tests/rails-4_capybara-2/config/secrets.yml +0 -22
  40. data/tests/rails-4_capybara-2/db +0 -1
  41. data/tests/rails-4_capybara-2/features/browser_tab_steps.feature +0 -1
  42. data/tests/rails-4_capybara-2/features/development_steps.feature +0 -1
  43. data/tests/rails-4_capybara-2/features/email_steps.feature +0 -1
  44. data/tests/rails-4_capybara-2/features/iframe_steps.feature +0 -1
  45. data/tests/rails-4_capybara-2/features/overriding.feature +0 -1
  46. data/tests/rails-4_capybara-2/features/session_steps.feature +0 -1
  47. data/tests/rails-4_capybara-2/features/step_definitions/overriding_steps.rb +0 -1
  48. data/tests/rails-4_capybara-2/features/step_definitions/test_steps.rb +0 -1
  49. data/tests/rails-4_capybara-2/features/support/env.rb +0 -66
  50. data/tests/rails-4_capybara-2/features/support/paths.rb +0 -1
  51. data/tests/rails-4_capybara-2/features/support/selectors.rb +0 -1
  52. data/tests/rails-4_capybara-2/features/support/selenium.rb +0 -1
  53. data/tests/rails-4_capybara-2/features/table_steps.feature +0 -1
  54. data/tests/rails-4_capybara-2/features/time_steps.feature +0 -1
  55. data/tests/rails-4_capybara-2/features/web_steps.feature +0 -1
  56. data/tests/rails-4_capybara-2/lib/tasks/cucumber.rake +0 -65
  57. data/tests/rails-4_capybara-2/log/.keep +0 -0
  58. data/tests/rails-4_capybara-2/public/404.html +0 -67
  59. data/tests/rails-4_capybara-2/public/422.html +0 -67
  60. data/tests/rails-4_capybara-2/public/500.html +0 -66
  61. data/tests/rails-4_capybara-2/public/favicon.ico +0 -0
  62. data/tests/rails-4_capybara-2/public/fixture_files +0 -1
  63. data/tests/rails-4_capybara-2/script/cucumber +0 -10
@@ -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
@@ -1,42 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # The test environment is used exclusively to run your application's
5
- # test suite. You never need to work with it otherwise. Remember that
6
- # your test database is "scratch space" for the test suite and is wiped
7
- # and recreated between test runs. Don't rely on the data there!
8
- config.cache_classes = true
9
-
10
- # Do not eager load code on boot. This avoids loading your whole application
11
- # just for the purpose of running a single test. If you are using a tool that
12
- # preloads Rails for running tests, you may have to set it to true.
13
- config.eager_load = false
14
-
15
- # Configure static file server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
18
-
19
- # Show full error reports and disable caching.
20
- config.consider_all_requests_local = true
21
- config.action_controller.perform_caching = false
22
-
23
- # Raise exceptions instead of rendering exception templates.
24
- config.action_dispatch.show_exceptions = false
25
-
26
- # Disable request forgery protection in test environment.
27
- config.action_controller.allow_forgery_protection = false
28
-
29
- # Tell Action Mailer not to deliver emails to the real world.
30
- # The :test delivery method accumulates sent emails in the
31
- # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
33
-
34
- # Randomize the order test cases are executed.
35
- config.active_support.test_order = :random
36
-
37
- # Print deprecation notices to the stderr.
38
- config.active_support.deprecation = :stderr
39
-
40
- # Raises error for missing translations
41
- # config.action_view.raise_on_missing_translations = true
42
- end
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
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| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Configure sensitive parameters which will be filtered from the log file.
4
- Rails.application.config.filter_parameters += [:password]
@@ -1,16 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format. Inflections
4
- # are locale specific, and you may define rules for as many different
5
- # locales as you wish. All of these examples are active by default:
6
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, '\1en'
8
- # inflect.singular /^(ox)en/i, '\1'
9
- # inflect.irregular 'person', 'people'
10
- # inflect.uncountable %w( fish sheep )
11
- # end
12
-
13
- # These inflection rules are supported but not enabled by default:
14
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym 'RESTful'
16
- # end
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.session_store :cookie_store, key: '_rails-4_capybara-3_session'
@@ -1,11 +0,0 @@
1
- silenced = [
2
- /is deprecated and will be removed in Rails 5/,
3
- ] # list of warnings you want to silence
4
-
5
- silenced_expr = Regexp.new(silenced.join('|'))
6
-
7
- ActiveSupport::Deprecation.behavior = lambda do |msg, stack|
8
- unless msg =~ silenced_expr
9
- ActiveSupport::Deprecation::DEFAULT_BEHAVIORS[:stderr].call(msg, stack)
10
- end
11
- end
@@ -1,10 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Preserve the timezone of the receiver when calling to `to_time`.
4
- # Ruby 2.4 will change the behavior of `to_time` to preserve the timezone
5
- # when converting to an instance of `Time` instead of the previous behavior
6
- # of converting to the local system timezone.
7
- #
8
- # Rails 5.0 introduced this config option so that apps made with earlier
9
- # versions of Rails are not affected when upgrading.
10
- ActiveSupport.to_time_preserves_timezone = true
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # This file contains settings for ActionController::ParamsWrapper which
4
- # is enabled by default.
5
-
6
- # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
- ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
- end
10
-
11
- # To enable root element in JSON for ActiveRecord objects.
12
- # ActiveSupport.on_load(:active_record) do
13
- # self.include_root_in_json = true
14
- # end
@@ -1,23 +0,0 @@
1
- # Files in the config/locales directory are used for internationalization
2
- # and are automatically loaded by Rails. If you want to use locales other
3
- # than English, add the necessary files in this directory.
4
- #
5
- # To use the locales, use `I18n.t`:
6
- #
7
- # I18n.t 'hello'
8
- #
9
- # In views, this is aliased to just `t`:
10
- #
11
- # <%= t('hello') %>
12
- #
13
- # To use a different locale, set it with `I18n.locale`:
14
- #
15
- # I18n.locale = :es
16
- #
17
- # This would use the information in config/locales/es.yml.
18
- #
19
- # To learn more, please read the Rails Internationalization guide
20
- # available at http://guides.rubyonrails.org/i18n.html.
21
-
22
- en:
23
- hello: "Hello world"
@@ -1 +0,0 @@
1
- ../../shared/config/routes.rb
@@ -1,22 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key is used for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
-
6
- # Make sure the secret is at least 30 characters and all random,
7
- # no regular words or you'll be exposed to dictionary attacks.
8
- # You can use `rake secret` to generate a secure secret key.
9
-
10
- # Make sure the secrets in this file are kept private
11
- # if you're sharing your code publicly.
12
-
13
- development:
14
- secret_key_base: 84163e89c589a57c53c3dfd2ccd95a60e9fc31088bbf05b546153753ed4bc90b21cc96b0e66c76611d63ceaa768544395ee1bad5ba970929dc9c30164a7b8ac0
15
-
16
- test:
17
- secret_key_base: 535ac53fe5e114f59be51da18787d12a193bfc4f4dc9e616fb73cb4e0c3fb7c873529849f1fb52b638f23aa056ba38d41ef095680c7889288d63879be7486f89
18
-
19
- # Do not keep production secrets in the repository,
20
- # instead read values from the environment.
21
- production:
22
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -1 +0,0 @@
1
- ../shared/db/
@@ -1 +0,0 @@
1
- ../../shared/features/shared/browser_tab_steps.feature
@@ -1 +0,0 @@
1
- ../../shared/features/shared/development_steps.feature
@@ -1 +0,0 @@
1
- ../../shared/features/shared/email_steps.feature
@@ -1 +0,0 @@
1
- ../../shared/features/shared/iframe_steps.feature
@@ -1 +0,0 @@
1
- ../../shared/features/shared/overriding.feature
@@ -1 +0,0 @@
1
- ../../shared/features/shared/session_steps.feature
@@ -1 +0,0 @@
1
- ../../../shared/features/shared/step_definitions/overriding_steps.rb
@@ -1 +0,0 @@
1
- ../../../shared/features/shared/step_definitions/test_steps.rb
@@ -1,66 +0,0 @@
1
- # IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
2
- # It is recommended to regenerate this file in the future when you upgrade to a
3
- # newer version of cucumber-rails. Consider adding your own code to a new file
4
- # instead of editing this one. Cucumber will automatically load all features/**/*.rb
5
- # files.
6
-
7
- ENV["RAILS_ENV"] ||= "test"
8
-
9
- require 'cucumber/rails'
10
- require 'rspec/expectations'
11
-
12
- # load Spreewald steps
13
- require 'spreewald/all_steps'
14
-
15
- # Capybara defaults to CSS3 selectors rather than XPath.
16
- # If you'd prefer to use XPath, just uncomment this line and adjust any
17
- # selectors in your step definitions to use the XPath syntax.
18
- # Capybara.default_selector = :xpath
19
-
20
- # By default, any exception happening in your Rails application will bubble up
21
- # to Cucumber so that your scenario will fail. This is a different from how
22
- # your application behaves in the production environment, where an error page will
23
- # be rendered instead.
24
- #
25
- # Sometimes we want to override this default behaviour and allow Rails to rescue
26
- # exceptions and display an error page (just like when the app is running in production).
27
- # Typical scenarios where you want to do this is when you test your error pages.
28
- # There are two ways to allow Rails to rescue exceptions:
29
- #
30
- # 1) Tag your scenario (or feature) with @allow-rescue
31
- #
32
- # 2) Set the value below to true. Beware that doing this globally is not
33
- # recommended as it will mask a lot of errors for you!
34
- #
35
- ActionController::Base.allow_rescue = false
36
-
37
- # Remove/comment out the lines below if your app doesn't have a database.
38
- # For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.
39
- begin
40
- DatabaseCleaner.strategy = :transaction
41
- rescue NameError
42
- raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
43
- end
44
-
45
- # You may also want to configure DatabaseCleaner to use different strategies for certain features and scenarios.
46
- # See the DatabaseCleaner documentation for details. Example:
47
- #
48
- # Before('@no-txn,@selenium,@culerity,@celerity,@javascript') do
49
- # # { :except => [:widgets] } may not do what you expect here
50
- # # as Cucumber::Rails::Database.javascript_strategy overrides
51
- # # this setting.
52
- # DatabaseCleaner.strategy = :truncation
53
- # end
54
- #
55
- # Before('~@no-txn', '~@selenium', '~@culerity', '~@celerity', '~@javascript') do
56
- # DatabaseCleaner.strategy = :transaction
57
- # end
58
- #
59
-
60
- # Possible values are :truncation and :transaction
61
- # The :transaction strategy is faster, but might give you threading problems.
62
- # See https://github.com/cucumber/cucumber-rails/blob/master/features/choose_javascript_database_strategy.feature
63
- Cucumber::Rails::Database.javascript_strategy = :truncation
64
-
65
- Capybara.default_max_wait_time = 5
66
- Capybara.server = :webrick