cucumber-rails 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE.md +52 -0
  3. data/.github/PULL_REQUEST_TEMPLATE.md +42 -0
  4. data/.travis.yml +22 -31
  5. data/Appraisals +29 -35
  6. data/{History.md → CHANGELOG.md} +48 -30
  7. data/CONTRIBUTING.md +1 -1
  8. data/README.md +14 -8
  9. data/Rakefile +3 -3
  10. data/config/cucumber.yml +3 -3
  11. data/cucumber-rails.gemspec +10 -8
  12. data/dev_tasks/yard.rake +2 -2
  13. data/features/capybara_javascript_drivers.feature +6 -5
  14. data/features/choose_javascript_database_strategy.feature +1 -1
  15. data/features/database_cleaner.feature +3 -3
  16. data/features/disable_automatic_database_cleaning.feature +3 -3
  17. data/features/emulate_javascript.feature +12 -10
  18. data/features/no_database.feature +2 -13
  19. data/features/rerun_profile.feature +13 -4
  20. data/features/rest_api.feature +1 -1
  21. data/features/step_definitions/cucumber_rails_steps.rb +35 -11
  22. data/features/support/env.rb +8 -0
  23. data/features/support/legacy_web_steps_support.rb +7 -7
  24. data/gemfiles/rails_4_0.gemfile +5 -2
  25. data/gemfiles/rails_4_1.gemfile +4 -2
  26. data/gemfiles/rails_4_2.gemfile +4 -3
  27. data/gemfiles/rails_5_0.gemfile +3 -2
  28. data/gemfiles/rails_5_1.gemfile +4 -2
  29. data/gemfiles/rails_5_2.gemfile +17 -0
  30. data/lib/cucumber/rails.rb +2 -2
  31. data/lib/cucumber/rails/capybara/javascript_emulation.rb +2 -2
  32. data/lib/cucumber/rails/capybara/select_dates_and_times.rb +3 -3
  33. data/lib/cucumber/rails/hooks/active_record.rb +1 -1
  34. data/lib/cucumber/rails/hooks/database_cleaner.rb +2 -2
  35. data/lib/generators/cucumber/install/templates/config/cucumber.yml.erb +4 -3
  36. data/lib/generators/cucumber/install/templates/support/_rails_each_run.rb.erb +2 -2
  37. data/lib/generators/cucumber/install/templates/tasks/cucumber.rake.erb +9 -9
  38. data/spec/generators/cucumber/install/install_generator_spec.rb +1 -1
  39. data/spec/spec_helper.rb +12 -5
  40. metadata +59 -21
  41. data/gemfiles/lowest_version_bounds.gemfile +0 -26
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ede09e45fc6492f4ed4a865ab03e4970284c79b
4
- data.tar.gz: 80cc4c800bb79e1e83dda92169ecb5c2e60fe2a4
3
+ metadata.gz: 676c1aa83718665107425d3233c187bdc6b7da7c
4
+ data.tar.gz: 4b4752f20863334e10e93272d4c9e902e7e118b9
5
5
  SHA512:
6
- metadata.gz: 210f9050f9e409498e7871431b7888e735876cccbdb1caa9c9943fe427250ae320fc2a542fc9bb85395635fa1126fdd829f4755ddd05b068dfb27eb35273a10f
7
- data.tar.gz: 2b25fdefb88fbe43f5ed6d2e367e971f6374eba4a59ff9b218ac8205cf9cc500411a57ffcd9f96383f78f9d194205f256e956cdfeeb95bf49ed54e92cd8567f9
6
+ metadata.gz: 9cc4bbfcd62c4894011855bd986cdad7a615e292b42821de1a1aee63ea238f671e3179783c90aaa481d8536a591b7ef09eafbf8cc05b8a2fff6bc9cb14d9681d
7
+ data.tar.gz: 6f60f5a3a2f199006a03e7cc6695e26af25a223e820ca10d38403b9deda0523a14135284487ddc7740e475ea2b4b25d2114f9237d7126d67a0bd1c7e5c9bac80
@@ -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.
@@ -1,8 +1,12 @@
1
1
  rvm:
