ruby-changes:57786
From: David <ko1@a...>
Date: Wed, 18 Sep 2019 20:21:41 +0900 (JST)
Subject: [ruby-changes:57786] 399501cdfe (master): [bundler/bundler] Revert "Remove now unused method"
https://git.ruby-lang.org/ruby.git/commit/?id=399501cdfe From 399501cdfe957325631e70efa6afffca6b56db6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Wed, 21 Aug 2019 20:52:17 +0200 Subject: [bundler/bundler] Revert "Remove now unused method" This reverts commit 3a2d2f025081755bdb38af660897e7b2f749a33a. https://github.com/bundler/bundler/commit/13cef81582 diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index de3950a..08bd19e 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -518,6 +518,10 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/definition.rb#L518 raise InvalidOption, "Unable to remove the platform `#{platform}` since the only platforms are #{@platforms.join ", "}" end + def add_current_platform + current_platforms.each {|platform| add_platform(platform) } + end + def find_resolved_spec(current_spec) specs.find_by_name_and_platform(current_spec.name, current_spec.platform) end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/