cucumber-rails 1.6.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. checksums.yaml +5 -5
  2. data/Appraisals +18 -88
  3. data/CHANGELOG.md +208 -14
  4. data/CONTRIBUTING.md +27 -24
  5. data/Gemfile +2 -4
  6. data/LICENSE +1 -1
  7. data/README.md +45 -31
  8. data/Rakefile +17 -13
  9. data/bin/install_geckodriver.sh +19 -0
  10. data/bin/install_webpacker.sh +9 -0
  11. data/config/cucumber.yml +0 -3
  12. data/cucumber-rails.gemspec +40 -33
  13. data/dev_tasks/cucumber.rake +2 -0
  14. data/dev_tasks/rspec.rake +2 -0
  15. data/dev_tasks/yard.rake +7 -14
  16. data/dev_tasks/yard/default/layout/html/setup.rb +6 -1
  17. data/features/allow_rescue.feature +16 -11
  18. data/features/annotations.feature +8 -11
  19. data/features/capybara_javascript_drivers.feature +90 -31
  20. data/features/choose_javascript_database_strategy.feature +36 -56
  21. data/features/configuration.feature +48 -0
  22. data/features/database_cleaner.feature +103 -16
  23. data/features/disable_automatic_database_cleaning.feature +10 -16
  24. data/features/emulate_javascript.feature +59 -44
  25. data/features/install_cucumber_rails.feature +4 -4
  26. data/features/no_database.feature +6 -6
  27. data/features/raising_errors.feature +9 -3
  28. data/features/rerun_profile.feature +5 -4
  29. data/features/rest_api.feature +11 -11
  30. data/features/step_definitions/cucumber_rails_steps.rb +43 -100
  31. data/features/support/aruba.rb +3 -1
  32. data/features/support/cucumber_rails_helper.rb +86 -0
  33. data/features/support/env.rb +4 -38
  34. data/features/support/hooks.rb +8 -0
  35. data/gemfiles/rails_5_0.gemfile +4 -12
  36. data/gemfiles/rails_5_1.gemfile +3 -10
  37. data/gemfiles/rails_5_2.gemfile +2 -10
  38. data/gemfiles/rails_6_0.gemfile +8 -0
  39. data/lib/cucumber/rails.rb +23 -17
  40. data/lib/cucumber/rails/action_dispatch.rb +21 -0
  41. data/lib/cucumber/rails/application.rb +16 -7
  42. data/lib/cucumber/rails/capybara.rb +2 -0
  43. data/lib/cucumber/rails/capybara/javascript_emulation.rb +43 -35
  44. data/lib/cucumber/rails/capybara/select_dates_and_times.rb +3 -1
  45. data/lib/cucumber/rails/database.rb +24 -56
  46. data/lib/cucumber/rails/database/deletion_strategy.rb +11 -0
  47. data/lib/cucumber/rails/database/shared_connection_strategy.rb +25 -0
  48. data/lib/cucumber/rails/database/strategy.rb +31 -0
  49. data/lib/cucumber/rails/database/truncation_strategy.rb +11 -0
  50. data/lib/cucumber/rails/hooks.rb +2 -0
  51. data/lib/cucumber/rails/hooks/active_record.rb +8 -4
  52. data/lib/cucumber/rails/hooks/allow_rescue.rb +2 -0
  53. data/lib/cucumber/rails/hooks/database_cleaner.rb +11 -3
  54. data/lib/cucumber/rails/hooks/mail.rb +3 -1
  55. data/lib/cucumber/rails/rspec.rb +3 -1
  56. data/lib/cucumber/rails/world.rb +24 -7
  57. data/lib/generators/cucumber/{install/USAGE → USAGE} +0 -0
  58. data/lib/generators/cucumber/{install/install_generator.rb → install_generator.rb} +23 -10
  59. data/lib/generators/cucumber/{install/templates → templates}/config/cucumber.yml.erb +0 -0
  60. data/lib/generators/cucumber/{install/templates → templates}/script/cucumber +1 -0
  61. data/lib/generators/cucumber/{install/templates → templates}/support/_rails_each_run.rb.erb +0 -0
  62. data/lib/generators/cucumber/{install/templates → templates}/support/_rails_prefork.rb.erb +0 -0
  63. data/lib/generators/cucumber/{install/templates → templates}/support/capybara.rb +2 -0
  64. data/lib/generators/cucumber/{install/templates → templates}/support/edit_warning.txt +0 -0
  65. data/lib/generators/cucumber/{install/templates → templates}/support/rails.rb.erb +0 -0
  66. data/lib/generators/cucumber/{install/templates → templates}/support/rails_spork.rb.erb +0 -0
  67. data/lib/generators/cucumber/{install/templates → templates}/tasks/cucumber.rake.erb +0 -0
  68. data/spec/cucumber/rails/database_spec.rb +50 -33
  69. data/spec/examples.txt +19 -0
  70. data/spec/generators/cucumber/{install/install_generator_spec.rb → install_generator_spec.rb} +16 -8
  71. data/spec/spec_helper.rb +4 -2
  72. data/tmp/aruba/test_app/Gemfile +62 -0
  73. data/tmp/aruba/test_app/Gemfile.lock +249 -0
  74. data/tmp/aruba/test_app/README.md +24 -0
  75. data/tmp/aruba/test_app/Rakefile +6 -0
  76. data/tmp/aruba/test_app/app/assets/config/manifest.js +3 -0
  77. data/tmp/aruba/test_app/app/assets/javascripts/application.js +16 -0
  78. data/tmp/aruba/test_app/app/assets/javascripts/appointments.coffee +3 -0
  79. data/tmp/aruba/test_app/app/assets/javascripts/cable.js +13 -0
  80. data/tmp/aruba/test_app/app/assets/stylesheets/application.css +15 -0
  81. data/tmp/aruba/test_app/app/assets/stylesheets/appointments.scss +3 -0
  82. data/tmp/aruba/test_app/app/assets/stylesheets/scaffolds.scss +84 -0
  83. data/tmp/aruba/test_app/app/channels/application_cable/channel.rb +4 -0
  84. data/tmp/aruba/test_app/app/channels/application_cable/connection.rb +4 -0
  85. data/tmp/aruba/test_app/app/controllers/application_controller.rb +2 -0
  86. data/tmp/aruba/test_app/app/controllers/appointments_controller.rb +74 -0
  87. data/tmp/aruba/test_app/app/helpers/application_helper.rb +2 -0
  88. data/tmp/aruba/test_app/app/helpers/appointments_helper.rb +2 -0
  89. data/tmp/aruba/test_app/app/jobs/application_job.rb +2 -0
  90. data/tmp/aruba/test_app/app/mailers/application_mailer.rb +4 -0
  91. data/tmp/aruba/test_app/app/models/application_record.rb +3 -0
  92. data/tmp/aruba/test_app/app/models/appointment.rb +2 -0
  93. data/tmp/aruba/test_app/app/views/appointments/_appointment.json.jbuilder +2 -0
  94. data/tmp/aruba/test_app/app/views/appointments/_form.html.erb +27 -0
  95. data/tmp/aruba/test_app/app/views/appointments/edit.html.erb +6 -0
  96. data/tmp/aruba/test_app/app/views/appointments/index.html.erb +29 -0
  97. data/tmp/aruba/test_app/app/views/appointments/index.json.jbuilder +1 -0
  98. data/tmp/aruba/test_app/app/views/appointments/new.html.erb +5 -0
  99. data/tmp/aruba/test_app/app/views/appointments/show.html.erb +14 -0
  100. data/tmp/aruba/test_app/app/views/appointments/show.json.jbuilder +1 -0
  101. data/tmp/aruba/test_app/app/views/layouts/application.html.erb +15 -0
  102. data/tmp/aruba/test_app/app/views/layouts/mailer.html.erb +13 -0
  103. data/tmp/aruba/test_app/app/views/layouts/mailer.text.erb +1 -0
  104. data/tmp/aruba/test_app/bin/bundle +3 -0
  105. data/tmp/aruba/test_app/bin/rails +4 -0
  106. data/tmp/aruba/test_app/bin/rake +4 -0
  107. data/tmp/aruba/test_app/bin/setup +36 -0
  108. data/tmp/aruba/test_app/bin/update +31 -0
  109. data/tmp/aruba/test_app/bin/yarn +11 -0
  110. data/tmp/aruba/test_app/config.ru +5 -0
  111. data/tmp/aruba/test_app/config/application.rb +19 -0
  112. data/tmp/aruba/test_app/config/boot.rb +3 -0
  113. data/tmp/aruba/test_app/config/cable.yml +10 -0
  114. data/tmp/aruba/test_app/config/credentials.yml.enc +1 -0
  115. data/tmp/aruba/test_app/config/cucumber.yml +9 -0
  116. data/tmp/aruba/test_app/config/database.yml +25 -0
  117. data/tmp/aruba/test_app/config/environment.rb +5 -0
  118. data/tmp/aruba/test_app/config/environments/development.rb +61 -0
  119. data/tmp/aruba/test_app/config/environments/production.rb +94 -0
  120. data/tmp/aruba/test_app/config/environments/test.rb +46 -0
  121. data/tmp/aruba/test_app/config/initializers/application_controller_renderer.rb +8 -0
  122. data/tmp/aruba/test_app/config/initializers/assets.rb +14 -0
  123. data/tmp/aruba/test_app/config/initializers/backtrace_silencers.rb +7 -0
  124. data/tmp/aruba/test_app/config/initializers/content_security_policy.rb +25 -0
  125. data/tmp/aruba/test_app/config/initializers/cookies_serializer.rb +5 -0
  126. data/tmp/aruba/test_app/config/initializers/filter_parameter_logging.rb +4 -0
  127. data/tmp/aruba/test_app/config/initializers/inflections.rb +16 -0
  128. data/tmp/aruba/test_app/config/initializers/mime_types.rb +4 -0
  129. data/tmp/aruba/test_app/config/initializers/wrap_parameters.rb +14 -0
  130. data/tmp/aruba/test_app/config/locales/en.yml +33 -0
  131. data/tmp/aruba/test_app/config/master.key +1 -0
  132. data/tmp/aruba/test_app/config/puma.rb +37 -0
  133. data/tmp/aruba/test_app/config/routes.rb +4 -0
  134. data/tmp/aruba/test_app/config/storage.yml +34 -0
  135. data/tmp/aruba/test_app/db/development.sqlite3 +0 -0
  136. data/tmp/aruba/test_app/db/migrate/20200821080656_create_appointments.rb +10 -0
  137. data/tmp/aruba/test_app/db/schema.rb +22 -0
  138. data/tmp/aruba/test_app/db/seeds.rb +7 -0
  139. data/tmp/aruba/test_app/db/test.sqlite3 +0 -0
  140. data/tmp/aruba/test_app/features/create_appointment.feature +9 -0
  141. data/tmp/aruba/test_app/features/create_appointment_steps.rb +19 -0
  142. data/tmp/aruba/test_app/features/support/env.rb +18 -0
  143. data/tmp/aruba/test_app/lib/tasks/cucumber.rake +76 -0
  144. data/tmp/aruba/test_app/log/development.log +27 -0
  145. data/tmp/aruba/test_app/log/test.log +38 -0
  146. data/tmp/aruba/test_app/package.json +5 -0
  147. data/tmp/aruba/test_app/public/404.html +67 -0
  148. data/tmp/aruba/test_app/public/422.html +67 -0
  149. data/tmp/aruba/test_app/public/500.html +66 -0
  150. data/tmp/aruba/test_app/public/apple-touch-icon-precomposed.png +0 -0
  151. data/tmp/aruba/test_app/public/apple-touch-icon.png +0 -0
  152. data/tmp/aruba/test_app/public/favicon.ico +0 -0
  153. data/tmp/aruba/test_app/public/robots.txt +1 -0
  154. data/tmp/aruba/test_app/script/cucumber +11 -0
  155. data/tmp/aruba/test_app/test/application_system_test_case.rb +5 -0
  156. data/tmp/aruba/test_app/test/controllers/appointments_controller_test.rb +48 -0
  157. data/tmp/aruba/test_app/test/fixtures/appointments.yml +9 -0
  158. data/tmp/aruba/test_app/test/models/appointment_test.rb +7 -0
  159. data/tmp/aruba/test_app/test/system/appointments_test.rb +45 -0
  160. data/tmp/aruba/test_app/test/test_helper.rb +10 -0
  161. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/0I/0I0oT83oN3NKiEi9XIhexiT3XgkA8mKyCbs25v3l20g.cache +1 -0
  162. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/0W/0WnFNEwHN4bhDiFTvyMWURx02L4yP3gkP7vtjzKQFVo.cache +1 -0
  163. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/2B/2Bg65dpvTdePrXa_wG6RsHpQzbqVSiHK0FVa0WdOJ4k.cache +0 -0
  164. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/2r/2r_85kVmIcWzvJH72GapWtLDhaMP2HEziNxykyYpAUg.cache +1 -0
  165. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/72/72jdZDzrM3-D_zYkIiPdAWQNeaFsqah154_QvcqWqTQ.cache +3 -0
  166. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/99/99m8UCKl4j8IpsVOK8ltLHyNh8Ae0nHw3GBkC34V_co.cache +2 -0
  167. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/9O/9OOXnKHBQnaCeE5HDe5csQsItouzWM6rTl8sESvkGTE.cache +1 -0
  168. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/AF/AFloQwm_M7GZudPY87xx4TA0xEeuX9Psl0SJ94i5EyU.cache +3 -0
  169. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/AP/APDAc8aUg_16wNWrVhCJcKeqbxyOScYGVhiDVgbrV7U.cache +0 -0
  170. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/B4/B43LeT9Wba4fLvXw-C_kKq-x9HwYZxnBBiltbIufzzQ.cache +2 -0
  171. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/EO/EOut5kyDPr7aKrHdvDsNJuYarA8XGnpAlDvBimlaC08.cache +0 -0
  172. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/GJ/GJzxuc2i_d4Uhxs4IMnbQXhxBc9CTLrnQyzxwTqKOBw.cache +0 -0
  173. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Ge/Ge2oyaUStbQszLfXjgTi6LkncyS5SKfV8RJwbRA3HbI.cache +1 -0
  174. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +2 -0
  175. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Hv/HvPd_vK17QbhWq8QnCuyhqm0cPaGnHyO9lSzN-icQdg.cache +2 -0
  176. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/II/IIhUO-5-DcfCyD_rVJeHjRMNVJxLmAmXP8i2XEjFpns.cache +1 -0
  177. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Ka/KaLHRsUYc4EUxUr4q_UhArFJUTF_EaBklpeU4TsE9SY.cache +1 -0
  178. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/MZ/MZcwDENEs93Wd9q7A_7UWdfJrWsBXa0pGp03P9mqG2I.cache +3 -0
  179. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Nw/NwHea3ImBECnlmojPb9X9ZDfvRRuX_dX9sxISdtp9-A.cache +0 -0
  180. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/PP/PPKuKT7m2PMDHVzBcYjePvXU6CbCW63Iqe3Q2a-Jdh8.cache +1 -0
  181. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/RE/REtgGrS74n4Y7OKRcGvZsA2EUClg_RM66mVgGpySI20.cache +1 -0
  182. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Rk/RkQLRXSz5LhJQnH7BT-ZDkVK0Rx8N9KhcVwR2A1HY4M.cache +2 -0
  183. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Sx/SxtNEQ-KKVBCTtsDD-xf4oJEIdBPIHkGktnLXvG-GRk.cache +1 -0
  184. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/TL/TLxLzqEAxKzTHH9EwSg5Lvcp3zgGuhjTjed121DSu9U.cache +0 -0
  185. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/U1/U1D7nCXYBD3VlPnXGs_6mRtlhs-Gvv_vvCUYlTf4Grw.cache +3 -0
  186. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/U6/U6pXyI-5haNcHRdsB-SoztzlXb98-256hFReXsL31J4.cache +2 -0
  187. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/UE/UEKUaC9O_XBO5acP8HnxcJ1dtNM_1C7MTofkTQvPgRA.cache +1 -0
  188. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/UV/UVcnI5bo-eQvULfmzeQUFVTDYEMF2cbAXpsOsh01XNY.cache +1 -0
  189. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/WK/WK8RpMP5qb9GRQTsTHAzlfo8t2nsTLU6B8CQAc4UfOU.cache +1 -0
  190. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Xk/Xk8p9O39-syzKbpnoMRChld0TpoZFWlNIzeT5XKw2fQ.cache +0 -0
  191. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/Zv/ZvCEW2ZyS-k4cHH7Gd8P2nKFE9Uh1VOrfR-1PYY2yz8.cache +5 -0
  192. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/ac/acWu1-1ZAW1jRVKlHYlzlEg28lk-SdHfTq-P-viJMS0.cache +1 -0
  193. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/b3/b3NiYrQOlN2zxiJYqbl4gmvK6it3Md9gSzAYgsIMhnY.cache +1 -0
  194. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/c1/c1Pm-rFPEB3LXIjOtswD6x8SEAgI9y2BR16jc8ifcsc.cache +1 -0
  195. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/em/emTQG2a9zF8NuvElLOnEpNJp0wq3_gVSDAM60vyXAzE.cache +0 -0
  196. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/fX/fXH3Db_88TmJFhRydoFTx8tZbHAkLzK2ZZ0lsBEg8xA.cache +0 -0
  197. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/gI/gIHntmCf7DbObPL_KZJYSgduAmqX18ZZPOtq85pn8vo.cache +0 -0
  198. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/kP/kPwbLAUCLjv0x6fe5lvZpmUkgmvQSDHSdEOSdbMyDgY.cache +0 -0
  199. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/kT/kT98Z_slHI6SgdEmoAtKAHyJQjTHdbe6GAbB27RP2uI.cache +1 -0
  200. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/mt/mtT4Rwi7H_vHQXdxxPvvzhL4ziA7X9WK-JXzacxWlEA.cache +0 -0
  201. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/mz/mzgD6X_N-fO95dP8Q1Q1sApCrbSmgPgsuEKv65KYcdo.cache +3 -0
  202. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/oi/oiPhXw8pYdWv5T4qRFzePHaXZLI50xMvvTyfry-ILSo.cache +1 -0
  203. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/r-/r--YB1ugrZ4F-ogbLLYNwIH3j9pQ2u_ZBjTJxoS7TrM.cache +1 -0
  204. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/s6/s68UIyg0lNko7IA42JXv_wwy9Ea3WH-zc9h0GYPg88Y.cache +1 -0
  205. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/si/siT97rfEKbIWcCj6KUBChX7kpRBKI2fAeGGwpsz0tTU.cache +0 -0
  206. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/st/stqDgDfAemfEq7ZxlEj6YThpn8_1Nfw2bRVA0N03YTw.cache +1 -0
  207. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/t9/t93lpjyly3MvgKs51_OlLXneJXGyYFGmshXsk4Wr69M.cache +1 -0
  208. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/tE/tEy2QePsDnmFyyAQEric23sSBnfHBst3SEM7p-J7el8.cache +2 -0
  209. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/tR/tRV7SyAY9c71G0o-8bElvNI76KcWhc5NVm48xflMPpM.cache +0 -0
  210. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/tg/tggwa2O6A41xeZTK4SR0qcX0X55aOGg6q8ZWfqma1vM.cache +0 -0
  211. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/uB/uBKOYcdzL_6Amevsu-uKAMTg7QGW5kgC0t5sAZINrcI.cache +0 -0
  212. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/uE/uEyPXY2m04nerJV0pn3p-B-BlkJ08oufpQH1G2QXPw4.cache +1 -0
  213. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/up/upyndqsU9bU6WV8qyMy7MLpcQoybRqgj-qA3C3pjzXY.cache +0 -0
  214. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/ux/uxx-W2TOCdnAEGX0ZLThb_QIEbLYutX8qCwD0glYCKE.cache +3 -0
  215. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/vC/vCsc-q2WmT8vWM2d2pb6_5hFav8mGlylwEKVWQvsumo.cache +1 -0
  216. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/vc/vcgiILg1wO98x-a4kX678ASAFWA1cL0iVx07VkHLPqA.cache +0 -0
  217. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/vu/vu6xNIGT6zorPmcKfd7edgxBltTmIRXU281uyK51kkU.cache +1 -0
  218. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/w4/w4y_Lms54hD2Nivh5PHeccAmh2DX53sc_HDTQYNyNXw.cache +3 -0
  219. data/tmp/aruba/test_app/tmp/cache/assets/sprockets/v3.0/yZ/yZpoD5Zf4RAQoOwi5kMVksuta_0KhYSK_Yy_6Ykyt7E.cache +1 -0
  220. data/tmp/aruba/test_app/tmp/development_secret.txt +1 -0
  221. metadata +262 -158
  222. data/.github/ISSUE_TEMPLATE.md +0 -52
  223. data/.github/PULL_REQUEST_TEMPLATE.md +0 -42
  224. data/.gitignore +0 -12
  225. data/.rspec +0 -1
  226. data/.travis.yml +0 -43
  227. data/Gemfile.appraisal +0 -3
  228. data/config/.gitignore +0 -1
  229. data/features/support/bundler_pre_support.rb +0 -28
  230. data/features/support/fixtures/bundler-1.0.21.gem +0 -0
  231. data/features/support/fixtures/bundler-1.1.rc.gem +0 -0
  232. data/features/support/legacy_web_steps_support.rb +0 -289
  233. data/gemfiles/rails_4_0.gemfile +0 -22
  234. data/gemfiles/rails_4_1.gemfile +0 -20
  235. data/gemfiles/rails_4_2.gemfile +0 -19
  236. data/lib/cucumber/rails/action_controller.rb +0 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 676c1aa83718665107425d3233c187bdc6b7da7c