2
- - 2.0.0
3
- - 2.1.9
4
- - 2.2.5
5
- - 2.3.1
2
+ - 2.2.9
3
+ - 2.3.7
4
+ - 2.4.4
5
+ - 2.5.1
6
+ - ruby-head
7
+
8
+ addons:
9
+ firefox: latest
6
10
 
7
11
  # whitelist
8
12
  branches:
@@ -10,7 +14,7 @@ branches:
10
14
  - master
11
15
 
12
16
  gemfile:
13
- - gemfiles/lowest_version_bounds.gemfile
17
+ - gemfiles/rails_5_2.gemfile
14
18
  - gemfiles/rails_5_1.gemfile
15
19
  - gemfiles/rails_5_0.gemfile
16
20
  - gemfiles/rails_4_2.gemfile
@@ -20,33 +24,20 @@ gemfile:
20
24
  matrix:
21
25
  fast_finish: true
22
26
  exclude:
23
- - rvm: 2.0.0
24
- gemfile: gemfiles/rails_5_0.gemfile
25
- - rvm: 2.0.0
26
- gemfile: gemfiles/rails_5_1.gemfile
27
-
28
- - rvm: 2.1.9
29
- gemfile: gemfiles/rails_5_0.gemfile
30
- - rvm: 2.1.9
31
- gemfile: gemfiles/rails_5_1.gemfile
32
-
33
- - rvm: 2.2.5
27
+ - rvm: 2.4.4
34
28
  gemfile: gemfiles/rails_4_0.gemfile
35
- - rvm: 2.2.5
36
- gemfile: gemfiles/lowest_version_bounds.gemfile
37
-
38
- - rvm: 2.3.1
29
+ - rvm: 2.4.4
30
+ gemfile: gemfiles/rails_4_1.gemfile
31
+ - rvm: 2.5.1
39
32
  gemfile: gemfiles/rails_4_0.gemfile
40
- - rvm: 2.3.1
41
- gemfile: gemfiles/lowest_version_bounds.gemfile
33
+ - rvm: 2.5.1
34
+ gemfile: gemfiles/rails_4_1.gemfile
35
+ - rvm: ruby-head
36
+ gemfile: gemfiles/rails_4_0.gemfile
37
+ - rvm: ruby-head
38
+ gemfile: gemfiles/rails_4_1.gemfile
39
+ allow_failures:
40
+ - rvm: ruby-head
42
41
 
43
42
  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
43
+ before_script: geckodriver -V
data/Appraisals CHANGED
@@ -1,38 +1,12 @@
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"
8
-
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
1
  appraise "rails_4_0" do
31
2
  gem "protected_attributes", "~> 1.0.3"
32
3
  gem "rails", "~> 4.0.0"
33
4
  gem "railties", "~> 4.0.0"
34
- gem "capybara", "~> 2.0.2"
5
+ gem "capybara", "~> 2.0"
6
+ gem "selenium-webdriver", "~> 3.4.1"
7
+ gem "geckodriver-helper", "~> 0.0.5"
35
8
  gem "turn", "~> 0.9.6"
9
+ gem "test-unit", '~> 3.1.5'
36
10
  gem "rspec-rails", "~> 3.1.0"
37
11
  gem "sass-rails", "~> 4.0.0"
38
12
  gem "coffee-rails", "~> 4.0.0"
@@ -47,7 +21,9 @@ appraise "rails_4_1" do
47
21
  gem "protected_attributes", "~> 1.0.3"
48
22
  gem "rails", "~> 4.1.0"
49
23
  gem "railties", "~> 4.1.0"
50
- gem "capybara", "~> 2.0.2"
24
+ gem "capybara", "~> 2.0"
25
+ gem "selenium-webdriver", "~> 3.4.1"
26
+ gem "geckodriver-helper", "~> 0.0.5"
51
27
  gem "rspec-rails", "~> 3.1.0"
52
28
  gem "sass-rails", "~> 4.0.0"
53
29
  gem "coffee-rails", "~> 4.0.0"
@@ -61,8 +37,9 @@ end
61
37
  appraise "rails_4_2" do
62
38
  gem "rails", "~> 4.2.1"
63
39
  gem "railties", "~> 4.2.1"
64
- gem "capybara", "~> 2.4.4"
65
- gem "selenium-webdriver", "~> 2.0"
40
+ gem "capybara", "~> 2.0"
41
+ gem "selenium-webdriver", "~> 3.4.1"
42
+ gem "geckodriver-helper", "~> 0.0.5"
66
43
  gem "rspec-rails", "~> 3.1.0"
67
44
  gem "sass-rails", "~> 5.0"
68
45
  gem "coffee-rails", "~> 4.1.0"
@@ -77,7 +54,8 @@ appraise "rails_5_0" do
77
54
  gem "rails", "~> 5.0.0"
78
55
  gem "railties", "~> 5.0.0"
79
56
  gem "capybara", "~> 2.7.1"
80
- gem "selenium-webdriver", "~> 2.0"
57
+ gem "selenium-webdriver", "~> 3.9.0"
58
+ gem "geckodriver-helper", "~> 0.0.5"
81
59
  gem "rspec-rails", "~> 3.5.0"
82
60
  gem "sass-rails", "~> 5.0"
83
61
  gem "coffee-rails", "~> 4.2.0"
@@ -91,7 +69,9 @@ end
91
69
  appraise "rails_5_1" do
92
70
  gem "rails", "~> 5.1.0"
93
71
  gem "railties", "~> 5.1.0"
94
- gem "selenium-webdriver", "~> 2.0"
72
+ gem "capybara", "~> 2.7.1"
73
+ gem "selenium-webdriver", "~> 3.9.0"
74
+ gem "geckodriver-helper", "~> 0.0.5"
95
75
  gem "rspec-rails", "~> 3.5.0"
96
76
  gem "sass-rails", "~> 5.0"
97
77
  gem "coffee-rails", "~> 4.2.0"
@@ -100,3 +80,17 @@ appraise "rails_5_1" do
100
80
  # Rails 5 requires database cleaner 1.1
101
81
  gem "database_cleaner", ">= 1.1.0"
102
82
  end
