Permalink
Browse files

Ruby 2.0+ platform definitions (+w/s fix)

Added `:ruby_20`, `:mri_20` and `:mingw_20`
Also made same fix to `mingw_19?` as #1539 -- 19 is not 20.
  • Loading branch information...
1 parent 9fcbc25 commit 047056720d2018d47be9dd2895ba2d4c1c6bf71c Philip (flip) Kromer committed Aug 13, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/bundler/dependency.rb
@@ -112,6 +112,10 @@ def mri_20?
mri? && RUBY_VERSION >= "2.0" && RUBY_VERSION < "3.0"
end
+ def mri_20?
+ mri? && RUBY_VERSION >= "2.0" && RUBY_VERSION < "3.0"
+ end
+
def rbx?
ruby? && defined?(RUBY_ENGINE) && RUBY_ENGINE == "rbx"
end

0 comments on commit 0470567

Please sign in to comment.