Sha256: a09a87f5317d3470f46f911c15765596b85a356ddeff8d852402e437f15d1076

Contents?: true

Size: 524 Bytes

Versions: 386

Compression:

Stored size: 524 Bytes

Contents

# https://github.com/bundler/bundler/issues/4368
#
# There is an issue with Rubygems 2.6.2 where it attempts to call Bundler::SpecSet#size, which doesn't exist.
# If a gem is not installed, a `Gem::Specification.find_by_name` call will trigger this problem.
if Object.const_defined?(:Bundler) &&
   Bundler.const_defined?(:SpecSet) &&
   Bundler::SpecSet.instance_methods.include?(:length) &&
   !Bundler::SpecSet.instance_methods.include?(:size)
  module Bundler
    class SpecSet
      alias size length
    end
  end
end

Version data entries

386 entries across 386 versions & 1 rubygems

Version Path
fastlane-2.63.0.beta.20171025010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.63.0.beta.20171024010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.62.1 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.63.0.beta.20171023010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.63.0.beta.20171022010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.63.0.beta.20171021010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.63.0.beta.20171020010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.63.0.beta.20171019010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.63.0.beta.20171018010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.62.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.62.0.beta.20171017010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.62.0.beta.20171016010004 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.62.0.beta.20171015010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.62.0.beta.20171014010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.62.0.beta.20171011010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.62.0.beta.20171010010004 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.61.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.61.0.beta.20171009010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.61.0.beta.20171008010003 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.61.0.beta.20171007010004 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb