David Rodríguez
77990f6751
[rubygems/rubygems] Remove comment about oldest supported version
...
That's indeed the ideal behavior but it's a mess to maintain because the
version of RubyGems shipped with each patchlevel of Ruby changes. We
could try looking at the `VERSION` constant in `
RbConfig::CONFIG["rubylibdir"` but for now I calling what's in there now
as good enough.
40ccf2b093
2024-11-25 14:56:09 +00:00
David Rodríguez
d2acc71d32
[rubygems/rubygems] Remove now dead code
...
31fadaf2d2
2024-11-25 14:56:08 +00:00
Nobuyoshi Nakada
9b580ee7b6
[rubygems/rubygems] Clear temporary directory
...
4158034d89
2024-04-21 23:47:47 +00:00
David Rodríguez
0156b7416c
[rubygems/rubygems] Always avoid "Updating rubygems-update" message
...
The fact that under the hood the upgrade is done through a
rubygems-update gem is an implementation detail that does not really
help users to know.
Plus, it reads a bit weird.
0fa5c50258
2024-01-11 13:51:52 +09:00
David Rodríguez
3980cebda5
[rubygems/rubygems] Make gem update --system
respect ruby version constraints
...
36052abbe2
2024-01-11 13:51:52 +09:00
David Rodríguez
aa908aa065
[rubygems/rubygems] Remove old condition no longer necessary
...
701980b240
2024-01-11 13:51:52 +09:00
David Rodríguez
2755cb1b2f
[rubygems/rubygems] Use modern hashes consistently
...
bb66253f2c
2023-12-07 22:29:33 +00:00
David Rodríguez
54511303a4
[rubygems/rubygems] Drop support for Ruby 2.6 and Ruby 2.7 in RubyGems
...
10c26a483d
2023-11-13 11:06:10 +09:00
Hiroshi SHIBATA
f24a86d83f
util/rubocop -A --only Layout/EmptyLineAfterMagicComment
2023-03-23 17:18:49 +09:00
Hiroshi SHIBATA
2e3cd1dc3e
[rubygems/rubygems] Enabled Style/RedundantReturn cop
...
05cc97bdf8
2023-03-23 17:18:49 +09:00
Hiroshi SHIBATA
5efadf8139
[rubygems/rubygems] util/rubocop -A --only Lint/ShadowingOuterLocalVariable
...
82ed77178d
2023-03-23 17:18:49 +09:00
Hiroshi SHIBATA
5211900d37
util/rubocop -A --only Style/SymbolProc
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
be4cc74e26
[rubygems/rubygems] util/rubocop -A --only Style/IfUnlessModifierOfIfUnless
...
97e0af2518
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
bf69d1fc5d
[rubygems/rubygems] util/rubocop -A --only Style/OrAssignment
...
965fc82cfd
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
4bb5ce8188
[rubygems/rubygems] util/rubocop -A --only Style/StringLiteralsInInterpolation
...
cb554f6eb7
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
05208c3875
[rubygems/rubygems] util/rubocop -A --only Lint/UnusedBlockArgument
...
d8efd919db
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
bbe56a6437
Merge RubyGems/Bundler master
...
from bfb0ae6977
2022-12-12 10:49:43 +09:00
Hiroshi SHIBATA
44264b4fee
Merge rubygems/bundler HEAD.
...
Pick from dfbb5a3811
2022-08-09 12:05:19 +09:00
Takuya Noguchi
d7ffd3fea4
RubyGems: Enable Style/StringLiterals cop
...
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-07-22 12:07:23 +09:00
Brian Le
902d1a5c51
[rubygems/rubygems] add message when gems are requested to be updated but they are not installed
...
27953ffe9a
2022-07-06 02:59:14 +09:00
Brian Le
6eab8095fa
[rubygems/rubygems] output gems already up-to-date regardless if any gems were updated
...
4ec608a573
2022-07-06 02:59:13 +09:00
David Rodríguez
6e3295e554
[rubygems/rubygems] Make code to find target update version easier to follow
...
a7f81cc7ee
2022-05-28 19:22:54 +09:00
David Rodríguez
e9c4e37f1f
[rubygems/rubygems] Remove unnecessary name and platform filter
...
It's already done before.
49d28cfde5
2022-05-28 19:22:53 +09:00
David Rodríguez
e78c1ddb1e
[rubygems/rubygems] Fix rubygems update when non default --install-dir
is configured
...
9f3b21192d
2022-05-28 19:22:15 +09:00
David Rodríguez
4317a6750d
[rubygems/rubygems] Forbid downgrading past the originally shipped version on Ruby 3.1
...
68bef90339
2022-01-25 01:11:39 +09:00
David Rodríguez
f04954d95c
[rubygems/rubygems] Normalize end alignment style with Bundler
...
f7f504b24c
2022-01-19 11:20:36 +09:00
loadkpi
7c70151aed
[rubygems/rubygems] Fix gem update --system
for already installed version of rubygems-update
...
c167d513a7
2022-01-15 14:00:35 +09:00
David Rodríguez
be476f38f9
[rubygems/rubygems] Don't crash when updating to an unsupported rubygems-update
version
...
b0badcd00a
2021-12-27 22:57:46 +09:00
David Rodríguez
dd022c1f76
[rubygems/rubygems] Don't redownload rubygems-update
package if already there
...
This makes it easier to test the upgrade process locally and should be
more efficient in certain cases where the user has already upgraded in
the past.
ed6cc88494
2021-12-27 21:32:32 +09:00
Hiroshi SHIBATA
f3bda8987e
Merge the master branch of rubygems repo
...
Picked from 4b498709a0
2021-11-16 20:19:13 +09:00
David Rodríguez
54ae3f587e
[rubygems/rubygems] Prefer require_relative
to require
for internal requires
...
c74fc58695
2021-08-31 19:06:14 +09:00
Hiroshi SHIBATA
96741765d8
Merge the master branch of RubyGems
2021-04-15 15:36:15 +09:00
Hiroshi SHIBATA
5537adf719
Track RubyGems master(3.3.0.dev) branch at 55634a8af18a52df86c4275d70fa1179118bcc20
2021-01-04 13:14:43 +09:00
Ellen Marie Dash
9bbca93aa8
[rubygems/rubygems] Remove last remaining line of output from gem update --system --silent
...
038203aaf8
2020-09-28 14:54:22 +09:00
Ellen Marie Dash
e8274a7683
[rubygems/rubygems] Add test for "gem update --system --silent"
...
c3fb0db930
2020-09-28 14:54:22 +09:00
Ellen Marie Dash
7fc8f83edb
[rubygems/rubygems] Have "gem update --system" pass through the --silent flag.
...
5a1e56e892
2020-09-28 14:54:22 +09:00
Hiroshi SHIBATA
ab5e9516b7
[rubygems/rubygems] Added Ruby version for oldest supported version of rubygems
...
dd87d70f51
2020-09-28 14:54:22 +09:00
David Rodríguez
c6bdf75049
Disallow downgrades to too old versions
...
Consider the version original included with each ruby as the minimum
supported version.
2020-09-28 14:54:22 +09:00
Hiroshi SHIBATA
b717f73402
Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636 "
...
31a6eaabc1
is obsoleted with
https://github.com/rubygems/rubygems/pull/3820
2020-09-23 22:01:44 +09:00
Hiroshi SHIBATA
31a6eaabc1
Manually merged from https://github.com/rubygems/rubygems/pull/2636
...
Enable Style/EmptyLinesAroundClassBody rubocop cop.
2020-09-23 21:02:56 +09:00
David Rodríguez
a89665b7b1
Enforce no empty lines around class body in rubygems
...
To normalize the code style with `bundler`.
2020-07-31 21:07:19 +09:00
Josef Šimánek
7a571103f2
Exit with non-zero status on disabled gem system update.
2020-06-15 21:20:37 +09:00
Josef Šimánek
3ab1cfc325
Add Gem.disable_system_update_message to disable gem update --system if needed.
2020-06-15 21:20:37 +09:00
David Rodríguez
955f1837a1
Use space inside block braces everywhere
...
To make rubygems code style consistent with bundler.
2020-06-15 21:20:37 +09:00
David Rodríguez
96064e6f1c
Sync rubygems with current master ( #2889 )
2020-03-24 15:39:24 +09:00
Hiroshi SHIBATA
600a715c9b
Merge the current master branch of rubygems/rubygems.
...
Just started to develop RubyGems 3.2.0.
2020-02-01 11:14:57 +09:00
Hiroshi SHIBATA
56660de3c6
Merge rubygems master from upstream.
...
I picked the commit from 3c469e0da538428a0ddd94f99aa73c32da22e8ba
2019-06-01 13:50:41 +03:00
hsbt
08f8cfe14e
Merge RubyGems upstream: 56c0bbb69e4506bda7ef7f447dfec5db820df20b
...
It fixed the multiple vulnerabilities.
https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-05 03:32:58 +00:00
hsbt
4ae3df42f7
Merge RubyGems master@9be7858f7f17eae3058204f3c03e4b798ba18b9c
...
This version contains the some style changes by RuboCop.
* 9d810be0ed
* 61ea98a727
* 795893dce3
* 9be7858f7f
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-14 12:59:03 +00:00
hsbt
5335ce0e06
Merge master branch from rubygems/rubygems upstream.
...
* Enable Style/MethodDefParentheses in Rubocop
https://github.com/rubygems/rubygems/pull/2478
* Enable Style/MultilineIfThen in Rubocop
https://github.com/rubygems/rubygems/pull/2479
* Fix required_ruby_version with prereleases and improve error message
https://github.com/rubygems/rubygems/pull/2344
* Fix bundler rubygems binstub not properly looking for bundler
https://github.com/rubygems/rubygems/pull/2426
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-21 10:20:47 +00:00