83
+
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"
96
+ end
@@ -1,9 +1,27 @@
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) on how to contribute to Cucumber.
2
+
3
+ ## [master](https://github.com/cucumber/cucumber-rails/compare/v1.5.0...master) (Not yet released)
4
+
5
+ ### Changed
6
+ * 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
+ * Update .travis.yml with ruby versions ([#341](https://github.com/cucumber/cucumber-rails/pull/341) Jun Aruga)
8
+ * 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
+ * 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
+ * Dependencies: Allowed `Ammeter` versions greater than 1.1.3. ([#368](https://github.com/cucumber/cucumber-rails/pull/368) [mvz](https://github.com/mvz))
11
+ * 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))
13
+ * 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
+
15
+ ### Fixed
16
+
17
+ * Fix typo ([#343](https://github.com/cucumber/cucumber-rails/pull/343) Olle Jonsson)
18
+ * History.md: Fixed markdown formatting ([#344](https://github.com/cucumber/cucumber-rails/pull/344) [Kosmas](https://github.com/Kosmas))
19
+ * Fixed tag deprecation warnings. ([#373](https://github.com/cucumber/cucumber-rails/pull/373) [mvz](https://github.com/mvz))
2
20
 
3
21
  ## [v1.5.0](https://github.com/cucumber/cucumber-rails/compare/1.4.5...1.5.0) (2017-05-12)
4
22
 
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 )
23
+ * 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)
7
25
 
8
26
  ## [v1.4.5](https://github.com/cucumber/cucumber-rails/compare/1.4.4...1.4.5) (2016-09-27)
9
27
 
@@ -16,48 +34,48 @@
16
34
  ## [v1.4.3](https://github.com/cucumber/cucumber-rails/compare/1.4.2...1.4.3) (2016-01-21)
17
35
 
18
36
  * 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)
37
+ * 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)
38
+ * Allow cucumber 2 ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole)
39
+ * Add rails 4.2 to test matrix ([#293](https://github.com/cucumber/cucumber-rails/pull/293) Thomas Walpole)
40
+ * Depend on railties instead of rails ([#294](https://github.com/cucumber/cucumber-rails/pull/294) Alexander Lang)
41
+ * Fix failing Travis CI tests ([#305](https://github.com/cucumber/cucumber-rails/pull/305) Matijs van Zuijlen)
42
+ * Allow any cucumber < 3 ([#306](https://github.com/cucumber/cucumber-rails/pull/306) Matijs van Zuijlen)
43
+ * Add annotations configuration in generator ([#292](https://github.com/cucumber/cucumber-rails/pull/292) Bob Showalter)
44
+ * Expand support to include mime-types 3 ([#304](https://github.com/cucumber/cucumber-rails/pull/304) Austin Ziegler)
45
+ * Replace badges with SVG versions ([#307](https://github.com/cucumber/cucumber-rails/pull/307) Kevin Goslar)
46
+ * Add new line to end of generated database.yml ([#302](https://github.com/cucumber/cucumber-rails/pull/302) Kevin Carmody)
29
47
 
30
48
  ## [v1.4.2](https://github.com/cucumber/cucumber-rails/compare/1.4.1...v1.4.2) (2014-10-09)
31
49
 
32
50
  * 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 )
51
+ * Update mime-types dependency to >= 1.16, < 3 ([#289](https://github.com/cucumber/cucumber-rails/pull/289) Erik Michaels-Ober)
52
+ * Upgrade to RSpec 3 ([#290](https://github.com/cucumber/cucumber-rails/pull/290) Tamir Duberstein)
35
53
 
36
54
  ## [v1.4.1](https://github.com/cucumber/cucumber-rails/compare/v1.4.0...v1.4.1) (2014-05-10)
37
55
 
38
56
  ### New Features
39
57
 
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)
58
+ * Added MIT licence in gemspec ([#261](https://github.com/cucumber/cucumber-rails/issues/261#issuecomment-23260956) Benjamin Fleischer)
59
+ * Ensure dependency on DatabaseCleaner is not required ([#276](https://github.com/cucumber/cucumber-rails/pull/276) Matthew O'Riordan)
60
+ * Added Rails 4.1 support ([#287](https://github.com/cucumber/cucumber-rails/pull/287) Felix Bünemann)
43
61
  * Modified appraisal instructions in README.md (Kosmas Chatzimichalis)
44
62
  * Added Gemnasium support (Kosmas Chatzimichalis)
45
63
  * Various code enhancements based on PullReview suggestions (Kosmas Chatzimichalis)
46
64
 
47
65
  ### Removed Features
48
- * Mongo step definition ([#263] (https://github.com/cucumber/cucumber-rails/issues/263) Aslak Hellesøy )
66
+ * Mongo step definition ([#263](https://github.com/cucumber/cucumber-rails/issues/263) Aslak Hellesøy)
49
67
 
50
68
  ### Bugfixes
51
69
 
52
70
  * 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 )
71
+ * `bundle exec rake` runs minitest with cucumber options and raises exception ([#252](https://github.com/cucumber/cucumber-rails/issues/252) Peter Bollenbeck)
72
+ * Various bundler related fixes ([#264](https://github.com/cucumber/cucumber-rails/pull/264) Erik Michaels-Ober)
73
+ * Additional gemspec cleanup ([#265](https://github.com/cucumber/cucumber-rails/pull/265) Erik Michaels-Ober)
74
+ * Added mime-types runtime dependency to fix bundle install issue ([#273](https://github.com/cucumber/cucumber-rails/pull/273) Kosmas Chatzimichalis)
75
+ * Removed mongoid gem from Appraisal ([#274](https://github.com/cucumber/cucumber-rails/pull/274) Kosmas Chatzimichalis)
76
+ * Amend typo in select_dates_and_times.rb comments ([#268](https://github.com/cucumber/cucumber-rails/pull/268) Erik Eide)
77
+ * Keep empty step_definitions directories ([#249](https://github.com/cucumber/cucumber-rails/pull/249) Iain D Broadfoot)
78
+ * Remove obsolete link for config.cache_classes to false ([#271](https://github.com/cucumber/cucumber-rails/issues/271) Andrew Premdas)
61
79
 
62
80
  ## [v1.4.0](https://github.com/cucumber/cucumber-rails/compare/v1.3.1...v1.4.0) (2013-08-23)
63
81
 
@@ -151,9 +169,9 @@ with a Step Definition that perhaps looks like this:
151
169
 
152
170
  Given /^I have signed up as "([^"]*)"$/ do |email|
153
171
  visit(signup_path)
154
- fill_in('Email', :with => email)
155
- fill_in('Password', :with => 's3cr3t')
156
- fill_in('Password Confirmation', :with => 's3cr3t')
172
+ fill_in('Email', with: email)
173
+ fill_in('Password', with: 's3cr3t')
174
+ fill_in('Password Confirmation', with: 's3cr3t')
157
175
  click_button('Sign up')
158
176
  end
159
177
 
@@ -46,7 +46,7 @@ Now release it
46
46
 
47
47
  ### NOTE:
48
48
 
49
- If after running the rake release task you get an eror similiar to this:
49
+ If after running the rake release task you get an error similar to this:
50
50
 
51
51
  rake aborted!
52
52
  Couldn't git push. `git push 2>&1' failed with the following output:
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Build Status](https://secure.travis-ci.org/cucumber/cucumber-rails.svg?branch=master)](http://travis-ci.org/cucumber/cucumber-rails)
5
5
  [![Code Climate](https://codeclimate.com/github/cucumber/cucumber-rails.svg)](https://codeclimate.com/github/cucumber/cucumber-rails)
6
6
  [![Dependency Status](https://gemnasium.com/Kosmas/cucumber-rails.svg)](https://gemnasium.com/Kosmas/cucumber-rails)
7
- [![PullReview stats](https://www.pullreview.com/github/cucumber/cucumber-rails/badges/master.svg?)](https://www.pullreview.com/github/cucumber/cucumber-rails/reviews/master)
7
+ [![Open Source Helpers](https://www.codetriage.com/cucumber/cucumber-rails/badges/users.svg)](https://www.codetriage.com/cucumber/cucumber-rails)
8
8
 
9
9
  Cucumber-Rails brings Cucumber to Rails 4.x and 5.x. For Rails 3.x support, use version 1.4.5. For Rails 2.3.x support, see the [rails-2.3.x branch](https://github.com/cucumber/cucumber-rails/tree/rails-2.3.x).
10
10
 
@@ -13,7 +13,7 @@ Cucumber-Rails brings Cucumber to Rails 4.x and 5.x. For Rails 3.x support, use
13
13
  Before you can use the generator, add the gem to your project's Gemfile as follows:
14
14
 
15
15
  group :test do
16
- gem 'cucumber-rails', :require => false
16
+ gem 'cucumber-rails', require: false
17
17
  # database_cleaner is not required, but highly recommended
18
18
  gem 'database_cleaner'
19
19
  end
@@ -67,7 +67,7 @@ If you know how to fix the bug yourself, make a second commit (after committing
67
67
 
68
68
  ### Setting up your environment
69
69
 
70
- I strongly recommend rvm and ruby 1.9.3. When you have that, cd into your cucumber-rails repository and:
70
+ We strongly recommend that you use `rvm` or `rbenv` and ruby `2.2.0`. When you have that, cd into your cucumber-rails repository and:
71
71
 
72
72
  gem install bundler
73
73
  bundle install
@@ -76,22 +76,28 @@ I strongly recommend rvm and ruby 1.9.3. When you have that, cd into your cucumb
76
76
 
77
77
  With all dependencies installed, all specs and features should pass:
78
78
 
79
- rake
79
+ [bundle exec] rake
80
80
 
81
81
  ### Running Appraisal suite
82
82
 
83
83
  In order to test against multiple versions of key dependencies, the [Appraisal](https://github.com/thoughtbot/appraisal) is used to generate multiple gemfiles, stored in the `gemfiles/` directory. Normally these will only run on Travis; however, if you want to run the full test suite against all gemfiles, run the following commands:
84
84
 
85
- appraisal install
86
- appraisal rake test
85
+ [bundle exec] appraisal install
86
+ [bundle exec] appraisal rake test
87
87
 
88
88
  To run the suite against a named gemfile, use the following:
89
89
 
90
- appraisal rails_4_1 rake test
90
+ [bundle exec] appraisal rails_4_1 rake test
91
91
 
92
92
  To remove and rebuild the different gemfiles (for example, to update a rails version or its dependencies), use the following:
93
93
 
94
- appraisal install
94
+ [bundle exec] appraisal install
95
+
96
+ If you've changed versions of the dependencies, you may find it helpful to forcefully clean each appraisal's gem lock file in `gemfiles/`. You can do this using:
97
+
98
+ [bundle exec] rake clean
99
+
100
+
95
101
 
96
102
  ### Adding dependencies
97
103