Skip to content

Commit

Permalink
Travis expects 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tooky committed Apr 22, 2016
1 parent f835af4 commit d688d88
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: false

rvm:
- 2.3
- 2.3.0
- 2.2
- 2.1
- 2.0
Expand Down
1 change: 1 addition & 0 deletions lib/cucumber/platform.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module Cucumber
RUBY_BINARY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
RUBY_2_2 = RUBY_VERSION =~ /^2\.2/
RUBY_2_1 = RUBY_VERSION =~ /^2\.1/
RUBY_2_3 = RUBY_VERSION =~ /^2\.3/

class << self
attr_accessor :use_full_backtrace
Expand Down
2 changes: 1 addition & 1 deletion lib/cucumber/runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class FileNotFoundException < FileException
end

class FeatureFolderNotFoundException < FileException
include FixRuby21Bug9285 if Cucumber::RUBY_2_1 || Cucumber::RUBY_2_2
include FixRuby21Bug9285 if Cucumber::RUBY_2_1 || Cucumber::RUBY_2_2 || Cucumber::RUBY_2_3
end

require 'cucumber/core'
Expand Down

0 comments on commit d688d88

Please sign in to comment.