rubygems-update 3.3.2 → 3.3.3

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: 032d5c25431f07d56614be5feb4310775b0beca1cd1150d477655a46999c25e4
4
- data.tar.gz: 1c45327dfd8164fbafc2407a6fe2ba21257a827d25a3040ccc803fd4d8ef2400
3
+ metadata.gz: 750773ce8a64c0d956a7a38abc7e14a70a361510081982f6e34dbbf85c5cbf65
4
+ data.tar.gz: a6963c67ef4e2300c549c3d95b5d1e67ff54afcff113215b0a35e7f11973bdec
5
5
  SHA512:
6
- metadata.gz: 5edd1acdf9e66fe8e5e3b263da1921c30a687b2a83defac7c74a39530e7c63dc6b4eaea4dfec3c0c162123cacbc0d1e20a39e53030566efb7ba56b464ced97cf
7
- data.tar.gz: 0f3c91e64ca5e5c28e8ccd3baf74b44785b8d1c129b2d155b58b5dcef0f68dbb0be67a4ff2b00d2dbfb8dd066827960afde2c11da6a25c2b474e3a086b30bb21
6
+ metadata.gz: 158cd64df064a030d8d350f0f66f9d9805018fea3dba122349a1ad239db0579e832d021035bb8f33cccb78f7a227fcfd0ceb4b0a4602a944102c12378f6b480e
7
+ data.tar.gz: d359d94fd7939b2c21f0830d64eb1d60d7b3dff016cb7e25299ca7391a24d76970cadb1a3287144a0354d72cf9461a1ca98faf22359e18df799a3a360580dd67
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ # 3.3.3 / 2021-12-24
2
+
3
+ ## Enhancements:
4
+
5
+ * Installs bundler 2.3.3 as a default gem.
6
+
7
+ ## Bug fixes:
8
+
9
+ * Fix gem installation failing in Solaris due to bad `IO#flock` usage.
10
+ Pull request #5216 by mame
11
+
1
12
  # 3.3.2 / 2021-12-23
2
13
 
3
14
  ## Enhancements:
data/bundler/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 2.3.3 (December 24, 2021)
2
+
3
+ ## Bug fixes:
4
+
5
+ - Fix locked bundler not installed to the right path when `deployment` is set [#5217](https://github.com/rubygems/rubygems/pull/5217)
6
+
1
7
  # 2.3.2 (December 23, 2021)
2
8
 
3
9
  ## Enhancements:
@@ -5,7 +5,7 @@ module Bundler
5
5
  module BuildMetadata
6
6
  # begin ivars
7
7
  @built_at = "2021-12-24".freeze
8
- @git_commit_sha = "c3c71e7434".freeze
8
+ @git_commit_sha = "688b71febc".freeze
9
9
  @release = true
10
10
  # end ivars
11
11
 
@@ -165,9 +165,6 @@ module Bundler
165
165
 
166
166
  def normalize_settings
167
167
  Bundler.settings.set_command_option :path, nil if options[:system]
168
- Bundler.settings.temporary(:path_relative_to_cwd => false) do
169
- Bundler.settings.set_command_option :path, "vendor/bundle" if Bundler.settings[:deployment] && Bundler.settings[:path].nil?
170
- end
171
168
  Bundler.settings.set_command_option_if_given :path, options[:path]
172
169
  Bundler.settings.temporary(:path_relative_to_cwd => false) do
173
170
  Bundler.settings.set_command_option :path, "bundle" if options["standalone"] && Bundler.settings[:path].nil?
@@ -219,6 +219,7 @@ module Bundler
219
219
  def path
220
220
  configs.each do |_level, settings|
221
221
  path = value_for("path", settings)
222
+ path = "vendor/bundle" if value_for("deployment", settings) && path.nil?
222
223
  path_system = value_for("path.system", settings)
223
224
  disabled_shared_gems = value_for("disable_shared_gems", settings)
224
225
  next if path.nil? && path_system.nil? && disabled_shared_gems.nil?
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Bundler
4
- VERSION = "2.3.2".freeze
4
+ VERSION = "2.3.3".freeze
5
5
 
6
6
  def self.bundler_major_version
7
7
  @bundler_major_version ||= VERSION.split(".").first.to_i
data/lib/rubygems.rb CHANGED
@@ -8,7 +8,7 @@
8
8
  require 'rbconfig'
9
9
 
10
10
  module Gem
11
- VERSION = "3.3.2".freeze
11
+ VERSION = "3.3.3".freeze
12
12
  end
13
13
 
14
14
  # Must be first since it unloads the prelude from 1.9.2
@@ -788,7 +788,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
788
788
 
789
789
  def self.open_with_flock(path, flags, &block)
790
790
  File.open(path, flags) do |io|
791
- unless java_platform?
791
+ if !java_platform? && !solaris_platform?
792
792
  begin
793
793
  io.flock(File::LOCK_EX)
794
794
  rescue Errno::ENOSYS, Errno::ENOTSUP
@@ -1015,6 +1015,13 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
1015
1015
  RUBY_PLATFORM == "java"
1016
1016
  end
1017
1017
 
1018
+ ##
1019
+ # Is this platform Solaris?
1020
+
1021
+ def self.solaris_platform?
1022
+ RUBY_PLATFORM =~ /solaris/
1023
+ end
1024
+
1018
1025
  ##
1019
1026
  # Load +plugins+ as Ruby files
1020
1027
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rubygems-update"
5
- s.version = "3.3.2"
5
+ s.version = "3.3.3"
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
 
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.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
@@ -804,7 +804,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
804
804
  - !ruby/object:Gem::Version
805
805
  version: '0'
806
806
  requirements: []
807
- rubygems_version: 3.3.2
807
+ rubygems_version: 3.3.3
808
808
  signing_key:
809
809
  specification_version: 4
810
810
  summary: RubyGems is a package management framework for Ruby.