spreewald 4.1.2 → 4.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +0 -5
  3. data/CHANGELOG.md +17 -0
  4. data/Gemfile.lock +3 -3
  5. data/Gemfile.ruby266.lock +59 -42
  6. data/Gemfile.ruby300.lock +37 -53
  7. data/README.md +10 -19
  8. data/Rakefile +5 -11
  9. data/examples/paths.rb +7 -0
  10. data/features/binary.feature +12 -8
  11. data/lib/spreewald/email_steps.rb +4 -18
  12. data/lib/spreewald/web_steps.rb +53 -50
  13. data/lib/spreewald.rb +1 -0
  14. data/lib/spreewald_support/field_errors.rb +56 -0
  15. data/lib/spreewald_support/version.rb +1 -1
  16. data/lib/steps/follow_the_link.rb +63 -0
  17. data/lib/steps/show_me_the_mails.rb +20 -0
  18. data/spec/steps/follow_the_link_spec.rb +81 -0
  19. data/spec/steps/show_me_the_mails_spec.rb +96 -0
  20. data/support/step_definition.rb +11 -0
  21. data/support/step_manager.rb +1 -1
  22. data/tests/rails-6_capybara-3/Gemfile.lock +1 -1
  23. data/tests/rails-6_capybara-3/features/step_definitions/field_error_steps.rb +12 -0
  24. data/tests/shared/app/controllers/forms_controller.rb +11 -2
  25. data/tests/shared/app/controllers/static_pages_controller.rb +3 -0
  26. data/tests/shared/app/views/forms/invalid_bootstrap3_form.html.haml +16 -0
  27. data/tests/shared/app/views/forms/invalid_bootstrap4_form.html.haml +18 -0
  28. data/tests/shared/app/views/forms/invalid_custom_form.html.haml +19 -0
  29. data/tests/shared/app/views/forms/{invalid_form.html.haml → invalid_rails_form.html.haml} +0 -0
  30. data/tests/shared/app/views/static_pages/should_see.haml +7 -0
  31. data/tests/shared/config/routes.rb +5 -1
  32. data/tests/shared/features/shared/iframe_steps.feature +1 -2
  33. data/tests/shared/features/shared/web_steps.feature +72 -15
  34. metadata +19 -112
  35. data/Gemfile.ruby245 +0 -10
  36. data/Gemfile.ruby245.lock +0 -73
  37. data/tests/rails-4_capybara-2/Gemfile +0 -24
  38. data/tests/rails-4_capybara-2/Gemfile.lock +0 -230
  39. data/tests/rails-4_capybara-2/README.rdoc +0 -28
  40. data/tests/rails-4_capybara-2/Rakefile +0 -6
  41. data/tests/rails-4_capybara-2/app +0 -1
  42. data/tests/rails-4_capybara-2/bin/bundle +0 -3
  43. data/tests/rails-4_capybara-2/bin/rails +0 -4
  44. data/tests/rails-4_capybara-2/bin/rake +0 -4
  45. data/tests/rails-4_capybara-2/bin/setup +0 -29
  46. data/tests/rails-4_capybara-2/config/application.rb +0 -35
  47. data/tests/rails-4_capybara-2/config/boot.rb +0 -3
  48. data/tests/rails-4_capybara-2/config/cucumber.yml +0 -8
  49. data/tests/rails-4_capybara-2/config/database.yml +0 -18
  50. data/tests/rails-4_capybara-2/config/environment.rb +0 -5
  51. data/tests/rails-4_capybara-2/config/environments/development.rb +0 -28
  52. data/tests/rails-4_capybara-2/config/environments/test.rb +0 -42
  53. data/tests/rails-4_capybara-2/config/initializers/backtrace_silencers.rb +0 -7
  54. data/tests/rails-4_capybara-2/config/initializers/cookies_serializer.rb +0 -3
  55. data/tests/rails-4_capybara-2/config/initializers/filter_parameter_logging.rb +0 -4
  56. data/tests/rails-4_capybara-2/config/initializers/inflections.rb +0 -16
  57. data/tests/rails-4_capybara-2/config/initializers/mime_types.rb +0 -4
  58. data/tests/rails-4_capybara-2/config/initializers/session_store.rb +0 -3
  59. data/tests/rails-4_capybara-2/config/initializers/silence_deprecation_warnings.rb +0 -11
  60. data/tests/rails-4_capybara-2/config/initializers/to_time_preserves_timezone.rb +0 -10
  61. data/tests/rails-4_capybara-2/config/initializers/wrap_parameters.rb +0 -14
  62. data/tests/rails-4_capybara-2/config/locales/en.yml +0 -23
  63. data/tests/rails-4_capybara-2/config/routes.rb +0 -1
  64. data/tests/rails-4_capybara-2/config/secrets.yml +0 -22
  65. data/tests/rails-4_capybara-2/config.ru +0 -4
  66. data/tests/rails-4_capybara-2/db +0 -1
  67. data/tests/rails-4_capybara-2/features/browser_tab_steps.feature +0 -1
  68. data/tests/rails-4_capybara-2/features/development_steps.feature +0 -1
  69. data/tests/rails-4_capybara-2/features/email_steps.feature +0 -1
  70. data/tests/rails-4_capybara-2/features/iframe_steps.feature +0 -1
  71. data/tests/rails-4_capybara-2/features/overriding.feature +0 -1
  72. data/tests/rails-4_capybara-2/features/session_steps.feature +0 -1
  73. data/tests/rails-4_capybara-2/features/step_definitions/overriding_steps.rb +0 -1
  74. data/tests/rails-4_capybara-2/features/step_definitions/test_steps.rb +0 -1
  75. data/tests/rails-4_capybara-2/features/support/env.rb +0 -66
  76. data/tests/rails-4_capybara-2/features/support/paths.rb +0 -1
  77. data/tests/rails-4_capybara-2/features/support/selectors.rb +0 -1
  78. data/tests/rails-4_capybara-2/features/support/selenium.rb +0 -1
  79. data/tests/rails-4_capybara-2/features/table_steps.feature +0 -1
  80. data/tests/rails-4_capybara-2/features/time_steps.feature +0 -1
  81. data/tests/rails-4_capybara-2/features/web_steps.feature +0 -1
  82. data/tests/rails-4_capybara-2/lib/tasks/cucumber.rake +0 -65
  83. data/tests/rails-4_capybara-2/log/.keep +0 -0
  84. data/tests/rails-4_capybara-2/public/404.html +0 -67
  85. data/tests/rails-4_capybara-2/public/422.html +0 -67
  86. data/tests/rails-4_capybara-2/public/500.html +0 -66
  87. data/tests/rails-4_capybara-2/public/favicon.ico +0 -0
  88. data/tests/rails-4_capybara-2/public/fixture_files +0 -1
  89. data/tests/rails-4_capybara-2/script/cucumber +0 -10
@@ -1,230 +0,0 @@
1
- PATH
2
- remote: ../..
3
- specs:
4
- spreewald (4.1.2)
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
- 2.2.4
@@ -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,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,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 +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