cucumber-rails 1.5.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +5 -5
  2. data/.github/ISSUE_TEMPLATE.md +52 -0
  3. data/.github/PULL_REQUEST_TEMPLATE.md +42 -0
  4. data/.gitignore +3 -1
  5. data/.rspec +4 -1
  6. data/.rubocop.yml +68 -0
  7. data/.travis.yml +43 -33
  8. data/Appraisals +25 -92
  9. data/{History.md → CHANGELOG.md} +242 -40
  10. data/CONTRIBUTING.md +15 -24
  11. data/Gemfile +2 -4
  12. data/LICENSE +1 -1
  13. data/README.md +57 -27
  14. data/Rakefile +18 -14
  15. data/bin/install_geckodriver.sh +19 -0
  16. data/bin/install_webpacker.sh +9 -0
  17. data/config/cucumber.yml +2 -5
  18. data/cucumber-rails.gemspec +35 -28
  19. data/dev_tasks/cucumber.rake +2 -0
  20. data/dev_tasks/rspec.rake +2 -0
  21. data/dev_tasks/yard.rake +7 -14
  22. data/dev_tasks/yard/default/layout/html/setup.rb +6 -1
  23. data/features/allow_rescue.feature +16 -11
  24. data/features/annotations.feature +8 -11
  25. data/features/capybara_javascript_drivers.feature +38 -28
  26. data/features/choose_javascript_database_strategy.feature +37 -57
  27. data/features/configuration.feature +48 -0
  28. data/features/database_cleaner.feature +18 -18
  29. data/features/disable_automatic_database_cleaning.feature +12 -18
  30. data/features/emulate_javascript.feature +64 -47
  31. data/features/install_cucumber_rails.feature +4 -4
  32. data/features/no_database.feature +8 -19
  33. data/features/raising_errors.feature +9 -3
  34. data/features/rerun_profile.feature +17 -7
  35. data/features/rest_api.feature +12 -12
  36. data/features/step_definitions/cucumber_rails_steps.rb +44 -88
  37. data/features/support/aruba.rb +3 -1
  38. data/features/support/cucumber_rails_helper.rb +85 -0
  39. data/features/support/env.rb +4 -30
  40. data/features/support/hooks.rb +8 -0
  41. data/gemfiles/rails_4_2.gemfile +5 -13
  42. data/gemfiles/rails_5_0.gemfile +5 -12
  43. data/gemfiles/rails_5_1.gemfile +4 -9
  44. data/gemfiles/rails_5_2.gemfile +10 -0
  45. data/gemfiles/rails_6_0.gemfile +9 -0
  46. data/lib/cucumber/rails.rb +17 -15
  47. data/lib/cucumber/rails/action_dispatch.rb +21 -0
  48. data/lib/cucumber/rails/application.rb +16 -7
  49. data/lib/cucumber/rails/capybara.rb +2 -0
  50. data/lib/cucumber/rails/capybara/javascript_emulation.rb +45 -37
  51. data/lib/cucumber/rails/capybara/select_dates_and_times.rb +6 -4
  52. data/lib/cucumber/rails/database.rb +30 -8
  53. data/lib/cucumber/rails/hooks.rb +2 -0
  54. data/lib/cucumber/rails/hooks/active_record.rb +14 -12
  55. data/lib/cucumber/rails/hooks/allow_rescue.rb +2 -0
  56. data/lib/cucumber/rails/hooks/database_cleaner.rb +6 -4
  57. data/lib/cucumber/rails/hooks/mail.rb +4 -4
  58. data/lib/cucumber/rails/rspec.rb +3 -1
  59. data/lib/cucumber/rails/world.rb +24 -7
  60. data/lib/generators/cucumber/{install/USAGE → USAGE} +0 -0
  61. data/lib/generators/cucumber/{install/install_generator.rb → install_generator.rb} +23 -10
  62. data/lib/generators/cucumber/{install/templates → templates}/config/cucumber.yml.erb +4 -3
  63. data/lib/generators/cucumber/{install/templates → templates}/script/cucumber +1 -0
  64. data/lib/generators/cucumber/{install/templates → templates}/support/_rails_each_run.rb.erb +2 -2
  65. data/lib/generators/cucumber/{install/templates → templates}/support/_rails_prefork.rb.erb +0 -0
  66. data/lib/generators/cucumber/{install/templates → templates}/support/capybara.rb +2 -0
  67. data/lib/generators/cucumber/{install/templates → templates}/support/edit_warning.txt +0 -0
  68. data/lib/generators/cucumber/{install/templates → templates}/support/rails.rb.erb +0 -0
  69. data/lib/generators/cucumber/{install/templates → templates}/support/rails_spork.rb.erb +0 -0
  70. data/lib/generators/cucumber/{install/templates → templates}/tasks/cucumber.rake.erb +9 -9
  71. data/spec/cucumber/rails/database_spec.rb +46 -33
  72. data/spec/generators/cucumber/{install/install_generator_spec.rb → install_generator_spec.rb} +17 -9
  73. data/spec/spec_helper.rb +13 -4
  74. metadata +105 -139
  75. data/Gemfile.appraisal +0 -3
  76. data/features/support/bundler_pre_support.rb +0 -28
  77. data/features/support/fixtures/bundler-1.0.21.gem +0 -0
  78. data/features/support/fixtures/bundler-1.1.rc.gem +0 -0
  79. data/features/support/legacy_web_steps_support.rb +0 -289
  80. data/gemfiles/lowest_version_bounds.gemfile +0 -26
  81. data/gemfiles/rails_4_0.gemfile +0 -19
  82. data/gemfiles/rails_4_1.gemfile +0 -18
  83. data/lib/cucumber/rails/action_controller.rb +0 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1ede09e45fc6492f4ed4a865ab03e4970284c79b
4
- data.tar.gz: 80cc4c800bb79e1e83dda92169ecb5c2e60fe2a4
2
+ SHA256:
3
+ metadata.gz: eba00efc3e821aa337c9e16993ba558c1a5f1c795c5db9fb00104f5de38839cd
4
+ data.tar.gz: af9a02416bdeda7f9d3c1c3600df92ff2248788909c1f18ff333223c025e64cc
5
5
  SHA512:
