cucumber-rails 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/.rspec +1 -1
  4. data/.travis.yml +7 -6
  5. data/Appraisals +48 -40
  6. data/CONTRIBUTING.md +2 -2
  7. data/History.md +50 -7
  8. data/README.md +22 -9
  9. data/cucumber-rails.gemspec +19 -15
  10. data/dev_tasks/yard/default/layout/html/footer.erb +1 -1
  11. data/dev_tasks/yard/default/layout/html/layout.erb +5 -5
  12. data/dev_tasks/yard/default/layout/html/logo.erb +1 -1
  13. data/features/choose_javascript_database_strategy.feature +1 -1
  14. data/features/database_cleaner.feature +1 -1
  15. data/features/disable_automatic_database_cleaning.feature +1 -1
  16. data/features/install_cucumber_rails.feature +2 -1
  17. data/features/raising_errors.feature +1 -1
  18. data/features/rerun_profile.feature +1 -1
  19. data/features/step_definitions/cucumber_rails_steps.rb +17 -17
  20. data/features/support/bundler_pre_support.rb +2 -2
  21. data/features/support/env.rb +4 -4
  22. data/features/support/legacy_web_steps_support.rb +2 -3
  23. data/gemfiles/capybara_1_1.gemfile +2 -3
  24. data/gemfiles/rails_3_0.gemfile +2 -4
  25. data/gemfiles/rails_3_1.gemfile +2 -3
  26. data/gemfiles/rails_3_2.gemfile +2 -3
  27. data/gemfiles/rails_4_0.gemfile +2 -4
  28. data/gemfiles/rails_4_1.gemfile +18 -0
  29. data/lib/cucumber/rails.rb +8 -7
  30. data/lib/cucumber/rails/action_controller.rb +2 -2
  31. data/lib/cucumber/rails/application.rb +1 -1
  32. data/lib/cucumber/rails/capybara/javascript_emulation.rb +4 -4
  33. data/lib/cucumber/rails/capybara/select_dates_and_times.rb +6 -6
  34. data/lib/cucumber/rails/database.rb +9 -12
  35. data/lib/cucumber/rails/hooks/active_record.rb +3 -3
  36. data/lib/cucumber/rails/rspec.rb +2 -2
  37. data/lib/cucumber/rails/world.rb +2 -2
  38. data/lib/generators/cucumber/install/USAGE +2 -2
  39. data/lib/generators/cucumber/install/install_generator.rb +9 -9
  40. data/lib/generators/cucumber/install/templates/support/_rails_each_run.rb.erb +2 -2
  41. data/lib/generators/cucumber/install/templates/support/rails_spork.rb.erb +2 -2
  42. data/spec/cucumber/rails/database_spec.rb +3 -3
  43. data/spec/generators/cucumber/install/install_generator_spec.rb +5 -5
  44. data/spec/spec_helper.rb +1 -0
  45. metadata +207 -108
  46. data/features/step_definitions/mongo_steps.rb +0 -3
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 117f12b0f8f2f885e2ad467e6571c9260104c7a9
4
+ data.tar.gz: a0c357cacdbedee6beb4c0450a9be03089e9c1d2
5
+ SHA512:
6
+ metadata.gz: 68cedcfbe2939176174f80cc93fad15aa5cd0d59ad91f5b8a6329f28786a1ee71efee7ca16ede4578041b5e8d2c21388af2455f2cc8666e0b60d0419c3e12dc1
7
+ data.tar.gz: 7d34ae725e14a22e980a0421f91fc2bd91688617b885367f3a6e588ba6f2055010d8f8ba4843e06841ec5d1b5e98c37231b19be5cc18381d54e9d4830e125fc2
data/.gitignore CHANGED
@@ -9,3 +9,4 @@ coverage
9
9
  .cucumber.rerun
