cucumber-rails 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Appraisals +9 -18
- data/CHANGELOG.md +14 -4
- data/CONTRIBUTING.md +14 -2
- data/LICENSE +1 -1
- data/README.md +2 -12
- data/Rakefile +4 -4
- data/bin/install_geckodriver.sh +1 -1
- data/cucumber-rails.gemspec +13 -11
- data/dev_tasks/yard.rake +1 -1
- data/dev_tasks/yard/default/layout/html/setup.rb +1 -1
- data/features/capybara_javascript_drivers.feature +56 -6
- data/features/database_cleaner.feature +88 -1
- data/features/step_definitions/cucumber_rails_steps.rb +11 -0
- data/features/support/cucumber_rails_helper.rb +1 -0
- data/features/support/env.rb +1 -1
- data/gemfiles/rails_5_0.gemfile +3 -3
- data/gemfiles/rails_5_1.gemfile +3 -3
- data/gemfiles/rails_5_2.gemfile +2 -3
- data/gemfiles/rails_6_0.gemfile +1 -2
- data/lib/cucumber/rails.rb +7 -3
- data/lib/cucumber/rails/database.rb +6 -60
- data/lib/cucumber/rails/database/deletion_strategy.rb +11 -0
- data/lib/cucumber/rails/database/shared_connection_strategy.rb +25 -0
- data/lib/cucumber/rails/database/strategy.rb +31 -0
- data/lib/cucumber/rails/database/truncation_strategy.rb +11 -0
- data/lib/cucumber/rails/hooks/active_record.rb +16 -14
- data/lib/cucumber/rails/hooks/database_cleaner.rb +9 -3
- data/lib/cucumber/rails/hooks/mail.rb +4 -2
- data/spec/cucumber/rails/database_spec.rb +4 -0
- data/spec/examples.txt +19 -0
- data/tmp/aruba/test_app/Gemfile +62 -0
- data/tmp/aruba/test_app/Gemfile.lock +249 -0
- data/tmp/aruba/test_app/README.md +24 -0
- data/tmp/aruba/test_app/Rakefile +6 -0
- data/tmp/aruba/test_app/app/assets/config/manifest.js +3 -0
- data/tmp/aruba/test_app/app/assets/javascripts/application.js +16 -0
- data/tmp/aruba/test_app/app/assets/javascripts/appointments.coffee +3 -0
- data/tmp/aruba/test_app/app/assets/javascripts/cable.js +13 -0
- data/tmp/aruba/test_app/app/assets/stylesheets/application.css +15 -0
- data/tmp/aruba/test_app/app/assets/stylesheets/appointments.scss +3 -0
- data/tmp/aruba/test_app/app/assets/stylesheets/scaffolds.scss +84 -0
- data/tmp/aruba/test_app/app/channels/application_cable/channel.rb +4 -0
- data/tmp/aruba/test_app/app/channels/application_cable/connection.rb +4 -0
- data/tmp/aruba/test_app/app/controllers/application_controller.rb +2 -0
- data/tmp/aruba/test_app/app/controllers/appointments_controller.rb +74 -0
- data/tmp/aruba/test_app/app/helpers/application_helper.rb +2 -0
- data/tmp/aruba/test_app/app/helpers/appointments_helper.rb +2 -0
- data/tmp/aruba/test_app/app/jobs/application_job.rb +2 -0
- data/tmp/aruba/test_app/app/mailers/application_mailer.rb +4 -0
- data/tmp/aruba/test_app/app/models/application_record.rb +3 -0
- data/tmp/aruba/test_app/app/models/appointment.rb +2 -0
- data/tmp/aruba/test_app/app/views/appointments/_appointment.json.jbuilder +2 -0
- data/tmp/aruba/test_app/app/views/appointments/_form.html.erb +27 -0
- data/tmp/aruba/test_app/app/views/appointments/edit.html.erb +6 -0
- data/tmp/aruba/test_app/app/views/appointments/index.html.erb +29 -0
- data/tmp/aruba/test_app/app/views/appointments/index.json.jbuilder +1 -0
- data/tmp/aruba/test_app/app/views/appointments/new.html.erb +5 -0
- data/tmp/aruba/test_app/app/views/appointments/show.html.erb +14 -0
- data/tmp/aruba/test_app/app/views/appointments/show.json.jbuilder +1 -0
- data/tmp/aruba/test_app/app/views/layouts/application.html.erb +15 -0
- data/tmp/aruba/test_app/app/views/layouts/mailer.html.erb +13 -0
- data/tmp/aruba/test_app/app/views/layouts/mailer.text.erb +1 -0
- data/tmp/aruba/test_app/bin/bundle +3 -0
- data/tmp/aruba/test_app/bin/rails +4 -0
- data/tmp/aruba/test_app/bin/rake +4 -0
- data/tmp/aruba/test_app/bin/setup +36 -0
- data/tmp/aruba/test_app/bin/update +31 -0
- data/tmp/aruba/test_app/bin/yarn +11 -0
- data/tmp/aruba/test_app/config.ru +5 -0
- data/tmp/aruba/test_app/config/application.rb +19 -0
- data/tmp/aruba/test_app/config/boot.rb +3 -0
- data/tmp/aruba/test_app/config/cable.yml +10 -0
- data/tmp/aruba/test_app/config/credentials.yml.enc +1 -0
- data/tmp/aruba/test_app/config/cucumber.yml +9 -0
- data/tmp/aruba/test_app/config/database.yml +25 -0
- data/tmp/aruba/test_app/config/environment.rb +5 -0
- data/tmp/aruba/test_app/config/environments/development.rb +61 -0
- data/tmp/aruba/test_app/config/environments/production.rb +94 -0
- data/tmp/aruba/test_app/config/environments/test.rb +46 -0
- data/tmp/aruba/test_app/config/initializers/application_controller_renderer.rb +8 -0
- data/tmp/aruba/test_app/config/initializers/assets.rb +14 -0
- data/tmp/aruba/test_app/config/initializers/backtrace_silencers.rb +7 -0
- data/tmp/aruba/test_app/config/initializers/content_security_policy.rb +25 -0
- data/tmp/aruba/test_app/config/initializers/cookies_serializer.rb +5 -0
- data/tmp/aruba/test_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/tmp/aruba/test_app/config/initializers/inflections.rb +16 -0
- data/tmp/aruba/test_app/config/initializers/mime_types.rb +4 -0
- data/tmp/aruba/test_app/config/initializers/wrap_parameters.rb +14 -0
- data/tmp/aruba/test_app/config/locales/en.yml +33 -0
- data/tmp/aruba/test_app/config/master.key +1 -0
- data/tmp/aruba/test_app/config/puma.rb +37 -0
- data/tmp/aruba/test_app/config/routes.rb +4 -0
- data/tmp/aruba/test_app/config/storage.yml +34 -0
- data/tmp/aruba/test_app/db/development.sqlite3 +0 -0
- data/tmp/aruba/test_app/db/migrate/20200821080656_create_appointments.rb +10 -0
- data/tmp/aruba/test_app/db/schema.rb +22 -0
- data/tmp/aruba/test_app/db/seeds.rb +7 -0
- data/tmp/aruba/test_app/db/test.sqlite3 +0 -0
- data/tmp/aruba/test_app/features/create_appointment.feature +9 -0
- data/tmp/aruba/test_app/features/create_appointment_steps.rb +19 -0
- data/tmp/aruba/test_app/features/support/env.rb +18 -0
- data/tmp/aruba/test_app/lib/tasks/cucumber.rake +76 -0
- data/tmp/aruba/test_app/log/development.log +27 -0
- data/tmp/aruba/test_app/log/test.log +38 -0
- data/tmp/aruba/test_app/package.json +5 -0
- data/tmp/aruba/test_app/public/404.html +67 -0
- data/tmp/aruba/test_app/public/422.html +67 -0
- data/tmp/aruba/test_app/public/500.html +66 -0
- data/tmp/aruba/test_app/public/apple-touch-icon-precomposed.png +0 -0
- data/tmp/aruba/test_app/public/apple-touch-icon.png +0 -0
- data/tmp/aruba/test_app/public/favicon.ico +0 -0
- data/tmp/aruba/test_app/public/robots.txt +1 -0
- data/tmp/aruba/test_app/script/cucumber +11 -0
- data/tmp/aruba/test_app/test/application_system_test_case.rb +5 -0
- data/tmp/aruba/test_app/test/controllers/appointments_controller_test.rb +48 -0
- data/tmp/aruba/test_app/test/fixtures/appointments.yml +9 -0
- data/tmp/aruba/test_app/test/models/appointment_test.rb +7 -0
- data/tmp/aruba/test_app/test/system/appointments_test.rb +45 -0
- data/tmp/aruba/test_app/test/test_helper.rb +10 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/0I/0I0oT83oN3NKiEi9XIhexiT3XgkA8mKyCbs25v3l20g.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/0W/0WnFNEwHN4bhDiFTvyMWURx02L4yP3gkP7vtjzKQFVo.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/2B/2Bg65dpvTdePrXa_wG6RsHpQzbqVSiHK0FVa0WdOJ4k.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/2r/2r_85kVmIcWzvJH72GapWtLDhaMP2HEziNxykyYpAUg.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/72/72jdZDzrM3-D_zYkIiPdAWQNeaFsqah154_QvcqWqTQ.cache +3 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/99/99m8UCKl4j8IpsVOK8ltLHyNh8Ae0nHw3GBkC34V_co.cache +2 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/9O/9OOXnKHBQnaCeE5HDe5csQsItouzWM6rTl8sESvkGTE.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/AF/AFloQwm_M7GZudPY87xx4TA0xEeuX9Psl0SJ94i5EyU.cache +3 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/AP/APDAc8aUg_16wNWrVhCJcKeqbxyOScYGVhiDVgbrV7U.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/B4/B43LeT9Wba4fLvXw-C_kKq-x9HwYZxnBBiltbIufzzQ.cache +2 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/EO/EOut5kyDPr7aKrHdvDsNJuYarA8XGnpAlDvBimlaC08.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/GJ/GJzxuc2i_d4Uhxs4IMnbQXhxBc9CTLrnQyzxwTqKOBw.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Ge/Ge2oyaUStbQszLfXjgTi6LkncyS5SKfV8RJwbRA3HbI.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +2 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Hv/HvPd_vK17QbhWq8QnCuyhqm0cPaGnHyO9lSzN-icQdg.cache +2 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/II/IIhUO-5-DcfCyD_rVJeHjRMNVJxLmAmXP8i2XEjFpns.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Ka/KaLHRsUYc4EUxUr4q_UhArFJUTF_EaBklpeU4TsE9SY.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/MZ/MZcwDENEs93Wd9q7A_7UWdfJrWsBXa0pGp03P9mqG2I.cache +3 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Nw/NwHea3ImBECnlmojPb9X9ZDfvRRuX_dX9sxISdtp9-A.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/PP/PPKuKT7m2PMDHVzBcYjePvXU6CbCW63Iqe3Q2a-Jdh8.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/RE/REtgGrS74n4Y7OKRcGvZsA2EUClg_RM66mVgGpySI20.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Rk/RkQLRXSz5LhJQnH7BT-ZDkVK0Rx8N9KhcVwR2A1HY4M.cache +2 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Sx/SxtNEQ-KKVBCTtsDD-xf4oJEIdBPIHkGktnLXvG-GRk.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/TL/TLxLzqEAxKzTHH9EwSg5Lvcp3zgGuhjTjed121DSu9U.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/U1/U1D7nCXYBD3VlPnXGs_6mRtlhs-Gvv_vvCUYlTf4Grw.cache +3 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/U6/U6pXyI-5haNcHRdsB-SoztzlXb98-256hFReXsL31J4.cache +2 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/UE/UEKUaC9O_XBO5acP8HnxcJ1dtNM_1C7MTofkTQvPgRA.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/UV/UVcnI5bo-eQvULfmzeQUFVTDYEMF2cbAXpsOsh01XNY.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/WK/WK8RpMP5qb9GRQTsTHAzlfo8t2nsTLU6B8CQAc4UfOU.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Xk/Xk8p9O39-syzKbpnoMRChld0TpoZFWlNIzeT5XKw2fQ.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Zv/ZvCEW2ZyS-k4cHH7Gd8P2nKFE9Uh1VOrfR-1PYY2yz8.cache +5 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/ac/acWu1-1ZAW1jRVKlHYlzlEg28lk-SdHfTq-P-viJMS0.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/b3/b3NiYrQOlN2zxiJYqbl4gmvK6it3Md9gSzAYgsIMhnY.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/c1/c1Pm-rFPEB3LXIjOtswD6x8SEAgI9y2BR16jc8ifcsc.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/em/emTQG2a9zF8NuvElLOnEpNJp0wq3_gVSDAM60vyXAzE.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/fX/fXH3Db_88TmJFhRydoFTx8tZbHAkLzK2ZZ0lsBEg8xA.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/gI/gIHntmCf7DbObPL_KZJYSgduAmqX18ZZPOtq85pn8vo.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/kP/kPwbLAUCLjv0x6fe5lvZpmUkgmvQSDHSdEOSdbMyDgY.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/kT/kT98Z_slHI6SgdEmoAtKAHyJQjTHdbe6GAbB27RP2uI.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/mt/mtT4Rwi7H_vHQXdxxPvvzhL4ziA7X9WK-JXzacxWlEA.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/mz/mzgD6X_N-fO95dP8Q1Q1sApCrbSmgPgsuEKv65KYcdo.cache +3 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/oi/oiPhXw8pYdWv5T4qRFzePHaXZLI50xMvvTyfry-ILSo.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/r-/r--YB1ugrZ4F-ogbLLYNwIH3j9pQ2u_ZBjTJxoS7TrM.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/s6/s68UIyg0lNko7IA42JXv_wwy9Ea3WH-zc9h0GYPg88Y.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/si/siT97rfEKbIWcCj6KUBChX7kpRBKI2fAeGGwpsz0tTU.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/st/stqDgDfAemfEq7ZxlEj6YThpn8_1Nfw2bRVA0N03YTw.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/t9/t93lpjyly3MvgKs51_OlLXneJXGyYFGmshXsk4Wr69M.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/tE/tEy2QePsDnmFyyAQEric23sSBnfHBst3SEM7p-J7el8.cache +2 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/tR/tRV7SyAY9c71G0o-8bElvNI76KcWhc5NVm48xflMPpM.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/tg/tggwa2O6A41xeZTK4SR0qcX0X55aOGg6q8ZWfqma1vM.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/uB/uBKOYcdzL_6Amevsu-uKAMTg7QGW5kgC0t5sAZINrcI.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/uE/uEyPXY2m04nerJV0pn3p-B-BlkJ08oufpQH1G2QXPw4.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/up/upyndqsU9bU6WV8qyMy7MLpcQoybRqgj-qA3C3pjzXY.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/ux/uxx-W2TOCdnAEGX0ZLThb_QIEbLYutX8qCwD0glYCKE.cache +3 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/vC/vCsc-q2WmT8vWM2d2pb6_5hFav8mGlylwEKVWQvsumo.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/vc/vcgiILg1wO98x-a4kX678ASAFWA1cL0iVx07VkHLPqA.cache +0 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/vu/vu6xNIGT6zorPmcKfd7edgxBltTmIRXU281uyK51kkU.cache +1 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/w4/w4y_Lms54hD2Nivh5PHeccAmh2DX53sc_HDTQYNyNXw.cache +3 -0
- data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/yZ/yZpoD5Zf4RAQoOwi5kMVksuta_0KhYSK_Yy_6Ykyt7E.cache +1 -0
- data/tmp/aruba/test_app/tmp/development_secret.txt +1 -0
- metadata +212 -36
- data/.github/ISSUE_TEMPLATE.md +0 -52
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -42
- data/.gitignore +0 -14
- data/.rspec +0 -4
- data/.rubocop.yml +0 -68
- data/.travis.yml +0 -62
- data/config/.gitignore +0 -1
- data/gemfiles/rails_4_2.gemfile +0 -10
data/.github/ISSUE_TEMPLATE.md
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
<!-- NAMING YOUR ISSUE: Please prefix your issue with the name of the sub-project -->
|
2
|
-
<!-- e.g. `event-protocol: Schemas out of date` -->
|
3
|
-
<!-- This makes it easier to get some context when reading the names of issues -->
|
4
|
-
|
5
|
-
<!-- These sections are meant as guidance for you, to help you give the kind of information we'll need to help with your issue. If a section doesn't seem to fit, just skip it.
|
6
|
-
|
7
|
-
In general: Please provide as much information as you can to help us solving your problem -->
|
8
|
-
|
9
|
-
## Summary
|
10
|
-
|
11
|
-
<!--- Provide a general summary description of the issue -->
|
12
|
-
|
13
|
-
## Expected Behavior
|
14
|
-
|
15
|
-
<!--- If you're describing a bug, tell us what should happen -->
|
16
|
-
<!--- If you're suggesting a change/improvement, tell us how it should work -->
|
17
|
-
<!--- Feel free to use Given / Then / Then if that helps, but please add some plain-language context too -->
|
18
|
-
|
19
|
-
## Current Behavior
|
20
|
-
|
21
|
-
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
|
22
|
-
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
|
23
|
-
|
24
|
-
<!--- If you have got some output place it in the code block below. Otherwise remove it. -->
|
25
|
-
~~~
|
26
|
-
~~~
|
27
|
-
|
28
|
-
## Possible Solution
|
29
|
-
|
30
|
-
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
|
31
|
-
<!--- or ideas how to implement the addition or change -->
|
32
|
-
|
33
|
-
## Steps to Reproduce (for bugs)
|
34
|
-
|
35
|
-
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
|
36
|
-
<!--- reproduce this bug. Include code to reproduce, if relevant -->
|
37
|
-
1.
|
38
|
-
2.
|
39
|
-
3.
|
40
|
-
4.
|
41
|
-
|
42
|
-
## Context & Motivation
|
43
|
-
|
44
|
-
<!--- How has this issue affected you? What are you trying to accomplish? -->
|
45
|
-
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
|
46
|
-
|
47
|
-
## Your Environment
|
48
|
-
|
49
|
-
<!--- If you're reporting a bug, include as many relevant details about the environment you experienced the bug in -->
|
50
|
-
* Version used:
|
51
|
-
* Operating System and version:
|
52
|
-
* Link to your project:
|
@@ -1,42 +0,0 @@
|
|
1
|
-
<!-- NAMING YOUR PULL REQUEST: Please choose a concise, descriptive name for your pull request. -->
|
2
|
-
<!-- This makes it easier to get some context when reading the names of issues -->
|
3
|
-
|
4
|
-
<!-- These sections are meant as guidance for you. If something doesn't fit, you can just skip it. -->
|
5
|
-
|
6
|
-
## Summary
|
7
|
-
|
8
|
-
<!--- Provide a general summary description of your changes -->
|
9
|
-
|
10
|
-
## Details
|
11
|
-
|
12
|
-
<!--- Describe your changes in detail -->
|
13
|
-
|
14
|
-
## Motivation and Context
|
15
|
-
|
16
|
-
<!--- Why is this change required? What problem does it solve? -->
|
17
|
-
<!--- If it fixes an open issue, please link to the issue here. -->
|
18
|
-
|
19
|
-
## How Has This Been Tested?
|
20
|
-
|
21
|
-
<!--- Please add tests for changes to the code, otherwise we probably won't merge it -->
|
22
|
-
|
23
|
-
<!--- Please describe in detail how you tested your changes. -->
|
24
|
-
<!--- Include details of your testing environment, tests ran to see how -->
|
25
|
-
<!--- your change affects other areas of the code, etc. -->
|
26
|
-
|
27
|
-
## Screenshots (if appropriate):
|
28
|
-
|
29
|
-
## Types of changes
|
30
|
-
|
31
|
-
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
|
32
|
-
- [ ] Bug fix (non-breaking change which fixes an issue).
|
33
|
-
- [ ] New feature (non-breaking change which adds functionality).
|
34
|
-
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
|
35
|
-
|
36
|
-
## Checklist:
|
37
|
-
|
38
|
-
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
|
39
|
-
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
|
40
|
-
- [ ] I've added tests for my code.
|
41
|
-
- [ ] My change requires a change to the documentation.
|
42
|
-
- [ ] I have updated the documentation accordingly.
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
require:
|
2
|
-
- rubocop-rspec
|
3
|
-
- rubocop-performance
|
4
|
-
|
5
|
-
AllCops:
|
6
|
-
TargetRubyVersion: 2.4
|
7
|
-
Exclude:
|
8
|
-
# These are auto-generated from a load of features that use aruba
|
9
|
-
- 'tmp/**/*'
|
10
|
-
# Generated by appraisal
|
11
|
-
- 'gemfiles/*.gemfile'
|
12
|
-
|
13
|
-
# These two areas will frequently break this limit, so we ignore the limit
|
14
|
-
Metrics/BlockLength:
|
15
|
-
Exclude:
|
16
|
-
- './spec/**/*_spec.rb'
|
17
|
-
- 'cucumber-rails.gemspec'
|
18
|
-
|
19
|
-
# This allows us to read the chmod action in a more reproducible way
|
20
|
-
Style/NumericLiteralPrefix:
|
21
|
-
EnforcedOctalStyle: zero_only
|
22
|
-
|
23
|
-
# Enable new cops
|
24
|
-
Layout/EmptyLinesAroundAttributeAccessor:
|
25
|
-
Enabled: true
|
26
|
-
Layout/SpaceAroundMethodCallOperator:
|
27
|
-
Enabled: true
|
28
|
-
Lint/DeprecatedOpenSSLConstant:
|
29
|
-
Enabled: true
|
30
|
-
Lint/MixedRegexpCaptureTypes:
|
31
|
-
Enabled: true
|
32
|
-
Lint/RaiseException:
|
33
|
-
Enabled: true
|
34
|
-
Lint/StructNewOverride:
|
35
|
-
Enabled: true
|
36
|
-
Style/ExponentialNotation:
|
37
|
-
Enabled: true
|
38
|
-
Style/HashEachMethods:
|
39
|
-
Enabled: true
|
40
|
-
Style/HashTransformKeys:
|
41
|
-
Enabled: true
|
42
|
-
Style/HashTransformValues:
|
43
|
-
Enabled: true
|
44
|
-
Style/RedundantRegexpCharacterClass:
|
45
|
-
Enabled: true
|
46
|
-
Style/RedundantRegexpEscape:
|
47
|
-
Enabled: true
|
48
|
-
Style/SlicingWithRange:
|
49
|
-
Enabled: true
|
50
|
-
|
51
|
-
## Cucumber Repo styles (Across implementations) ##
|
52
|
-
|
53
|
-
Layout/LineLength:
|
54
|
-
Max: 200
|
55
|
-
IgnoredPatterns:
|
56
|
-
- '^Given'
|
57
|
-
- '^When'
|
58
|
-
- '^Then'
|
59
|
-
|
60
|
-
Style/Documentation:
|
61
|
-
Enabled: false
|
62
|
-
|
63
|
-
Style/RegexpLiteral:
|
64
|
-
EnforcedStyle: slashes
|
65
|
-
AllowInnerSlashes: true
|
66
|
-
|
67
|
-
RSpec/MessageSpies:
|
68
|
-
EnforcedStyle: receive
|
data/.travis.yml
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
|
3
|
-
dist: bionic
|
4
|
-
|
5
|
-
rvm:
|
6
|
-
- 2.4
|
7
|
-
- 2.5
|
8
|
-
- 2.6
|
9
|
-
- 2.7
|
10
|
-
- ruby-head
|
11
|
-
|
12
|
-
addons:
|
13
|
-
firefox: latest
|
14
|
-
|
15
|
-
branches:
|
16
|
-
only:
|
17
|
-
- master
|
18
|
-
|
19
|
-
services:
|
20
|
-
- xvfb
|
21
|
-
|
22
|
-
gemfile:
|
23
|
-
- gemfiles/rails_6_0.gemfile
|
24
|
-
- gemfiles/rails_5_2.gemfile
|
25
|
-
- gemfiles/rails_5_1.gemfile
|
26
|
-
- gemfiles/rails_5_0.gemfile
|
27
|
-
- gemfiles/rails_4_2.gemfile
|
28
|
-
|
29
|
-
matrix:
|
30
|
-
fast_finish: true
|
31
|
-
allow_failures:
|
32
|
-
- rvm: ruby-head
|
33
|
-
exclude:
|
34
|
-
# Only test Rails6 on supported rubies
|
35
|
-
# Don't test lowest rails support on maintained rubies
|
36
|
-
- rvm: 2.4
|
37
|
-
gemfile: gemfiles/rails_6_0.gemfile
|
38
|
-
- rvm: 2.5
|
39
|
-
gemfile: gemfiles/rails_4_2.gemfile
|
40
|
-
- rvm: 2.6
|
41
|
-
gemfile: gemfiles/rails_4_2.gemfile
|
42
|
-
- rvm: 2.6
|
43
|
-
gemfile: gemfiles/rails_5_0.gemfile
|
44
|
-
- rvm: 2.6
|
45
|
-
gemfile: gemfiles/rails_5_1.gemfile
|
46
|
-
- rvm: 2.7
|
47
|
-
gemfile: gemfiles/rails_4_2.gemfile
|
48
|
-
- rvm: 2.7
|
49
|
-
gemfile: gemfiles/rails_5_0.gemfile
|
50
|
-
- rvm: 2.7
|
51
|
-
gemfile: gemfiles/rails_5_1.gemfile
|
52
|
-
- rvm: ruby-head
|
53
|
-
gemfile: gemfiles/rails_4_2.gemfile
|
54
|
-
- rvm: ruby-head
|
55
|
-
gemfile: gemfiles/rails_5_0.gemfile
|
56
|
-
- rvm: ruby-head
|
57
|
-
gemfile: gemfiles/rails_5_1.gemfile
|
58
|
-
|
59
|
-
before_install:
|
60
|
-
- gem install --remote bundler -v '~> 1.17'
|
61
|
-
- bin/install_geckodriver.sh
|
62
|
-
- bin/install_webpacker.sh
|
data/config/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
aruba-rvm.yml
|
data/gemfiles/rails_4_2.gemfile
DELETED