6
- metadata.gz: 210f9050f9e409498e7871431b7888e735876cccbdb1caa9c9943fe427250ae320fc2a542fc9bb85395635fa1126fdd829f4755ddd05b068dfb27eb35273a10f
7
- data.tar.gz: 2b25fdefb88fbe43f5ed6d2e367e971f6374eba4a59ff9b218ac8205cf9cc500411a57ffcd9f96383f78f9d194205f256e956cdfeeb95bf49ed54e92cd8567f9
6
+ metadata.gz: c711b5a237e9d4e9e53936e2d9836d74f58604a864769c91758a00a742649945e2a798ea4881b26466a21307bed029dac6f36f5dc54650e406133fd27d35c82e
7
+ data.tar.gz: 499ba57f75835fc6ca390e7c313e7dd442a1b92cddb30b516841892bd15223ecd41b595e885e7bb3dbe890847f7a1e03b0c9195656b0a6e7915d19af67d5d59d
@@ -0,0 +1,52 @@
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:
@@ -0,0 +1,42 @@
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 CHANGED
@@ -9,4 +9,6 @@ coverage
9
9
  .cucumber.rerun
10
10
  gemfiles/*.lock
11
11
  Gemfile.lock
12
- Gemfile.appraisal.lock
12
+ spec/examples.txt
13
+ .idea
14
+ .ruby-version
data/.rspec CHANGED
@@ -1 +1,4 @@
1
- --format progress --colour
1
+ --format progress
2
+ --color
3
+ --order random
4
+ --require spec_helper
@@ -0,0 +1,68 @@
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
@@ -1,52 +1,62 @@
1
+ language: ruby
2
+
3
+ dist: bionic
4
+
1
5
  rvm:
2
- - 2.0.0
3
- - 2.1.9
4
- - 2.2.5
5
- - 2.3.1
6
+ - 2.4
7
+ - 2.5
8
+ - 2.6
9
+ - 2.7
10
+ - ruby-head
11
+
12
+ addons:
13
+ firefox: latest
6
14
 
7
- # whitelist
8
15
  branches:
9
16
  only:
10
17
  - master
11
18
 
19
+ services:
20
+ - xvfb
21
+
12
22
  gemfile:
13
- - gemfiles/lowest_version_bounds.gemfile
23
+ - gemfiles/rails_6_0.gemfile
24
+ - gemfiles/rails_5_2.gemfile
14
25
  - gemfiles/rails_5_1.gemfile
15
26
  - gemfiles/rails_5_0.gemfile
16
27
  - gemfiles/rails_4_2.gemfile
17
- - gemfiles/rails_4_1.gemfile
18
- - gemfiles/rails_4_0.gemfile
19
28
 
20
29
  matrix:
21
30
  fast_finish: true
31
+ allow_failures:
32
+ - rvm: ruby-head
22
33
  exclude:
23
- - rvm: 2.0.0
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
24
43
  gemfile: gemfiles/rails_5_0.gemfile
25
- - rvm: 2.0.0
44
+ - rvm: 2.6
26
45
  gemfile: gemfiles/rails_5_1.gemfile
27
-
28
- - rvm: 2.1.9
46
+ - rvm: 2.7
47
+ gemfile: gemfiles/rails_4_2.gemfile
48
+ - rvm: 2.7
29
49
  gemfile: gemfiles/rails_5_0.gemfile
30
- - rvm: 2.1.9
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
31
57
  gemfile: gemfiles/rails_5_1.gemfile
32
58
 
33
- - rvm: 2.2.5
34
- gemfile: gemfiles/rails_4_0.gemfile
35
- - rvm: 2.2.5
36
- gemfile: gemfiles/lowest_version_bounds.gemfile
37
-
38
- - rvm: 2.3.1
39
- gemfile: gemfiles/rails_4_0.gemfile
40
- - rvm: 2.3.1
41
- gemfile: gemfiles/lowest_version_bounds.gemfile
42
-
43
- before_install: gem update --remote bundler
44
-
45
- # Needed for selenium browser
46
- before_script:
47
- - "export DISPLAY=:99.0"
48
- - "sh -e /etc/init.d/xvfb start"
49
-
50
- notifications:
51
- email:
52
- - cukes-devs@googlegroups.com
59
+ before_install:
60
+ - gem install --remote bundler -v '~> 1.17'
61
+ - bin/install_geckodriver.sh
62
+ - bin/install_webpacker.sh
data/Appraisals CHANGED
@@ -1,102 +1,35 @@
1
- appraise "lowest_version_bounds" do
2
- # Runtime dependencies of cucumber-rails
3
- gem "capybara", "~> 1.1.2"
4
- gem "cucumber", "~> 1.3.8"
5
- gem "nokogiri", "~> 1.5.0"
6
- gem "railties", "~> 4.0.0"
7
- gem "mime-types", "~> 1.17.0"
1
+ # frozen_string_literal: true
8
2
 
9
- # Other Rails dependencies
10
- gem "rails", "~> 4.0.0"
11
- gem "protected_attributes", "~> 1.0.3"
12
-
13
- gem "turn", "~> 0.9.6"
14
- gem "sass-rails", "~> 4.0.0"
15
- gem "coffee-rails", "~> 4.0.0"
16
- gem "jquery-rails", "~> 2.2.1"
17
- gem "uglifier", "~> 2.1.0"
18
- gem "sqlite3", "~> 1.3.7"
19
-
20
- # Development dependencies of cucumber-rails
21
- gem "ammeter", "~> 1.0.0"
22
- gem "builder", "~> 3.1.0"
23
- gem "selenium-webdriver", "~> 2.45.0"
24
- gem "database_cleaner", "~> 1.0.0"
25
- gem "factory_girl", "~> 3.2.0"
26
- gem "rspec-rails", "~> 3.0.0"
27
- gem "rake", "~> 0.9.2.2"
28
- end
29
-
30
- appraise "rails_4_0" do
31
- gem "protected_attributes", "~> 1.0.3"
32
- gem "rails", "~> 4.0.0"
33
- gem "railties", "~> 4.0.0"
34
- gem "capybara", "~> 2.0.2"
35
- gem "turn", "~> 0.9.6"
36
- gem "rspec-rails", "~> 3.1.0"
37
- gem "sass-rails", "~> 4.0.0"
38
- gem "coffee-rails", "~> 4.0.0"
39
- gem "jquery-rails", "~> 2.2.1"
40
- gem "uglifier", "~> 2.1.0"
41
- gem "sqlite3", "~> 1.3.7"
42
- gem "database_cleaner", "~> 1.0.1"
43
- gem "rake", "< 11.0"
3
+ appraise 'rails_4_2' do
4
+ gem 'capybara', '< 3.16.0', platform: :mri_23
5
+ gem 'nokogiri', '< 1.9.1', platform: :mri_23
6
+ gem 'railties', '~> 4.2.11'
7
+ gem 'sqlite3', '~> 1.3.13'
44
8
  end
45
9
 
46
- appraise "rails_4_1" do
47
- gem "protected_attributes", "~> 1.0.3"
48
- gem "rails", "~> 4.1.0"
49
- gem "railties", "~> 4.1.0"
50
- gem "capybara", "~> 2.0.2"
51
- gem "rspec-rails", "~> 3.1.0"
52
- gem "sass-rails", "~> 4.0.0"
53
- gem "coffee-rails", "~> 4.0.0"
54
- gem "jquery-rails", "~> 2.2.1"
55
- gem "uglifier", "~> 2.1.0"
56
- gem "sqlite3", "~> 1.3.7"
57
- gem "database_cleaner", "~> 1.0.1"
58
- gem "rake", "< 11.0"
10
+ appraise 'rails_5_0' do
11
+ gem 'capybara', '< 3.16.0', platform: :mri_23
12
+ gem 'nokogiri', '< 1.9.1', platform: :mri_23
13
+ gem 'railties', '~> 5.0.7'
14
+ gem 'sqlite3', '~> 1.3.13'
59
15
  end
60
16
 
61
- appraise "rails_4_2" do
62
- gem "rails", "~> 4.2.1"
63
- gem "railties", "~> 4.2.1"
64
- gem "capybara", "~> 2.4.4"
65
- gem "selenium-webdriver", "~> 2.0"
66
- gem "rspec-rails", "~> 3.1.0"
67
- gem "sass-rails", "~> 5.0"
68
- gem "coffee-rails", "~> 4.1.0"
69
- gem "jquery-rails"
70
- gem "uglifier", "~> 2.1.0"
71
- gem "sqlite3", "~> 1.3.7"
72
- gem "database_cleaner", "~> 1.0.1"
73
- gem "rake", "< 11.0"
17
+ appraise 'rails_5_1' do
18
+ gem 'capybara', '< 3.16.0', platform: :mri_23
19
+ gem 'nokogiri', '< 1.9.1', platform: :mri_23
20
+ gem 'railties', '~> 5.1.7'
21
+ gem 'sqlite3', '~> 1.3.13'
74
22
  end
75
23
 
76
- appraise "rails_5_0" do
77
- gem "rails", "~> 5.0.0"
78
- gem "railties", "~> 5.0.0"
79
- gem "capybara", "~> 2.7.1"
80
- gem "selenium-webdriver", "~> 2.0"
81
- gem "rspec-rails", "~> 3.5.0"
82
- gem "sass-rails", "~> 5.0"
83
- gem "coffee-rails", "~> 4.2.0"
84
- gem "jquery-rails"
85
- gem "uglifier", "~> 2.7.2"
86
- gem "sqlite3", "~> 1.3.7"
87
- # Rails 5 requires database cleaner 1.1
88
- gem "database_cleaner", ">= 1.1.0"
24
+ appraise 'rails_5_2' do
25
+ gem 'capybara', '< 3.16.0', platform: :mri_23
26
+ gem 'nokogiri', '< 1.9.1', platform: :mri_23
27
+ gem 'railties', '~> 5.2.0'
28
+ gem 'sqlite3', '~> 1.3.13'
89
29
  end
90
30
 
91
- appraise "rails_5_1" do
92
- gem "rails", "~> 5.1.0"
93
- gem "railties", "~> 5.1.0"
94
- gem "selenium-webdriver", "~> 2.0"
95
- gem "rspec-rails", "~> 3.5.0"
96
- gem "sass-rails", "~> 5.0"
97
- gem "coffee-rails", "~> 4.2.0"
98
- gem "uglifier", "~> 3.2.0"
99
- gem "sqlite3", "~> 1.3.13"
100
- # Rails 5 requires database cleaner 1.1
101
- gem "database_cleaner", ">= 1.1.0"
31
+ appraise 'rails_6_0' do
32
+ gem 'railties', '~> 6.0.0'
33
+ gem 'rails', '~> 6.0.0'
34
+ gem 'sqlite3', '~> 1.4'
102
35
  end
@@ -1,9 +1,172 @@
1
- ## [master](https://github.com/cucumber/cucumber-rails/compare/1.5.0...master) (Not yet released)
1
+ Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md)
2
+ on how to contribute to Cucumber.
3
+
4
+ ## [master](https://github.com/cucumber/cucumber-rails/compare/v2.1.0...master) (Not yet released)
5
+
6
+ ### New Features
7
+
8
+ *
9
+
10
+ ### Changed
11
+
12
+ *
13
+
14
+ ### Fixed
15
+
16
+ *
17
+
18
+ ## [v2.1.0](https://github.com/cucumber/cucumber-rails/compare/v2.0.0...v2.1.0) (2020-06-15)
19
+
20
+ ### New Features
21
+
22
+ * Added metadata to allow gem to be searched / indexed by rubygems
23
+ ([#447](https://github.com/cucumber/cucumber-rails/pull/447) [orien])
24
+
25
+ * Allow Cucumber 4 to be used as an option for cucumber-rails
26
+ * NB: Cucumber4 changes quite a lot of logic with auto-loaders. This means that any previous
27
+ logic that relied implicitly on load-order "may" be affected
28
+ ([#453](https://github.com/cucumber/cucumber-rails/pull/453) [luke-hill] / [deivid-rodriguez])
29
+
30
+ ### Changed
31
+
32
+ * Dropped Ruby 2.3 support (target 2.4 - 2.7) ([#466](https://github.com/cucumber/cucumber-rails/pull/466) [mvz])
33
+
34
+ * Refactored suite to remove a lot of old Rails3/4.0 "ism's"
35
+ * Also migrated a lot of old cucumber styles to cucumber4
36
+ ([#441](https://github.com/cucumber/cucumber-rails/pull/441) [luke-hill])
37
+
38
+ * Refactored alias logic for overriding Rails methods to use `Module#prepend`
39
+ ([#457](https://github.com/cucumber/cucumber-rails/pull/457) [wagenet])
40
+
41
+ * `database_cleaner` (when used), at a version `>= 1.8` will now silence all warnings
42
+ * The suite internally will only test a version `>= 1.8`, so other versions will work but are un-maintained
43
+ ([#463](https://github.com/cucumber/cucumber-rails/pull/463) [deivid-rodriguez])
44
+
45
+ ### Fixed
46
+
47
+ * Various rubocop / rspec styling fixes
48
+ ([#445](https://github.com/cucumber/cucumber-rails/pull/445) /
49
+ [#449](https://github.com/cucumber/cucumber-rails/pull/449) /
50
+ [#450](https://github.com/cucumber/cucumber-rails/pull/450) /
51
+ [#451](https://github.com/cucumber/cucumber-rails/pull/451) /
52
+ [#452](https://github.com/cucumber/cucumber-rails/pull/452) /
53
+ [#465](https://github.com/cucumber/cucumber-rails/pull/465)
54
+ [mvz] / [luke-hill])
55
+
56
+ * Various CI fixes
57
+ ([#444](https://github.com/cucumber/cucumber-rails/pull/444) /
58
+ [#460](https://github.com/cucumber/cucumber-rails/pull/460) /
59
+ [#464](https://github.com/cucumber/cucumber-rails/pull/464)
60
+ [mvz] / [damonjmurray] / [deivid-rodriguez])
61
+
62
+ * Avoid printing a warning about `config.cache_classes` being set to `false` when
63
+ Spring is used ([#462](https://github.com/cucumber/cucumber-rails/pull/462) [janko])
64
+
65
+ ## [v2.0.0](https://github.com/cucumber/cucumber-rails/compare/v1.8.0...v2.0.0) (2019-09-13)
66
+
67
+ ### New Features
68
+
69
+ * New functionality allows users to Configure whether `Rack::Test` methods get auto-mixed in
70
+ * Setting `ENV['CR_REMOVE_RACK_TEST_HELPERS] = "true"` will remove these methods from the `World`
71
+ ([#440](https://github.com/cucumber/cucumber-rails/pull/440) [luke-hill])
72
+
73
+ ### Changed
74
+
75
+ * **Breaking change:** `web_steps` have been completely removed from cucumber-rails
76
+ ([#437](https://github.com/cucumber/cucumber-rails/pull/437) [luke-hill])
77
+
78
+ * Altered some branching logic in tests designed to cater for old ruby/rails versions
79
+ ([#433](https://github.com/cucumber/cucumber-rails/pull/433) [luke-hill])
80
+
81
+ ## [v1.8.0](https://github.com/cucumber/cucumber-rails/compare/v1.7.0..v1.8.0) (2019-08-06)
82
+
83
+ ### Changed
84
+
85
+ * Dropped Ruby 2.2 support (target 2.3 and up) ([#424](https://github.com/cucumber/cucumber-rails/pull/424) [mvz])
86
+
87
+ * Begin to update the core runtime / development dependencies to something a little more recent
88
+ ([#413](https://github.com/cucumber/cucumber-rails/pull/413) /
89
+ [#431](https://github.com/cucumber/cucumber-rails/pull/431) /
90
+ [#432](https://github.com/cucumber/cucumber-rails/pull/432)
91
+ [mvz] /
92
+ [luke-hill])
93
+
94
+ ### Fixed
95
+
96
+ * Various rubocop / styling issues that had built up over time
97
+ ([#414](https://github.com/cucumber/cucumber-rails/pull/414) /
98
+ [#416](https://github.com/cucumber/cucumber-rails/pull/416) /
99
+ [#419](https://github.com/cucumber/cucumber-rails/pull/419) /
100
+ [#420](https://github.com/cucumber/cucumber-rails/pull/420) /
101
+ [#421](https://github.com/cucumber/cucumber-rails/pull/421) /
102
+ [#421](https://github.com/cucumber/cucumber-rails/pull/434)
103
+ [luke-hill] /
104
+ [mvz])
105
+
106
+ * Generic Travis Healthcheck (Fixed up polluted logs and use newer Ubuntu OS)
107
+ ([#415](https://github.com/cucumber/cucumber-rails/pull/415) /
108
+ [#417](https://github.com/cucumber/cucumber-rails/pull/417)
109
+ [luke-hill])
110
+
111
+ * Rails6 not building correctly
112
+ ([#418](https://github.com/cucumber/cucumber-rails/pull/418)
113
+ [luke-hill])
114
+
115
+ * Provisional Ruby 2.7 builds not working
116
+ ([#427](https://github.com/cucumber/cucumber-rails/pull/427)
117
+ [amatsuda] /
118
+ [luke-hill])
119
+
120
+ ## [v1.7.0](https://github.com/cucumber/cucumber-rails/compare/v1.6.0...v1.7.0) (2019-04-17)
121
+
122
+ ### Changed
123
+
124
+ * Drop rails `4.0` / `4.1` support ([#392](https://github.com/cucumber/cucumber-rails/pull/392) [deivid-rodriguez])
125
+ * Allow Ruby `2.6` users to `ERB.new` ([#399](https://github.com/cucumber/cucumber-rails/pull/399) [koic])
126
+ * 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])
127
+ * Update CI to test most relevant Rubies ([#411](https://github.com/cucumber/cucumber-rails/pull/411) [olleolleolle])
128
+
129
+ ### Fixed
130
+
131
+ * Appraisals fixes (Up-to-date `geckodriver`, standardised the various `.gemfile`s)
132
+ ([#389](https://github.com/cucumber/cucumber-rails/pull/389) /
133
+ [#394](https://github.com/cucumber/cucumber-rails/pull/394) /
134
+ [#395](https://github.com/cucumber/cucumber-rails/pull/395) /
135
+ [#408](https://github.com/cucumber/cucumber-rails/pull/408)
136
+ [xtrasimplicity] /
137
+ [deivid-rodriguez] /
138
+ [mvz])
139
+
140
+ * Various build issues that had built up over the previous year
141
+ ([#403](https://github.com/cucumber/cucumber-rails/pull/403) /
142
+ [#404](https://github.com/cucumber/cucumber-rails/pull/404) /
143
+ [#410](https://github.com/cucumber/cucumber-rails/pull/410)
144
+ [koic] /
145
+ [mvz])
146
+
147
+ ## [v1.6.0](https://github.com/cucumber/cucumber-rails/compare/v1.5.0...v1.6.0) (2018-04-23)
148
+
149
+ ### Changed
150
+
151
+ * 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))
152
+ * Update .travis.yml with ruby versions ([#341](https://github.com/cucumber/cucumber-rails/pull/341) Jun Aruga)
153
+ * 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)).
154
+ * 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))
155
+ * Dependencies: Allowed `Ammeter` versions greater than 1.1.3. ([#368](https://github.com/cucumber/cucumber-rails/pull/368) [mvz](https://github.com/mvz))
156
+ * Switched to Ruby 1.9 hash syntax. ([#371](https://github.com/cucumber/cucumber-rails/pull/371) [mvz](https://github.com/mvz))
157
+ * Added support to handle rerun files with multiple lines. ([#373]((https://github.com/cucumber/cucumber-rails/pull/345)) [mvz](https://github.com/mvz))
158
+ * 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))
159
+
160
+ ### Fixed
161
+
162
+ * Fix typo ([#343](https://github.com/cucumber/cucumber-rails/pull/343) Olle Jonsson)
163
+ * History.md: Fixed markdown formatting ([#344](https://github.com/cucumber/cucumber-rails/pull/344) [Kosmas](https://github.com/Kosmas))
164
+ * Fixed tag deprecation warnings. ([#373](https://github.com/cucumber/cucumber-rails/pull/373) [mvz](https://github.com/mvz))
2
165
 
3
166
  ## [v1.5.0](https://github.com/cucumber/cucumber-rails/compare/1.4.5...1.5.0) (2017-05-12)
4
167
 
5
- * Drop rails 3 support ( [#334] (https://github.com/cucumber/cucumber-rails/pull/334) Matijs van Zuijlen )
6
- * Add rals 5.1 support ( [#337] (https://github.com/cucumber/cucumber-rails/pull/337) Matijs van Zuijlen - Rafael Reggiani Manzo )
168
+ * Drop rails 3 support ([#334](https://github.com/cucumber/cucumber-rails/pull/334) Matijs van Zuijlen)
169
+ * Add rails 5.1 support ([#337](https://github.com/cucumber/cucumber-rails/pull/337) Matijs van Zuijlen - Rafael Reggiani Manzo)
7
170
 
8
171
  ## [v1.4.5](https://github.com/cucumber/cucumber-rails/compare/1.4.4...1.4.5) (2016-09-27)
9
172
 
@@ -16,48 +179,49 @@
16
179
  ## [v1.4.3](https://github.com/cucumber/cucumber-rails/compare/1.4.2...1.4.3) (2016-01-21)
17
180
 
18
181
  * Added gem version badge (Kosmas Chatzimichalis)
19
- * Fix a failing test due to rails date selectors only showing 5 years into the past by default ( [#293] (https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole )
20
- * Allow cucumber 2 ( [#293] (https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole )
21
- * Add rails 4.2 to test matrix ( [#293] (https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole )
22
- * Depend on railties instead of rails ( [#294] (https://github.com/cucumber/cucumber-rails/pull/294) Alexander Lang )
23
- * Fix failing Travis CI tests ( [#305] (https://github.com/cucumber/cucumber-rails/pull/305) Matijs van Zuijlen )
24
- * Allow any cucumber < 3 ( [#306] (https://github.com/cucumber/cucumber-rails/pull/306) Matijs van Zuijlen )
25
- * Add annotations configuration in generator ( [#292] (https://github.com/cucumber/cucumber-rails/pull/292) Bob Showalter )
26
- * Expand support to include mime-types 3 ( [#304] (https://github.com/cucumber/cucumber-rails/pull/304) Austin Ziegler )
27
- * Replace badges with SVG versions ( [#307] (https://github.com/cucumber/cucumber-rails/pull/307) Kevin Goslar )
28
- * Add new line to end of generated database.yml ( [#302] (https://github.com/cucumber/cucumber-rails/pull/302) Kevin Carmody)
182
+ * Fix a failing test due to rails date selectors only showing 5 years into the past by default ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole)
183
+ * Allow cucumber 2 ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole)
184
+ * Add rails 4.2 to test matrix ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole)
185
+ * Depend on railties instead of rails ([#294](https://github.com/cucumber/cucumber-rails/pull/294) Alexander Lang)
186
+ * Fix failing Travis CI tests ([#305](https://github.com/cucumber/cucumber-rails/pull/305) Matijs van Zuijlen)
187
+ * Allow any cucumber < 3 ([#306](https://github.com/cucumber/cucumber-rails/pull/306) Matijs van Zuijlen)
188
+ * Add annotations configuration in generator ([#292](https://github.com/cucumber/cucumber-rails/pull/292) Bob Showalter)
189
+ * Expand support to include mime-types 3 ([#304](https://github.com/cucumber/cucumber-rails/pull/304) Austin Ziegler)
190
+ * Replace badges with SVG versions ([#307](https://github.com/cucumber/cucumber-rails/pull/307) Kevin Goslar)
191
+ * Add new line to end of generated database.yml ([#302](https://github.com/cucumber/cucumber-rails/pull/302) Kevin Carmody)
29
192
 
30
193
  ## [v1.4.2](https://github.com/cucumber/cucumber-rails/compare/1.4.1...v1.4.2) (2014-10-09)
31
194
 
32
195
  * Updated appraisal dependencies to rspec-rails 3.1.0, gemspec dependency to rspec <= 3.1, and removed turn from rails_4_1 appraisal (Kosmas Chatzimichalis)
33
- * Update mime-types dependency to >= 1.16, < 3 ([#289] (https://github.com/cucumber/cucumber-rails/pull/289) Erik Michaels-Ober )
34
- * Upgrade to RSpec 3 ([#290] (https://github.com/cucumber/cucumber-rails/pull/290) Tamir Duberstein )
196
+ * Update mime-types dependency to >= 1.16, < 3 ([#289](https://github.com/cucumber/cucumber-rails/pull/289) Erik Michaels-Ober)
197
+ * Upgrade to RSpec 3 ([#290](https://github.com/cucumber/cucumber-rails/pull/290) Tamir Duberstein)
35
198
 
36
199
  ## [v1.4.1](https://github.com/cucumber/cucumber-rails/compare/v1.4.0...v1.4.1) (2014-05-10)
37
200
 
38
201
  ### New Features
39
202
 
40
- * Added MIT licence in gemspec ([#261] (https://github.com/cucumber/cucumber-rails/issues/261#issuecomment-23260956) Benjamin Fleischer)
41
- * Ensure dependency on DatabaseCleaner is not required ([#276] (https://github.com/cucumber/cucumber-rails/pull/276) Matthew O'Riordan)
42
- * Added Rails 4.1 support ([#287] (https://github.com/cucumber/cucumber-rails/pull/287) Felix Bünemann)
203
+ * Added MIT licence in gemspec ([#261](https://github.com/cucumber/cucumber-rails/issues/261#issuecomment-23260956) Benjamin Fleischer)
204
+ * Ensure dependency on DatabaseCleaner is not required ([#276](https://github.com/cucumber/cucumber-rails/pull/276) Matthew O'Riordan)
205
+ * Added Rails 4.1 support ([#287](https://github.com/cucumber/cucumber-rails/pull/287) Felix Bünemann)
43
206
  * Modified appraisal instructions in README.md (Kosmas Chatzimichalis)
44
207
  * Added Gemnasium support (Kosmas Chatzimichalis)
45
208
  * Various code enhancements based on PullReview suggestions (Kosmas Chatzimichalis)
46
209
 
47
210
  ### Removed Features
48
- * Mongo step definition ([#263] (https://github.com/cucumber/cucumber-rails/issues/263) Aslak Hellesøy )
211
+
212
+ * Mongo step definition ([#263](https://github.com/cucumber/cucumber-rails/issues/263) Aslak Hellesøy)
49
213
 
50
214
  ### Bugfixes
51
215
 
52
216
  * Prevent MiniTest running `at_exit` when running cucumber ([#253](https://github.com/cucumber/cucumber-rails/issues/253) Steve Tooke)
53
- * `bundle exec rake` runs minitest with cucumber options and raises exception ([#252] (https://github.com/cucumber/cucumber-rails/issues/252) Peter Bollenbeck)
54
- * Various bundler related fixes ([#264] (https://github.com/cucumber/cucumber-rails/pull/264) Erik Michaels-Ober )
55
- * Additional gemspec cleanup ([#265] (https://github.com/cucumber/cucumber-rails/pull/265) Erik Michaels-Ober )
56
- * Added mime-types runtime dependency to fix bundle install issue ([#273] (https://github.com/cucumber/cucumber-rails/pull/273) Kosmas Chatzimichalis)
57
- * Removed mongoid gem from Appraisal ([#274] (https://github.com/cucumber/cucumber-rails/pull/274) Kosmas Chatzimichalis)
58
- * Amend typo in select_dates_and_times.rb comments ([#268] (https://github.com/cucumber/cucumber-rails/pull/268) Erik Eide)
59
- * Keep empty step_definitions directories ([#249] (https://github.com/cucumber/cucumber-rails/pull/249) Iain D Broadfoot)
60
- * Remove obsolete link for config.cache_classes to false ([#271] (https://github.com/cucumber/cucumber-rails/issues/271) Andrew Premdas )
217
+ * `bundle exec rake` runs minitest with cucumber options and raises exception ([#252](https://github.com/cucumber/cucumber-rails/issues/252) Peter Bollenbeck)
218
+ * Various bundler related fixes ([#264](https://github.com/cucumber/cucumber-rails/pull/264) Erik Michaels-Ober)
219
+ * Additional gemspec cleanup ([#265](https://github.com/cucumber/cucumber-rails/pull/265) Erik Michaels-Ober)
220
+ * Added mime-types runtime dependency to fix bundle install issue ([#273](https://github.com/cucumber/cucumber-rails/pull/273) Kosmas Chatzimichalis)
221
+ * Removed mongoid gem from Appraisal ([#274](https://github.com/cucumber/cucumber-rails/pull/274) Kosmas Chatzimichalis)
222
+ * Amend typo in select_dates_and_times.rb comments ([#268](https://github.com/cucumber/cucumber-rails/pull/268) Erik Eide)
223
+ * Keep empty step_definitions directories ([#249](https://github.com/cucumber/cucumber-rails/pull/249) Iain D Broadfoot)
224
+ * Remove obsolete link for config.cache_classes to false ([#271](https://github.com/cucumber/cucumber-rails/issues/271) Andrew Premdas)
61
225
 
62
226
  ## [v1.4.0](https://github.com/cucumber/cucumber-rails/compare/v1.3.1...v1.4.0) (2013-08-23)
63
227
 
@@ -67,7 +231,6 @@
67
231
  * Added recommendation in README.md for running install scripts after upgrading (Joost Baaij)
68
232
  * Describe configuration option 'autorun_database_cleaner' in README ([#255](https://github.com/cucumber/cucumber-rails/pull/255) Martin Eismann)
69
233
 
70
-
71
234
  ### Changed Features
72
235
 
73
236
  * Gemspec in 1.3.1 doesn't allow usage with rails 4 ([#244](https://github.com/cucumber/cucumber-rails/issues/244) Fabian Schwahn)
@@ -119,9 +282,11 @@
119
282
  ## [v1.2.0](https://github.com/cucumber/cucumber-rails/compare/v1.1.1...v1.2.0) (2011-11-03)
120
283
 
121
284
  ### Removed features
285
+
122
286
  * The (deprecated) tableish method has been removed. See https://gist.github.com/1299371 for an alternative. (Aslak Hellesøy)
123
287
 
124
288
  ### Bugfixes
289
+
125
290
  * Non-threadsafe database connections shared between threads ([#166](https://github.com/cucumber/cucumber-rails/issues/166) Matt Wynne)
126
291
 
127
292
  ## [v1.1.1](https://github.com/cucumber/cucumber-rails/compare/v1.1.0...v1.1.1) (2011-10-03)
@@ -151,9 +316,9 @@ with a Step Definition that perhaps looks like this:
151
316
 
152
317
  Given /^I have signed up as "([^"]*)"$/ do |email|
153
318
  visit(signup_path)
154
- fill_in('Email', :with => email)
155
- fill_in('Password', :with => 's3cr3t')
156
- fill_in('Password Confirmation', :with => 's3cr3t')
319
+ fill_in('Email', with: email)
320
+ fill_in('Password', with: 's3cr3t')
321
+ fill_in('Password Confirmation', with: 's3cr3t')
157
322
  click_button('Sign up')
158
323
  end
159
324
 
@@ -175,22 +340,26 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
175
340
  ## [v1.0.6](https://github.com/cucumber/cucumber-rails/compare/v1.0.5...v1.0.6) (2011-09-25)
176
341
 
177
342
  ### Bugfixes
343
+
178
344
  * Fix deprecation warnings ([#169](https://github.com/cucumber/cucumber-rails/issues/169), [#170](https://github.com/cucumber/cucumber-rails/pull/170) Micah Geisel)
179
345
  * 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)
180
346
 
181
347
  ## [v1.0.5](https://github.com/cucumber/cucumber-rails/compare/v1.0.4...v1.0.5) (2011-09-14)
182
348
 
183
349
  ### Bugfixes
350
+
184
351
  * No = dependencies in gemspec, since rubies with old YAML (sych) can't read them. (Aslak Hellesøy)
185
352
 
186
353
  ## [v1.0.4](https://github.com/cucumber/cucumber-rails/compare/v1.0.3...v1.0.4) (2011-09-12)
187
354
 
188
355
  ### Bugfixes
356
+
189
357
  * Active_record hook prevents features that access multiple database from running correctly ([#152](https://github.com/cucumber/cucumber-rails/issues/152) winnipegtransit)
190
358
 
191
359
  ## [v1.0.3](https://github.com/cucumber/cucumber-rails/compare/v1.0.2...v1.0.3) (2011-09-11)
192
360
 
193
361
  ### Bugfixes
362
+
194
363
  * sqlite3-ruby is now sqlite3 ([#158](https://github.com/cucumber/cucumber-rails/pull/158) Trung Le)
195
364
  * Broken link in the USAGE file of the features generator ([#156](https://github.com/cucumber/cucumber-rails/pull/156) Pablo Alonso García)
196
365
  * 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)
@@ -201,28 +370,33 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
201
370
  ## [v1.0.2](https://github.com/cucumber/cucumber-rails/compare/v1.0.1...v1.0.2) (2011-06-26)
202
371
 
203
372
  ### Bugfixes
373
+
204
374
  * 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)
205
375
 
206
376
  ## [v1.0.1](https://github.com/cucumber/cucumber-rails/compare/v1.0.0...v1.0.1) (2011-06-25)
207
377
 
208
378
  ### New Features
209
- * 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)
379
+
380
+ * 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)
210
381
  * History file is now in Markdown format. (Aslak Hellesøy)
211
382
 
212
383
  ## [v1.0.0](https://github.com/cucumber/cucumber-rails/compare/v0.5.2...v1.0.0) (2011-06-20)
213
384
 
214
385
  ### New Features
215
- * Upgraded Cucumber dependency to 1.0.0. (Aslak Hellesøy)
386
+
387
+ * Upgraded Cucumber dependency to `1.0.0` (Aslak Hellesøy)
216
388
 
217
389
  ## [v0.5.2](https://github.com/cucumber/cucumber-rails/compare/v0.5.1...v0.5.2) (2011-06-07)
218
390
 
219
391
  ### New Features
392
+
220
393
  * Upgraded to Capybara 1.0.0.rc1 (Aslak Hellesøy)
221
394
  * Add stats to generator (#144 Aslak Hellesøy)
222
395
 
223
396
  ## [v0.5.1](https://github.com/cucumber/cucumber-rails/compare/v0.5.0...v0.5.1) (2011-05-25)
224
397
 
225
398
  ### Bugfixes
399
+
226
400
  * Mixed DB access feature for @javascript drivers (#142 Alexander Mankuta)
227
401
  * cucumber:feature and integers. not creating feature correctly (#30 John Ivanoff, Aslak Hellesøy)
228
402
  * New project can't find capybara's "visit" (#143 Aslak Hellesøy)
@@ -231,6 +405,7 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
231
405
  ## [v0.5.0](https://github.com/cucumber/cucumber-rails/compare/v0.5.0.beta1...v0.5.0) (2011-05-17)
232
406
 
233
407
  ### Bugfixes
408
+
234
409
  * undefined method `add_assertion' for nil:NilClass (#96, #97, #98 Aslak Hellesøy)
235
410
  * Capybara name error from env.rb (#125 Aslak Hellesøy)
236
411
  * Fixed date-localization bug (#138 Michael Opitz)
@@ -238,11 +413,13 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
238
413
  ## [v0.5.0.beta1](https://github.com/cucumber/cucumber-rails/compare/v0.4.1...v0.5.0.beta1) (2011-05-09)
239
414
 
240
415
  ### Removed features
416
+
241
417
  * Dropped support for Rails 2 (Aslak Hellesøy)
242
418
  * Dropped support for Webrat (Aslak Hellesøy)
243
419
  * Removed database cleaner strategy overrides (#134 Daniel Morrison, Daniel Duvall)
244
420
 
245
421
  ### Improvements
422
+
246
423
  * Upgrade to Capybara 1.0.0.beta1 or newer (#129, #130 Simon Menke, Klaus Hartl, Aslak Hellesøy)
247
424
  * Generated paths.rb cleanup (#133 Tim Pope)
248
425
  * Allow css pseudo-classes in scopers (#122 twalpole)
@@ -250,6 +427,7 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
250
427
  ## [v0.4.1](https://github.com/cucumber/cucumber-rails/compare/v0.4.0...v0.4.1) (2011-04-05)
251
428
 
252
429
  ### Bugfixes
430
+
253
431
  * Fixed incorrect warning in generated files. (#115 Emanuele Vicentini)
254
432
  * Fixed incorrect hooks for DatabaseCleaner (#113 Markus Bengts)
255
433
  * 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)
@@ -257,11 +435,13 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
257
435
  ## [v0.4.0](https://github.com/cucumber/cucumber-rails/compare/v0.3.2...v0.4.0) (2011-03-20)
258
436
 
259
437
  ### New Features
438
+
260
439
  * Add selectors helper (#63 Bodaniel Jeanes)
261
440
  * Capybara date stepdefs (#66 Rob Holland)
262
441
  * The World now includes Rack::Test::Methods, allowing get, post, put delete (Aslak Hellesøy)
263
442
 
264
443
  ### Bugfixes
444
+
265
445
  * Allow setting rails root (#102, #103, Fabio Kreusch)
266
446
  * Fix Date selection steps and helpers (#93, #99, #100, #101, #109 James Herdman, John Ferlito, twalpole, Geoff Drake, Ricky Robinson, Michael Fleet)
267
447
  * Can not run cucumber-rails (0.4.0.beta.1) with cucumber (0.10.0) (#89 Aslak Hellesøy)
@@ -272,6 +452,7 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
272
452
  * Gem dependency on Nokogiri (for #tableish). (#53 Aslak Hellesøy)
273
453
 
274
454
  ### Removed Features
455
+
275
456
  * Automatic detection of RSpec, Capybara and Webrat for install generator. Set gems explicitly in your Gemfile (Rails3) or environment.rb (Rails2)
276
457
  * Then /^(?:|I )should see JSON:$/. Use #get and #last_response instead. See features/rails3.feature. (Aslak Hellesøy)
277
458
  * Cucumber::Rails::World.use_transactional_fixtures. TODO: Explain what to do instead.
@@ -317,34 +498,39 @@ This is a major release since we're now supporting both Rails 3 and RSpec 2. Old
317
498
  (Rails 2 and RSpec 1) are still supported.
318
499
 
319
500
  ### New Features
501
+
320
502
  * Support for both Rails-2.x and Rails-3.x (#10 Kristian Mandrup, Aleksey Gureiev, Ashley Moran, Aslak Hellesøy)
321
503
  * Support for both RSpec-1.x and RSpec-2.x (Louis Rose, Aslak Hellesøy)
322
504
  * Features will default to Javascript emulation unless you turn it off with @culerity, (Aslak Hellesøy)
323
505
  * Japanese translation. (MOROHASHI Kyosuke)
324
506
 
325
507
  ### Bugfixes
508
+
326
509
  * Support projects that don't use ActiveRecord (#14 Aslak Hellesøy)
327
510
  * Running test/unit tests when creating a skeleton (#12 Aleksey Gureiev)
328
511
  * Inform that config/database.yml is overwritten, be smarter about it and inform the user that it is forced. (#15 Aslak Hellesøy)
329
512
  * 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)
330
513
  * Fixed typos in Capybara's web steps (has_not_xpath? => has_no_xpath?) (Thorbjørn Hermansen, Carlos Antonio da Silva)
331
514
 
332
-
333
515
  ### New Features
516
+
334
517
  * Added Danish translation (Kristian Mandrup)
335
518
  * Using Gemfile for Rails 3. Tidies it up and adds cucumber gems only if not already present! (Kristian Mandrup)
336
519
  * Added Generators wrapper module for Rails 3 generators so they are now all in Cucumber::Generators (Kristian Mandrup)
337
520
 
338
521
  ### Bugfixes
522
+
339
523
  * Started to work on solutions for generating suitable support files depending on Rails version
340
524
  - see skeleton_base.rb#create_feature_support and templates/support
341
525
 
342
526
  ## [v0.2.4](https://github.com/cucumber/cucumber-rails/compare/v0.2.3...v0.2.4) (2010-01-18)
343
527
 
344
528
  ### New Features
529
+
345
530
  * Added Spanish translation (Gabriel)
346
531
 
347
532
  ### Bugfixes
533
+
348
534
  * Fixed some broken Webrat/Test::Unit step definitions. (Aslak Hellesøy)
349
535
  * Better Javascript emulation with Capybara (#7 Thorbjørn Hermansen)
350
536
  * Removed stray quote in i18n web_steps.rb (Gabriel)
@@ -357,9 +543,11 @@ This is a major release since we're now supporting both Rails 3 and RSpec 2. Old
357
543
  ## [v0.2.3](https://github.com/cucumber/cucumber-rails/compare/v0.2.2...v0.2.3) (2010-01-03)
358
544
 
359
545
  ### New Features
546
+
360
547
  * The #tableish Proc can return Strings as well as Nokogiri nodes now. (Aslak Hellesøy)
361
548
 
362
549
  ### Bugfixes
550
+
363
551
  * Handle all types of URIs in "I should be on ..." steps. (#5 Andrew D. Smith)
364
552
 
365
553
  ## [v0.2.2](https://github.com/cucumber/cucumber-rails/compare/v0.2.1...v0.2.2) (2009-12-21)
@@ -371,6 +559,7 @@ This is a major release since we're now supporting both Rails 3 and RSpec 2. Old
371
559
  * cucumber.rake finds the wrong vendored cucumber when a plugin name starts with "cucumber" (#4 James Herdman, Paco Benavent, Aslak Hellesøy)
372
560
 
373
561
  ### New features
562
+
374
563
  * Czech translations. (Jiří Zajpt)
375
564
 
376
565
  ## [v0.2.1](https://github.com/cucumber/cucumber-rails/compare/v0.2.0...v0.2.1) (2009-12-16)
@@ -387,12 +576,12 @@ and to celebrate that cucumber-rails now supports Capybara as an alternative to
387
576
 
388
577
  ### UPGRADING FROM A PREVIOUS CUCUMBER SETUP
389
578
 
390
- 1. Remove your features/support/version_check.rb
391
- 1. Remove your features/step_definitions/webrat_steps.rb
579
+ 1. Remove your `features/support/version_check.rb`
580
+ 2. Remove your `features/step_definitions/webrat_steps.rb`
392
581
  If you have added your own custom step definitions to this file,
393
582
  put them in a different file under features/step_definitions
394
- 1. run "ruby script/generate cucumber --help" to see what options you have.
395
- 1. run "ruby script/generate cucumber" - plus whatever options you think fit for you.
583
+ 3. run `ruby script/generate cucumber --help` to see what options you have.
584
+ 4. run `ruby script/generate cucumber` - plus whatever options you think fit for you.
396
585
  Answer "n" (no) when asked to overwrite paths.rb.
397
586
  Answer "y" (yes) when asked to overwrite other files, but do "d" (diff) first.
398
587
  If you have edits in some of these files that you want to keep, store the diff
@@ -400,9 +589,9 @@ and to celebrate that cucumber-rails now supports Capybara as an alternative to
400
589
  adding your custom code to another file that won't be overwritten the next time
401
590
  you upgrade.
402
591
 
403
- Many people have edits in their env.rb file. This is something you should try
592
+ Many people have edits in their `env.rb` file. This is something you should try
404
593
  to avoid in the future. Instead, keep your custom setup in a different file
405
- under features/support - Cucumber loads all files under features/**/*.rb anyway.
594
+ under `features/support` - Cucumber loads all files under `features/**/*.rb` anyway.
406
595
 
407
596
  If you have a Spork setup, see the end of this thread:
408
597
  http://groups.google.com/group/cukes/browse_thread/thread/475385cc26377215
@@ -417,3 +606,16 @@ and to celebrate that cucumber-rails now supports Capybara as an alternative to
417
606
  * Webrat step "Then I should be on" should use request_uri instead of path for missing query string parameters (ZhangJinzhu)
418
607
  * Added MIME type parameter to attach file step definition (Felix Flores)
419
608
  * Added check when including ActiveSupport::Testing::SetupAndTeardown for older Rails versions (Jeremy Durham)
609
+
610
+ [deivid-rodriguez]: https://github.com/deivid-rodriguez
611
+ [koic]: https://github.com/koic
612
+ [kotovalexarian]: https://github.com/kotovalexarian
613
+ [mvz]: https://github.com/mvz
614
+ [olleolleolle]: https://github.com/olleolleolle
615
+ [luke-hill]: https://github.com/luke-hill
616
+ [amatsuda]: https://github.com/amatsuda
617
+ [xtrasimplicity]: https://github.com/xtrasimplicity
618
+ [janko]: https://github.com/janko
619
+ [damonjmurray]: https://github.com/damonjmurray
620
+ [orien]: https://github.com/orien
621
+ [wagenet]: https://github.com/wagenet