rubygems-update 3.5.6 → 3.5.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +204 -1
- data/CODE_OF_CONDUCT.md +79 -28
- data/CONTRIBUTING.md +2 -2
- data/Manifest.txt +9 -4
- data/POLICIES.md +75 -6
- data/bundler/CHANGELOG.md +156 -0
- data/bundler/lib/bundler/build_metadata.rb +2 -2
- data/bundler/lib/bundler/cli/binstubs.rb +1 -1
- data/bundler/lib/bundler/cli/fund.rb +1 -1
- data/bundler/lib/bundler/cli/gem.rb +7 -14
- data/bundler/lib/bundler/cli/install.rb +1 -1
- data/bundler/lib/bundler/cli/plugin.rb +3 -2
- data/bundler/lib/bundler/cli.rb +14 -31
- data/bundler/lib/bundler/compact_index_client/cache.rb +47 -72
- data/bundler/lib/bundler/compact_index_client/parser.rb +84 -0
- data/bundler/lib/bundler/compact_index_client.rb +51 -80
- data/bundler/lib/bundler/constants.rb +8 -1
- data/bundler/lib/bundler/definition.rb +114 -71
- data/bundler/lib/bundler/dependency.rb +2 -1
- data/bundler/lib/bundler/dsl.rb +16 -1
- data/bundler/lib/bundler/endpoint_specification.rb +11 -0
- data/bundler/lib/bundler/env.rb +1 -1
- data/bundler/lib/bundler/environment_preserver.rb +2 -20
- data/bundler/lib/bundler/errors.rb +14 -0
- data/bundler/lib/bundler/fetcher/compact_index.rb +15 -24
- data/bundler/lib/bundler/gem_helper.rb +1 -1
- data/bundler/lib/bundler/gem_helpers.rb +14 -7
- data/bundler/lib/bundler/gem_version_promoter.rb +42 -38
- data/bundler/lib/bundler/injector.rb +3 -5
- data/bundler/lib/bundler/installer/gem_installer.rb +0 -1
- data/bundler/lib/bundler/installer/standalone.rb +0 -3
- data/bundler/lib/bundler/installer.rb +9 -11
- data/bundler/lib/bundler/lazy_specification.rb +1 -0
- data/bundler/lib/bundler/man/bundle-add.1 +1 -1
- data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
- data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
- data/bundler/lib/bundler/man/bundle-check.1 +3 -1
- data/bundler/lib/bundler/man/bundle-check.1.ronn +3 -0
- data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
- data/bundler/lib/bundler/man/bundle-config.1 +2 -4
- data/bundler/lib/bundler/man/bundle-config.1.ronn +1 -4
- data/bundler/lib/bundler/man/bundle-console.1 +1 -1
- data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
- data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
- data/bundler/lib/bundler/man/bundle-gem.1 +7 -1
- data/bundler/lib/bundler/man/bundle-gem.1.ronn +11 -0
- data/bundler/lib/bundler/man/bundle-help.1 +1 -1
- data/bundler/lib/bundler/man/bundle-info.1 +1 -1
- data/bundler/lib/bundler/man/bundle-init.1 +1 -1
- data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
- data/bundler/lib/bundler/man/bundle-install.1 +3 -3
- data/bundler/lib/bundler/man/bundle-install.1.ronn +2 -2
- data/bundler/lib/bundler/man/bundle-list.1 +1 -1
- data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
- data/bundler/lib/bundler/man/bundle-open.1 +1 -1
- data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
- data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
- data/bundler/lib/bundler/man/bundle-plugin.1 +7 -4
- data/bundler/lib/bundler/man/bundle-plugin.1.ronn +7 -3
- data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
- data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
- data/bundler/lib/bundler/man/bundle-show.1 +1 -1
- data/bundler/lib/bundler/man/bundle-update.1 +1 -1
- data/bundler/lib/bundler/man/bundle-version.1 +1 -1
- data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
- data/bundler/lib/bundler/man/bundle.1 +1 -1
- data/bundler/lib/bundler/man/gemfile.5 +3 -3
- data/bundler/lib/bundler/man/gemfile.5.ronn +2 -2
- data/bundler/lib/bundler/plugin/installer/path.rb +18 -0
- data/bundler/lib/bundler/plugin/installer.rb +36 -16
- data/bundler/lib/bundler/plugin/source_list.rb +4 -4
- data/bundler/lib/bundler/resolver/base.rb +4 -0
- data/bundler/lib/bundler/resolver/candidate.rb +5 -17
- data/bundler/lib/bundler/resolver/package.rb +4 -0
- data/bundler/lib/bundler/resolver/spec_group.rb +20 -2
- data/bundler/lib/bundler/resolver.rb +72 -33
- data/bundler/lib/bundler/rubygems_ext.rb +98 -10
- data/bundler/lib/bundler/rubygems_gem_installer.rb +35 -2
- data/bundler/lib/bundler/rubygems_integration.rb +16 -2
- data/bundler/lib/bundler/runtime.rb +1 -1
- data/bundler/lib/bundler/self_manager.rb +22 -2
- data/bundler/lib/bundler/settings.rb +22 -16
- data/bundler/lib/bundler/setup.rb +6 -0
- data/bundler/lib/bundler/shared_helpers.rb +6 -4
- data/bundler/lib/bundler/source/git/git_proxy.rb +8 -0
- data/bundler/lib/bundler/source/git.rb +14 -0
- data/bundler/lib/bundler/source/metadata.rb +2 -0
- data/bundler/lib/bundler/source/path.rb +0 -13
- data/bundler/lib/bundler/source/rubygems.rb +31 -30
- data/bundler/lib/bundler/source_list.rb +26 -2
- data/bundler/lib/bundler/spec_set.rb +15 -13
- data/bundler/lib/bundler/stub_specification.rb +8 -0
- data/bundler/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +77 -29
- data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +4 -3
- data/bundler/lib/bundler/templates/newgem/rubocop.yml.tt +0 -5
- data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +1 -0
- data/bundler/lib/bundler/vendored_net_http.rb +20 -5
- data/bundler/lib/bundler/vendored_timeout.rb +7 -3
- data/bundler/lib/bundler/version.rb +1 -1
- data/bundler/lib/bundler/yaml_serializer.rb +1 -8
- data/bundler/lib/bundler.rb +26 -1
- data/exe/update_rubygems +1 -1
- data/lib/rubygems/basic_specification.rb +27 -0
- data/lib/rubygems/bundler_version_finder.rb +1 -1
- data/lib/rubygems/command.rb +1 -1
- data/lib/rubygems/command_manager.rb +2 -1
- data/lib/rubygems/commands/build_command.rb +2 -11
- data/lib/rubygems/commands/help_command.rb +2 -2
- data/lib/rubygems/commands/pristine_command.rb +12 -9
- data/lib/rubygems/commands/rdoc_command.rb +1 -8
- data/lib/rubygems/commands/rebuild_command.rb +264 -0
- data/lib/rubygems/commands/setup_command.rb +2 -0
- data/lib/rubygems/commands/uninstall_command.rb +1 -1
- data/lib/rubygems/commands/update_command.rb +8 -9
- data/lib/rubygems/config_file.rb +33 -16
- data/lib/rubygems/defaults.rb +4 -4
- data/lib/rubygems/dependency.rb +3 -15
- data/lib/rubygems/dependency_list.rb +1 -1
- data/lib/rubygems/deprecate.rb +79 -77
- data/lib/rubygems/ext/cargo_builder.rb +2 -17
- data/lib/rubygems/gemcutter_utilities/webauthn_poller.rb +3 -1
- data/lib/rubygems/gemcutter_utilities.rb +1 -1
- data/lib/rubygems/gemspec_helpers.rb +19 -0
- data/lib/rubygems/installer.rb +9 -8
- data/lib/rubygems/package/tar_header.rb +20 -4
- data/lib/rubygems/package.rb +13 -8
- data/lib/rubygems/platform.rb +3 -2
- data/lib/rubygems/remote_fetcher.rb +1 -1
- data/lib/rubygems/request.rb +1 -1
- data/lib/rubygems/request_set.rb +1 -1
- data/lib/rubygems/requirement.rb +2 -2
- data/lib/rubygems/resolver/spec_specification.rb +7 -0
- data/lib/rubygems/s3_uri_signer.rb +1 -1
- data/lib/rubygems/safe_yaml.rb +10 -1
- data/lib/rubygems/security.rb +1 -1
- data/lib/rubygems/specification.rb +55 -124
- data/lib/rubygems/specification_policy.rb +26 -6
- data/lib/rubygems/specification_record.rb +212 -0
- data/lib/rubygems/stub_specification.rb +21 -0
- data/lib/rubygems/uninstaller.rb +27 -20
- data/lib/rubygems/util/licenses.rb +68 -0
- data/lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +1 -1
- data/lib/rubygems/vendored_net_http.rb +5 -0
- data/lib/rubygems/vendored_timeout.rb +5 -0
- data/lib/rubygems/yaml_serializer.rb +1 -8
- data/lib/rubygems.rb +28 -15
- data/rubygems-update.gemspec +1 -1
- metadata +12 -7
- data/lib/rubygems/net/http.rb +0 -3
- data/lib/rubygems/timeout.rb +0 -3
- /data/lib/rubygems/{optparse.rb → vendored_optparse.rb} +0 -0
- /data/lib/rubygems/{tsort.rb → vendored_tsort.rb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97995bf356031d7683c1336089b3520a4604416619ce917d5efb42f628c8abc2
|
4
|
+
data.tar.gz: 3f66e1705ddc62583b44bebedd33089c7edbb6ba27f4ecfee984069a53f97548
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e92f698093d5c671bb617ecb0d5b25e3803b55f182e3cf523e4a2490278ece4a9ed0aa4d984d54ae2f0703847d2b63c50557d1fc05d84b2cd40b6d87c85fe105
|
7
|
+
data.tar.gz: 520eead8b68e27c40f18e54976aac985e1d52baed43b080bbb54a7ab43d6c3f936f8a0d57a0c1fe797e17bdf0a189f4d920e0876b2f938f6ebd571e391c74a28
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,206 @@
|
|
1
|
+
# 3.5.16 / 2024-07-18
|
2
|
+
|
3
|
+
## Enhancements:
|
4
|
+
|
5
|
+
* Installs bundler 2.5.16 as a default gem.
|
6
|
+
|
7
|
+
## Bug fixes:
|
8
|
+
|
9
|
+
* Fix gemspec `require_paths` validation. Pull request
|
10
|
+
[#7866](https://github.com/rubygems/rubygems/pull/7866) by
|
11
|
+
deivid-rodriguez
|
12
|
+
* Fix loading of nested `gemrc` config keys when specified as symbols.
|
13
|
+
Pull request [#7851](https://github.com/rubygems/rubygems/pull/7851) by
|
14
|
+
moofkit
|
15
|
+
|
16
|
+
## Performance:
|
17
|
+
|
18
|
+
* Use `caller_locations` instead of splitting `caller`. Pull request
|
19
|
+
[#7708](https://github.com/rubygems/rubygems/pull/7708) by nobu
|
20
|
+
|
21
|
+
# 3.5.15 / 2024-07-09
|
22
|
+
|
23
|
+
## Enhancements:
|
24
|
+
|
25
|
+
* Installs bundler 2.5.15 as a default gem.
|
26
|
+
|
27
|
+
## Bug fixes:
|
28
|
+
|
29
|
+
* Restrict generic `arm` to only match 32-bit arm. Pull request
|
30
|
+
[#7830](https://github.com/rubygems/rubygems/pull/7830) by ntkme
|
31
|
+
* Protect creating binstubs with a file lock. Pull request
|
32
|
+
[#7806](https://github.com/rubygems/rubygems/pull/7806) by
|
33
|
+
deivid-rodriguez
|
34
|
+
|
35
|
+
## Documentation:
|
36
|
+
|
37
|
+
* Make it clearer that `add_dependency` is the main way to add
|
38
|
+
non-development dependencies. Pull request
|
39
|
+
[#7800](https://github.com/rubygems/rubygems/pull/7800) by jeromedalbert
|
40
|
+
|
41
|
+
# 3.5.14 / 2024-06-21
|
42
|
+
|
43
|
+
## Enhancements:
|
44
|
+
|
45
|
+
* Installs bundler 2.5.14 as a default gem.
|
46
|
+
|
47
|
+
## Bug fixes:
|
48
|
+
|
49
|
+
* Make "bundler? update --bundler" behave identically. Pull request
|
50
|
+
[#7778](https://github.com/rubygems/rubygems/pull/7778) by x-yuri
|
51
|
+
|
52
|
+
# 3.5.13 / 2024-06-14
|
53
|
+
|
54
|
+
## Enhancements:
|
55
|
+
|
56
|
+
* Installs bundler 2.5.13 as a default gem.
|
57
|
+
|
58
|
+
## Bug fixes:
|
59
|
+
|
60
|
+
* Never remove executables that may belong to a default gem. Pull request
|
61
|
+
[#7747](https://github.com/rubygems/rubygems/pull/7747) by
|
62
|
+
deivid-rodriguez
|
63
|
+
|
64
|
+
# 3.5.12 / 2024-06-13
|
65
|
+
|
66
|
+
## Enhancements:
|
67
|
+
|
68
|
+
* Installs bundler 2.5.12 as a default gem.
|
69
|
+
|
70
|
+
## Bug fixes:
|
71
|
+
|
72
|
+
* Fix `gem uninstall` unresolved specifications warning. Pull request
|
73
|
+
[#7667](https://github.com/rubygems/rubygems/pull/7667) by
|
74
|
+
deivid-rodriguez
|
75
|
+
* Fix `gem pristine` sometimes failing to pristine user installed gems.
|
76
|
+
Pull request [#7664](https://github.com/rubygems/rubygems/pull/7664) by
|
77
|
+
deivid-rodriguez
|
78
|
+
|
79
|
+
# 3.5.11 / 2024-05-28
|
80
|
+
|
81
|
+
## Enhancements:
|
82
|
+
|
83
|
+
* Update SPDX license list as of 2024-05-22. Pull request
|
84
|
+
[#7689](https://github.com/rubygems/rubygems/pull/7689) by
|
85
|
+
github-actions[bot]
|
86
|
+
* Fix the update_rubygems inconsistency (--disable-gems). Pull request
|
87
|
+
[#7658](https://github.com/rubygems/rubygems/pull/7658) by x-yuri
|
88
|
+
* Accept WASI as an OS name in Gem::Platform. Pull request
|
89
|
+
[#7629](https://github.com/rubygems/rubygems/pull/7629) by kateinoigakukun
|
90
|
+
* Warn if RubyGems version explicitly set in gemspec does not match
|
91
|
+
running version. Pull request
|
92
|
+
[#7460](https://github.com/rubygems/rubygems/pull/7460) by
|
93
|
+
deivid-rodriguez
|
94
|
+
* Installs bundler 2.5.11 as a default gem.
|
95
|
+
|
96
|
+
## Bug fixes:
|
97
|
+
|
98
|
+
* Fix binstubs sometimes not getting regenerated when `--destdir` is
|
99
|
+
given. Pull request
|
100
|
+
[#7660](https://github.com/rubygems/rubygems/pull/7660) by
|
101
|
+
deivid-rodriguez
|
102
|
+
* Fix `gem uninstall --user-install` for symlinked HOME. Pull request
|
103
|
+
[#7645](https://github.com/rubygems/rubygems/pull/7645) by
|
104
|
+
deivid-rodriguez
|
105
|
+
* Fix issue when plugin stubs would sometimes not be properly removed by
|
106
|
+
`gem uninstall`. Pull request
|
107
|
+
[#7631](https://github.com/rubygems/rubygems/pull/7631) by
|
108
|
+
deivid-rodriguez
|
109
|
+
* Fix plugins uninstallation for user installed gems. Pull request
|
110
|
+
[#6456](https://github.com/rubygems/rubygems/pull/6456) by voxik
|
111
|
+
|
112
|
+
## Performance:
|
113
|
+
|
114
|
+
* Use a constant empty tar header to avoid extra allocations. Pull request
|
115
|
+
[#7484](https://github.com/rubygems/rubygems/pull/7484) by segiddins
|
116
|
+
|
117
|
+
## Documentation:
|
118
|
+
|
119
|
+
* Recommend `bin/rake` over `rake` in contributing docs. Pull request
|
120
|
+
[#7648](https://github.com/rubygems/rubygems/pull/7648) by
|
121
|
+
deivid-rodriguez
|
122
|
+
|
123
|
+
# 3.5.10 / 2024-05-03
|
124
|
+
|
125
|
+
## Security:
|
126
|
+
|
127
|
+
* Add a limit to the size of the metadata and checksums files in a gem
|
128
|
+
package. Pull request
|
129
|
+
[#7568](https://github.com/rubygems/rubygems/pull/7568) by segiddins
|
130
|
+
|
131
|
+
## Enhancements:
|
132
|
+
|
133
|
+
* Don't fully require `rubygems` from `rubygems/package` to prevent some
|
134
|
+
circular require warnings when using Bundler. Pull request
|
135
|
+
[#7612](https://github.com/rubygems/rubygems/pull/7612) by
|
136
|
+
deivid-rodriguez
|
137
|
+
* Installs bundler 2.5.10 as a default gem.
|
138
|
+
|
139
|
+
## Bug fixes:
|
140
|
+
|
141
|
+
* Rename credential email to identifier in WebAuthn poller. Pull request
|
142
|
+
[#7623](https://github.com/rubygems/rubygems/pull/7623) by jenshenny
|
143
|
+
|
144
|
+
# 3.5.9 / 2024-04-12
|
145
|
+
|
146
|
+
## Enhancements:
|
147
|
+
|
148
|
+
* Installs bundler 2.5.9 as a default gem.
|
149
|
+
|
150
|
+
# 3.5.8 / 2024-04-11
|
151
|
+
|
152
|
+
## Security:
|
153
|
+
|
154
|
+
* Respect global umask when writing regular files. Pull request
|
155
|
+
[#7518](https://github.com/rubygems/rubygems/pull/7518) by
|
156
|
+
deivid-rodriguez
|
157
|
+
|
158
|
+
## Enhancements:
|
159
|
+
|
160
|
+
* Allow string keys with gemrc. Pull request
|
161
|
+
[#7543](https://github.com/rubygems/rubygems/pull/7543) by hsbt
|
162
|
+
* [Experimental] Add "gem rebuild" command. Pull request
|
163
|
+
[#4913](https://github.com/rubygems/rubygems/pull/4913) by duckinator
|
164
|
+
* Installs bundler 2.5.8 as a default gem.
|
165
|
+
|
166
|
+
## Bug fixes:
|
167
|
+
|
168
|
+
* Fix NoMethodError crash when building errors about corrupt package
|
169
|
+
files. Pull request
|
170
|
+
[#7539](https://github.com/rubygems/rubygems/pull/7539) by jez
|
171
|
+
* Fix resolver to properly intersect Arrays of `Gem::Resolver::Activation`
|
172
|
+
objects. Pull request
|
173
|
+
[#7537](https://github.com/rubygems/rubygems/pull/7537) by
|
174
|
+
deivid-rodriguez
|
175
|
+
|
176
|
+
# 3.5.7 / 2024-03-22
|
177
|
+
|
178
|
+
## Enhancements:
|
179
|
+
|
180
|
+
* Warn on empty or open required_ruby_version specification attribute.
|
181
|
+
Pull request [#5010](https://github.com/rubygems/rubygems/pull/5010) by
|
182
|
+
simi
|
183
|
+
* Control whether YAML aliases are enabled in Gem::SafeYAML.safe_load via
|
184
|
+
attribute. Pull request
|
185
|
+
[#7464](https://github.com/rubygems/rubygems/pull/7464) by segiddins
|
186
|
+
* Update SPDX license list as of 2024-02-08. Pull request
|
187
|
+
[#7468](https://github.com/rubygems/rubygems/pull/7468) by
|
188
|
+
github-actions[bot]
|
189
|
+
* Installs bundler 2.5.7 as a default gem.
|
190
|
+
|
191
|
+
## Bug fixes:
|
192
|
+
|
193
|
+
* Allow prerelease activation (even if requirement is not explicit about
|
194
|
+
it) when it's the only possibility. Pull request
|
195
|
+
[#7428](https://github.com/rubygems/rubygems/pull/7428) by kimesf
|
196
|
+
|
197
|
+
## Documentation:
|
198
|
+
|
199
|
+
* Fix a typo. Pull request
|
200
|
+
[#7505](https://github.com/rubygems/rubygems/pull/7505) by hsbt
|
201
|
+
* Use https instead of http in documentation links. Pull request
|
202
|
+
[#7481](https://github.com/rubygems/rubygems/pull/7481) by hsbt
|
203
|
+
|
1
204
|
# 3.5.6 / 2024-02-06
|
2
205
|
|
3
206
|
## Enhancements:
|
@@ -5868,7 +6071,7 @@ There has been some minor usability enhancements and changes ...
|
|
5868
6071
|
This *greatly* speeds up gem commands run in non-admin mode when the
|
5869
6072
|
site-wide cache is out of date.
|
5870
6073
|
* The gem command now used an HTTP HEAD command to detect if the
|
5871
|
-
server's source index needs to be
|
6074
|
+
server's source index needs to be downloaded.
|
5872
6075
|
* gem check gemname --test will run unit tests on installed gems that
|
5873
6076
|
have unit tests.
|
5874
6077
|
* Multiple gem names are allowed on the gem install command line.
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -2,80 +2,131 @@
|
|
2
2
|
|
3
3
|
## Our Pledge
|
4
4
|
|
5
|
-
We as members, contributors, and leaders pledge to make participation in our
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
10
|
+
identity and orientation.
|
6
11
|
|
7
|
-
We pledge to act and interact in ways that contribute to an open, welcoming,
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
13
|
+
diverse, inclusive, and healthy community.
|
8
14
|
|
9
15
|
## Our Standards
|
10
16
|
|
11
|
-
Examples of behavior that contributes to a positive environment for our
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
18
|
+
community include:
|
12
19
|
|
13
20
|
* Demonstrating empathy and kindness toward other people
|
14
21
|
* Being respectful of differing opinions, viewpoints, and experiences
|
15
22
|
* Giving and gracefully accepting constructive feedback
|
16
|
-
* Accepting responsibility and apologizing to those affected by our mistakes,
|
17
|
-
|
23
|
+
* Accepting responsibility and apologizing to those affected by our mistakes,
|
24
|
+
and learning from the experience
|
25
|
+
* Focusing on what is best not just for us as individuals, but for the overall
|
26
|
+
community
|
18
27
|
|
19
28
|
Examples of unacceptable behavior include:
|
20
29
|
|
21
|
-
* The use of sexualized language or imagery, and sexual attention or advances of
|
30
|
+
* The use of sexualized language or imagery, and sexual attention or advances of
|
31
|
+
any kind
|
22
32
|
* Trolling, insulting or derogatory comments, and personal or political attacks
|
23
33
|
* Public or private harassment
|
24
|
-
* Publishing others' private information, such as a physical or email address,
|
25
|
-
|
34
|
+
* Publishing others' private information, such as a physical or email address,
|
35
|
+
without their explicit permission
|
36
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
37
|
+
professional setting
|
26
38
|
|
27
39
|
## Enforcement Responsibilities
|
28
40
|
|
29
|
-
Community leaders are responsible for clarifying and enforcing our standards of
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
44
|
+
or harmful.
|
30
45
|
|
31
|
-
Community leaders have the right and responsibility to remove, edit, or reject
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
49
|
+
decisions when appropriate.
|
32
50
|
|
33
51
|
## Scope
|
34
52
|
|
35
|
-
This Code of Conduct applies within all community spaces, and also applies when
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
54
|
+
an individual is officially representing the community in public spaces.
|
55
|
+
Examples of representing our community include using an official email address,
|
56
|
+
posting via an official social media account, or acting as an appointed
|
57
|
+
representative at an online or offline event.
|
36
58
|
|
37
59
|
## Enforcement
|
38
60
|
|
39
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
62
|
+
reported to the community leaders responsible for enforcement at
|
63
|
+
team@bundler.io.
|
64
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
40
65
|
|
41
|
-
All community leaders are obligated to respect the privacy and security of the
|
66
|
+
All community leaders are obligated to respect the privacy and security of the
|
67
|
+
reporter of any incident.
|
42
68
|
|
43
69
|
## Enforcement Guidelines
|
44
70
|
|
45
|
-
Community leaders will follow these Community Impact Guidelines in determining
|
71
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
72
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
46
73
|
|
47
74
|
### 1. Correction
|
48
75
|
|
49
|
-
**Community Impact**: Use of inappropriate language or other behavior deemed
|
76
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
77
|
+
unprofessional or unwelcome in the community.
|
50
78
|
|
51
|
-
**Consequence**: A private, written warning from community leaders, providing
|
79
|
+
**Consequence**: A private, written warning from community leaders, providing
|
80
|
+
clarity around the nature of the violation and an explanation of why the
|
81
|
+
behavior was inappropriate. A public apology may be requested.
|
52
82
|
|
53
83
|
### 2. Warning
|
54
84
|
|
55
|
-
**Community Impact**: A violation through a single incident or series of
|
85
|
+
**Community Impact**: A violation through a single incident or series of
|
86
|
+
actions.
|
56
87
|
|
57
|
-
**Consequence**: A warning with consequences for continued behavior. No
|
88
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
89
|
+
interaction with the people involved, including unsolicited interaction with
|
90
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
91
|
+
includes avoiding interactions in community spaces as well as external channels
|
92
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
93
|
+
ban.
|
58
94
|
|
59
95
|
### 3. Temporary Ban
|
60
96
|
|
61
|
-
**Community Impact**: A serious violation of community standards, including
|
97
|
+
**Community Impact**: A serious violation of community standards, including
|
98
|
+
sustained inappropriate behavior.
|
62
99
|
|
63
|
-
**Consequence**: A temporary ban from any sort of interaction or public
|
100
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
101
|
+
communication with the community for a specified period of time. No public or
|
102
|
+
private interaction with the people involved, including unsolicited interaction
|
103
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
104
|
+
Violating these terms may lead to a permanent ban.
|
64
105
|
|
65
106
|
### 4. Permanent Ban
|
66
107
|
|
67
|
-
**Community Impact**: Demonstrating a pattern of violation of community
|
108
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
110
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
68
111
|
|
69
|
-
**Consequence**: A permanent ban from any sort of public interaction within the
|
112
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
113
|
+
community.
|
70
114
|
|
71
115
|
## Attribution
|
72
116
|
|
73
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
74
|
-
available at
|
117
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
118
|
+
version 2.1, available at
|
119
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
75
120
|
|
76
|
-
Community Impact Guidelines were inspired by
|
77
|
-
|
78
|
-
[homepage]: https://www.contributor-covenant.org
|
121
|
+
Community Impact Guidelines were inspired by
|
122
|
+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
79
123
|
|
80
124
|
For answers to common questions about this code of conduct, see the FAQ at
|
81
|
-
https://www.contributor-covenant.org/faq. Translations are available at
|
125
|
+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
126
|
+
[https://www.contributor-covenant.org/translations][translations].
|
127
|
+
|
128
|
+
[homepage]: https://www.contributor-covenant.org
|
129
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
130
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
131
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
132
|
+
[translations]: https://www.contributor-covenant.org/translations
|
data/CONTRIBUTING.md
CHANGED
@@ -31,7 +31,7 @@ here: https://guides.rubygems.org/contributing/
|
|
31
31
|
|
32
32
|
### Installing dependencies
|
33
33
|
|
34
|
-
rake setup
|
34
|
+
bin/rake setup
|
35
35
|
|
36
36
|
> **NOTE**: If the above fails with permission related errors, you're most
|
37
37
|
> likely using a global Ruby installation (like the one packaged by your OS),
|
@@ -58,7 +58,7 @@ To run commands like `bundle install` from the repo:
|
|
58
58
|
|
59
59
|
To run the entire test suite you can use:
|
60
60
|
|
61
|
-
rake test
|
61
|
+
bin/rake test
|
62
62
|
|
63
63
|
To run an individual test file located for example in `test/rubygems/test_deprecate.rb` you can use:
|
64
64
|
|
data/Manifest.txt
CHANGED
@@ -54,6 +54,7 @@ bundler/lib/bundler/compact_index_client.rb
|
|
54
54
|
bundler/lib/bundler/compact_index_client/cache.rb
|
55
55
|
bundler/lib/bundler/compact_index_client/cache_file.rb
|
56
56
|
bundler/lib/bundler/compact_index_client/gem_parser.rb
|
57
|
+
bundler/lib/bundler/compact_index_client/parser.rb
|
57
58
|
bundler/lib/bundler/compact_index_client/updater.rb
|
58
59
|
bundler/lib/bundler/constants.rb
|
59
60
|
bundler/lib/bundler/current_ruby.rb
|
@@ -164,6 +165,7 @@ bundler/lib/bundler/plugin/events.rb
|
|
164
165
|
bundler/lib/bundler/plugin/index.rb
|
165
166
|
bundler/lib/bundler/plugin/installer.rb
|
166
167
|
bundler/lib/bundler/plugin/installer/git.rb
|
168
|
+
bundler/lib/bundler/plugin/installer/path.rb
|
167
169
|
bundler/lib/bundler/plugin/installer/rubygems.rb
|
168
170
|
bundler/lib/bundler/plugin/source_list.rb
|
169
171
|
bundler/lib/bundler/process_lock.rb
|
@@ -383,6 +385,7 @@ lib/rubygems/commands/pristine_command.rb
|
|
383
385
|
lib/rubygems/commands/push_command.rb
|
384
386
|
lib/rubygems/commands/query_command.rb
|
385
387
|
lib/rubygems/commands/rdoc_command.rb
|
388
|
+
lib/rubygems/commands/rebuild_command.rb
|
386
389
|
lib/rubygems/commands/search_command.rb
|
387
390
|
lib/rubygems/commands/server_command.rb
|
388
391
|
lib/rubygems/commands/setup_command.rb
|
@@ -424,6 +427,7 @@ lib/rubygems/gemcutter_utilities.rb
|
|
424
427
|
lib/rubygems/gemcutter_utilities/webauthn_listener.rb
|
425
428
|
lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb
|
426
429
|
lib/rubygems/gemcutter_utilities/webauthn_poller.rb
|
430
|
+
lib/rubygems/gemspec_helpers.rb
|
427
431
|
lib/rubygems/install_default_message.rb
|
428
432
|
lib/rubygems/install_message.rb
|
429
433
|
lib/rubygems/install_update_options.rb
|
@@ -431,9 +435,7 @@ lib/rubygems/installer.rb
|
|
431
435
|
lib/rubygems/installer_uninstaller_utils.rb
|
432
436
|
lib/rubygems/local_remote_options.rb
|
433
437
|
lib/rubygems/name_tuple.rb
|
434
|
-
lib/rubygems/net/http.rb
|
435
438
|
lib/rubygems/openssl.rb
|
436
|
-
lib/rubygems/optparse.rb
|
437
439
|
lib/rubygems/package.rb
|
438
440
|
lib/rubygems/package/digest_io.rb
|
439
441
|
lib/rubygems/package/file_source.rb
|
@@ -514,13 +516,12 @@ lib/rubygems/source_list.rb
|
|
514
516
|
lib/rubygems/spec_fetcher.rb
|
515
517
|
lib/rubygems/specification.rb
|
516
518
|
lib/rubygems/specification_policy.rb
|
519
|
+
lib/rubygems/specification_record.rb
|
517
520
|
lib/rubygems/ssl_certs/.document
|
518
521
|
lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
|
519
522
|
lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
|
520
523
|
lib/rubygems/stub_specification.rb
|
521
524
|
lib/rubygems/text.rb
|
522
|
-
lib/rubygems/timeout.rb
|
523
|
-
lib/rubygems/tsort.rb
|
524
525
|
lib/rubygems/uninstaller.rb
|
525
526
|
lib/rubygems/unknown_command_spell_checker.rb
|
526
527
|
lib/rubygems/update_suggestion.rb
|
@@ -608,6 +609,10 @@ lib/rubygems/vendor/uri/lib/uri/version.rb
|
|
608
609
|
lib/rubygems/vendor/uri/lib/uri/ws.rb
|
609
610
|
lib/rubygems/vendor/uri/lib/uri/wss.rb
|
610
611
|
lib/rubygems/vendored_molinillo.rb
|
612
|
+
lib/rubygems/vendored_net_http.rb
|
613
|
+
lib/rubygems/vendored_optparse.rb
|
614
|
+
lib/rubygems/vendored_timeout.rb
|
615
|
+
lib/rubygems/vendored_tsort.rb
|
611
616
|
lib/rubygems/version.rb
|
612
617
|
lib/rubygems/version_option.rb
|
613
618
|
lib/rubygems/yaml_serializer.rb
|
data/POLICIES.md
CHANGED
@@ -65,6 +65,59 @@ Bundler:
|
|
65
65
|
have to work on weekends.
|
66
66
|
* Continue with the regular release process below.
|
67
67
|
|
68
|
+
### Branching
|
69
|
+
|
70
|
+
Bundler releases are synchronized with rubygems releases at the moment. That
|
71
|
+
means that releases for both share the same stable branch, and they should
|
72
|
+
generally happen together.
|
73
|
+
|
74
|
+
The current conventional naming for stable branches is `x+1.y`, where `x.y` is
|
75
|
+
the version of `bundler` that will be released. This is because `rubygems-x+1.y`
|
76
|
+
will be released at the same time.
|
77
|
+
|
78
|
+
For example, `rubygems-3.2.0` and `bundler-2.2.0` were both released from the
|
79
|
+
`3.2` stable branch.
|
80
|
+
|
81
|
+
Once a stable branch has been cut from `master`, changes for that minor release
|
82
|
+
series are only made _intentionally_, via patch releases. That is to say,
|
83
|
+
changes to `master` by default _won't_ make their way into the current stable
|
84
|
+
branch, and development on `master` will be targeting the next minor
|
85
|
+
or major release.
|
86
|
+
|
87
|
+
There is a `rake prepare_release[<target_rubygems_version>]` rake task
|
88
|
+
that helps with creating a release. It takes a single argument, the _exact
|
89
|
+
rubygems release_ being made (e.g. `3.2.3` when releasing bundler `2.2.3`).
|
90
|
+
This task checks out the appropriate stable branch (`3.2`, for example), grabs
|
91
|
+
all merged but unreleased PRs from both bundler & rubygems from GitHub that are
|
92
|
+
compatible with the target release level, and then cherry-picks those changes
|
93
|
+
(and only those changes) to a new branch based off the stable branch. Then bumps
|
94
|
+
the version in all version files, synchronizes both changelogs to include all
|
95
|
+
backported changes and commits that change on top of the cherry-picks.
|
96
|
+
|
97
|
+
Note that this task requires all user facing pull requests to be tagged with
|
98
|
+
specific labels. See [Merging a PR](/bundler/doc/playbooks/MERGING_A_PR.md) for details.
|
99
|
+
|
100
|
+
Also note that when this task cherry-picks, it cherry-picks the merge commits
|
101
|
+
using the following command:
|
102
|
+
|
103
|
+
```bash
|
104
|
+
$ git cherry-pick -m 1 MERGE_COMMIT_SHAS
|
105
|
+
```
|
106
|
+
|
107
|
+
For example, for PR [#5029](https://github.com/rubygems/bundler/pull/5029), we
|
108
|
+
cherry picked commit [dd6aef9](https://github.com/rubygems/bundler/commit/dd6aef97a5f2e7173f406267256a8c319d6134ab),
|
109
|
+
not [4fe9291](https://github.com/rubygems/bundler/commit/4fe92919f51e3463f0aad6fa833ab68044311f03)
|
110
|
+
using:
|
111
|
+
|
112
|
+
```bash
|
113
|
+
$ git cherry-pick -m 1 dd6aef9
|
114
|
+
```
|
115
|
+
|
116
|
+
After running the task, you'll have a release branch ready to be merged into the
|
117
|
+
stable branch. You'll want to open a PR from this branch into the stable branch
|
118
|
+
and provided CI is green, you can go ahead, merge the PR and run release tasks
|
119
|
+
as specified below from the updated stable branch.
|
120
|
+
|
68
121
|
### Automatic changelog and backport generation
|
69
122
|
|
70
123
|
PR labels and titles are used to automatically generate changelogs for patch and
|
@@ -85,12 +138,28 @@ backporting a PR generates conflicts that are solved by backporting another PR
|
|
85
138
|
with no user visible changes. You can use these special labels to also backport
|
86
139
|
the other PR and not get any conflicts.
|
87
140
|
|
141
|
+
### Breaking changes
|
142
|
+
|
143
|
+
Bundler cares a lot about preserving compatibility. As a result, changes that
|
144
|
+
break backwards compatibility should (whenever this is possible) include a feature
|
145
|
+
release that is backwards compatible, and issue warnings for all options and
|
146
|
+
behaviors that will change.
|
147
|
+
|
148
|
+
We only release major breaking changes when incrementing the _major_ version of
|
149
|
+
Bundler and RubyGems. However, experience shows that almost every single part of
|
150
|
+
Bundler and RubyGems is depended on by someone in ways hard to anticipate. So if
|
151
|
+
we were strict about breaking changes we'd need to hold on from making progress
|
152
|
+
a lot, or continuously increment the major version, emptying "really major"
|
153
|
+
versions from their meaning. Because of this, we also may release "small"
|
154
|
+
breaking changes in minor releases. "Small" here means that we expect them to
|
155
|
+
affect only very few users in rare cases.
|
156
|
+
|
88
157
|
### Steps for patch releases
|
89
158
|
|
90
159
|
* Confirm all PRs that you want backported are properly tagged with `rubygems:
|
91
160
|
<type>` or `bundler: <type>` labels at GitHub.
|
92
|
-
* Run `rake prepare_release[<
|
93
|
-
stable branch with the backports included in the release, and proper
|
161
|
+
* Run `rake prepare_release[<target_rubygems_version>]`. This will create a PR
|
162
|
+
to the stable branch with the backports included in the release, and proper
|
94
163
|
changelogs and version bumps. It will also create a PR to merge release
|
95
164
|
changelogs into master.
|
96
165
|
* Once CI passes, merge the release PR, switch to the stable branch and pull
|
@@ -102,10 +171,10 @@ the other PR and not get any conflicts.
|
|
102
171
|
|
103
172
|
* Confirm all PRs that you want listed in changelogs are properly tagged with
|
104
173
|
`rubygems: <type>` or `bundler: <type>` labels at GitHub.
|
105
|
-
* Run `rake prepare_release[<
|
106
|
-
branch off the master branch, and create a PR to it with the
|
107
|
-
bumps and changelogs. It will also create a PR to merge
|
108
|
-
into master.
|
174
|
+
* Run `rake prepare_release[<target_rubygems_version>]`. This will create a
|
175
|
+
new stable branch off the master branch, and create a PR to it with the
|
176
|
+
proper version bumps and changelogs. It will also create a PR to merge
|
177
|
+
release changelogs into master.
|
109
178
|
* Replace the stable branch in the workflows with the new stable branch, and
|
110
179
|
push that change to the release PR.
|
111
180
|
* Replace version numbers with the next ".dev" version, and push that change
|