summaryrefslogtreecommitdiff
path: root/lib/bundler/cli
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-19 17:01:36 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:57 +0900
commitc1ca77281d60e5b81dd4ba0df36f7ea6abf3f92a (patch)
tree76d0b8a72ff3063b0d26ea0bca818f3fbca19540 /lib/bundler/cli
parentd8cd45cb1a459f8e82f055d8c2d335f57962dc31 (diff)
[bundler/bundler] Add all platforms to lockfile by default
https://github.com/bundler/bundler/commit/3dc509e645
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r--lib/bundler/cli/outdated.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb
index 857caf0a03..2075fe83c8 100644
--- a/lib/bundler/cli/outdated.rb
+++ b/lib/bundler/cli/outdated.rb
@@ -172,6 +172,8 @@ module Bundler
end
def retrieve_active_spec(strict, definition, current_spec)
+ return unless current_spec.match_platform(Bundler.local_platform)
+
if strict
active_spec = definition.find_resolved_spec(current_spec)
else