diff options
author | Andre Arko <andre@arko.net> | 2010-09-08 18:01:15 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-10-27 15:46:04 -0700 |
commit | 6c9c2e8cb92d48e223ce6e53264a046ab1d177f4 (patch) | |
tree | 920e903ec1007ffc0537e1c2ab97ac3f83bb64e4 /lib/bundler/dependency.rb | |
parent | 5ef9342ee6126e77d23a5f650d6bfd6736229fb6 (diff) | |
download | bundler-6c9c2e8cb92d48e223ce6e53264a046ab1d177f4.tar.gz |
First pass at a mingw platform
Diffstat (limited to 'lib/bundler/dependency.rb')
-rw-r--r-- | lib/bundler/dependency.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/bundler/dependency.rb b/lib/bundler/dependency.rb index 358dfd5abc..38f4e6ea0f 100644 --- a/lib/bundler/dependency.rb +++ b/lib/bundler/dependency.rb @@ -16,7 +16,8 @@ module Bundler :mri_18 => Gem::Platform::RUBY, :mri_19 => Gem::Platform::RUBY, :jruby => Gem::Platform::JAVA, - :mswin => Gem::Platform::MSWIN + :mswin => Gem::Platform::MSWIN, + :mingw => Gem::Platform::MINGW }.freeze def initialize(name, version, options = {}, &blk) @@ -108,7 +109,11 @@ module Bundler end def mswin? - # w0t? + Bundler::WINDOWS + end + + def mingw? + Bundler::WINDOWS end end end |