Skip to content
Browse files

Update RUBY_VERSION check for performance testing to handle 2.0.0

  • Loading branch information...
1 parent e9d6592 commit 6df2db329889590d516fa12307a5dddda59068d1 @mikeycgto mikeycgto committed Feb 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/testing/performance/ruby.rb
View
2 activesupport/lib/active_support/testing/performance/ruby.rb
@@ -142,7 +142,7 @@ class GcTime < Time
end
end
-if RUBY_VERSION.between?('1.9.2', '2.0')
+if RUBY_VERSION.between?('1.9.2', '2.0.0')
require 'active_support/testing/performance/ruby/yarv'
elsif RUBY_VERSION.between?('1.8.6', '1.9')
require 'active_support/testing/performance/ruby/mri'

0 comments on commit 6df2db3

Please sign in to comment.
Something went wrong with that request. Please try again.