lib/wss_agent/specifications.rb in wss_agent-18.5.2 vs lib/wss_agent/specifications.rb in wss_agent-18.6.2

- old
+ new

@@ -12,10 +12,15 @@ def specs(options = {}) list_gems = Bundler::Definition.build( Bundler.default_gemfile, Bundler.default_lockfile, false - ).specs.to_a + ) + list_gems = list_gems.resolve.materialize( + list_gems.send( + Bundler.settings[:cache_all_platforms] ? :dependencies : :requested_dependencies + ) + ) if options['all'] # get all gems list = {} list_gems.each { |j| list[j.name] = j } list_gems.each { |j|