Sha256: e422072c005cf5da792a7390c343e9cb7da56557d319d61c9b64a588a2f6d1d8

Contents?: true

Size: 400 Bytes

Versions: 363

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

module BundlerDefinitionRubyVersionPatch
  def index
    @index ||= super.tap do
      if ruby_version
        requested_version = ruby_version.to_gem_version_with_patchlevel
        sources.metadata_source.specs <<
          Gem::Specification.new("ruby\0", requested_version)
      end
    end
  end
end
Bundler::Definition.prepend(BundlerDefinitionRubyVersionPatch)

Version data entries

363 entries across 363 versions & 2 rubygems

Version Path
dependabot-bundler-0.106.1 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.106.0 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.105.8 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.105.7 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.105.6 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.105.5 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.105.4 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.105.3 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.105.2 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.105.1 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.105.0 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.104.6 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.104.5 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.104.4 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.104.3 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.104.2 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.104.1 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.104.0 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.103.3 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb
dependabot-bundler-0.103.2 lib/dependabot/monkey_patches/bundler/definition_ruby_version_patch.rb