10
10
  gemfiles/*.lock
11
11
  Gemfile.lock
12
+ Gemfile.appraisal.lock
data/.rspec CHANGED
@@ -1 +1 @@
1
- --format progress --colour
1
+ --format progress --colour
data/.travis.yml CHANGED
@@ -1,4 +1,4 @@
1
- rvm:
1
+ rvm:
2
2
  - 1.9.3
3
3
  - 2.0.0
4
4
 
@@ -8,20 +8,21 @@ branches:
8
8
  - master
9
9
 
10
10
  gemfile:
11
- - gemfiles/rails_3_0.gemfile
12
- - gemfiles/rails_3_1.gemfile
13
- - gemfiles/rails_3_2.gemfile
14
11
  - gemfiles/capybara_1_1.gemfile
12
+ - gemfiles/rails_4_1.gemfile
15
13
  - gemfiles/rails_4_0.gemfile
14
+ - gemfiles/rails_3_2.gemfile
15
+ - gemfiles/rails_3_1.gemfile
16
+ - gemfiles/rails_3_0.gemfile
16
17
 
17
18
  matrix:
18
19
  exclude:
19
20
  - rvm: 2.0.0
20
- gemfile: gemfiles/rails_3_0.gemfile
21
+ gemfile: gemfiles/capybara_1_1.gemfile
21
22
  - rvm: 2.0.0
22
23
  gemfile: gemfiles/rails_3_1.gemfile
23
24
  - rvm: 2.0.0
24
- gemfile: gemfiles/capybara_1_1.gemfile
25
+ gemfile: gemfiles/rails_3_0.gemfile
25
26
 
26
27
  # Needed for selenium browser
27
28
  before_script:
data/Appraisals CHANGED
@@ -2,55 +2,50 @@ appraise "rails_3_0" do
2
2
  gem "rails", "~> 3.0.20"
3
3
  gem "capybara", "~> 2.0.2"
4
4
  gem "turn", "~> 0.9.6"
5
- gem "rspec-rails", "~> 2.12.2"
6
- gem 'jquery-rails', "~> 2.2.1"
5
+ gem "rspec-rails", "~> 2.14.2"
6
+ gem "jquery-rails", "~> 2.2.1"
7
7
  gem "uglifier", "~> 2.1.0"
8
- gem 'sqlite3', "~> 1.3.7"
9
- gem "bson_ext", "~> 1.8.5"
10
- gem "mongoid", "~> 2.2.6"
11
- gem 'database_cleaner', "~> 1.0.1"
8
+ gem "sqlite3", "~> 1.3.7"
9
+ gem "database_cleaner", "~> 1.0.1"
12
10
  end
13
11
 
14
12
  appraise "rails_3_1" do
15
13
  gem "rails", "~> 3.1.11"
16
14
  gem "capybara", "~> 2.0.2"
17
- gem 'turn', "~> 0.9.6"
18
- gem "rspec-rails", "~> 2.12.2"
19
- gem 'sass-rails', "~> 3.1.7"
20
- gem 'coffee-rails', "~> 3.1.1"
21
- gem 'jquery-rails', "~> 2.2.1"
15
+ gem "turn", "~> 0.9.6"
16
+ gem "rspec-rails", "~> 2.14.2"
17
+ gem "sass-rails", "~> 3.1.7"
18
+ gem "coffee-rails", "~> 3.1.1"
19
+ gem "jquery-rails", "~> 2.2.1"
22
20
  gem "uglifier", "~> 2.1.0"
23
- gem 'sqlite3', "~> 1.3.7"
24
- gem "bson_ext", "~> 1.8.5"
25
- gem 'database_cleaner', "~> 1.0.1"
21
+ gem "sqlite3", "~> 1.3.7"
22
+ gem "database_cleaner", "~> 1.0.1"
26
23
  end
27
24
 
28
25
  appraise "rails_3_2" do
29
26
  gem "rails", "~> 3.2.12"
30
27
  gem "capybara", "~> 2.0.2"
31
- gem 'turn', "~> 0.9.6"
32
- gem "rspec-rails", "~> 2.12.2"
33
- gem 'sass-rails', "~> 3.2.6"
34
- gem 'coffee-rails', "~> 3.2.2"
35
- gem 'jquery-rails', "~> 2.2.1"
28
+ gem "turn", "~> 0.9.6"
29
+ gem "rspec-rails", "~> 2.14.2"
30
+ gem "sass-rails", "~> 3.2.6"
31
+ gem "coffee-rails", "~> 3.2.2"
32
+ gem "jquery-rails", "~> 2.2.1"
36
33
  gem "uglifier", "~> 2.1.0"
37
- gem 'sqlite3', "~> 1.3.7"
38
- gem "bson_ext", "~> 1.8.5"
39
- gem 'database_cleaner', "~> 1.0.1"
34
+ gem "sqlite3", "~> 1.3.7"
35
+ gem "database_cleaner", "~> 1.0.1"
40
36
  end
41
37
 
42
38
  appraise "capybara_1_1" do
43
39
  gem "capybara", "~> 1.1.2"
44
40
  gem "rails", "~> 3.2.12"
45
- gem 'turn', "~> 0.9.6"
46
- gem "rspec-rails", "~> 2.12.2"
47
- gem 'sass-rails', "~> 3.2.6"
48
- gem 'coffee-rails', "~> 3.2.2"
49
- gem 'jquery-rails', "~> 2.2.1"
41
+ gem "turn", "~> 0.9.6"
42
+ gem "rspec-rails", "~> 2.14.2"
43
+ gem "sass-rails", "~> 3.2.6"
44
+ gem "coffee-rails", "~> 3.2.2"
45
+ gem "jquery-rails", "~> 2.2.1"
50
46
  gem "uglifier", "~> 2.1.0"
51
- gem 'sqlite3', "~> 1.3.7"
52
- gem "bson_ext", "~> 1.8.5"
53
- gem 'database_cleaner', "~> 1.0.1"
47
+ gem "sqlite3", "~> 1.3.7"
48
+ gem "database_cleaner", "~> 1.0.1"
54
49
  end
55
50
 
56
51
  appraise "rails_4_0" do
@@ -58,14 +53,27 @@ appraise "rails_4_0" do
58
53
  gem "rails", "~> 4.0.0"
59
54
  gem "railties", "~> 4.0.0"
60
55
  gem "capybara", "~> 2.0.2"
61
- gem 'turn', "~> 0.9.6"
62
- gem "rspec-rails", "~> 2.12.2"
63
- gem 'sass-rails', "~> 4.0.0"
64
- gem 'coffee-rails', "~> 4.0.0"
65
- gem 'jquery-rails', "~> 2.2.1"
56
+ gem "turn", "~> 0.9.6"
57
+ gem "rspec-rails", "~> 2.14.2"
58
+ gem "sass-rails", "~> 4.0.0"
59
+ gem "coffee-rails", "~> 4.0.0"
60
+ gem "jquery-rails", "~> 2.2.1"
66
61
  gem "uglifier", "~> 2.1.0"
67
- gem 'sqlite3', "~> 1.3.7"
68
- gem "bson_ext", "~> 1.8.5"
69
- gem 'mongoid', git: 'https://github.com/mongoid/mongoid.git'
70
- gem 'database_cleaner', "~> 1.0.1"
71
- end
62
+ gem "sqlite3", "~> 1.3.7"
63
+ gem "database_cleaner", "~> 1.0.1"
64
+ end
65
+
66
+ appraise "rails_4_1" do
67
+ gem "protected_attributes", "~> 1.0.3"
68
+ gem "rails", "~> 4.1.0"
69
+ gem "railties", "~> 4.1.0"
70
+ gem "capybara", "~> 2.0.2"
71
+ gem "turn", "~> 0.9.6"
72
+ gem "rspec-rails", "~> 2.14.2"
73
+ gem "sass-rails", "~> 4.0.0"
74
+ gem "coffee-rails", "~> 4.0.0"
75
+ gem "jquery-rails", "~> 2.2.1"
76
+ gem "uglifier", "~> 2.1.0"
77
+ gem "sqlite3", "~> 1.3.7"
78
+ gem "database_cleaner", "~> 1.0.1"
79
+ end
data/CONTRIBUTING.md CHANGED
@@ -43,7 +43,7 @@ Now release it
43
43
  bundle exec rake
44
44
  git commit -m "Release X.Y.Z"
45
45
  rake release
46
-
46
+
47
47
  ### NOTE:
48
48
 
49
49
  If after running the rake release task you get an eror similiar to this:
@@ -54,7 +54,7 @@ If after running the rake release task you get an eror similiar to this:
54
54
  To git@github.com:cucumber/cucumber-rails.git
55
55
  ! [rejected] rails-2.3.x -> rails-2.3.x (non-fast-forward)
56
56
  error: failed to push some refs to 'git@github.com:cucumber/cucumber-rails.git'
57
-
57
+
58
58
  make sure that you have pulled all the recent changes from both the master and the rails-2.3.x branch
59
59
 
60
60
  ## Gaining Release Karma
data/History.md CHANGED
@@ -1,12 +1,55 @@
1
+ ## [v1.4.1](https://github.com/cucumber/cucumber-rails/compare/v1.4.0...v1.4.1) (2014-05-10)
2
+
3
+ ### New Features
4
+
5
+ * Added MIT licence in gemspec ([#261] (https://github.com/cucumber/cucumber-rails/issues/261#issuecomment-23260956) Benjamin Fleischer)
6
+ * Ensure dependency on DatabaseCleaner is not required ([#276] (https://github.com/cucumber/cucumber-rails/pull/276) Matthew O'Riordan)
7
+ * Added Rails 4.1 support ([#287] (https://github.com/cucumber/cucumber-rails/pull/287) Felix Bünemann)
8
+ * Modified appraisal instructions in README.md (Kosmas Chatzimichalis)
9
+ * Added Gemnasium support (Kosmas Chatzimichalis)
10
+ * Various code enhancements based on PullReview suggestions (Kosmas Chatzimichalis)
11
+
12
+ ### Removed Features
13
+ * Mongo step definition ([#263] (https://github.com/cucumber/cucumber-rails/issues/263) Aslak Hellesøy )
14
+
15
+ ### Bugfixes
16
+
17
+ * Prevent MiniTest running `at_exit` when running cucumber ([#253](https://github.com/cucumber/cucumber-rails/issues/253) Steve Tooke)
18
+ * `bundle exec rake` runs minitest with cucumber options and raises exception ([#252] (https://github.com/cucumber/cucumber-rails/issues/252) Peter Bollenbeck)
19
+ * Various bundler related fixes ([#264] (https://github.com/cucumber/cucumber-rails/pull/264) Erik Michaels-Ober )
20
+ * Additional gemspec cleanup ([#265] (https://github.com/cucumber/cucumber-rails/pull/265) Erik Michaels-Ober )
21
+ * Added mime-types runtime dependency to fix bundle install issue ([#273] (https://github.com/cucumber/cucumber-rails/pull/273) Kosmas Chatzimichalis)
22
+ * Removed mongoid gem from Appraisal ([#274] (https://github.com/cucumber/cucumber-rails/pull/274) Kosmas Chatzimichalis)
23
+ * Amend typo in select_dates_and_times.rb comments ([#268] (https://github.com/cucumber/cucumber-rails/pull/268) Erik Eide)
24
+ * Keep empty step_definitions directories ([#249] (https://github.com/cucumber/cucumber-rails/pull/249) Iain D Broadfoot)
25
+ * Remove obsolete link for config.cache_classes to false ([#271] (https://github.com/cucumber/cucumber-rails/issues/271) Andrew Premdas )
26
+
1
27
  ## [v1.4.0](https://github.com/cucumber/cucumber-rails/compare/v1.3.1...v1.4.0) (2013-08-23)
2
28
 
3
29
  ### New Features
4
30
 
5
- * Rails 4 compatibility
6
- * Removal of unused tests (routing, multiple_databases, pre_bundler and mongo)
7
31
  * New test raising_errors.feature to test raising routing errors that replaced the earlier routing.feature
8
32
  * Added recommendation in README.md for running install scripts after upgrading (Joost Baaij)
33
+ * Describe configuration option 'autorun_database_cleaner' in README ([#255](https://github.com/cucumber/cucumber-rails/pull/255) Martin Eismann)
34
+
9
35
 
36
+ ### Changed Features
37
+
38
+ * Gemspec in 1.3.1 doesn't allow usage with rails 4 ([#244](https://github.com/cucumber/cucumber-rails/issues/244) Fabian Schwahn)
39
+
40
+ ### Removed Features
41
+
42
+ * routing.feature code was actually testing the raising of errors so it was renamed to raising_errors.feature and slightly changed to deal with rails 4 changes in public folder
43
+ * multiple_databases.feature was removed as it was actually testing DatabaseCleaner behaviour
44
+ * pre_bundler.feature was removed as it is no longer relevant
45
+ * mongodb feature was removed as is there is no mongodb code in cucumber-rails codebase
46
+
47
+ ### Bugfixes
48
+
49
+ * Fixed tests so they pass in Rails 4 and updated gemspec ([#247](https://github.com/cucumber/cucumber-rails/pull/247) Dave Brace)
50
+ * Allow use with Rails 4 ([#254](https://github.com/cucumber/cucumber-rails/pull/254) Marnen Laibow-Koser)
51
+ * (dumb) Fix for Rails4 ([#256](https://github.com/cucumber/cucumber-rails/pull/256) Jon Rowe)
52
+ * Revert "Merge pull request #256 from JonRowe/dumb_fix_for_rails4_test_he... ([#258](https://github.com/cucumber/cucumber-rails/pull/258) Kosmas Chatzimichalis)
10
53
 
11
54
  ## [v1.3.1](https://github.com/cucumber/cucumber-rails/compare/v1.3.0...v1.3.1) (2013-03-15)
12
55
 
@@ -207,7 +250,7 @@ You can learn more about what Capybara has to offer in Capybara's [README](https
207
250
  ## [v0.3.1](https://github.com/cucumber/cucumber-rails/compare/v0.3.0...v0.3.1) (2010-05-04)
208
251
 
209
252
  This release has a lot of bugfixes! The test suite (based on Aruba) verifies that Cucumber-Rails
210
- now works with various combinations of:
253
+ now works with various combinations of:
211
254
 
212
255
  * Cucumber 0.6.x/0.7.2
213
256
  * Rails2/Rails3
@@ -215,7 +258,7 @@ now works with various combinations of:
215
258
  * Webrat/CapyBara
216
259
  * MRI 1.8.6/1.8.7/1.9.1
217
260
 
218
- This one requires a special mention: The handy (but error prone) rerun functionality has moved to a
261
+ This one requires a special mention: The handy (but error prone) rerun functionality has moved to a
219
262
  separate rerun profile, so all rerun.txt related issues should now be gone.
220
263
 
221
264
  * New Capybara Step Definitions for Dates. (Rob Holland)
@@ -259,7 +302,7 @@ This is a major release since we're now supporting both Rails 3 and RSpec 2. Old
259
302
 
260
303
  ### Bugfixes
261
304
  * Started to work on solutions for generating suitable support files depending on Rails version
262
- - see skeleton_base.rb#create_feature_support and templates/support
305
+ - see skeleton_base.rb#create_feature_support and templates/support
263
306
 
264
307
  ## [v0.2.4](https://github.com/cucumber/cucumber-rails/compare/v0.2.3...v0.2.4) (2010-01-18)
265
308
 
@@ -321,11 +364,11 @@ and to celebrate that cucumber-rails now supports Capybara as an alternative to
321
364
  in a temporary file and reapply after you have overwritten the file. ALso consider
322
365
  adding your custom code to another file that won't be overwritten the next time
323
366
  you upgrade.
324
-
367
+
325
368
  Many people have edits in their env.rb file. This is something you should try
326
369
  to avoid in the future. Instead, keep your custom setup in a different file
327
370
  under features/support - Cucumber loads all files under features/**/*.rb anyway.
328
-
371
+
329
372
  If you have a Spork setup, see the end of this thread:
330
373
  http://groups.google.com/group/cukes/browse_thread/thread/475385cc26377215
331
374
 
data/README.md CHANGED
@@ -1,8 +1,11 @@
1
1
  # Cucumber-Rails
2
2
 
3
3
  [![Build Status](https://secure.travis-ci.org/cucumber/cucumber-rails.png?branch=master)](http://travis-ci.org/cucumber/cucumber-rails)
4
+ [![Code Climate](https://codeclimate.com/github/cucumber/cucumber-rails.png)](https://codeclimate.com/github/cucumber/cucumber-rails)
5
+ [![Dependency Status](https://gemnasium.com/Kosmas/cucumber-rails.svg)](https://gemnasium.com/Kosmas/cucumber-rails)
6
+ [![PullReview stats](https://www.pullreview.com/github/cucumber/cucumber-rails/badges/master.svg?)](https://www.pullreview.com/github/cucumber/cucumber-rails/reviews/master)
4
7
 
5
- Cucumber-Rails brings Cucumber to Rails 3.x and 4.x. For Rails 2.3.x support, see the [rails-2.3.x branch](https://github.com/cucumber/cucumber-rails/tree/rails-2.3.x).
8
+ Cucumber-Rails brings Cucumber to Rails 3.x and 4.x. For Rails 2.3.x support, see the [rails-2.3.x branch](https://github.com/cucumber/cucumber-rails/tree/rails-2.3.x).
6
9
 
7
10
  ## Installation
8
11
 
@@ -35,7 +38,7 @@ With Rake:
35
38
  Without Rake:
36
39
 
37
40
  [bundle exec] cucumber
38
-
41
+
39
42
  ## Configuration options
40
43
 
41
44
  By default, cucumber-rails runs `DatabaseCleaner.start` and `DatabaseCleaner.clean` before and after your scenarios. You can disable this behaviour like so:
@@ -43,7 +46,7 @@ By default, cucumber-rails runs `DatabaseCleaner.start` and `DatabaseCleaner.cle
43
46
  # features/support/env.rb
44
47
  # ...
45
48
  Cucumber::Rails::Database.autorun_database_cleaner = false
46
-
49
+
47
50
  ## Upgrading from a previous version
48
51
 
49
52
  When upgrading from a previous version it is recommended that you rerun:
@@ -74,22 +77,20 @@ With all dependencies installed, all specs and features should pass:
74
77
 
75
78
  rake
76
79
 
77
- One of the features uses MongoDB, which needs to be running in order to make features/mongoid.feature to pass.
78
-
79
80
  ### Running Appraisal suite
80
81
 
81
82
  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:
82
83
 
83
- rake gemfiles:install
84
- rake test:all
84
+ appraisal install
85
+ appraisal rake test
85
86
 
86
87
  To run the suite against a named gemfile, use the following:
87
88
 
88
- rake test:gemfile[rails_3_0]
89
+ appraisal rails_4_1 rake test
89
90
 
90
91
  To remove and rebuild the different gemfiles (for example, to update a rails version or its dependencies), use the following:
91
92
 
92
- rake gemfiles:rebuild
93
+ appraisal install
93
94
 
94
95
  ### Adding dependencies
95
96
 
@@ -100,3 +101,15 @@ To support the multiple-gemfile testing, when adding a new dependency the follow
100
101
  3. If it's a dependency of a generated rails app in a test, add it to the Gemfile (for local test runs) and each appraisal section (if necessary).
101
102
 
102
103
  For example, rspec is a primary development dependency, so it lives in the gemspec. By contrast, coffee-rails is a dependency of apps generated with rails 3.1 and 3.2, so lives in the main Gemfile and the rails 3.1 and 3.2 appraisal sections.
104
+
105
+ ### NOTE
106
+
107
+ If you get an error while trying to run the tests locally, similar to the one below:
108
+
109
+ Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
110
+
111
+ you would need to install a javascript runtime.
112
+
113
+ You can do that in ubuntu by using:
114
+
115
+ sudo apt-get install nodejs
@@ -3,33 +3,37 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'cucumber-rails'
6
- s.version = '1.4.0'
6
+ s.version = '1.4.1'
7
7
  s.authors = ["Aslak Hellesøy", "Dennis Blöte", "Rob Holland"]
8
8
  s.description = "Cucumber Generator and Runtime for Rails"
9
9
  s.summary = "#{s.name}-#{s.version}"
10
10
  s.email = 'cukes@googlegroups.com'
11
11
  s.homepage = "http://cukes.info"
12
12
 
13
- s.add_runtime_dependency('cucumber', '>= 1.2.0')
14
- s.add_runtime_dependency('nokogiri', '>= 1.5.0')
15
- s.add_runtime_dependency('capybara', '>= 1.1.2')
16
- s.add_runtime_dependency('rails', '>= 3.0.0')
13
+ s.license = 'MIT'
14
+
15
+ s.add_runtime_dependency('capybara', ['>= 1.1.2', '< 3'])
16
+ s.add_runtime_dependency('cucumber', ['>= 1.3.8', '< 2'])
17
+ s.add_runtime_dependency('nokogiri', '~> 1.5')
18
+ s.add_runtime_dependency('rails', ['>= 3', '< 5'])
19
+ s.add_runtime_dependency('mime-types', '~> 1.16')
17
20
 
18
21
  # Main development dependencies
19
- s.add_development_dependency('rake', '>= 0.9.2.2')
20
- s.add_development_dependency('bundler', '~> 1.3.5')
22
+ s.add_development_dependency('ammeter', ['>= 0.2.9', '< 1'])
23
+ s.add_development_dependency('appraisal', '>= 0.5.1')
21
24
  s.add_development_dependency('aruba', '>= 0.4.11')
22
- s.add_development_dependency('rspec', '>= 2.2')
23
- s.add_development_dependency('ammeter', '>= 0.2.9')
24
- s.add_development_dependency('factory_girl', '>= 3.2.0')
25
+ s.add_development_dependency('builder', ['>= 2.1.2', '< 3.2'])
26
+ s.add_development_dependency('bundler', '>= 1.3.5')
25
27
  s.add_development_dependency('database_cleaner', '>= 0.7.2')
26
- s.add_development_dependency('appraisal', '~> 0.5.1')
28
+ s.add_development_dependency('factory_girl', '>= 3.2')
29
+ s.add_development_dependency('rake', '>= 0.9.2.2')
30
+ s.add_development_dependency('rspec', '>= 2.2')
27
31
 
28
32
  # For Documentation:
29
- s.add_development_dependency('yard', '~> 0.8.5.2')
30
- s.add_development_dependency('rdoc', '~> 3.12.2')
31
- s.add_development_dependency('rdiscount', '~> 2.0.7')
32
- s.add_development_dependency('bcat', '~> 0.6.2')
33
+ s.add_development_dependency('bcat', '>= 0.6.2')
34
+ s.add_development_dependency('rdiscount', '>= 2.0.7')
35
+ s.add_development_dependency('rdoc', '>= 3.4')
36
+ s.add_development_dependency('yard', '>= 0.8.7')
33
37
 
34
38
  s.rubygems_version = ">= 1.6.1"
35
39
  s.files = `git ls-files`.split("\n")
@@ -1,5 +1,5 @@
1
1
  <div id="footer">
2
- Generated on <%= Time.now.strftime("%c") %> by
2
+ Generated on <%= Time.now.strftime("%c") %> by
3
3
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
4
4
  <%= YARD::VERSION %> (ruby-<%= RUBY_VERSION %>).
5
5
  </div>
@@ -8,18 +8,18 @@
8
8
  <script type="text/javascript" charset="utf-8">
9
9
  if (window.top.frames.main) document.body.className = 'frames';
10
10
  </script>
11
-
11
+
12
12
  <div id="header">
13
13
  <%= erb(:logo) %>
14
14
  <%= erb(:breadcrumb) %>
15
15
  <%= erb(:search) %>
16
16
  <div class="clear"></div>
17
17
  </div>
18
-
18
+
19
19
  <iframe id="search_frame"></iframe>
20
-
20
+
21
21
  <div id="content"><%= yieldall %></div>
22
-
22
+
23
23
  <%= erb(:footer) %>
24
24
  </body>
25
- </html>
25
+ </html>
@@ -1 +1 @@
1
- <h3><img src="<%= url_for('images/bubble_32x32.png') %>"></img> Cucumber-Rails <%= CUCUMBER_RAILS_VERSION %></h3>
1
+ <h3><img src="<%= url_for('images/bubble_32x32.png') %>"></img> Cucumber-Rails <%= CUCUMBER_RAILS_VERSION %></h3>