From d688d886a60dc51973c2fb572a277be4b9720b3a Mon Sep 17 00:00:00 2001 From: Steve Tooke Date: Fri, 22 Apr 2016 10:36:04 +0100 Subject: [PATCH] Travis expects 2.3.0 --- .travis.yml | 2 +- lib/cucumber/platform.rb | 1 + lib/cucumber/runtime.rb | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4d9613334e..4ac1063150 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ sudo: false rvm: - - 2.3 + - 2.3.0 - 2.2 - 2.1 - 2.0 diff --git a/lib/cucumber/platform.rb b/lib/cucumber/platform.rb index b0878ccc3a..c10e482681 100644 --- a/lib/cucumber/platform.rb +++ b/lib/cucumber/platform.rb @@ -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 diff --git a/lib/cucumber/runtime.rb b/lib/cucumber/runtime.rb index 81be4da47e..bcbe7db928 100644 --- a/lib/cucumber/runtime.rb +++ b/lib/cucumber/runtime.rb @@ -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'