Sha256: 071959380e71aa02894c7ce68476d4f8c305f42e9386ecba9e7e017330fe4fa2

Contents?: true

Size: 524 Bytes

Versions: 774

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

774 entries across 774 versions & 6 rubygems

Version Path
fastlane-2.226.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.225.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.224.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.223.1 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.223.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.222.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.221.1 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.221.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.220.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.219.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.218.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-security-patched-2.216.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.217.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.216.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.215.1 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.215.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-mercafacil-2.214.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.214.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.213.0 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb
fastlane-2.212.2 fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb