rubygems-update 3.3.24 → 3.3.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/bundler/CHANGELOG.md +12 -0
  4. data/bundler/lib/bundler/build_metadata.rb +2 -2
  5. data/bundler/lib/bundler/definition.rb +1 -1
  6. data/bundler/lib/bundler/lazy_specification.rb +1 -3
  7. data/bundler/lib/bundler/man/bundle-add.1 +1 -1
  8. data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
  9. data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
  10. data/bundler/lib/bundler/man/bundle-check.1 +1 -1
  11. data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
  12. data/bundler/lib/bundler/man/bundle-config.1 +1 -1
  13. data/bundler/lib/bundler/man/bundle-console.1 +1 -1
  14. data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
  15. data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
  16. data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
  17. data/bundler/lib/bundler/man/bundle-help.1 +1 -1
  18. data/bundler/lib/bundler/man/bundle-info.1 +1 -1
  19. data/bundler/lib/bundler/man/bundle-init.1 +1 -1
  20. data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
  21. data/bundler/lib/bundler/man/bundle-install.1 +1 -1
  22. data/bundler/lib/bundler/man/bundle-list.1 +1 -1
  23. data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
  24. data/bundler/lib/bundler/man/bundle-open.1 +1 -1
  25. data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
  26. data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
  27. data/bundler/lib/bundler/man/bundle-plugin.1 +1 -1
  28. data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
  29. data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
  30. data/bundler/lib/bundler/man/bundle-show.1 +1 -1
  31. data/bundler/lib/bundler/man/bundle-update.1 +1 -1
  32. data/bundler/lib/bundler/man/bundle-version.1 +1 -1
  33. data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
  34. data/bundler/lib/bundler/man/bundle.1 +1 -1
  35. data/bundler/lib/bundler/man/gemfile.5 +23 -12
  36. data/bundler/lib/bundler/man/gemfile.5.ronn +23 -13
  37. data/bundler/lib/bundler/version.rb +1 -1
  38. data/lib/rubygems/core_ext/kernel_warn.rb +1 -1
  39. data/lib/rubygems/request_set/gem_dependency_api.rb +1 -1
  40. data/lib/rubygems.rb +1 -1
  41. data/rubygems-update.gemspec +1 -1
  42. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/Cargo.lock +6 -6
  43. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/Cargo.toml +1 -1
  44. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.lock +6 -6
  45. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.toml +1 -1
  46. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +2 -2
  47. data/test/rubygems/test_gem_source_git.rb +5 -0
  48. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65c7d26883d0730029624be1ed4fd91012021d0db47680ee7624b49befff19fa
4
- data.tar.gz: c6e162899091bcd0151d65e798d94291f6355c01b89f240e38ec93533a70287a
3
+ metadata.gz: 373bde3eddd5fd887fa27db0e32024485a807f04b0a68759ae08e9a0e745d6af
4
+ data.tar.gz: 260a3ca9f5340e67b7eb17bb89a8d1a82932ad166c5eebd6894eb3777e835506
5
5
  SHA512:
6
- metadata.gz: 409a780fb1964ad6f14355c9c1df5e87d0d0dc9a4e54edc54dbf16ef3425bd8bb237c0eae9fea20d05d9e31f4983d7a34c31ef1c651ba514c22c6cddadfcc461
7
- data.tar.gz: 723c63a66cf6288ddaa7bfc921195501a7b54c860a81444114553008ab1faadbd26bfae19cbd24cc15fe476923a3791fa04876501dfae9838de8d39b64140a8d
6
+ metadata.gz: b48bc85ca9166963bef3dc7e4494b8c51307cbb489b11f9f523ad41a5deb645a4ac4d9b7bae481fe8ab0cebc25c6457d5f003f6ab3970ee6180173c134dfaaca
7
+ data.tar.gz: 27d28091a109d977ab6a276a0244c54dbc7aab80075c11ef38fa38978693ba87629f429b484076f39257ca8caa04bc9eec6f1618d4af2b44ea793af2e74f49b0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ # 3.3.25 / 2022-11-02
2
+
3
+ ## Enhancements:
4
+
5
+ * Github source should default to secure protocol. Pull request #6026 by
6
+ jasonkarns
7
+ * Allow upcoming JRuby to pass keywords to Kernel#warn. Pull request #6002
8
+ by enebo
9
+ * Installs bundler 2.3.25 as a default gem.
10
+
1
11
  # 3.3.24 / 2022-10-17
