Skip to content

Commit 7bc7ecb

Browse files
Merge pull request #4320 from rubygems/release/bundler_2.2.7_rubygems_3.2.7
Prepare rubygems 3.2.7 and bundler 2.2.7
2 parents e95bea3 + 19922c3 commit 7bc7ecb

File tree

2,471 files changed

+26369
-8785
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,471 files changed

+26369
-8785
lines changed

.github/workflows/install-rubygems.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ jobs:
6161
run: gem build bundler.gemspec
6262
working-directory: ./bundler
6363
- name: Install built bundler
64-
run: gem install bundler-*.gem --verbose > output.txt
64+
run: gem install bundler-*.gem --verbose --backtrace > output.txt
6565
working-directory: ./bundler
6666
- name: Check bundler install didn't hit the network
6767
run: if grep -q 'GET http' output.txt; then false; else true; fi
6868
working-directory: ./bundler
6969
- name: Check rails can be installed
70-
run: gem install rails
70+
run: gem install rails --verbose --backtrace
7171
if: matrix.ruby.name != 'truffleruby-20.3'
7272
timeout-minutes: 10
7373

.github/workflows/older-rubygems-bundler.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
- { bundler: { name: 2, value: '' }, ruby: { name: ruby-2.7, value: 2.7.2 }, rgv: { name: rgv-3.1, value: v3.1.5 } }
3232
- { bundler: { name: 2, value: '' }, ruby: { name: ruby-2.7, value: 2.7.2 }, rgv: { name: rgv-3.2, value: v3.2.4 } }
3333
- { bundler: { name: 2, value: '' }, ruby: { name: ruby-3.0, value: 3.0.0 }, rgv: { name: rgv-3.2, value: v3.2.4 } }
34-
- { bundler: { name: 3, value: 3.0.0 }, ruby: { name: ruby-2.4, value: 2.4.10 }, rgv: { name: rgv-3.2, value: v3.2.4 } }
35-
- { bundler: { name: 3, value: 3.0.0 }, ruby: { name: ruby-2.5, value: 2.5.8 }, rgv: { name: rgv-3.2, value: v3.2.4 } }
3634
- { bundler: { name: 3, value: 3.0.0 }, ruby: { name: ruby-2.6, value: 2.6.6 }, rgv: { name: rgv-3.2, value: v3.2.4 } }
3735
- { bundler: { name: 3, value: 3.0.0 }, ruby: { name: ruby-2.7, value: 2.7.2 }, rgv: { name: rgv-3.2, value: v3.2.4 } }
3836
- { bundler: { name: 3, value: 3.0.0 }, ruby: { name: ruby-3.0, value: 3.0.0 }, rgv: { name: rgv-3.2, value: v3.2.4 } }

.github/workflows/ubuntu-bundler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929

3030
exclude:
3131
- { bundler: { name: 3, value: 3.0.0 }, ruby: { name: ruby-2.3, value: 2.3.8 } }
32+
- { bundler: { name: 3, value: 3.0.0 }, ruby: { name: ruby-2.4, value: 2.4.10 } }
33+
- { bundler: { name: 3, value: 3.0.0 }, ruby: { name: ruby-2.5, value: 2.5.8 } }
3234
env:
3335
RGV: ..
3436
RUBYOPT: --disable-gems

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 3.2.7 / 2021-01-26
2+
3+
## Bug fixes:
4+
5+
* Generate plugin wrappers with relative requires. Pull request #4317 by
6+
deivid-rodriguez
7+
18
# 3.2.6 / 2021-01-18
29

310
## Enhancements:

bundler/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# 2.2.7 (January 26, 2021)
2+
3+
## Enhancements:
4+
5+
- Improve error messages when dependency on bundler conflicts with running version [#4308](https://github.com/rubygems/rubygems/pull/4308)
6+
- Avoid showing platforms with requirements in error messages [#4310](https://github.com/rubygems/rubygems/pull/4310)
7+
- Introduce disable_local_revision_check config [#4237](https://github.com/rubygems/rubygems/pull/4237)
8+
- Reverse rubygems require mixin with bundler standalone [#4299](https://github.com/rubygems/rubygems/pull/4299)
9+
10+
## Bug fixes:
11+
12+
- Fix releasing from a not yet pushed branch [#4309](https://github.com/rubygems/rubygems/pull/4309)
13+
- Install cache only once if it already exists [#4304](https://github.com/rubygems/rubygems/pull/4304)
14+
- Fix `force_ruby_platform` no longer being respected [#4302](https://github.com/rubygems/rubygems/pull/4302)
15+
16+
## Performance:
17+
18+
- Fix resolver dependency comparison [#4289](https://github.com/rubygems/rubygems/pull/4289)
19+
120
# 2.2.6 (January 18, 2021)
221

322
## Enhancements:

bundler/Rakefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,14 @@ end
155155

156156
load "task/automatiek.rake"
157157

158-
# We currently ship Molinillo 0.7.0 with a patch on top to make use of `Array#-`
159-
# instead of `Array#&` on hot resolution code paths because it performs a lot
160-
# better.
158+
# We currently ship Molinillo master branch as of
159+
# https://github.com/CocoaPods/Molinillo/commit/0f3d33d004214f5e3a426c3382c4af37bc3f27e5,
160+
# plus the following changes:
161+
# * Properly print requirements (https://github.com/CocoaPods/Molinillo/pull/149).
162+
# * Allow custom comparison of dependencies (https://github.com/CocoaPods/Molinillo/pull/150).
161163
desc "Vendor a specific version of molinillo"
162164
Automatiek::RakeTask.new("molinillo") do |lib|
163-
lib.version = "0.7.0"
165+
lib.version = "master"
164166
lib.download = { :github => "https://github.com/CocoaPods/Molinillo" }
165167
lib.namespace = "Molinillo"
166168
lib.prefix = "Bundler"

bundler/bin/bundle3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# frozen_string_literal: true
33

44
module Bundler
5-
VERSION = "3.0.0.dev".freeze
5+
VERSION = "3.0.0".freeze
66
end
77

88
load File.expand_path("../bundle", __FILE__)

bundler/lib/bundler/cli/cache.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def install
3030
require_relative "install"
3131
options = self.options.dup
3232
options["local"] = false if Bundler.settings[:cache_all_platforms]
33+
options["no-cache"] = true
3334
Bundler::CLI::Install.new(options).run
3435
end
3536

bundler/lib/bundler/definition.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,7 @@ def source_requirements
913913
metadata_dependencies.each do |dep|
914914
source_requirements[dep.name] = sources.metadata_source
915915
end
916+
source_requirements[:default_bundler] = source_requirements["bundler"] || source_requirements[:default]
916917
source_requirements["bundler"] = sources.metadata_source # needs to come last to override
917918
source_requirements
918919
end

bundler/lib/bundler/feature_flag.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def self.settings_method(name, key, &default)
2727

2828
(1..10).each {|v| define_method("bundler_#{v}_mode?") { major_version >= v } }
2929

30-
settings_flag(:allow_bundler_dependency_conflicts) { bundler_3_mode? }
3130
settings_flag(:allow_offline_install) { bundler_3_mode? }
3231
settings_flag(:auto_clean_without_path) { bundler_3_mode? }
3332
settings_flag(:cache_all) { bundler_3_mode? }

0 commit comments

Comments
 (0)