4
- data.tar.gz: 4b4752f20863334e10e93272d4c9e902e7e118b9
2
+ SHA256:
3
+ metadata.gz: ab9079b1b0b5cbf30f04627c088e6e73a78804c68852b02b834439892d579001
4
+ data.tar.gz: 244214de463e90d6b73fd09dd5316b5a68de6397f816a68d64710986445303e7
5
5
  SHA512:
6
- metadata.gz: 9cc4bbfcd62c4894011855bd986cdad7a615e292b42821de1a1aee63ea238f671e3179783c90aaa481d8536a591b7ef09eafbf8cc05b8a2fff6bc9cb14d9681d
7
- data.tar.gz: 6f60f5a3a2f199006a03e7cc6695e26af25a223e820ca10d38403b9deda0523a14135284487ddc7740e475ea2b4b25d2114f9237d7126d67a0bd1c7e5c9bac80
6
+ metadata.gz: eb770970489ece31916eb57934a5bf9873db51377e6588f1b1150403c3ffd7ce735afd90481a49c497bfe24e9f2d744bcde22e1908db9f2459edd83f205e387f
7
+ data.tar.gz: ca257e8a0ea4f794323c3aff7597c73d96189f057be11339369c2f87aed77c9c47b3d7df9ad914006277edcc24d371cf7c28552751b0b9f91cf3f2d95029365d
data/Appraisals CHANGED
@@ -1,96 +1,26 @@
1
- appraise "rails_4_0" do
2
- gem "protected_attributes", "~> 1.0.3"
3
- gem "rails", "~> 4.0.0"
4
- gem "railties", "~> 4.0.0"
5
- gem "capybara", "~> 2.0"
6
- gem "selenium-webdriver", "~> 3.4.1"
7
- gem "geckodriver-helper", "~> 0.0.5"
8
- gem "turn", "~> 0.9.6"
9
- gem "test-unit", '~> 3.1.5'
10
- gem "rspec-rails", "~> 3.1.0"
11
- gem "sass-rails", "~> 4.0.0"
12
- gem "coffee-rails", "~> 4.0.0"
13
- gem "jquery-rails", "~> 2.2.1"
14
- gem "uglifier", "~> 2.1.0"
15
- gem "sqlite3", "~> 1.3.7"
16
- gem "database_cleaner", "~> 1.0.1"
17
- gem "rake", "< 11.0"
18
- end
19
-
20
- appraise "rails_4_1" do
21
- gem "protected_attributes", "~> 1.0.3"
22
- gem "rails", "~> 4.1.0"
23
- gem "railties", "~> 4.1.0"
24
- gem "capybara", "~> 2.0"
25
- gem "selenium-webdriver", "~> 3.4.1"
26
- gem "geckodriver-helper", "~> 0.0.5"
27
- gem "rspec-rails", "~> 3.1.0"
28
- gem "sass-rails", "~> 4.0.0"
29
- gem "coffee-rails", "~> 4.0.0"
30
- gem "jquery-rails", "~> 2.2.1"
31
- gem "uglifier", "~> 2.1.0"
32
- gem "sqlite3", "~> 1.3.7"
33
- gem "database_cleaner", "~> 1.0.1"
34
- gem "rake", "< 11.0"
35
- end
1
+ # frozen_string_literal: true
36
2
 
