rubygems-update 3.3.25 → 3.3.26

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 373bde3eddd5fd887fa27db0e32024485a807f04b0a68759ae08e9a0e745d6af
4
- data.tar.gz: 260a3ca9f5340e67b7eb17bb89a8d1a82932ad166c5eebd6894eb3777e835506
3
+ metadata.gz: e15fba091e0f0303d0ac5480a0f0f5198156cc5a46b5b6a2e20d008da275fbb4
4
+ data.tar.gz: 9941c6a073821a2d2d651ee692f3118b2696d34f194b3d81037a246780f51454
5
5
  SHA512:
6
- metadata.gz: b48bc85ca9166963bef3dc7e4494b8c51307cbb489b11f9f523ad41a5deb645a4ac4d9b7bae481fe8ab0cebc25c6457d5f003f6ab3970ee6180173c134dfaaca
7
- data.tar.gz: 27d28091a109d977ab6a276a0244c54dbc7aab80075c11ef38fa38978693ba87629f429b484076f39257ca8caa04bc9eec6f1618d4af2b44ea793af2e74f49b0
6
+ metadata.gz: f68f3c6385129bc8777ed4018aa651a0960500efa2fbe07190473589ee421cd927e8eeec5abbaa44b4162efa90a671227d4cd86161c706bdd60c0c4dd8ac06c6
7
+ data.tar.gz: 47b1eeb8a5ecc12006e6aa01afbdeebf20fd820bf868714c99c8338de484af5b803e289941d33279e47882d6b07d79789472ca1a19dd3d19e14c263c0eb39ff1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # 3.3.26 / 2022-11-16
2
+
3
+ ## Enhancements:
4
+
5
+ * Upgrade rb-sys to 0.9.37. Pull request #6047 by ianks
6
+ * Installs bundler 2.3.26 as a default gem.
7
+
1
8
  # 3.3.25 / 2022-11-02
2
9
 
3
10
  ## Enhancements:
