rubygems-update 3.2.30 → 3.2.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/Manifest.txt +18 -0
- data/bundler/CHANGELOG.md +17 -0
- data/bundler/lib/bundler/build_metadata.rb +2 -2
- data/bundler/lib/bundler/cli/gem.rb +68 -7
- data/bundler/lib/bundler/cli.rb +3 -1
- data/bundler/lib/bundler/definition.rb +5 -4
- data/bundler/lib/bundler/lockfile_parser.rb +1 -0
- 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 +3 -3
- data/bundler/lib/bundler/man/bundle-config.1.ronn +2 -2
- 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 +14 -1
- data/bundler/lib/bundler/man/bundle-gem.1.ronn +16 -0
- 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/runtime.rb +1 -1
- data/bundler/lib/bundler/source/git/git_proxy.rb +5 -2
- data/bundler/lib/bundler/source/rubygems.rb +1 -1
- data/bundler/lib/bundler/spec_set.rb +1 -1
- data/bundler/lib/bundler/templates/newgem/Gemfile.tt +5 -2
- data/bundler/lib/bundler/templates/newgem/Rakefile.tt +5 -1
- data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +12 -12
- data/bundler/lib/bundler/templates/newgem/standard.yml.tt +4 -0
- data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +2 -2
- data/bundler/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
- data/bundler/lib/bundler/vendor/tsort/lib/tsort.rb +453 -0
- data/bundler/lib/bundler/vendored_tsort.rb +4 -0
- data/bundler/lib/bundler/version.rb +1 -1
- data/lib/rubygems/command.rb +4 -4
- data/lib/rubygems/commands/cert_command.rb +6 -6
- data/lib/rubygems/commands/fetch_command.rb +1 -1
- data/lib/rubygems/commands/server_command.rb +3 -3
- data/lib/rubygems/commands/setup_command.rb +64 -55
- data/lib/rubygems/commands/uninstall_command.rb +1 -1
- data/lib/rubygems/commands/update_command.rb +1 -1
- data/lib/rubygems/dependency_list.rb +2 -2
- data/lib/rubygems/ext/builder.rb +6 -5
- data/lib/rubygems/ext/cmake_builder.rb +1 -1
- data/lib/rubygems/install_update_options.rb +2 -2
- data/lib/rubygems/installer.rb +30 -5
- data/lib/rubygems/local_remote_options.rb +3 -3
- data/lib/rubygems/optparse/COPYING +56 -0
- data/lib/rubygems/optparse/lib/optionparser.rb +2 -0
- data/lib/rubygems/optparse/lib/optparse/ac.rb +54 -0
- data/lib/rubygems/optparse/lib/optparse/date.rb +18 -0
- data/lib/rubygems/optparse/lib/optparse/kwargs.rb +22 -0
- data/lib/rubygems/optparse/lib/optparse/shellwords.rb +7 -0
- data/lib/rubygems/optparse/lib/optparse/time.rb +11 -0
- data/lib/rubygems/optparse/lib/optparse/uri.rb +7 -0
- data/lib/rubygems/optparse/lib/optparse/version.rb +71 -0
- data/lib/rubygems/optparse/lib/optparse.rb +2230 -0
- data/lib/rubygems/optparse.rb +3 -0
- data/lib/rubygems/request_set.rb +2 -2
- data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb +2 -2
- data/lib/rubygems/security_option.rb +3 -3
- data/lib/rubygems/specification.rb +9 -5
- data/lib/rubygems/tsort/LICENSE.txt +22 -0
- data/lib/rubygems/tsort/lib/tsort.rb +454 -0
- data/lib/rubygems/tsort.rb +3 -0
- data/lib/rubygems/util/licenses.rb +2 -0
- data/lib/rubygems/version_option.rb +2 -2
- data/lib/rubygems.rb +1 -1
- data/rubygems-update.gemspec +1 -1
- data/test/rubygems/encrypted_private_key.pem +26 -26
- data/test/rubygems/helper.rb +22 -18
- data/test/rubygems/test_gem_command.rb +1 -1
- data/test/rubygems/test_gem_commands_cert_command.rb +8 -8
- data/test/rubygems/test_gem_commands_fetch_command.rb +36 -0
- data/test/rubygems/test_gem_commands_server_command.rb +3 -3
- data/test/rubygems/test_gem_commands_setup_command.rb +50 -19
- data/test/rubygems/test_gem_commands_signin_command.rb +1 -1
- data/test/rubygems/test_gem_commands_uninstall_command.rb +1 -1
- data/test/rubygems/test_gem_commands_yank_command.rb +1 -1
- data/test/rubygems/test_gem_install_update_options.rb +2 -2
- data/test/rubygems/test_gem_request.rb +10 -4
- data/test/rubygems/test_gem_resolver.rb +7 -7
- data/test/rubygems/test_gem_specification.rb +11 -0
- metadata +21 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9b3eb30992cb27a7b1145d72c67be34eb5b26eb6d884280788819fa3eeb3d16
|
4
|
+
data.tar.gz: ad1ae1dc4863afadf470989bff6c7fdd1f69040aa457c75c8ec7d1d542a9ce4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42d88e84d8d4cee20d1042c55d535a451ed5ebc304cb0e37457236db9255774d2bfa1dcbfa70e31300b2e857960505cc04a0de68a6461a9b0eb3d3a706475326
|
7
|
+
data.tar.gz: 2c6a23a16e036404479502dd75ef7bcd646228fc409229f2b3d917dc831e928abfea07ad27935801846b547a820bc3d1d5e1fa4fa74422b70d542e89840374a9
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
# 3.2.31 / 2021-11-08
|
2
|
+
|
3
|
+
## Enhancements:
|
4
|
+
|
5
|
+
* Don't pass empty `DESTDIR` to `nmake` since it works differently from
|
6
|
+
standard `make`. Pull request #5057 by hsbt
|
7
|
+
* Fix `gem install` vs `gem fetch` inconsistency. Pull request #5037 by
|
8
|
+
deivid-rodriguez
|
9
|
+
* Lazily load and vendor `optparse`. Pull request #4881 by
|
10
|
+
deivid-rodriguez
|
11
|
+
* Use a vendored copy of `tsort` internally. Pull request #5027 by
|
12
|
+
deivid-rodriguez
|
13
|
+
|
14
|
+
## Bug fixes:
|
15
|
+
|
16
|
+
* Fix `ruby setup.rb` when `--prefix` is passed. Pull request #5051 by
|
17
|
+
deivid-rodriguez
|
18
|
+
* Don't apply `--destdir` twice when running `setup.rb`. Pull request
|
19
|
+
#2768 by alyssais
|
20
|
+
|
1
21
|
# 3.2.30 / 2021-10-26
|
2
22
|
|
3
23
|
## Enhancements:
|
data/Manifest.txt
CHANGED
@@ -214,6 +214,7 @@ bundler/lib/bundler/templates/newgem/rspec.tt
|
|
214
214
|
bundler/lib/bundler/templates/newgem/rubocop.yml.tt
|
215
215
|
bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
|
216
216
|
bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt
|
217
|
+
bundler/lib/bundler/templates/newgem/standard.yml.tt
|
217
218
|
bundler/lib/bundler/templates/newgem/test/minitest/newgem_test.rb.tt
|
218
219
|
bundler/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt
|
219
220
|
bundler/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt
|
@@ -290,6 +291,8 @@ bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb
|
|
290
291
|
bundler/lib/bundler/vendor/thor/lib/thor/util.rb
|
291
292
|
bundler/lib/bundler/vendor/thor/lib/thor/version.rb
|
292
293
|
bundler/lib/bundler/vendor/tmpdir/lib/tmpdir.rb
|
294
|
+
bundler/lib/bundler/vendor/tsort/LICENSE.txt
|
295
|
+
bundler/lib/bundler/vendor/tsort/lib/tsort.rb
|
293
296
|
bundler/lib/bundler/vendor/uri/LICENSE.txt
|
294
297
|
bundler/lib/bundler/vendor/uri/lib/uri.rb
|
295
298
|
bundler/lib/bundler/vendor/uri/lib/uri/common.rb
|
@@ -309,6 +312,7 @@ bundler/lib/bundler/vendored_molinillo.rb
|
|
309
312
|
bundler/lib/bundler/vendored_persistent.rb
|
310
313
|
bundler/lib/bundler/vendored_thor.rb
|
311
314
|
bundler/lib/bundler/vendored_tmpdir.rb
|
315
|
+
bundler/lib/bundler/vendored_tsort.rb
|
312
316
|
bundler/lib/bundler/vendored_uri.rb
|
313
317
|
bundler/lib/bundler/version.rb
|
314
318
|
bundler/lib/bundler/version_ranges.rb
|
@@ -390,6 +394,17 @@ lib/rubygems/local_remote_options.rb
|
|
390
394
|
lib/rubygems/mock_gem_ui.rb
|
391
395
|
lib/rubygems/name_tuple.rb
|
392
396
|
lib/rubygems/openssl.rb
|
397
|
+
lib/rubygems/optparse.rb
|
398
|
+
lib/rubygems/optparse/COPYING
|
399
|
+
lib/rubygems/optparse/lib/optionparser.rb
|
400
|
+
lib/rubygems/optparse/lib/optparse.rb
|
401
|
+
lib/rubygems/optparse/lib/optparse/ac.rb
|
402
|
+
lib/rubygems/optparse/lib/optparse/date.rb
|
403
|
+
lib/rubygems/optparse/lib/optparse/kwargs.rb
|
404
|
+
lib/rubygems/optparse/lib/optparse/shellwords.rb
|
405
|
+
lib/rubygems/optparse/lib/optparse/time.rb
|
406
|
+
lib/rubygems/optparse/lib/optparse/uri.rb
|
407
|
+
lib/rubygems/optparse/lib/optparse/version.rb
|
393
408
|
lib/rubygems/package.rb
|
394
409
|
lib/rubygems/package/digest_io.rb
|
395
410
|
lib/rubygems/package/file_source.rb
|
@@ -492,6 +507,9 @@ lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
|
|
492
507
|
lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
|
493
508
|
lib/rubygems/stub_specification.rb
|
494
509
|
lib/rubygems/text.rb
|
510
|
+
lib/rubygems/tsort.rb
|
511
|
+
lib/rubygems/tsort/LICENSE.txt
|
512
|
+
lib/rubygems/tsort/lib/tsort.rb
|
495
513
|
lib/rubygems/uninstaller.rb
|
496
514
|
lib/rubygems/uri.rb
|
497
515
|
lib/rubygems/uri_formatter.rb
|
data/bundler/CHANGELOG.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
# 2.2.31 (November 8, 2021)
|
2
|
+
|
3
|
+
## Enhancements:
|
4
|
+
|
5
|
+
- Link to working `bundler-graph` plugin in `bundle viz` deprecation message [#5061](https://github.com/rubygems/rubygems/pull/5061)
|
6
|
+
- Memoize materialized specs when requiring `bundler/setup` [#5033](https://github.com/rubygems/rubygems/pull/5033)
|
7
|
+
- Allow custom LicenseRef [#5013](https://github.com/rubygems/rubygems/pull/5013)
|
8
|
+
- Better error when installing a lockfile with git sources and git is not installed [#5036](https://github.com/rubygems/rubygems/pull/5036)
|
9
|
+
- Only delete cached gem when it's corrupted [#5031](https://github.com/rubygems/rubygems/pull/5031)
|
10
|
+
- Support gemified `tsort` [#5032](https://github.com/rubygems/rubygems/pull/5032)
|
11
|
+
- Add standard option alongside rubocop to `bundle gem` [#4411](https://github.com/rubygems/rubygems/pull/4411)
|
12
|
+
|
13
|
+
## Bug fixes:
|
14
|
+
|
15
|
+
- Fix system man pages no longer working after bundler overrides `MANPATH` [#5039](https://github.com/rubygems/rubygems/pull/5039)
|
16
|
+
- Don't warn when a lockfile is locked to a dev version [#5018](https://github.com/rubygems/rubygems/pull/5018)
|
17
|
+
|
1
18
|
# 2.2.30 (October 26, 2021)
|
2
19
|
|
3
20
|
## Enhancements:
|
@@ -4,8 +4,8 @@ module Bundler
|
|
4
4
|
# Represents metadata from when the Bundler gem was built.
|
5
5
|
module BuildMetadata
|
6
6
|
# begin ivars
|
7
|
-
@built_at = "2021-
|
8
|
-
@git_commit_sha = "
|
7
|
+
@built_at = "2021-11-08".freeze
|
8
|
+
@git_commit_sha = "2505ef8972".freeze
|
9
9
|
@release = true
|
10
10
|
# end ivars
|
11
11
|
|
@@ -163,15 +163,16 @@ module Bundler
|
|
163
163
|
templates.merge!("CHANGELOG.md.tt" => "CHANGELOG.md")
|
164
164
|
end
|
165
165
|
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
"and the Ruby Style Guides (https://github.com/rubocop-hq/ruby-style-guide).")
|
171
|
-
config[:rubocop] = true
|
172
|
-
config[:rubocop_version] = rubocop_version
|
166
|
+
config[:linter] = ask_and_set_linter
|
167
|
+
case config[:linter]
|
168
|
+
when "rubocop"
|
169
|
+
config[:linter_version] = rubocop_version
|
173
170
|
Bundler.ui.info "RuboCop enabled in config"
|
174
171
|
templates.merge!("rubocop.yml.tt" => ".rubocop.yml")
|
172
|
+
when "standard"
|
173
|
+
config[:linter_version] = standard_version
|
174
|
+
Bundler.ui.info "Standard enabled in config"
|
175
|
+
templates.merge!("standard.yml.tt" => ".standard.yml")
|
175
176
|
end
|
176
177
|
|
177
178
|
templates.merge!("exe/newgem.tt" => "exe/#{name}") if config[:exe]
|
@@ -317,6 +318,58 @@ module Bundler
|
|
317
318
|
ci_template
|
318
319
|
end
|
319
320
|
|
321
|
+
def ask_and_set_linter
|
322
|
+
linter_template = options[:linter] || Bundler.settings["gem.linter"]
|
323
|
+
linter_template = deprecated_rubocop_option if linter_template.nil?
|
324
|
+
|
325
|
+
if linter_template.to_s.empty?
|
326
|
+
Bundler.ui.confirm "Do you want to add a code linter and formatter to your gem? " \
|
327
|
+
"Supported Linters:\n" \
|
328
|
+
"* RuboCop: https://rubocop.org\n" \
|
329
|
+
"* Standard: https://github.com/testdouble/standard\n" \
|
330
|
+
"\n"
|
331
|
+
Bundler.ui.info hint_text("linter")
|
332
|
+
|
333
|
+
result = Bundler.ui.ask "Enter a linter. rubocop/standard/(none):"
|
334
|
+
if result =~ /rubocop|standard/
|
335
|
+
linter_template = result
|
336
|
+
else
|
337
|
+
linter_template = false
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
if Bundler.settings["gem.linter"].nil?
|
342
|
+
Bundler.settings.set_global("gem.linter", linter_template)
|
343
|
+
end
|
344
|
+
|
345
|
+
# Once gem.linter safely set, unset the deprecated gem.rubocop
|
346
|
+
unless Bundler.settings["gem.rubocop"].nil?
|
347
|
+
Bundler.settings.set_global("gem.rubocop", nil)
|
348
|
+
end
|
349
|
+
|
350
|
+
if options[:linter] == Bundler.settings["gem.linter"]
|
351
|
+
Bundler.ui.info "#{options[:linter]} is already configured, ignoring --linter flag."
|
352
|
+
end
|
353
|
+
|
354
|
+
linter_template
|
355
|
+
end
|
356
|
+
|
357
|
+
def deprecated_rubocop_option
|
358
|
+
if !options[:rubocop].nil?
|
359
|
+
if options[:rubocop]
|
360
|
+
Bundler::SharedHelpers.major_deprecation 2, "--rubocop is deprecated, use --linter=rubocop"
|
361
|
+
"rubocop"
|
362
|
+
else
|
363
|
+
Bundler::SharedHelpers.major_deprecation 2, "--no-rubocop is deprecated, use --linter"
|
364
|
+
false
|
365
|
+
end
|
366
|
+
elsif !Bundler.settings["gem.rubocop"].nil?
|
367
|
+
Bundler::SharedHelpers.major_deprecation 2,
|
368
|
+
"config gem.rubocop is deprecated; we've updated your config to use gem.linter instead"
|
369
|
+
Bundler.settings["gem.rubocop"] ? "rubocop" : false
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
320
373
|
def bundler_dependency_version
|
321
374
|
v = Gem::Version.new(Bundler::VERSION)
|
322
375
|
req = v.segments[0..1]
|
@@ -367,5 +420,13 @@ module Bundler
|
|
367
420
|
"1.21"
|
368
421
|
end
|
369
422
|
end
|
423
|
+
|
424
|
+
def standard_version
|
425
|
+
if Gem.ruby_version < Gem::Version.new("2.4.a") then "0.2.5"
|
426
|
+
elsif Gem.ruby_version < Gem::Version.new("2.5.a") then "1.0"
|
427
|
+
else
|
428
|
+
"1.3"
|
429
|
+
end
|
430
|
+
end
|
370
431
|
end
|
371
432
|
end
|
data/bundler/lib/bundler/cli.rb
CHANGED
@@ -552,7 +552,7 @@ module Bundler
|
|
552
552
|
method_option :version, :type => :boolean, :default => false, :aliases => "-v", :desc => "Set to show each gem version."
|
553
553
|
method_option :without, :type => :array, :default => [], :aliases => "-W", :banner => "GROUP[ GROUP...]", :desc => "Exclude gems that are part of the specified named group."
|
554
554
|
def viz
|
555
|
-
SharedHelpers.major_deprecation 2, "The `viz` command has been moved to the `bundle-viz` gem, see https://github.com/
|
555
|
+
SharedHelpers.major_deprecation 2, "The `viz` command has been moved to the `bundle-viz` gem, see https://github.com/rubygems/bundler-graph"
|
556
556
|
require_relative "cli/viz"
|
557
557
|
Viz.new(options.dup).run
|
558
558
|
end
|
@@ -575,6 +575,8 @@ module Bundler
|
|
575
575
|
:desc => "Generate a test directory for your library, either rspec, minitest or test-unit. Set a default with `bundle config set --global gem.test (rspec|minitest|test-unit)`."
|
576
576
|
method_option :ci, :type => :string, :lazy_default => Bundler.settings["gem.ci"] || "",
|
577
577
|
:desc => "Generate CI configuration, either GitHub Actions, Travis CI, GitLab CI or CircleCI. Set a default with `bundle config set --global gem.ci (github|travis|gitlab|circle)`"
|
578
|
+
method_option :linter, :type => :string, :lazy_default => Bundler.settings["gem.linter"] || "",
|
579
|
+
:desc => "Add a linter and code formatter, either RuboCop or Standard. Set a default with `bundle config set --global gem.linter (rubocop|standard)`"
|
578
580
|
method_option :github_username, :type => :string, :default => Bundler.settings["gem.github_username"], :banner => "Set your username on GitHub", :desc => "Fill in GitHub username on README so that you don't have to do it manually. Set a default with `bundle config set --global gem.github_username <your_username>`."
|
579
581
|
|
580
582
|
def gem(name)
|
@@ -138,7 +138,7 @@ module Bundler
|
|
138
138
|
@dependency_changes = converge_dependencies
|
139
139
|
@local_changes = converge_locals
|
140
140
|
|
141
|
-
@locked_specs_incomplete_for_platform = !@locked_specs.for(
|
141
|
+
@locked_specs_incomplete_for_platform = !@locked_specs.for(requested_dependencies & expand_dependencies(locked_dependencies), true, true)
|
142
142
|
|
143
143
|
@requires = compute_requires
|
144
144
|
end
|
@@ -234,16 +234,17 @@ module Bundler
|
|
234
234
|
end
|
235
235
|
|
236
236
|
def specs_for(groups)
|
237
|
-
|
237
|
+
return specs if groups.empty?
|
238
238
|
deps = dependencies_for(groups)
|
239
|
-
materialize(
|
239
|
+
materialize(deps)
|
240
240
|
end
|
241
241
|
|
242
242
|
def dependencies_for(groups)
|
243
243
|
groups.map!(&:to_sym)
|
244
|
-
current_dependencies.reject do |d|
|
244
|
+
deps = current_dependencies.reject do |d|
|
245
245
|
(d.groups & groups).empty?
|
246
246
|
end
|
247
|
+
expand_dependencies(deps)
|
247
248
|
end
|
248
249
|
|
249
250
|
# Resolve all the dependencies specified in Gemfile. It ensures that
|
@@ -86,6 +86,7 @@ module Bundler
|
|
86
86
|
|
87
87
|
def warn_for_outdated_bundler_version
|
88
88
|
return unless bundler_version
|
89
|
+
return if bundler_version.segments.last == "dev"
|
89
90
|
prerelease_text = bundler_version.prerelease? ? " --pre" : ""
|
90
91
|
current_version = Gem::Version.create(Bundler::VERSION)
|
91
92
|
return unless current_version < bundler_version
|
@@ -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" "November 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" "November 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" "November 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" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-config\fR \- Set bundler configuration options
|
@@ -462,13 +462,13 @@ export BUNDLE_GITHUB__COM=abcd0123generatedtoken:x\-oauth\-basic
|
|
462
462
|
.IP "" 0
|
463
463
|
.
|
464
464
|
.P
|
465
|
-
Note that any configured credentials will be redacted by informative commands such as \fBbundle config list\fR or \fBbundle config get\fR, unless you use the \fB\-\-parseable\fR flag\. This is to avoid
|
465
|
+
Note that any configured credentials will be redacted by informative commands such as \fBbundle config list\fR or \fBbundle config get\fR, unless you use the \fB\-\-parseable\fR flag\. This is to avoid unintentionally leaking credentials when copy\-pasting bundler output\.
|
466
466
|
.
|
467
467
|
.P
|
468
468
|
Also note that to guarantee a sane mapping between valid environment variable names and valid host names, bundler makes the following transformations:
|
469
469
|
.
|
470
470
|
.IP "\(bu" 4
|
471
|
-
Any \fB\-\fR characters in a host name are mapped to a triple dash (\fB___\fR) in the corresponding
|
471
|
+
Any \fB\-\fR characters in a host name are mapped to a triple dash (\fB___\fR) in the corresponding environment variable\.
|
472
472
|
.
|
473
473
|
.IP "\(bu" 4
|
474
474
|
Any \fB\.\fR characters in a host name are mapped to a double dash (\fB__\fR) in the corresponding environment variable\.
|
@@ -367,14 +367,14 @@ where you can use personal OAuth tokens:
|
|
367
367
|
|
368
368
|
Note that any configured credentials will be redacted by informative commands
|
369
369
|
such as `bundle config list` or `bundle config get`, unless you use the
|
370
|
-
`--parseable` flag. This is to avoid
|
370
|
+
`--parseable` flag. This is to avoid unintentionally leaking credentials when
|
371
371
|
copy-pasting bundler output.
|
372
372
|
|
373
373
|
Also note that to guarantee a sane mapping between valid environment variable
|
374
374
|
names and valid host names, bundler makes the following transformations:
|
375
375
|
|
376
376
|
* Any `-` characters in a host name are mapped to a triple dash (`___`) in the
|
377
|
-
corresponding
|
377
|
+
corresponding environment variable.
|
378
378
|
|
379
379
|
* Any `.` characters in a host name are mapped to a double dash (`__`) in the
|
380
380
|
corresponding environment variable.
|
@@ -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\-GEM" "1" "
|
4
|
+
.TH "BUNDLE\-GEM" "1" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
|
@@ -90,6 +90,19 @@ When Bundler is configured to not generate CI files, an interactive prompt will
|
|
90
90
|
When Bundler is unconfigured, an interactive prompt will be displayed and the answer will be saved in Bundler\'s global config for future \fBbundle gem\fR use\.
|
91
91
|
.
|
92
92
|
.TP
|
93
|
+
\fB\-\-linter\fR, \fB\-\-linter=rubocop\fR, \fB\-\-linter=standard\fR
|
94
|
+
Specify the linter and code formatter that Bundler should add to the project\'s development dependencies\. Acceptable values are \fBrubocop\fR and \fBstandard\fR\. A configuration file will be generated in the project directory\. Given no option is specified:
|
95
|
+
.
|
96
|
+
.IP
|
97
|
+
When Bundler is configured to add a linter, this defaults to Bundler\'s global config setting \fBgem\.linter\fR\.
|
98
|
+
.
|
99
|
+
.IP
|
100
|
+
When Bundler is configured not to add a linter, an interactive prompt will be displayed and the answer will be used for the current rubygem project\.
|
101
|
+
.
|
102
|
+
.IP
|
103
|
+
When Bundler is unconfigured, an interactive prompt will be displayed and the answer will be saved in Bundler\'s global config for future \fBbundle gem\fR use\.
|
104
|
+
.
|
105
|
+
.TP
|
93
106
|
\fB\-e\fR, \fB\-\-edit[=EDITOR]\fR
|
94
107
|
Open the resulting GEM_NAME\.gemspec in EDITOR, or the default editor if not specified\. The default is \fB$BUNDLER_EDITOR\fR, \fB$VISUAL\fR, or \fB$EDITOR\fR\.
|
95
108
|
.
|
@@ -92,6 +92,22 @@ configuration file using the following names:
|
|
92
92
|
the answer will be saved in Bundler's global config for future `bundle gem`
|
93
93
|
use.
|
94
94
|
|
95
|
+
* `--linter`, `--linter=rubocop`, `--linter=standard`:
|
96
|
+
Specify the linter and code formatter that Bundler should add to the
|
97
|
+
project's development dependencies. Acceptable values are `rubocop` and
|
98
|
+
`standard`. A configuration file will be generated in the project directory.
|
99
|
+
Given no option is specified:
|
100
|
+
|
101
|
+
When Bundler is configured to add a linter, this defaults to Bundler's
|
102
|
+
global config setting `gem.linter`.
|
103
|
+
|
104
|
+
When Bundler is configured not to add a linter, an interactive prompt
|
105
|
+
will be displayed and the answer will be used for the current rubygem project.
|
106
|
+
|
107
|
+
When Bundler is unconfigured, an interactive prompt will be displayed and
|
108
|
+
the answer will be saved in Bundler's global config for future `bundle gem`
|
109
|
+
use.
|
110
|
+
|
95
111
|
* `-e`, `--edit[=EDITOR]`:
|
96
112
|
Open the resulting GEM_NAME.gemspec in EDITOR, or the default editor if not
|
97
113
|
specified. The default is `$BUNDLER_EDITOR`, `$VISUAL`, or `$EDITOR`.
|
@@ -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\-INIT" "1" "
|
4
|
+
.TH "BUNDLE\-INIT" "1" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-init\fR \- Generates a Gemfile into the current working directory
|
@@ -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\-INJECT" "1" "
|
4
|
+
.TH "BUNDLE\-INJECT" "1" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
|
@@ -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\-INSTALL" "1" "
|
4
|
+
.TH "BUNDLE\-INSTALL" "1" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
|
@@ -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\-OPEN" "1" "
|
4
|
+
.TH "BUNDLE\-OPEN" "1" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-open\fR \- Opens the source directory for a gem in your bundle
|
@@ -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\-OUTDATED" "1" "
|
4
|
+
.TH "BUNDLE\-OUTDATED" "1" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-outdated\fR \- List installed gems with newer versions available
|
@@ -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\-PLATFORM" "1" "
|
4
|
+
.TH "BUNDLE\-PLATFORM" "1" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-platform\fR \- Displays platform compatibility information
|
@@ -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\-PRISTINE" "1" "
|
4
|
+
.TH "BUNDLE\-PRISTINE" "1" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
|
@@ -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\-SHOW" "1" "
|
4
|
+
.TH "BUNDLE\-SHOW" "1" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-show\fR \- Shows all the gems in your bundle, or the path to a gem
|
@@ -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\-UPDATE" "1" "
|
4
|
+
.TH "BUNDLE\-UPDATE" "1" "November 2021" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-update\fR \- Update your gems to the latest available versions
|
@@ -265,7 +265,7 @@ module Bundler
|
|
265
265
|
|
266
266
|
return if manuals.empty?
|
267
267
|
Bundler::SharedHelpers.set_env "MANPATH", manuals.concat(
|
268
|
-
ENV["MANPATH"].to_s.split(File::PATH_SEPARATOR)
|
268
|
+
ENV["MANPATH"] ? ENV["MANPATH"].to_s.split(File::PATH_SEPARATOR) : [""]
|
269
269
|
).uniq.join(File::PATH_SEPARATOR)
|
270
270
|
end
|
271
271
|
|