37
- appraise "rails_4_2" do
38
- gem "rails", "~> 4.2.1"
39
- gem "railties", "~> 4.2.1"
40
- gem "capybara", "~> 2.0"
41
- gem "selenium-webdriver", "~> 3.4.1"
42
- gem "geckodriver-helper", "~> 0.0.5"
43
- gem "rspec-rails", "~> 3.1.0"
44
- gem "sass-rails", "~> 5.0"
45
- gem "coffee-rails", "~> 4.1.0"
46
- gem "jquery-rails"
47
- gem "uglifier", "~> 2.1.0"
48
- gem "sqlite3", "~> 1.3.7"
49
- gem "database_cleaner", "~> 1.0.1"
50
- gem "rake", "< 11.0"
3
+ appraise 'rails_5_0' do
4
+ gem 'capybara', '< 3'
5
+ gem 'cucumber', '< 4'
6
+ gem 'rails', '~> 5.0.7'
7
+ gem 'sqlite3', '~> 1.3.13'
51
8
  end
52
9
 
53
- appraise "rails_5_0" do
54
- gem "rails", "~> 5.0.0"
55
- gem "railties", "~> 5.0.0"
56
- gem "capybara", "~> 2.7.1"
57
- gem "selenium-webdriver", "~> 3.9.0"
58
- gem "geckodriver-helper", "~> 0.0.5"
59
- gem "rspec-rails", "~> 3.5.0"
60
- gem "sass-rails", "~> 5.0"
61
- gem "coffee-rails", "~> 4.2.0"
62
- gem "jquery-rails"
63
- gem "uglifier", "~> 2.7.2"
64
- gem "sqlite3", "~> 1.3.7"
65
- # Rails 5 requires database cleaner 1.1
66
- gem "database_cleaner", ">= 1.1.0"
10
+ appraise 'rails_5_1' do
11
+ gem 'capybara', '< 3.15'
12
+ gem 'cucumber', '< 5'
13
+ gem 'rails', '~> 5.1.7'
14
+ gem 'sqlite3', '~> 1.3.13'
67
15
  end