data/bundler/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ # 2.3.26 (November 16, 2022)
2
+
3
+ ## Enhancements:
4
+
5
+ - Map 'universal' to the real arch in Bundler for prebuilt gem selection [#5978](https://github.com/rubygems/rubygems/pull/5978)
6
+
7
+ ## Documentation:
8
+
9
+ - Fix '--force' option documentation of 'bundle clean' [#6050](https://github.com/rubygems/rubygems/pull/6050)
10
+
1
11
  # 2.3.25 (November 2, 2022)
2
12
 
3
13
  ## Bug fixes:
@@ -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-11-02".freeze
8
- @git_commit_sha = "6b0b87b1ed".freeze
7
+ @built_at = "2022-11-17".freeze
8
+ @git_commit_sha = "23ec5b8501".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -620,7 +620,7 @@ module Bundler
620
620
  method_option "dry-run", :type => :boolean, :default => false, :banner =>
621
621
  "Only print out changes, do not clean gems"
622
622
  method_option "force", :type => :boolean, :default => false, :banner =>
623
- "Forces clean even if --path is not set"
623
+ "Forces cleaning up unused gems even if Bundler is configured to use globally installed gems. As a consequence, removes all system gems except for the ones in the current application."
624
624
  def clean
625
625
  require_relative "cli/clean"
626
626
  Clean.new(options.dup).run
@@ -20,5 +20,5 @@ Print the changes, but do not clean the unused gems\.
20
20
  .
21
21
  .TP
22
22
  \fB\-\-force\fR
23
- Force a clean even if \fB\-\-path\fR is not set\.
23
+ Forces cleaning up unused gems even if Bundler is configured to use globally installed gems\. As a consequence, removes all system gems except for the ones in the current application\.
24
24
 
@@ -15,4 +15,4 @@ useful when you have made many changes to your gem dependencies.
15
15
  * `--dry-run`:
16
16
  Print the changes, but do not clean the unused gems.
17
17
  * `--force`:
18
- Force a clean even if `--path` is not set.
18
+ Forces cleaning up unused gems even if Bundler is configured to use globally installed gems. As a consequence, removes all system gems except for the ones in the current application.
@@ -308,6 +308,28 @@ module Gem
308
308
  end
309
309
  end
310
310
 
311
+ # On universal Rubies, resolve the "universal" arch to the real CPU arch, without changing the extension directory.
312
+ class Specification
313
+ if /^universal\.(?<arch>.*?)-/ =~ (CROSS_COMPILING || RUBY_PLATFORM)
314
+ local_platform = Platform.local
315
+ if local_platform.cpu == "universal"
316
+ ORIGINAL_LOCAL_PLATFORM = local_platform.to_s.freeze
317
+
318
+ local_platform.cpu = if arch == "arm64e" # arm64e is only permitted for Apple system binaries
319
+ "arm64"
320
+ else
321
+ arch
322
+ end
323
+
324
+ def extensions_dir
325
+ Gem.default_ext_dir_for(base_dir) ||
326
+ File.join(base_dir, "extensions", ORIGINAL_LOCAL_PLATFORM,
327
+ Gem.extension_api_version)
328
+ end
329
+ end
330
+ end
331
+ end
332
+
311
333
  require "rubygems/util"
312
334
 
313
335
  Util.singleton_class.module_eval do
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Bundler
4
- VERSION = "2.3.25".freeze
4
+ VERSION = "2.3.26".freeze
5
5
 
6
6
  def self.bundler_major_version
7
7
  @bundler_major_version ||= VERSION.split(".").first.to_i
@@ -37,6 +37,7 @@ class Gem::Ext::CargoBuilder < Gem::Ext::Builder
37
37
  def build_env
38
38
  build_env = rb_config_env
39
39
  build_env["RUBY_STATIC"] = "true" if ruby_static? && ENV.key?("RUBY_STATIC")
40
+ build_env["RUSTFLAGS"] = "#{ENV["RUSTFLAGS"]} --cfg=rb_sys_gem".strip
40
41
  build_env
41
42
  end
42
43
 
@@ -92,6 +93,9 @@ class Gem::Ext::CargoBuilder < Gem::Ext::Builder
92
93
  # run on one that isn't the missing libraries will cause the extension
93
94
  # to fail on start.
94
95
  flags += ["-C", "link-arg=-static-libgcc"]
96
+ elsif darwin_target?
97
+ # Ventura does not always have this flag enabled
98
+ flags += ["-C", "link-arg=-Wl,-undefined,dynamic_lookup"]
95
99
  end
96
100
 
97
101
  flags
data/lib/rubygems.rb CHANGED
@@ -8,7 +8,7 @@
8
8
  require "rbconfig"
9
9
 
10
10
  module Gem
11
- VERSION = "3.3.25".freeze
11
+ VERSION = "3.3.26".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.25"
5
+ s.version = "3.3.26"
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,18 +160,18 @@ dependencies = [
160
160
 
161
161
  [[package]]
162
162
  name = "rb-sys"
163
- version = "0.9.35"
163
+ version = "0.9.37"
164
164
  source = "registry+https://github.com/rust-lang/crates.io-index"
165
- checksum = "2d2bde30824a18f2e68cd1c8004cec16656764c6efc385bc1c7fb4c904b276a5"
165
+ checksum = "5ba942b6777ea18ded013b267023a9c98994557e6539e43740de9e75084cb124"
166
166
  dependencies = [
167
167
  "rb-sys-build",
168
168
  ]
169
169
 
170
170
  [[package]]
171
171
  name = "rb-sys-build"
172
- version = "0.9.35"
172
+ version = "0.9.37"
173
173
  source = "registry+https://github.com/rust-lang/crates.io-index"
174
- checksum = "5ff5d3ba92624df9c66bf0d1f0251d96284f08ac9773b7723d370e3f225c1d38"
174
+ checksum = "d35109e1a11ef8d1a988db242ab2ba2e80170f9f5a28f88ab30184a2cea8e09b"
175
175
  dependencies = [
176
176
  "bindgen",
177
177
  "linkify",
@@ -7,4 +7,4 @@ edition = "2021"
7
7
  crate-type = ["cdylib"]
8
8
 
9
9
  [dependencies]
10
- rb-sys = { version = "0.9.35", features = ["gem"] }
10
+ rb-sys = "0.9.37"
@@ -153,18 +153,18 @@ dependencies = [
153
153
 
154
154
  [[package]]
155
155
  name = "rb-sys"
156
- version = "0.9.35"
156
+ version = "0.9.37"
157
157
  source = "registry+https://github.com/rust-lang/crates.io-index"
158
- checksum = "2d2bde30824a18f2e68cd1c8004cec16656764c6efc385bc1c7fb4c904b276a5"
158
+ checksum = "5ba942b6777ea18ded013b267023a9c98994557e6539e43740de9e75084cb124"
159
159
  dependencies = [
160
160
  "rb-sys-build",
161
161
  ]
162
162
 
163
163
  [[package]]
164
164
  name = "rb-sys-build"
165
- version = "0.9.35"
165
+ version = "0.9.37"
166
166
  source = "registry+https://github.com/rust-lang/crates.io-index"
167
- checksum = "5ff5d3ba92624df9c66bf0d1f0251d96284f08ac9773b7723d370e3f225c1d38"
167
+ checksum = "d35109e1a11ef8d1a988db242ab2ba2e80170f9f5a28f88ab30184a2cea8e09b"
168
168
  dependencies = [
169
169
  "bindgen",
170
170
  "linkify",
@@ -7,4 +7,4 @@ edition = "2021"
7
7
  crate-type = ["cdylib"]
8
8
 
9
9
  [dependencies]
10
- rb-sys = { version = "0.9.35", features = ["gem"] }
10
+ rb-sys = "0.9.37"
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.25
4
+ version: 3.3.26
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-11-02 00:00:00.000000000 Z
19
+ date: 2022-11-17 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.25
834
+ rubygems_version: 3.3.26
835
835
  signing_key:
836
836
  specification_version: 4
837
837
  summary: RubyGems is a package management framework for Ruby.