rubygems-update 3.2.11 → 3.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +41 -0
- data/Manifest.txt +1 -0
- data/Rakefile +11 -6
- data/bundler/CHANGELOG.md +57 -0
- data/bundler/lib/bundler/build_metadata.rb +2 -2
- data/bundler/lib/bundler/cli.rb +1 -0
- data/bundler/lib/bundler/cli/common.rb +13 -2
- data/bundler/lib/bundler/cli/gem.rb +31 -17
- data/bundler/lib/bundler/cli/outdated.rb +1 -1
- data/bundler/lib/bundler/compact_index_client/updater.rb +1 -1
- data/bundler/lib/bundler/definition.rb +48 -31
- data/bundler/lib/bundler/dsl.rb +36 -25
- data/bundler/lib/bundler/feature_flag.rb +0 -1
- data/bundler/lib/bundler/gem_helper.rb +16 -0
- data/bundler/lib/bundler/inline.rb +1 -0
- data/bundler/lib/bundler/installer.rb +2 -0
- data/bundler/lib/bundler/installer/parallel_installer.rb +36 -15
- data/bundler/lib/bundler/lazy_specification.rb +6 -1
- data/bundler/lib/bundler/lockfile_parser.rb +3 -13
- data/bundler/lib/bundler/man/bundle-add.1 +1 -1
- data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
- data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
- data/bundler/lib/bundler/man/bundle-check.1 +1 -1
- data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
- data/bundler/lib/bundler/man/bundle-config.1 +4 -4
- data/bundler/lib/bundler/man/bundle-config.1.ronn +4 -3
- data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
- data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
- data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
- data/bundler/lib/bundler/man/bundle-info.1 +1 -1
- data/bundler/lib/bundler/man/bundle-init.1 +1 -1
- data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
- data/bundler/lib/bundler/man/bundle-install.1 +1 -1
- data/bundler/lib/bundler/man/bundle-list.1 +1 -1
- data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
- data/bundler/lib/bundler/man/bundle-open.1 +1 -1
- data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
- data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
- data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
- data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
- data/bundler/lib/bundler/man/bundle-show.1 +1 -1
- data/bundler/lib/bundler/man/bundle-update.1 +1 -1
- data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
- data/bundler/lib/bundler/man/bundle.1 +1 -1
- data/bundler/lib/bundler/man/gemfile.5 +1 -1
- data/bundler/lib/bundler/plugin.rb +1 -0
- data/bundler/lib/bundler/plugin/api/source.rb +7 -0
- data/bundler/lib/bundler/plugin/installer.rb +8 -10
- data/bundler/lib/bundler/plugin/source_list.rb +4 -0
- data/bundler/lib/bundler/resolver.rb +34 -36
- data/bundler/lib/bundler/rubygems_gem_installer.rb +47 -0
- data/bundler/lib/bundler/settings.rb +0 -1
- data/bundler/lib/bundler/source.rb +6 -0
- data/bundler/lib/bundler/source/metadata.rb +0 -4
- data/bundler/lib/bundler/source/path.rb +3 -1
- data/bundler/lib/bundler/source/path/installer.rb +1 -1
- data/bundler/lib/bundler/source/rubygems.rb +20 -4
- data/bundler/lib/bundler/source_list.rb +28 -21
- data/bundler/lib/bundler/spec_set.rb +2 -0
- data/bundler/lib/bundler/stub_specification.rb +8 -0
- data/bundler/lib/bundler/templates/newgem/README.md.tt +5 -3
- data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +2 -4
- data/bundler/lib/bundler/vendor/tmpdir/lib/tmpdir.rb +1 -1
- data/bundler/lib/bundler/version.rb +1 -1
- data/lib/rubygems.rb +1 -1
- data/lib/rubygems/commands/update_command.rb +21 -3
- data/lib/rubygems/core_ext/tcpsocket_init.rb +4 -1
- data/lib/rubygems/installer.rb +5 -2
- data/lib/rubygems/package.rb +1 -8
- data/lib/rubygems/remote_fetcher.rb +3 -8
- data/lib/rubygems/security/trust_dir.rb +1 -0
- data/rubygems-update.gemspec +1 -1
- data/test/rubygems/packages/ascii_binder-0.1.10.1.gem +0 -0
- data/test/rubygems/test_gem.rb +2 -8
- data/test/rubygems/test_gem_commands_update_command.rb +28 -1
- data/test/rubygems/test_gem_installer.rb +20 -0
- data/test/rubygems/test_gem_package.rb +1 -1
- data/test/rubygems/test_gem_remote_fetcher.rb +38 -6
- metadata +4 -3
data/bundler/lib/bundler/dsl.rb
CHANGED
|
@@ -24,6 +24,9 @@ module Bundler
|
|
|
24
24
|
def initialize
|
|
25
25
|
@source = nil
|
|
26
26
|
@sources = SourceList.new
|
|
27
|
+
|
|
28
|
+
@global_rubygems_sources = []
|
|
29
|
+
|
|
27
30
|
@git_sources = {}
|
|
28
31
|
@dependencies = []
|
|
29
32
|
@groups = []
|
|
@@ -45,6 +48,7 @@ module Bundler
|
|
|
45
48
|
@gemfiles << expanded_gemfile_path
|
|
46
49
|
contents ||= Bundler.read_file(@gemfile.to_s)
|
|
47
50
|
instance_eval(contents.dup.tap{|x| x.untaint if RUBY_VERSION < "2.7" }, gemfile.to_s, 1)
|
|
51
|
+
check_primary_source_safety
|
|
48
52
|
rescue Exception => e # rubocop:disable Lint/RescueException
|
|
49
53
|
message = "There was an error " \
|
|
50
54
|
"#{e.is_a?(GemfileEvalError) ? "evaluating" : "parsing"} " \
|
|
@@ -164,8 +168,7 @@ module Bundler
|
|
|
164
168
|
elsif block_given?
|
|
165
169
|
with_source(@sources.add_rubygems_source("remotes" => source), &blk)
|
|
166
170
|
else
|
|
167
|
-
|
|
168
|
-
@sources.global_rubygems_source = source
|
|
171
|
+
@global_rubygems_sources << source
|
|
169
172
|
end
|
|
170
173
|
end
|
|
171
174
|
|
|
@@ -183,24 +186,14 @@ module Bundler
|
|
|
183
186
|
end
|
|
184
187
|
|
|
185
188
|
def path(path, options = {}, &blk)
|
|
186
|
-
unless block_given?
|
|
187
|
-
msg = "You can no longer specify a path source by itself. Instead, \n" \
|
|
188
|
-
"either use the :path option on a gem, or specify the gems that \n" \
|
|
189
|
-
"bundler should find in the path source by passing a block to \n" \
|
|
190
|
-
"the path method, like: \n\n" \
|
|
191
|
-
" path 'dir/containing/rails' do\n" \
|
|
192
|
-
" gem 'rails'\n" \
|
|
193
|
-
" end\n\n"
|
|
194
|
-
|
|
195
|
-
raise DeprecatedError, msg if Bundler.feature_flag.disable_multisource?
|
|
196
|
-
SharedHelpers.major_deprecation(2, msg.strip)
|
|
197
|
-
end
|
|
198
|
-
|
|
199
189
|
source_options = normalize_hash(options).merge(
|
|
200
190
|
"path" => Pathname.new(path),
|
|
201
191
|
"root_path" => gemfile_root,
|
|
202
192
|
"gemspec" => gemspecs.find {|g| g.name == options["name"] }
|
|
203
193
|
)
|
|
194
|
+
|
|
195
|
+
source_options["global"] = true unless block_given?
|
|
196
|
+
|
|
204
197
|
source = @sources.add_path_source(source_options)
|
|
205
198
|
with_source(source, &blk)
|
|
206
199
|
end
|
|
@@ -279,6 +272,11 @@ module Bundler
|
|
|
279
272
|
raise GemfileError, "Undefined local variable or method `#{name}' for Gemfile"
|
|
280
273
|
end
|
|
281
274
|
|
|
275
|
+
def check_primary_source_safety
|
|
276
|
+
check_path_source_safety
|
|
277
|
+
check_rubygems_source_safety
|
|
278
|
+
end
|
|
279
|
+
|
|
282
280
|
private
|
|
283
281
|
|
|
284
282
|
def add_git_sources
|
|
@@ -440,25 +438,38 @@ repo_name ||= user_name
|
|
|
440
438
|
end
|
|
441
439
|
end
|
|
442
440
|
|
|
443
|
-
def
|
|
444
|
-
return if
|
|
441
|
+
def check_path_source_safety
|
|
442
|
+
return if @sources.global_path_source.nil?
|
|
443
|
+
|
|
444
|
+
msg = "You can no longer specify a path source by itself. Instead, \n" \
|
|
445
|
+
"either use the :path option on a gem, or specify the gems that \n" \
|
|
446
|
+
"bundler should find in the path source by passing a block to \n" \
|
|
447
|
+
"the path method, like: \n\n" \
|
|
448
|
+
" path 'dir/containing/rails' do\n" \
|
|
449
|
+
" gem 'rails'\n" \
|
|
450
|
+
" end\n\n"
|
|
451
|
+
|
|
452
|
+
SharedHelpers.major_deprecation(2, msg.strip)
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
def check_rubygems_source_safety
|
|
456
|
+
@sources.global_rubygems_source = @global_rubygems_sources.shift
|
|
457
|
+
return if @global_rubygems_sources.empty?
|
|
445
458
|
|
|
446
|
-
|
|
459
|
+
@global_rubygems_sources.each do |source|
|
|
460
|
+
@sources.add_rubygems_remote(source)
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
if Bundler.feature_flag.bundler_3_mode?
|
|
447
464
|
msg = "This Gemfile contains multiple primary sources. " \
|
|
448
465
|
"Each source after the first must include a block to indicate which gems " \
|
|
449
466
|
"should come from that source"
|
|
450
|
-
unless Bundler.feature_flag.bundler_2_mode?
|
|
451
|
-
msg += ". To downgrade this error to a warning, run " \
|
|
452
|
-
"`bundle config unset disable_multisource`"
|
|
453
|
-
end
|
|
454
467
|
raise GemfileEvalError, msg
|
|
455
468
|
else
|
|
456
469
|
Bundler::SharedHelpers.major_deprecation 2, "Your Gemfile contains multiple primary sources. " \
|
|
457
470
|
"Using `source` more than once without a block is a security risk, and " \
|
|
458
471
|
"may result in installing unexpected gems. To resolve this warning, use " \
|
|
459
|
-
"a block to indicate which gems should come from the secondary source.
|
|
460
|
-
"To upgrade this warning to an error, run `bundle config set --local " \
|
|
461
|
-
"disable_multisource true`."
|
|
472
|
+
"a block to indicate which gems should come from the secondary source."
|
|
462
473
|
end
|
|
463
474
|
end
|
|
464
475
|
|
|
@@ -35,7 +35,6 @@ module Bundler
|
|
|
35
35
|
settings_flag(:disable_multisource) { bundler_3_mode? }
|
|
36
36
|
settings_flag(:forget_cli_options) { bundler_3_mode? }
|
|
37
37
|
settings_flag(:global_gem_cache) { bundler_3_mode? }
|
|
38
|
-
settings_flag(:only_update_to_newer_versions) { bundler_3_mode? }
|
|
39
38
|
settings_flag(:path_relative_to_cwd) { bundler_3_mode? }
|
|
40
39
|
settings_flag(:plugins) { @bundler_version >= Gem::Version.new("1.14") }
|
|
41
40
|
settings_flag(:print_only_version_number) { bundler_3_mode? }
|
|
@@ -47,6 +47,11 @@ module Bundler
|
|
|
47
47
|
built_gem_path = build_gem
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
+
desc "Generate SHA512 checksum if #{name}-#{version}.gem into the checksums directory."
|
|
51
|
+
task "build:checksum" => "build" do
|
|
52
|
+
build_checksum(built_gem_path)
|
|
53
|
+
end
|
|
54
|
+
|
|
50
55
|
desc "Build and install #{name}-#{version}.gem into system gems."
|
|
51
56
|
task "install" => "build" do
|
|
52
57
|
install_gem(built_gem_path)
|
|
@@ -100,6 +105,17 @@ module Bundler
|
|
|
100
105
|
Bundler.ui.confirm "#{name} (#{version}) installed."
|
|
101
106
|
end
|
|
102
107
|
|
|
108
|
+
def build_checksum(built_gem_path = nil)
|
|
109
|
+
built_gem_path ||= build_gem
|
|
110
|
+
SharedHelpers.filesystem_access(File.join(base, "checksums")) {|p| FileUtils.mkdir_p(p) }
|
|
111
|
+
file_name = "#{File.basename(built_gem_path)}.sha512"
|
|
112
|
+
require "digest/sha2"
|
|
113
|
+
checksum = Digest::SHA512.new.hexdigest(built_gem_path.to_s)
|
|
114
|
+
target = File.join(base, "checksums", file_name)
|
|
115
|
+
File.write(target, checksum)
|
|
116
|
+
Bundler.ui.confirm "#{name} #{version} checksum written to checksums/#{file_name}."
|
|
117
|
+
end
|
|
118
|
+
|
|
103
119
|
protected
|
|
104
120
|
|
|
105
121
|
def rubygem_push(path)
|
|
@@ -50,6 +50,7 @@ def gemfile(install = false, options = {}, &gemfile)
|
|
|
50
50
|
Bundler::Plugin.gemfile_install(&gemfile) if Bundler.feature_flag.plugins?
|
|
51
51
|
builder = Bundler::Dsl.new
|
|
52
52
|
builder.instance_eval(&gemfile)
|
|
53
|
+
builder.check_primary_source_safety
|
|
53
54
|
|
|
54
55
|
Bundler.settings.temporary(:frozen => false) do
|
|
55
56
|
definition = builder.to_definition(nil, true)
|
|
@@ -89,6 +89,8 @@ module Bundler
|
|
|
89
89
|
end
|
|
90
90
|
install(options)
|
|
91
91
|
|
|
92
|
+
Gem::Specification.reset # invalidate gem specification cache so that installed gems are immediately available
|
|
93
|
+
|
|
92
94
|
lock unless Bundler.frozen_bundle?
|
|
93
95
|
Standalone.new(options[:standalone], @definition).generate if options[:standalone]
|
|
94
96
|
end
|
|
@@ -6,10 +6,11 @@ require_relative "gem_installer"
|
|
|
6
6
|
module Bundler
|
|
7
7
|
class ParallelInstaller
|
|
8
8
|
class SpecInstallation
|
|
9
|
-
attr_accessor :spec, :name, :post_install_message, :state, :error
|
|
9
|
+
attr_accessor :spec, :name, :full_name, :post_install_message, :state, :error
|
|
10
10
|
def initialize(spec)
|
|
11
11
|
@spec = spec
|
|
12
12
|
@name = spec.name
|
|
13
|
+
@full_name = spec.full_name
|
|
13
14
|
@state = :none
|
|
14
15
|
@post_install_message = ""
|
|
15
16
|
@error = nil
|
|
@@ -27,13 +28,8 @@ module Bundler
|
|
|
27
28
|
state == :failed
|
|
28
29
|
end
|
|
29
30
|
|
|
30
|
-
def installation_attempted?
|
|
31
|
-
installed? || failed?
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
# Only true when spec in neither installed nor already enqueued
|
|
35
31
|
def ready_to_enqueue?
|
|
36
|
-
|
|
32
|
+
state == :none
|
|
37
33
|
end
|
|
38
34
|
|
|
39
35
|
def has_post_install_message?
|
|
@@ -54,14 +50,11 @@ module Bundler
|
|
|
54
50
|
# Represents only the non-development dependencies, the ones that are
|
|
55
51
|
# itself and are in the total list.
|
|
56
52
|
def dependencies
|
|
57
|
-
@dependencies ||=
|
|
58
|
-
all_dependencies.reject {|dep| ignorable_dependency? dep }
|
|
59
|
-
end
|
|
53
|
+
@dependencies ||= all_dependencies.reject {|dep| ignorable_dependency? dep }
|
|
60
54
|
end
|
|
61
55
|
|
|
62
56
|
def missing_lockfile_dependencies(all_spec_names)
|
|
63
|
-
|
|
64
|
-
deps.reject {|dep| all_spec_names.include? dep.name }
|
|
57
|
+
dependencies.reject {|dep| all_spec_names.include? dep.name }
|
|
65
58
|
end
|
|
66
59
|
|
|
67
60
|
# Represents all dependencies
|
|
@@ -70,7 +63,7 @@ module Bundler
|
|
|
70
63
|
end
|
|
71
64
|
|
|
72
65
|
def to_s
|
|
73
|
-
"#<#{self.class} #{
|
|
66
|
+
"#<#{self.class} #{full_name} (#{state})>"
|
|
74
67
|
end
|
|
75
68
|
end
|
|
76
69
|
|
|
@@ -93,18 +86,48 @@ module Bundler
|
|
|
93
86
|
def call
|
|
94
87
|
check_for_corrupt_lockfile
|
|
95
88
|
|
|
89
|
+
if @rake
|
|
90
|
+
do_install(@rake, 0)
|
|
91
|
+
Gem::Specification.reset
|
|
92
|
+
end
|
|
93
|
+
|
|
96
94
|
if @size > 1
|
|
97
95
|
install_with_worker
|
|
98
96
|
else
|
|
99
97
|
install_serially
|
|
100
98
|
end
|
|
101
99
|
|
|
100
|
+
check_for_unmet_dependencies
|
|
101
|
+
|
|
102
102
|
handle_error if failed_specs.any?
|
|
103
103
|
@specs
|
|
104
104
|
ensure
|
|
105
105
|
worker_pool && worker_pool.stop
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
+
def check_for_unmet_dependencies
|
|
109
|
+
unmet_dependencies = @specs.map do |s|
|
|
110
|
+
[
|
|
111
|
+
s,
|
|
112
|
+
s.dependencies.reject {|dep| @specs.any? {|spec| dep.matches_spec?(spec.spec) } },
|
|
113
|
+
]
|
|
114
|
+
end.reject {|a| a.last.empty? }
|
|
115
|
+
return if unmet_dependencies.empty?
|
|
116
|
+
|
|
117
|
+
warning = []
|
|
118
|
+
warning << "Your lockfile doesn't include a valid resolution."
|
|
119
|
+
warning << "You can fix this by regenerating your lockfile or trying to manually editing the bad locked gems to a version that satisfies all dependencies."
|
|
120
|
+
warning << "The unmet dependencies are:"
|
|
121
|
+
|
|
122
|
+
unmet_dependencies.each do |spec, unmet_spec_dependencies|
|
|
123
|
+
unmet_spec_dependencies.each do |unmet_spec_dependency|
|
|
124
|
+
warning << "* #{unmet_spec_dependency}, depended upon #{spec.full_name}, unsatisfied by #{@specs.find {|s| s.name == unmet_spec_dependency.name && !unmet_spec_dependency.matches_spec?(s.spec) }.full_name}"
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
Bundler.ui.warn(warning.join("\n"))
|
|
129
|
+
end
|
|
130
|
+
|
|
108
131
|
def check_for_corrupt_lockfile
|
|
109
132
|
missing_dependencies = @specs.map do |s|
|
|
110
133
|
[
|
|
@@ -217,8 +240,6 @@ module Bundler
|
|
|
217
240
|
# are installed.
|
|
218
241
|
def enqueue_specs
|
|
219
242
|
@specs.select(&:ready_to_enqueue?).each do |spec|
|
|
220
|
-
next if @rake && !@rake.installed? && spec.name != @rake.name
|
|
221
|
-
|
|
222
243
|
if spec.dependencies_installed? @specs
|
|
223
244
|
spec.state = :enqueued
|
|
224
245
|
worker_pool.enq spec
|
|
@@ -73,7 +73,12 @@ module Bundler
|
|
|
73
73
|
same_platform_candidates = candidates.select do |spec|
|
|
74
74
|
MatchPlatform.platforms_match?(spec.platform, platform_object)
|
|
75
75
|
end
|
|
76
|
-
|
|
76
|
+
installable_candidates = same_platform_candidates.select do |spec|
|
|
77
|
+
!spec.is_a?(EndpointSpecification) ||
|
|
78
|
+
(spec.required_ruby_version.satisfied_by?(Gem.ruby_version) &&
|
|
79
|
+
spec.required_rubygems_version.satisfied_by?(Gem.rubygems_version))
|
|
80
|
+
end
|
|
81
|
+
search = installable_candidates.last || same_platform_candidates.last
|
|
77
82
|
search.dependencies = dependencies if search && (search.is_a?(RemoteSpecification) || search.is_a?(EndpointSpecification))
|
|
78
83
|
search
|
|
79
84
|
end
|
|
@@ -64,8 +64,6 @@ module Bundler
|
|
|
64
64
|
@state = nil
|
|
65
65
|
@specs = {}
|
|
66
66
|
|
|
67
|
-
@rubygems_aggregate = Source::Rubygems.new
|
|
68
|
-
|
|
69
67
|
if lockfile.match(/<<<<<<<|=======|>>>>>>>|\|\|\|\|\|\|\|/)
|
|
70
68
|
raise LockfileError, "Your #{Bundler.default_lockfile.relative_path_from(SharedHelpers.pwd)} contains merge conflicts.\n" \
|
|
71
69
|
"Run `git checkout HEAD -- #{Bundler.default_lockfile.relative_path_from(SharedHelpers.pwd)}` first to get a clean lock."
|
|
@@ -89,7 +87,6 @@ module Bundler
|
|
|
89
87
|
send("parse_#{@state}", line)
|
|
90
88
|
end
|
|
91
89
|
end
|
|
92
|
-
@sources << @rubygems_aggregate unless Bundler.feature_flag.disable_multisource?
|
|
93
90
|
@specs = @specs.values.sort_by(&:identifier)
|
|
94
91
|
warn_for_outdated_bundler_version
|
|
95
92
|
rescue ArgumentError => e
|
|
@@ -134,16 +131,9 @@ module Bundler
|
|
|
134
131
|
@sources << @current_source
|
|
135
132
|
end
|
|
136
133
|
when GEM
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
@sources << @current_source
|
|
141
|
-
else
|
|
142
|
-
Array(@opts["remote"]).each do |url|
|
|
143
|
-
@rubygems_aggregate.add_remote(url)
|
|
144
|
-
end
|
|
145
|
-
@current_source = @rubygems_aggregate
|
|
146
|
-
end
|
|
134
|
+
@opts["remotes"] = Array(@opts.delete("remote")).reverse
|
|
135
|
+
@current_source = TYPES[@type].from_lock(@opts)
|
|
136
|
+
@sources << @current_source
|
|
147
137
|
when PLUGIN
|
|
148
138
|
@current_source = Plugin.source_from_lock(@opts)
|
|
149
139
|
@sources << @current_source
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "BUNDLE\-BINSTUBS" "1" "
|
|
4
|
+
.TH "BUNDLE\-BINSTUBS" "1" "April 2021" "" ""
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBbundle\-binstubs\fR \- Install the binstubs of the listed gems
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "BUNDLE\-CACHE" "1" "
|
|
4
|
+
.TH "BUNDLE\-CACHE" "1" "April 2021" "" ""
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBbundle\-cache\fR \- Package your needed \fB\.gem\fR files into your application
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "BUNDLE\-CHECK" "1" "
|
|
4
|
+
.TH "BUNDLE\-CHECK" "1" "April 2021" "" ""
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "BUNDLE\-CONFIG" "1" "
|
|
4
|
+
.TH "BUNDLE\-CONFIG" "1" "April 2021" "" ""
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBbundle\-config\fR \- Set bundler configuration options
|
|
@@ -199,6 +199,9 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
|
199
199
|
\fBfrozen\fR (\fBBUNDLE_FROZEN\fR): Disallow changes to the \fBGemfile\fR\. When the \fBGemfile\fR is changed and the lockfile has not been updated, running Bundler commands will be blocked\. Defaults to \fBtrue\fR when \fB\-\-deployment\fR is used\.
|
|
200
200
|
.
|
|
201
201
|
.IP "\(bu" 4
|
|
202
|
+
\fBgem\.github_username\fR (\fBBUNDLE_GEM__GITHUB_USERNAME\fR): Sets a GitHub username or organization to be used in \fBREADME\fR file when you create a new gem via \fBbundle gem\fR command\. It can be overriden by passing an explicit \fB\-\-github\-username\fR flag to \fBbundle gem\fR\.
|
|
203
|
+
.
|
|
204
|
+
.IP "\(bu" 4
|
|
202
205
|
\fBgem\.push_key\fR (\fBBUNDLE_GEM__PUSH_KEY\fR): Sets the \fB\-\-key\fR parameter for \fBgem push\fR when using the \fBrake release\fR command with a private gemstash server\.
|
|
203
206
|
.
|
|
204
207
|
.IP "\(bu" 4
|
|
@@ -223,9 +226,6 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
|
223
226
|
\fBno_prune\fR (\fBBUNDLE_NO_PRUNE\fR): Whether Bundler should leave outdated gems unpruned when caching\.
|
|
224
227
|
.
|
|
225
228
|
.IP "\(bu" 4
|
|
226
|
-
\fBonly_update_to_newer_versions\fR (\fBBUNDLE_ONLY_UPDATE_TO_NEWER_VERSIONS\fR): During \fBbundle update\fR, only resolve to newer versions of the gems in the lockfile\.
|
|
227
|
-
.
|
|
228
|
-
.IP "\(bu" 4
|
|
229
229
|
\fBpath\fR (\fBBUNDLE_PATH\fR): The location on disk where all gems in your bundle will be located regardless of \fB$GEM_HOME\fR or \fB$GEM_PATH\fR values\. Bundle gems not found in this location will be installed by \fBbundle install\fR\. Defaults to \fBGem\.dir\fR\. When \-\-deployment is used, defaults to vendor/bundle\.
|
|
230
230
|
.
|
|
231
231
|
.IP "\(bu" 4
|
|
@@ -194,6 +194,10 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
|
194
194
|
Disallow changes to the `Gemfile`. When the `Gemfile` is changed and the
|
|
195
195
|
lockfile has not been updated, running Bundler commands will be blocked.
|
|
196
196
|
Defaults to `true` when `--deployment` is used.
|
|
197
|
+
* `gem.github_username` (`BUNDLE_GEM__GITHUB_USERNAME`):
|
|
198
|
+
Sets a GitHub username or organization to be used in `README` file when you
|
|
199
|
+
create a new gem via `bundle gem` command. It can be overriden by passing an
|
|
200
|
+
explicit `--github-username` flag to `bundle gem`.
|
|
197
201
|
* `gem.push_key` (`BUNDLE_GEM__PUSH_KEY`):
|
|
198
202
|
Sets the `--key` parameter for `gem push` when using the `rake release`
|
|
199
203
|
command with a private gemstash server.
|
|
@@ -218,9 +222,6 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
|
218
222
|
Whether `bundle package` should skip installing gems.
|
|
219
223
|
* `no_prune` (`BUNDLE_NO_PRUNE`):
|
|
220
224
|
Whether Bundler should leave outdated gems unpruned when caching.
|
|
221
|
-
* `only_update_to_newer_versions` (`BUNDLE_ONLY_UPDATE_TO_NEWER_VERSIONS`):
|
|
222
|
-
During `bundle update`, only resolve to newer versions of the gems in the
|
|
223
|
-
lockfile.
|
|
224
225
|
* `path` (`BUNDLE_PATH`):
|
|
225
226
|
The location on disk where all gems in your bundle will be located regardless
|
|
226
227
|
of `$GEM_HOME` or `$GEM_PATH` values. Bundle gems not found in this location
|