68
16
 
69
- appraise "rails_5_1" do
70
- gem "rails", "~> 5.1.0"
71
- gem "railties", "~> 5.1.0"
72
- gem "capybara", "~> 2.7.1"
73
- gem "selenium-webdriver", "~> 3.9.0"
74
- gem "geckodriver-helper", "~> 0.0.5"
75
- gem "rspec-rails", "~> 3.5.0"
76
- gem "sass-rails", "~> 5.0"
77
- gem "coffee-rails", "~> 4.2.0"
78
- gem "uglifier", "~> 3.2.0"
79
- gem "sqlite3", "~> 1.3.13"
80
- # Rails 5 requires database cleaner 1.1
81
- gem "database_cleaner", ">= 1.1.0"
17
+ appraise 'rails_5_2' do
18
+ gem 'capybara', '< 3.33'
19
+ gem 'rails', '~> 5.2.4'
20
+ gem 'sqlite3', '~> 1.3.13'
82
21
  end
83
22
 
84
- appraise "rails_5_2" do
85
- gem "rails", "~> 5.2"
86
- gem "railties", "~> 5.2"
87
- gem "capybara", "~> 3"
88
- gem "selenium-webdriver", "~> 3.11"
89
- gem "geckodriver-helper", "~> 0.0.5"
90
- gem "rspec-rails", "~> 3.7"
91
- gem "sass-rails", "~> 5.0"
92
- gem "coffee-rails", "~> 4.2.0"
93
- gem "uglifier", "~> 4.1"
94
- gem "sqlite3", "~> 1.3.13"
95
- gem "database_cleaner", ">= 1.1"
23
+ appraise 'rails_6_0' do
24
+ gem 'rails', '~> 6.0.3'
25
+ gem 'sqlite3', '~> 1.4'
96
26
  end
@@ -1,15 +1,168 @@
1
- Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md) on how to contribute to Cucumber.
1
+ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md)
2
+ on how to contribute to Cucumber.
2
3
 
3
- ## [master](https://github.com/cucumber/cucumber-rails/compare/v1.5.0...master) (Not yet released)
4
+ ## [master](https://github.com/cucumber/cucumber-rails/compare/v2.1.0...master) (Not yet released)
4
5
 
6
+ ### New Features
7
+
8
+ * Added more documentation and tests around Javascript tagged scenarios
9
+ ([#480](https://github.com/cucumber/cucumber-rails/pull/480) [luke-hill])
10
+
5
11
  ### Changed
12
+
13
+ * Dropped Rails 4.2 support ([#392](https://github.com/cucumber/cucumber-rails/pull/392) [deivid-rodriguez])
14
+
15
+ ### Fixed
16
+
17
+ * Database cleaning no longer silently fails when using database_cleaner v2 adapter gems
18
+ ([#467](https://github.com/cucumber/cucumber-rails/pull/467) [botandrose])
19
+
20
+ * Restored compatibility with `database_cleaner` versions earlier than 1.8.0.beta
21
+ ([#473](https://github.com/cucumber/cucumber-rails/pull/473) [cgriego])
22
+
23
+ * Restored previous `database_cleaner` behavior for apps that do not use/load ActiveRecord
24
+ ([#474](https://github.com/cucumber/cucumber-rails/pull/474) [cgriego])
25
+
26
+ ## [v2.1.0](https://github.com/cucumber/cucumber-rails/compare/v2.0.0...v2.1.0) (2020-06-15)
27
+
28
+ ### New Features
29
+
30
+ * Added metadata to allow gem to be searched / indexed by rubygems
31
+ ([#447](https://github.com/cucumber/cucumber-rails/pull/447) [orien])
32
+
33
+ * Allow Cucumber 4 to be used as an option for cucumber-rails
34
+ * NB: Cucumber4 changes quite a lot of logic with auto-loaders. This means that any previous
35
+ logic that relied implicitly on load-order "may" be affected
36
+ ([#453](https://github.com/cucumber/cucumber-rails/pull/453) [luke-hill] / [deivid-rodriguez])
37
+
38
+ ### Changed
39
+
40
+ * Dropped Ruby 2.3 support (target 2.4 - 2.7) ([#466](https://github.com/cucumber/cucumber-rails/pull/466) [mvz])
41
+
42
+ * Refactored suite to remove a lot of old Rails3/4.0 "ism's"
43
+ * Also migrated a lot of old cucumber styles to cucumber4
44
+ ([#441](https://github.com/cucumber/cucumber-rails/pull/441) [luke-hill])
45
+
46
+ * Refactored alias logic for overriding Rails methods to use `Module#prepend`
47
+ ([#457](https://github.com/cucumber/cucumber-rails/pull/457) [wagenet])
48
+
49
+ * `database_cleaner` (when used), at a version `>= 1.8` will now silence all warnings
50
+ * The suite internally will only test a version `>= 1.8`, so other versions will work but are un-maintained
51
+ ([#463](https://github.com/cucumber/cucumber-rails/pull/463) [deivid-rodriguez])
52
+
53
+ ### Fixed
54
+
55
+ * Various rubocop / rspec styling fixes
56
+ ([#445](https://github.com/cucumber/cucumber-rails/pull/445) /
57
+ [#449](https://github.com/cucumber/cucumber-rails/pull/449) /
58
+ [#450](https://github.com/cucumber/cucumber-rails/pull/450) /
59
+ [#451](https://github.com/cucumber/cucumber-rails/pull/451) /
60
+ [#452](https://github.com/cucumber/cucumber-rails/pull/452) /
61
+ [#465](https://github.com/cucumber/cucumber-rails/pull/465)
62
+ [mvz] / [luke-hill])
63
+
64
+ * Various CI fixes
65
+ ([#444](https://github.com/cucumber/cucumber-rails/pull/444) /
66
+ [#460](https://github.com/cucumber/cucumber-rails/pull/460) /
67
+ [#464](https://github.com/cucumber/cucumber-rails/pull/464)
68
+ [mvz] / [damonjmurray] / [deivid-rodriguez])
69
+
70
+ * Avoid printing a warning about `config.cache_classes` being set to `false` when
71
+ Spring is used ([#462](https://github.com/cucumber/cucumber-rails/pull/462) [janko])
72
+
73
+ ## [v2.0.0](https://github.com/cucumber/cucumber-rails/compare/v1.8.0...v2.0.0) (2019-09-13)
74
+
75
+ ### New Features
76
+
77
+ * New functionality allows users to Configure whether `Rack::Test` methods get auto-mixed in
78
+ * Setting `ENV['CR_REMOVE_RACK_TEST_HELPERS] = "true"` will remove these methods from the `World`
79
+ ([#440](https://github.com/cucumber/cucumber-rails/pull/440) [luke-hill])
80
+
81
+ ### Changed
82
+
83
+ * **Breaking change:** `web_steps` have been completely removed from cucumber-rails
84
+ ([#437](https://github.com/cucumber/cucumber-rails/pull/437) [luke-hill])
85
+
86
+ * Altered some branching logic in tests designed to cater for old ruby/rails versions
87
+ ([#433](https://github.com/cucumber/cucumber-rails/pull/433) [luke-hill])
88
+
89
+ ## [v1.8.0](https://github.com/cucumber/cucumber-rails/compare/v1.7.0..v1.8.0) (2019-08-06)
90
+
91
+ ### Changed
92
+
93
+ * Dropped Ruby 2.2 support (target 2.3 and up) ([#424](https://github.com/cucumber/cucumber-rails/pull/424) [mvz])
94
+
95
+ * Begin to update the core runtime / development dependencies to something a little more recent
96
+ ([#413](https://github.com/cucumber/cucumber-rails/pull/413) /
97
+ [#431](https://github.com/cucumber/cucumber-rails/pull/431) /
98
+ [#432](https://github.com/cucumber/cucumber-rails/pull/432)
99
+ [mvz] /
100
+ [luke-hill])
101
+
102
+ ### Fixed
103
+
104
+ * Various rubocop / styling issues that had built up over time
105
+ ([#414](https://github.com/cucumber/cucumber-rails/pull/414) /
106
+ [#416](https://github.com/cucumber/cucumber-rails/pull/416) /
107
+ [#419](https://github.com/cucumber/cucumber-rails/pull/419) /
108
+ [#420](https://github.com/cucumber/cucumber-rails/pull/420) /
109
+ [#421](https://github.com/cucumber/cucumber-rails/pull/421) /
110
+ [#421](https://github.com/cucumber/cucumber-rails/pull/434)
111
+ [luke-hill] /
112
+ [mvz])
113
+
114
+ * Generic Travis Healthcheck (Fixed up polluted logs and use newer Ubuntu OS)
115
+ ([#415](https://github.com/cucumber/cucumber-rails/pull/415) /
116
+ [#417](https://github.com/cucumber/cucumber-rails/pull/417)
117
+ [luke-hill])
118
+
119
+ * Rails6 not building correctly
120
+ ([#418](https://github.com/cucumber/cucumber-rails/pull/418)
121
+ [luke-hill])
122
+
123
+ * Provisional Ruby 2.7 builds not working
124
+ ([#427](https://github.com/cucumber/cucumber-rails/pull/427)
125
+ [amatsuda] /
126
+ [luke-hill])
127
+
128
+ ## [v1.7.0](https://github.com/cucumber/cucumber-rails/compare/v1.6.0...v1.7.0) (2019-04-17)
129
+
130
+ ### Changed
131
+
132
+ * Drop rails `4.0` / `4.1` support ([#392](https://github.com/cucumber/cucumber-rails/pull/392) [deivid-rodriguez])
133
+ * Allow Ruby `2.6` users to `ERB.new` ([#399](https://github.com/cucumber/cucumber-rails/pull/399) [koic])
134
+ * Allow Rails to be used in the `6.x` series (Currently as of release only beta1 is supported) ([#405](https://github.com/cucumber/cucumber-rails/pull/405) [kotovalexarian])
135
+ * Update CI to test most relevant Rubies ([#411](https://github.com/cucumber/cucumber-rails/pull/411) [olleolleolle])
136
+
137
+ ### Fixed
138
+
139
+ * Appraisals fixes (Up-to-date `geckodriver`, standardised the various `.gemfile`s)
140
+ ([#389](https://github.com/cucumber/cucumber-rails/pull/389) /
141
+ [#394](https://github.com/cucumber/cucumber-rails/pull/394) /
142
+ [#395](https://github.com/cucumber/cucumber-rails/pull/395) /
143
+ [#408](https://github.com/cucumber/cucumber-rails/pull/408)
144
+ [xtrasimplicity] /
145
+ [deivid-rodriguez] /
146
+ [mvz])
147
+
148
+ * Various build issues that had built up over the previous year
149
+ ([#403](https://github.com/cucumber/cucumber-rails/pull/403) /
150
+ [#404](https://github.com/cucumber/cucumber-rails/pull/404) /
151
+ [#410](https://github.com/cucumber/cucumber-rails/pull/410)
152
+ [koic] /
153
+ [mvz])
154
+
155
+ ## [v1.6.0](https://github.com/cucumber/cucumber-rails/compare/v1.5.0...v1.6.0) (2018-04-23)
156
+
157
+ ### Changed
158
+
6
159
  * Renamed History.md to CHANGELOG.md, added contributing note, and this line in accordance with [cucumber/cucumber #251](https://github.com/cucumber/cucumber/issues/251) ([#345](https://github.com/cucumber/cucumber-rails/pull/345) [jaysonesmith](https://github.com/jaysonesmith))
7
160
  * Update .travis.yml with ruby versions ([#341](https://github.com/cucumber/cucumber-rails/pull/341) Jun Aruga)
8
161
  * Removed support for Ruby <= 2.1, to keep in line with [cucumber-ruby](https://github.com/cucumber/cucumber-ruby/blob/master/CHANGELOG.md#302-2017-11-11) ([#360](https://github.com/cucumber/cucumber-rails/pull/360) [xtrasimplicity](https://github.com/xtrasimplicity)).
9
162
  * Updated syntax to support both new and deprecated forms of tag negation. ([#348](https://github.com/cucumber/cucumber-rails/pull/348) [mirelon](https://github.com/mirelon), [#359](https://github.com/cucumber/cucumber-rails/pull/359) [xtrasimplicity](https://github.com/xtrasimplicity))
10
163
  * Dependencies: Allowed `Ammeter` versions greater than 1.1.3. ([#368](https://github.com/cucumber/cucumber-rails/pull/368) [mvz](https://github.com/mvz))
11
164
  * Switched to Ruby 1.9 hash syntax. ([#371](https://github.com/cucumber/cucumber-rails/pull/371) [mvz](https://github.com/mvz))
12
- * Added support to handle rerun files with multiple lines. ([#c6d3d7e](https://github.com/cucumber/cucumber-rails/commit/c6d3d7e77febb758ae17bd154b9d4da7a8847c3d) [mvz](https://github.com/mvz))
165
+ * Added support to handle rerun files with multiple lines. ([#373]((https://github.com/cucumber/cucumber-rails/pull/345)) [mvz](https://github.com/mvz))
13
166
  * Added support for Rails 5.2 and Capybara 3. ([#378](https://github.com/cucumber/cucumber-rails/pull/378/) [gobijan](https://github.com/gobijan), [radar](https://github.com/radar), [xtrasimplicity](https://github.com/xtrasimplicity))
14
167
 
15
168
  ### Fixed
@@ -21,7 +174,7 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO
21
174
  ## [v1.5.0](https://github.com/cucumber/cucumber-rails/compare/1.4.5...1.5.0) (2017-05-12)
22
175
 
23
176
  * Drop rails 3 support ([#334](https://github.com/cucumber/cucumber-rails/pull/334) Matijs van Zuijlen)
24
- * Add rals 5.1 support ([#337](https://github.com/cucumber/cucumber-rails/pull/337) Matijs van Zuijlen - Rafael Reggiani Manzo)
177
+ * Add rails 5.1 support ([#337](https://github.com/cucumber/cucumber-rails/pull/337) Matijs van Zuijlen - Rafael Reggiani Manzo)
25
178
 
26
179
  ## [v1.4.5](https://github.com/cucumber/cucumber-rails/compare/1.4.4...1.4.5) (2016-09-27)
27
180
 
@@ -63,6 +216,7 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO
63
216
  * Various code enhancements based on PullReview suggestions (Kosmas Chatzimichalis)
64
217
 
65
218
  ### Removed Features
219
+
66
220
  * Mongo step definition ([#263](https://github.com/cucumber/cucumber-rails/issues/263) Aslak Hellesøy)
67
221
 
68
222
  ### Bugfixes
@@ -85,7 +239,6 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO
85
239
  * Added recommendation in README.md for running install scripts after upgrading (Joost Baaij)
86
240
  * Describe configuration option 'autorun_database_cleaner' in README ([#255](https://github.com/cucumber/cucumber-rails/pull/255) Martin Eismann)
87
241
 
88
-
89
242
  ### Changed Features
90
243
 
91
244
  * Gemspec in 1.3.1 doesn't allow usage with rails 4 ([#244](https://github.com/cucumber/cucumber-rails/issues/244) Fabian Schwahn)
@@ -137,9 +290,11 @@ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CO
137
290
  ## [v1.2.0](https://github.com/cucumber/cucumber-rails/compare/v1.1.1...v1.2.0) (2011-11-03)
138
291
 
139
292
  ### Removed features
293
+
140
294
  * The (deprecated) tableish method has been removed. See https://gist.github.com/1299371 for an alternative. (Aslak Hellesøy)
141
295
 
142
296
  ### Bugfixes
297
+
143
298
  * Non-threadsafe database connections shared between threads ([#166](https://github.com/cucumber/cucumber-rails/issues/166) Matt Wynne)
144
299
 
145
300
  ## [v1.1.1](https://github.com/cucumber/cucumber-rails/compare/v1.1.0...v1.1.1) (2011-10-03)
@@ -193,22 +348,26 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
193
348
  ## [v1.0.6](https://github.com/cucumber/cucumber-rails/compare/v1.0.5...v1.0.6) (2011-09-25)
194
349
 
195
350
  ### Bugfixes
351
+
196
352
  * Fix deprecation warnings ([#169](https://github.com/cucumber/cucumber-rails/issues/169), [#170](https://github.com/cucumber/cucumber-rails/pull/170) Micah Geisel)
197
353
  * Deprecate #tableish. The Capybara::Node::Finders API has obsoleted the need for it. ([#145](https://github.com/cucumber/cucumber-rails/issues/145) Aslak Hellesøy)
198
354
 
199
355
  ## [v1.0.5](https://github.com/cucumber/cucumber-rails/compare/v1.0.4...v1.0.5) (2011-09-14)
200
356
 
201
357
  ### Bugfixes
358
+
202
359
  * No = dependencies in gemspec, since rubies with old YAML (sych) can't read them. (Aslak Hellesøy)
203
360
 
204
361
  ## [v1.0.4](https://github.com/cucumber/cucumber-rails/compare/v1.0.3...v1.0.4) (2011-09-12)
205
362
 
206
363
  ### Bugfixes
364
+
207
365
  * Active_record hook prevents features that access multiple database from running correctly ([#152](https://github.com/cucumber/cucumber-rails/issues/152) winnipegtransit)
208
366
 
209
367
  ## [v1.0.3](https://github.com/cucumber/cucumber-rails/compare/v1.0.2...v1.0.3) (2011-09-11)
210
368
 
211
369
  ### Bugfixes
370
+
212
371
  * sqlite3-ruby is now sqlite3 ([#158](https://github.com/cucumber/cucumber-rails/pull/158) Trung Le)
213
372
  * Broken link in the USAGE file of the features generator ([#156](https://github.com/cucumber/cucumber-rails/pull/156) Pablo Alonso García)
214
373
  * Rails destroy cucumber:feature deletes the steps folder, even though it's not empty. ([#154](https://github.com/cucumber/cucumber-rails/pull/154]), [#111](https://github.com/cucumber/cucumber-rails/issues/111) mblake)
@@ -219,28 +378,33 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
219
378
  ## [v1.0.2](https://github.com/cucumber/cucumber-rails/compare/v1.0.1...v1.0.2) (2011-06-26)
220
379
 
221
380
  ### Bugfixes
381
+
222
382
  * Removed the dependency on rack-test, since it is not used directly. v1.0.1 was incompatible with Rails 3.0.9. (Aslak Hellesøy)
223
383
 
224
384
  ## [v1.0.1](https://github.com/cucumber/cucumber-rails/compare/v1.0.0...v1.0.1) (2011-06-25)
225
385
 
226
386
  ### New Features
227
- * Added a @no-database-cleaner tag you can add if you don't want to run DatabaseCleaner. Useful for debugging if you want to leave data in the database. Typical use case is to run `rails server --environment test` to look at/try app with data from test. (Aslak Hellesøy)
387
+
388
+ * Added a `@no-database-cleaner` tag you can add if you don't want to run DatabaseCleaner. Useful for debugging if you want to leave data in the database. Typical use case is to run `rails server --environment test` to look at/try app with data from test. (Aslak Hellesøy)
228
389
  * History file is now in Markdown format. (Aslak Hellesøy)
229
390
 
230
391
  ## [v1.0.0](https://github.com/cucumber/cucumber-rails/compare/v0.5.2...v1.0.0) (2011-06-20)
231
392
 
232
393
  ### New Features
233
- * Upgraded Cucumber dependency to 1.0.0. (Aslak Hellesøy)
394
+
395
+ * Upgraded Cucumber dependency to `1.0.0` (Aslak Hellesøy)
234
396
 
235
397
  ## [v0.5.2](https://github.com/cucumber/cucumber-rails/compare/v0.5.1...v0.5.2) (2011-06-07)
236
398
 
237
399
  ### New Features
400
+
238
401
  * Upgraded to Capybara 1.0.0.rc1 (Aslak Hellesøy)
239
402
  * Add stats to generator (#144 Aslak Hellesøy)
240
403
 
241
404
  ## [v0.5.1](https://github.com/cucumber/cucumber-rails/compare/v0.5.0...v0.5.1) (2011-05-25)
242
405
 
243
406
  ### Bugfixes
407
+
244
408
  * Mixed DB access feature for @javascript drivers (#142 Alexander Mankuta)
245
409
  * cucumber:feature and integers. not creating feature correctly (#30 John Ivanoff, Aslak Hellesøy)
246
410
  * New project can't find capybara's "visit" (#143 Aslak Hellesøy)
@@ -249,6 +413,7 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
249
413
  ## [v0.5.0](https://github.com/cucumber/cucumber-rails/compare/v0.5.0.beta1...v0.5.0) (2011-05-17)
250
414
 
251
415
  ### Bugfixes
416
+
252
417
  * undefined method `add_assertion' for nil:NilClass (#96, #97, #98 Aslak Hellesøy)
253
418
  * Capybara name error from env.rb (#125 Aslak Hellesøy)
254
419
  * Fixed date-localization bug (#138 Michael Opitz)
@@ -256,11 +421,13 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
256
421
  ## [v0.5.0.beta1](https://github.com/cucumber/cucumber-rails/compare/v0.4.1...v0.5.0.beta1) (2011-05-09)
257
422
 
258
423
  ### Removed features
424
+
259
425
  * Dropped support for Rails 2 (Aslak Hellesøy)
260
426
  * Dropped support for Webrat (Aslak Hellesøy)
261
427
  * Removed database cleaner strategy overrides (#134 Daniel Morrison, Daniel Duvall)
262
428
 
263
429
  ### Improvements
430
+
264
431
  * Upgrade to Capybara 1.0.0.beta1 or newer (#129, #130 Simon Menke, Klaus Hartl, Aslak Hellesøy)
265
432
  * Generated paths.rb cleanup (#133 Tim Pope)
266
433
  * Allow css pseudo-classes in scopers (#122 twalpole)
@@ -268,6 +435,7 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
268
435
  ## [v0.4.1](https://github.com/cucumber/cucumber-rails/compare/v0.4.0...v0.4.1) (2011-04-05)
269
436
 
270
437
  ### Bugfixes
438
+
271
439
  * Fixed incorrect warning in generated files. (#115 Emanuele Vicentini)
272
440
  * Fixed incorrect hooks for DatabaseCleaner (#113 Markus Bengts)
273
441
  * Throw an error if the user forgot to add DatabaseCleaner to the Gemfile, allowing them to decide whether or not to use it. (#36 Aslak Hellesøy, Ryan Bigg)
@@ -275,11 +443,13 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
275
443
  ## [v0.4.0](https://github.com/cucumber/cucumber-rails/compare/v0.3.2...v0.4.0) (2011-03-20)
276
444
 
277
445
  ### New Features
446
+
278
447
  * Add selectors helper (#63 Bodaniel Jeanes)
279
448
  * Capybara date stepdefs (#66 Rob Holland)
280
449
  * The World now includes Rack::Test::Methods, allowing get, post, put delete (Aslak Hellesøy)
281
450
 
282
451
  ### Bugfixes
452
+
283
453
  * Allow setting rails root (#102, #103, Fabio Kreusch)
284
454
  * Fix Date selection steps and helpers (#93, #99, #100, #101, #109 James Herdman, John Ferlito, twalpole, Geoff Drake, Ricky Robinson, Michael Fleet)
285
455
  * Can not run cucumber-rails (0.4.0.beta.1) with cucumber (0.10.0) (#89 Aslak Hellesøy)
@@ -290,6 +460,7 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
290
460
  * Gem dependency on Nokogiri (for #tableish). (#53 Aslak Hellesøy)
291
461
 
292
462
  ### Removed Features
463
+
293
464
  * Automatic detection of RSpec, Capybara and Webrat for install generator. Set gems explicitly in your Gemfile (Rails3) or environment.rb (Rails2)
294
465
  * Then /^(?:|I )should see JSON:$/. Use #get and #last_response instead. See features/rails3.feature. (Aslak Hellesøy)
295
466
  * Cucumber::Rails::World.use_transactional_fixtures. TODO: Explain what to do instead.
@@ -335,34 +506,39 @@ This is a major release since we're now supporting both Rails 3 and RSpec 2. Old
335
506
  (Rails 2 and RSpec 1) are still supported.
336
507
 
337
508
  ### New Features
509
+
338
510
  * Support for both Rails-2.x and Rails-3.x (#10 Kristian Mandrup, Aleksey Gureiev, Ashley Moran, Aslak Hellesøy)
339
511
  * Support for both RSpec-1.x and RSpec-2.x (Louis Rose, Aslak Hellesøy)
340
512
  * Features will default to Javascript emulation unless you turn it off with @culerity, (Aslak Hellesøy)
341
513
  * Japanese translation. (MOROHASHI Kyosuke)
342
514
 
343
515
  ### Bugfixes
516
+
344
517
  * Support projects that don't use ActiveRecord (#14 Aslak Hellesøy)
345
518
  * Running test/unit tests when creating a skeleton (#12 Aleksey Gureiev)
346
519
  * Inform that config/database.yml is overwritten, be smarter about it and inform the user that it is forced. (#15 Aslak Hellesøy)
347
520
  * Reverts changes from issue #5 where verification of query string params was added to the step for being on a page. Adds step discussed in issue #11 for verification of query string. (#5, #11 Eric Milford)
348
521
  * Fixed typos in Capybara's web steps (has_not_xpath? => has_no_xpath?) (Thorbjørn Hermansen, Carlos Antonio da Silva)
349
522
 
350
-
351
523
  ### New Features
524
+
352
525
  * Added Danish translation (Kristian Mandrup)
353
526
  * Using Gemfile for Rails 3. Tidies it up and adds cucumber gems only if not already present! (Kristian Mandrup)
354
527
  * Added Generators wrapper module for Rails 3 generators so they are now all in Cucumber::Generators (Kristian Mandrup)
355
528
 
356
529
  ### Bugfixes
530
+
357
531
  * Started to work on solutions for generating suitable support files depending on Rails version
358
532
  - see skeleton_base.rb#create_feature_support and templates/support
359
533
 
360
534
  ## [v0.2.4](https://github.com/cucumber/cucumber-rails/compare/v0.2.3...v0.2.4) (2010-01-18)
361
535
 
362
536
  ### New Features
537
+
363
538
  * Added Spanish translation (Gabriel)
364
539
 
365
540
  ### Bugfixes
541
+
366
542
  * Fixed some broken Webrat/Test::Unit step definitions. (Aslak Hellesøy)
367
543
  * Better Javascript emulation with Capybara (#7 Thorbjørn Hermansen)
368
544
  * Removed stray quote in i18n web_steps.rb (Gabriel)
@@ -375,9 +551,11 @@ This is a major release since we're now supporting both Rails 3 and RSpec 2. Old
375
551
  ## [v0.2.3](https://github.com/cucumber/cucumber-rails/compare/v0.2.2...v0.2.3) (2010-01-03)
376
552
 
377
553
  ### New Features
554
+
378
555
  * The #tableish Proc can return Strings as well as Nokogiri nodes now. (Aslak Hellesøy)
379
556
 
380
557
  ### Bugfixes
558
+
381
559
  * Handle all types of URIs in "I should be on ..." steps. (#5 Andrew D. Smith)
382
560
 
383
561
  ## [v0.2.2](https://github.com/cucumber/cucumber-rails/compare/v0.2.1...v0.2.2) (2009-12-21)
@@ -389,6 +567,7 @@ This is a major release since we're now supporting both Rails 3 and RSpec 2. Old
389
567
  * cucumber.rake finds the wrong vendored cucumber when a plugin name starts with "cucumber" (#4 James Herdman, Paco Benavent, Aslak Hellesøy)
390
568
 
391
569
  ### New features
570
+
392
571
  * Czech translations. (Jiří Zajpt)
393
572
 
394
573
  ## [v0.2.1](https://github.com/cucumber/cucumber-rails/compare/v0.2.0...v0.2.1) (2009-12-16)
@@ -405,12 +584,12 @@ and to celebrate that cucumber-rails now supports Capybara as an alternative to
405
584
 
406
585
  ### UPGRADING FROM A PREVIOUS CUCUMBER SETUP
407
586
 
408
- 1. Remove your features/support/version_check.rb
409
- 1. Remove your features/step_definitions/webrat_steps.rb
587
+ 1. Remove your `features/support/version_check.rb`
588
+ 2. Remove your `features/step_definitions/webrat_steps.rb`
410
589
  If you have added your own custom step definitions to this file,
411
590
  put them in a different file under features/step_definitions
412
- 1. run "ruby script/generate cucumber --help" to see what options you have.
413
- 1. run "ruby script/generate cucumber" - plus whatever options you think fit for you.
591
+ 3. run `ruby script/generate cucumber --help` to see what options you have.
592
+ 4. run `ruby script/generate cucumber` - plus whatever options you think fit for you.
414
593
  Answer "n" (no) when asked to overwrite paths.rb.
415
594
  Answer "y" (yes) when asked to overwrite other files, but do "d" (diff) first.
416
595
  If you have edits in some of these files that you want to keep, store the diff
@@ -418,9 +597,9 @@ and to celebrate that cucumber-rails now supports Capybara as an alternative to
418
597
  adding your custom code to another file that won't be overwritten the next time
419
598
  you upgrade.
420
599
 
421
- Many people have edits in their env.rb file. This is something you should try
600
+ Many people have edits in their `env.rb` file. This is something you should try
422
601
  to avoid in the future. Instead, keep your custom setup in a different file
423
- under features/support - Cucumber loads all files under features/**/*.rb anyway.
602
+ under `features/support` - Cucumber loads all files under `features/**/*.rb` anyway.
424
603
 
425
604
  If you have a Spork setup, see the end of this thread:
426
605
  http://groups.google.com/group/cukes/browse_thread/thread/475385cc26377215
@@ -435,3 +614,18 @@ and to celebrate that cucumber-rails now supports Capybara as an alternative to
435
614
  * Webrat step "Then I should be on" should use request_uri instead of path for missing query string parameters (ZhangJinzhu)
436
615
  * Added MIME type parameter to attach file step definition (Felix Flores)
437
616
  * Added check when including ActiveSupport::Testing::SetupAndTeardown for older Rails versions (Jeremy Durham)
617
+
618
+ [deivid-rodriguez]: https://github.com/deivid-rodriguez
619
+ [koic]: https://github.com/koic
620
+ [kotovalexarian]: https://github.com/kotovalexarian
621
+ [mvz]: https://github.com/mvz
622
+ [olleolleolle]: https://github.com/olleolleolle
623
+ [luke-hill]: https://github.com/luke-hill
624
+ [amatsuda]: https://github.com/amatsuda
625
+ [xtrasimplicity]: https://github.com/xtrasimplicity
626
+ [janko]: https://github.com/janko
627
+ [damonjmurray]: https://github.com/damonjmurray
628
+ [orien]: https://github.com/orien
629
+ [wagenet]: https://github.com/wagenet
630
+ [cgriego]: https://github.com/cgriego
631
+ [botandrose]: https://github.com/botandrose