2
12
 
3
13
  ## Enhancements:
data/bundler/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # 2.3.25 (November 2, 2022)
2
+
3
+ ## Bug fixes:
4
+
5
+ - Properly sort specs when materializing [#6015](https://github.com/rubygems/rubygems/pull/6015)
6
+ - Fix bad unfreeze recommendation [#6013](https://github.com/rubygems/rubygems/pull/6013)
7
+
8
+ ## Documentation:
9
+
10
+ - Bring docs for gemfile(5) manpage up to date [#6007](https://github.com/rubygems/rubygems/pull/6007)
11
+ - Fix `github` DSL docs to mention they use https protocol over git under the hood [#5993](https://github.com/rubygems/rubygems/pull/5993)
12
+
1
13
  # 2.3.24 (October 17, 2022)
2
14
 
3
15
  ## 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 = "2022-10-17".freeze
8
- @git_commit_sha = "b835c7ea15".freeze
7
+ @built_at = "2022-11-02".freeze
8
+ @git_commit_sha = "6b0b87b1ed".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -357,7 +357,7 @@ module Bundler
357
357
  "bundle config unset deployment"
358
358
  end
359
359
  msg << "\n\nIf this is a development machine, remove the #{Bundler.default_gemfile} " \
360
- "freeze \nby running `#{suggested_command}`."
360
+ "freeze \nby running `#{suggested_command}`." if suggested_command
361
361
  end
362
362
 
363
363
  added = []
@@ -79,9 +79,7 @@ module Bundler
79
79
  candidates = if source.is_a?(Source::Path) || !ruby_platform_materializes_to_ruby_platform?
80
80
  target_platform = ruby_platform_materializes_to_ruby_platform? ? platform : local_platform
81
81
 
82
- source.specs.search(Dependency.new(name, version)).select do |spec|
83
- MatchPlatform.platforms_match?(spec.platform, target_platform)
84
- end
82
+ GemHelpers.select_best_platform_match(source.specs.search(Dependency.new(name, version)), target_platform)
85
83
  else
86
84
  source.specs.search(self)
87
85
  end
@@ -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\-ADD" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-ADD" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install
@@ -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" "September 2022" "" ""
4
+ .TH "BUNDLE\-BINSTUBS" "1" "October 2022" "" ""
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" "September 2022" "" ""
4
+ .TH "BUNDLE\-CACHE" "1" "October 2022" "" ""
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" "September 2022" "" ""
4
+ .TH "BUNDLE\-CHECK" "1" "October 2022" "" ""
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\-CLEAN" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-CLEAN" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-clean\fR \- Cleans up unused gems in your bundler 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\-CONFIG" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-CONFIG" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-config\fR \- Set bundler configuration options
@@ -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\-CONSOLE" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-CONSOLE" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-console\fR \- Deprecated way to open an IRB session with the bundle pre\-loaded
@@ -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\-DOCTOR" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-DOCTOR" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-doctor\fR \- Checks the bundle for common problems
@@ -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\-EXEC" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-EXEC" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-exec\fR \- Execute a command in the context of the 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\-GEM" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-GEM" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
@@ -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\-HELP" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-HELP" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-help\fR \- Displays detailed help for each subcommand
@@ -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\-INFO" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-INFO" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-info\fR \- Show information for the given 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\-INIT" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-INIT" "1" "October 2022" "" ""
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" "September 2022" "" ""
4
+ .TH "BUNDLE\-INJECT" "1" "October 2022" "" ""
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" "September 2022" "" ""
4
+ .TH "BUNDLE\-INSTALL" "1" "October 2022" "" ""
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\-LIST" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-LIST" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-list\fR \- List all the gems in the 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\-LOCK" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-LOCK" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
@@ -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" "September 2022" "" ""
4
+ .TH "BUNDLE\-OPEN" "1" "October 2022" "" ""
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" "September 2022" "" ""
4
+ .TH "BUNDLE\-OUTDATED" "1" "October 2022" "" ""
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" "September 2022" "" ""
4
+ .TH "BUNDLE\-PLATFORM" "1" "October 2022" "" ""
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\-PLUGIN" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-PLUGIN" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-plugin\fR \- Manage Bundler plugins
@@ -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" "September 2022" "" ""
4
+ .TH "BUNDLE\-PRISTINE" "1" "October 2022" "" ""
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\-REMOVE" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-REMOVE" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-remove\fR \- Removes gems from the 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\-SHOW" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-SHOW" "1" "October 2022" "" ""
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" "September 2022" "" ""
4
+ .TH "BUNDLE\-UPDATE" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-update\fR \- Update your gems to the latest available versions
@@ -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\-VERSION" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-VERSION" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-version\fR \- Prints Bundler version 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\-VIZ" "1" "September 2022" "" ""
4
+ .TH "BUNDLE\-VIZ" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-viz\fR \- Generates a visual dependency graph for 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" "1" "September 2022" "" ""
4
+ .TH "BUNDLE" "1" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\fR \- Ruby Dependency Management
@@ -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 "GEMFILE" "5" "September 2022" "" ""
4
+ .TH "GEMFILE" "5" "October 2022" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBGemfile\fR \- A format for describing gem dependencies for Ruby programs
@@ -73,13 +73,13 @@ Credentials in the source URL will take precedence over credentials set using \f
73
73
  If your application requires a specific Ruby version or engine, specify your requirements using the \fBruby\fR method, with the following arguments\. All parameters are \fBOPTIONAL\fR unless otherwise specified\.
74
74
  .
75
75
  .SS "VERSION (required)"
76
- The version of Ruby that your application requires\. If your application requires an alternate Ruby engine, such as JRuby, Rubinius or TruffleRuby, this should be the Ruby version that the engine is compatible with\.
76
+ The version of Ruby that your application requires\. If your application requires an alternate Ruby engine, such as JRuby, TruffleRuby, etc\., this should be the Ruby version that the engine is compatible with\.
77
77
  .
78
78
  .IP "" 4
79
79
  .
80
80
  .nf
81
81
 
82
- ruby "1\.9\.3"
82
+ ruby "3\.1\.2"
83
83
  .
84
84
  .fi
85
85
  .
@@ -95,7 +95,7 @@ What exactly is an Engine? \- A Ruby engine is an implementation of the Ruby lan
95
95
  For background: the reference or original implementation of the Ruby programming language is called Matz\'s Ruby Interpreter \fIhttps://en\.wikipedia\.org/wiki/Ruby_MRI\fR, or MRI for short\. This is named after Ruby creator Yukihiro Matsumoto, also known as Matz\. MRI is also known as CRuby, because it is written in C\. MRI is the most widely used Ruby engine\.
96
96
  .
97
97
  .IP "\(bu" 4
98
- Other implementations \fIhttps://www\.ruby\-lang\.org/en/about/\fR of Ruby exist\. Some of the more well\-known implementations include Rubinius \fIhttps://rubinius\.com/\fR, and JRuby \fIhttp://jruby\.org/\fR\. Rubinius is an alternative implementation of Ruby written in Ruby\. JRuby is an implementation of Ruby on the JVM, short for Java Virtual Machine\.
98
+ Other implementations \fIhttps://www\.ruby\-lang\.org/en/about/\fR of Ruby exist\. Some of the more well\-known implementations include JRuby \fIhttp://jruby\.org/\fR and TruffleRuby \fIhttps://www\.graalvm\.org/ruby/\fR\. Rubinius is an alternative implementation of Ruby written in Ruby\. JRuby is an implementation of Ruby on the JVM, short for Java Virtual Machine\. TruffleRuby is a Ruby implementation on the GraalVM, a language toolkit built on the JVM\.
99
99
  .
100
100
  .IP "" 0
101
101
  .
@@ -106,20 +106,23 @@ Each application \fImay\fR specify a Ruby engine version\. If an engine version
106
106
  .
107
107
  .nf
108
108
 
109
- ruby "1\.8\.7", engine: "jruby", engine_version: "1\.6\.7"
109
+ ruby "2\.6\.8", engine: "jruby", engine_version: "9\.3\.8\.0"
110
110
  .
111
111
  .fi
112
112
  .
113
113
  .IP "" 0
114
114
  .
115
115
  .SS "PATCHLEVEL"
116
- Each application \fImay\fR specify a Ruby patchlevel\.
116
+ Each application \fImay\fR specify a Ruby patchlevel\. Specifying the patchlevel has been meaningless since Ruby 2\.1\.0 was released as the patchlevel is now uniquely determined by a combination of major, minor, and teeny version numbers\.
117
+ .
118
+ .P
119
+ This option was implemented in Bundler 1\.4\.0 for Ruby 2\.0 or earlier\.
117
120
  .
118
121
  .IP "" 4
119
122
  .
120
123
  .nf
121
124
 
122
- ruby "2\.0\.0", patchlevel: "247"
125
+ ruby "3\.1\.2", patchlevel: "20"
123
126
  .
124
127
  .fi
125
128
  .
@@ -265,6 +268,14 @@ C Ruby (MRI) only, but not Windows
265
268
  Windows C Ruby (MRI), including RubyInstaller 32\-bit and 64\-bit versions
266
269
  .
267
270
  .TP
271
+ \fBmswin\fR
272
+ Windows C Ruby (MRI), including RubyInstaller 32\-bit versions
273
+ .
274
+ .TP
275
+ \fBmswin64\fR
276
+ Windows C Ruby (MRI), including RubyInstaller 64\-bit versions
277
+ .
278
+ .TP
268
279
  \fBrbx\fR
269
280
  Rubinius
270
281
  .
@@ -277,13 +288,13 @@ JRuby
277
288
  TruffleRuby
278
289
  .
279
290
  .P
280
- On platforms \fBruby\fR, \fBmri\fR, and \fBwindows\fR, you may additionally specify a version by appending the major and minor version numbers without a delimiter\. For example, to specify that a gem should only be used on platform \fBruby\fR version 2\.3, use:
291
+ On platforms \fBruby\fR, \fBmri\fR, \fBmswin\fR, \fBmswin64\fR, and \fBwindows\fR, you may additionally specify a version by appending the major and minor version numbers without a delimiter\. For example, to specify that a gem should only be used on platform \fBruby\fR version 3\.1, use:
281
292
  .
282
293
  .IP "" 4
283
294
  .
284
295
  .nf
285
296
 
286
- ruby_23
297
+ ruby_31
287
298
  .
288
299
  .fi
289
300
  .
@@ -297,8 +308,8 @@ As with groups (above), you may specify one or more platforms:
297
308
  .nf
298
309
 
299
310
  gem "weakling", platforms: :jruby
300
- gem "ruby\-debug", platforms: :mri_18
301
- gem "nokogiri", platforms: [:windows_26, :jruby]
311
+ gem "ruby\-debug", platforms: :mri_31
312
+ gem "nokogiri", platforms: [:windows_31, :jruby]
302
313
  .
303
314
  .fi
304
315
  .
@@ -497,7 +508,7 @@ Are both equivalent to
497
508
  .
498
509
  .nf
499
510
 
500
- gem "rails", git: "git://github\.com/rails/rails\.git"
511
+ gem "rails", git: "https://github\.com/rails/rails\.git"
501
512
  .
502
513
  .fi
503
514
  .
@@ -64,10 +64,10 @@ All parameters are `OPTIONAL` unless otherwise specified.
64
64
  ### VERSION (required)
65
65
 
66
66
  The version of Ruby that your application requires. If your application
67
- requires an alternate Ruby engine, such as JRuby, Rubinius or TruffleRuby, this
67
+ requires an alternate Ruby engine, such as JRuby, TruffleRuby, etc., this
68
68
  should be the Ruby version that the engine is compatible with.
69
69
 
70
- ruby "1.9.3"
70
+ ruby "3.1.2"
71
71
 
72
72
  ### ENGINE
73
73
 
@@ -86,9 +86,10 @@ What exactly is an Engine?
86
86
 
87
87
  - [Other implementations](https://www.ruby-lang.org/en/about/) of Ruby exist.
88
88
  Some of the more well-known implementations include
89
- [Rubinius](https://rubinius.com/), and [JRuby](http://jruby.org/).
89
+ [JRuby](http://jruby.org/) and [TruffleRuby](https://www.graalvm.org/ruby/).
90
90
  Rubinius is an alternative implementation of Ruby written in Ruby.
91
91
  JRuby is an implementation of Ruby on the JVM, short for Java Virtual Machine.
92
+ TruffleRuby is a Ruby implementation on the GraalVM, a language toolkit built on the JVM.
92
93
 
93
94
  ### ENGINE VERSION
94
95
 
@@ -96,13 +97,17 @@ Each application _may_ specify a Ruby engine version. If an engine version is
96
97
  specified, an engine _must_ also be specified. If the engine is "ruby" the
97
98
  engine version specified _must_ match the Ruby version.
98
99
 
99
- ruby "1.8.7", engine: "jruby", engine_version: "1.6.7"
100
+ ruby "2.6.8", engine: "jruby", engine_version: "9.3.8.0"
100
101
 
101
102
  ### PATCHLEVEL
102
103
 
103
- Each application _may_ specify a Ruby patchlevel.
104
+ Each application _may_ specify a Ruby patchlevel. Specifying the patchlevel has
105
+ been meaningless since Ruby 2.1.0 was released as the patchlevel is now
106
+ uniquely determined by a combination of major, minor, and teeny version numbers.
104
107
 
105
- ruby "2.0.0", patchlevel: "247"
108
+ This option was implemented in Bundler 1.4.0 for Ruby 2.0 or earlier.
109
+
110
+ ruby "3.1.2", patchlevel: "20"
106
111
 
107
112
  ## GEMS
108
113
 
@@ -195,6 +200,10 @@ There are a number of `Gemfile` platforms:
195
200
  C Ruby (MRI) only, but not Windows
196
201
  * `windows`:
197
202
  Windows C Ruby (MRI), including RubyInstaller 32-bit and 64-bit versions
203
+ * `mswin`:
204
+ Windows C Ruby (MRI), including RubyInstaller 32-bit versions
205
+ * `mswin64`:
206
+ Windows C Ruby (MRI), including RubyInstaller 64-bit versions
198
207
  * `rbx`:
199
208
  Rubinius
200
209
  * `jruby`:
@@ -202,17 +211,18 @@ There are a number of `Gemfile` platforms:
202
211
  * `truffleruby`:
203
212
  TruffleRuby
204
213
 
205
- On platforms `ruby`, `mri`, and `windows`, you may additionally specify a version
206
- by appending the major and minor version numbers without a delimiter. For example,
207
- to specify that a gem should only be used on platform `ruby` version 2.3, use:
214
+ On platforms `ruby`, `mri`, `mswin`, `mswin64`, and `windows`, you may
215
+ additionally specify a version by appending the major and minor version numbers
216
+ without a delimiter. For example, to specify that a gem should only be used on
217
+ platform `ruby` version 3.1, use:
208
218
 
209
- ruby_23
219
+ ruby_31
210
220
 
211
221
  As with groups (above), you may specify one or more platforms:
212
222
 
213
223
  gem "weakling", platforms: :jruby
214
- gem "ruby-debug", platforms: :mri_18
215
- gem "nokogiri", platforms: [:windows_26, :jruby]
224
+ gem "ruby-debug", platforms: :mri_31
225
+ gem "nokogiri", platforms: [:windows_31, :jruby]
216
226
 
217
227
  All operations involving groups ([`bundle install`](bundle-install.1.html), `Bundler.setup`,
218
228
  `Bundler.require`) behave exactly the same as if any groups not
@@ -369,7 +379,7 @@ same, you can omit one.
369
379
 
370
380
  Are both equivalent to
371
381
 
372
- gem "rails", git: "git://github.com/rails/rails.git"
382
+ gem "rails", git: "https://github.com/rails/rails.git"
373
383
 
374
384
  Since the `github` method is a specialization of `git_source`, it accepts a `:branch` named argument.
375
385
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Bundler
4
- VERSION = "2.3.24".freeze
4
+ VERSION = "2.3.25".freeze
5
5
 
6
6
  def self.bundler_major_version
7
7
  @bundler_major_version ||= VERSION.split(".").first.to_i
@@ -16,7 +16,7 @@ if RUBY_VERSION >= "2.5" && !Gem::KERNEL_WARN_IGNORES_INTERNAL_ENTRIES
16
16
 
17
17
  module_function define_method(:warn) {|*messages, **kw|
18
18
  unless uplevel = kw[:uplevel]
19
- if Gem.java_platform?
19
+ if Gem.java_platform? && RUBY_VERSION < "3.1"
20
20
  return original_warn.bind(self).call(*messages)
21
21
  else
22
22
  return original_warn.bind(self).call(*messages, **kw)
@@ -214,7 +214,7 @@ class Gem::RequestSet::GemDependencyAPI
214
214
  git_source :github do |repo_name|
215
215
  repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include? "/"
216
216
 
217
- "git://github.com/#{repo_name}.git"
217
+ "https://github.com/#{repo_name}.git"
218
218
  end
219
219
 
220
220
  git_source :bitbucket do |repo_name|
data/lib/rubygems.rb CHANGED
@@ -8,7 +8,7 @@
8
8
  require "rbconfig"
9
9
 
10
10
  module Gem
11
- VERSION = "3.3.24".freeze
11
+ VERSION = "3.3.25".freeze
12
12
  end
13
13
 
14
14
  # Must be first since it unloads the prelude from 1.9.2
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rubygems-update"
5
- s.version = "3.3.24"
5
+ s.version = "3.3.25"
6
6
  s.authors = ["Jim Weirich", "Chad Fowler", "Eric Hodel", "Luis Lavena", "Aaron Patterson", "Samuel Giddins", "André Arko", "Evan Phoenix", "Hiroshi SHIBATA"]
7
7
  s.email = ["", "", "drbrain@segment7.net", "luislavena@gmail.com", "aaron@tenderlovemaking.com", "segiddins@segiddins.me", "andre@arko.net", "evan@phx.io", "hsbt@ruby-lang.org"]
8
8
 
@@ -160,21 +160,21 @@ dependencies = [
160
160
 
161
161
  [[package]]
162
162
  name = "rb-sys"
163
- version = "0.9.31"
163
+ version = "0.9.35"
164
164
  source = "registry+https://github.com/rust-lang/crates.io-index"
165
- checksum = "bfc41b26ea88da6100f538d31467941e41ab0c002999d687315e67d3b371b796"
165
+ checksum = "2d2bde30824a18f2e68cd1c8004cec16656764c6efc385bc1c7fb4c904b276a5"
166
166
  dependencies = [
167
- "bindgen",
168
- "linkify",
169
167
  "rb-sys-build",
170
168
  ]
171
169
 
172
170
  [[package]]
173
171
  name = "rb-sys-build"
174
- version = "0.9.31"
172
+ version = "0.9.35"
175
173
  source = "registry+https://github.com/rust-lang/crates.io-index"
176
- checksum = "79be4233eabd2bf9e19eb8116391aeaf4b89b87a7ab38e0ded44de9158006e46"
174
+ checksum = "5ff5d3ba92624df9c66bf0d1f0251d96284f08ac9773b7723d370e3f225c1d38"
177
175
  dependencies = [
176
+ "bindgen",
177
+ "linkify",
178
178
  "regex",
179
179
  "shell-words",
180
180
  ]
@@ -7,4 +7,4 @@ edition = "2021"
7
7
  crate-type = ["cdylib"]
8
8
 
9
9
  [dependencies]
10
- rb-sys = { version = "0.9.31", features = ["gem"] }
10
+ rb-sys = { version = "0.9.35", features = ["gem"] }
@@ -153,21 +153,21 @@ dependencies = [
153
153
 
154
154
  [[package]]
155
155
  name = "rb-sys"
156
- version = "0.9.31"
156
+ version = "0.9.35"
157
157
  source = "registry+https://github.com/rust-lang/crates.io-index"
158
- checksum = "bfc41b26ea88da6100f538d31467941e41ab0c002999d687315e67d3b371b796"
158
+ checksum = "2d2bde30824a18f2e68cd1c8004cec16656764c6efc385bc1c7fb4c904b276a5"
159
159
  dependencies = [
160
- "bindgen",
161
- "linkify",
162
160
  "rb-sys-build",
163
161
  ]
164
162
 
165
163
  [[package]]
166
164
  name = "rb-sys-build"
167
- version = "0.9.31"
165
+ version = "0.9.35"
168
166
  source = "registry+https://github.com/rust-lang/crates.io-index"
169
- checksum = "79be4233eabd2bf9e19eb8116391aeaf4b89b87a7ab38e0ded44de9158006e46"
167
+ checksum = "5ff5d3ba92624df9c66bf0d1f0251d96284f08ac9773b7723d370e3f225c1d38"
170
168
  dependencies = [
169
+ "bindgen",
170
+ "linkify",
171
171
  "regex",
172
172
  "shell-words",
173
173
  ]
@@ -7,4 +7,4 @@ edition = "2021"
7
7
  crate-type = ["cdylib"]
8
8
 
9
9
  [dependencies]
10
- rb-sys = { version = "0.9.31", features = ["gem"] }
10
+ rb-sys = { version = "0.9.35", features = ["gem"] }
@@ -183,7 +183,7 @@ class TestGemRequestSetGemDependencyAPI < Gem::TestCase
183
183
 
184
184
  assert_equal [dep("a")], @set.dependencies
185
185
 
186
- assert_equal %w[git://github.com/example/repository.git master],
186
+ assert_equal %w[https://github.com/example/repository.git master],
187
187
  @git_set.repositories["a"]
188
188
 
189
189
  expected = { "a" => Gem::Requirement.create("!") }
@@ -196,7 +196,7 @@ class TestGemRequestSetGemDependencyAPI < Gem::TestCase
196
196
 
197
197
  assert_equal [dep("a")], @set.dependencies
198
198
 
199
- assert_equal %w[git://github.com/example/example.git master],
199
+ assert_equal %w[https://github.com/example/example.git master],
200
200
  @git_set.repositories["a"]
201
201
 
202
202
  expected = { "a" => Gem::Requirement.create("!") }
@@ -63,6 +63,11 @@ class TestGemSourceGit < Gem::TestCase
63
63
  end
64
64
 
65
65
  def test_checkout_submodules
66
+ # We need to allow to checkout submodules with file:// protocol
67
+ # CVE-2022-39253
68
+ # https://lore.kernel.org/lkml/xmqq4jw1uku5.fsf@gitster.g/
69
+ system(@git, *%W[config --global protocol.file.allow always])
70
+
66
71
  source = Gem::Source::Git.new @name, @repository, "master", true
67
72
 
68
73
  git_gem "b"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-update
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.24
4
+ version: 3.3.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
@@ -16,7 +16,7 @@ authors:
16
16
  autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
- date: 2022-10-17 00:00:00.000000000 Z
19
+ date: 2022-11-02 00:00:00.000000000 Z
20
20
  dependencies: []
21
21
  description: |-
22
22
  A package (also known as a library) contains a set of functionality
@@ -831,7 +831,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
831
831
  - !ruby/object:Gem::Version
832
832
  version: '0'
833
833
  requirements: []
834
- rubygems_version: 3.3.24
834
+ rubygems_version: 3.3.25
835
835
  signing_key:
836
836
  specification_version: 4
837
837
  summary: RubyGems is a package management framework for Ruby.