Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit b0dcf5f

Browse files
Merge #7357
7357: Release 2.1.0.pre.2 r=hsbt a=deivid-rodriguez This is the 2.1.0.pre.2 release branch, generated using `bin/rake release:prepare_patch`. Co-authored-by: Bundlerbot <[email protected]> Co-authored-by: David Rodríguez <[email protected]>
2 parents 35781bb + 6e9774b commit b0dcf5f

File tree

768 files changed

+544
-475
lines changed

Some content is hidden

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

768 files changed

+544
-475
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ notifications:
2626
- secure: JxBi7DDJGkIF/7f/FSN/HUHpvV4EKfQccZHTPd1b2pNJn3GXo6u+tNVbAw2WjxYzPyPQI3ZcYBCU9SEXp/i7VmG8uMzh8Kyildw+miSKYKVb90uYqcsXWzbxwyNBgJLvyDkzST45H5lgnyAicee3WkFes/WDZikIajbH7ztdb04=
2727

2828
rvm:
29-
- 2.6.3
30-
- 2.5.5
31-
- 2.4.6
29+
- 2.6.4
30+
- 2.5.6
31+
- 2.4.7
3232

3333
stages:
3434
- linting
@@ -44,7 +44,7 @@ env:
4444

4545
jobs:
4646
include:
47-
- rvm: 2.6.3
47+
- rvm: 2.6.4
4848
script: rake rubocop
4949
stage: linting
5050
# Ruby 2.3 also tested in 2.x mode
@@ -55,11 +55,11 @@ jobs:
5555
env: RGV=v3.0.6
5656
stage: test
5757
# Ruby 2.5, Rubygems 2.7
58-
- rvm: 2.5.5
58+
- rvm: 2.5.6
5959
env: RGV=v2.7.10
6060
stage: test
6161
# Ruby 2.4, Rubygems 2.6
62-
- rvm: 2.4.6
62+
- rvm: 2.4.7
6363
env: RGV=v2.6.14
6464
stage: test
6565
# Ruby 2.3, Rubygems 2.5

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
## 2.1.0.pre.1
1+
## 2.1.0.pre.2
2+
3+
Bugfixes:
4+
5+
- Fix `bundle clean` trying to delete non-existent directory ([#7340](https://github.com/bundler/bundler/pull/7340))
6+
- Fix warnings about keywork argument separation on ruby 2.7 ([#7337](https://github.com/bundler/bundler/pull/7337))
7+
8+
## 2.1.0.pre.1 (August 28, 2019)
29

310
One of the biggest changes in bundler 2.1.0 is that deprecations for upcoming
411
breaking changes in bundler 3 will be turned on by default. We do this to grab

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ namespace :man do
187187
Spec::Rubygems.gem_require("ronn")
188188
rescue Gem::LoadError => e
189189
task(:build) { abort "We couln't activate ronn (#{e.requirement}). Try `gem install ronn:'#{e.requirement}'` to be able to build the help pages" }
190+
task(:check) { abort "We couln't activate ronn (#{e.requirement}). Try `gem install ronn:'#{e.requirement}'` to be able to build the help pages" }
190191
else
191192
directory "man"
192193

doc/playbooks/RELEASING.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ using:
4848
$ git cherry-pick -m 1 dd6aef9
4949
```
5050

51-
The `rake release:patch` command will automatically handle cherry-picking, and is further detailed below.
51+
The `rake release:prepare_patch` command will automatically handle
52+
cherry-picking, and is further detailed below.
5253

5354
## Changelog
5455

@@ -128,16 +129,22 @@ per bug fixed. Then run `rake release` from the `-stable` branch,
128129
and pour yourself a tasty drink!
129130

130131
PRs containing regression fixes for a patch release of the current minor version
131-
are merged to master. These commits are then cherry-picked from master onto the
132-
minor branch (`1-12-stable`).
133-
134-
There is a `rake release:patch` rake task that automates creating a patch release.
135-
It takes a single argument, the _exact_ patch release being made (e.g. `1.12.3`),
136-
and checks out the appropriate stable branch (`1-12-stable`), grabs the `1.12.3`
137-
milestone from GitHub, ensures all PRs are closed, and then cherry-picks those changes
138-
(and only those changes) to the stable branch. The task then bumps the version in the
139-
version file, prompts you to update the `CHANGELOG.md`, then will commit those changes
140-
and run `rake release`!
132+
are merged to master. These commits need to be cherry-picked from master onto
133+
the minor branch (`1-12-stable`).
134+
135+
There is a `rake release:prepare_patch` rake task that helps with creating a patch
136+
release. It takes a single argument, the _exact_ patch release being made (e.g.
137+
`1.12.3`), but if not given it will bump the tiny version number by one. This
138+
task checks out the appropriate stable branch (`1-12-stable`), grabs the
139+
`1.12.3` milestone from GitHub, ensures all PRs are closed, and then
140+
cherry-picks those changes (and only those changes) to a new branch based off
141+
the stable branch. Then bumps the version in the version file and commits that
142+
change on top of the cherry-picks.
143+
144+
Now you have a release branch ready to be merged into the stable branch. You'll
145+
want to open a PR from this branch into the stable branch and provided CI is
146+
green, you can go ahead, merge the PR and run `rake release` from the updated
147+
stable branch.
141148

142149
## Beta testing
143150

lib/bundler/definition.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def has_local_dependencies?
317317
end
318318

319319
def spec_git_paths
320-
sources.git_sources.map {|s| File.realpath(s.path) }
320+
sources.git_sources.map {|s| File.realpath(s.path) if File.exist?(s.path) }.compact
321321
end
322322

323323
def groups

lib/bundler/resolver/spec_group.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def ==(other)
6262
end
6363

6464
def eql?(other)
65+
return unless other.is_a?(SpecGroup)
6566
name.eql?(other.name) &&
6667
version.eql?(other.version) &&
6768
source.eql?(other.source)

lib/bundler/vendor/thor/lib/thor.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,14 @@ def long_desc(long_description, options = {})
9090
# ==== Parameters
9191
# Hash[String|Array => Symbol]:: Maps the string or the strings in the array to the given command.
9292
#
93-
def map(mappings = nil)
93+
def map(mappings = nil, **kw)
9494
@map ||= from_superclass(:map, {})
9595

96+
if mappings && !kw.empty?
97+
mappings = kw.merge!(mappings)
98+
else
99+
mappings ||= kw
100+
end
96101
if mappings
97102
mappings.each do |key, value|
98103
if key.respond_to?(:each)

lib/bundler/version.rb

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

33
module Bundler
4-
VERSION = "2.1.0.pre.1".freeze
4+
VERSION = "2.1.0.pre.2".freeze
55

66
def self.bundler_major_version
77
@bundler_major_version ||= VERSION.split(".").first.to_i

man/bundle-add.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.\" generated with Ronn/v0.7.3
22
.\" http://github.com/rtomayko/ronn/tree/0.7.3
33
.
4-
.TH "BUNDLE\-ADD" "1" "August 2019" "" ""
4+
.TH "BUNDLE\-ADD" "1" "September 2019" "" ""
55
.
66
.SH "NAME"
77
\fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install

man/bundle-add.1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ OPTIONS
5555

5656

5757

58-
August 2019 BUNDLE-ADD(1)
58+
September 2019 BUNDLE-ADD(1)

0 commit comments

Comments
 (0)