mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
16 lines
365 B
Ruby
16 lines
365 B
Ruby
# frozen_string_literal: true
|
|
|
|
if ENV["BUNDLER_SPEC_API_REQUEST_LIMIT"]
|
|
require_relative "path"
|
|
require "bundler/source"
|
|
require "bundler/source/rubygems"
|
|
|
|
module Bundler
|
|
class Source
|
|
class Rubygems < Source
|
|
remove_const :API_REQUEST_LIMIT
|
|
API_REQUEST_LIMIT = ENV["BUNDLER_SPEC_API_REQUEST_LIMIT"].to_i
|
|
end
|
|
end
|
|
end
|
|
end
|