Hiroshi SHIBATA
d2da774f87
[rubygems/rubygems] Rename wrapper files for vendored libraries with 'vendored_' prefix
...
cfc908c8c1
2024-02-26 22:04:04 +00:00
Hiroshi SHIBATA
d187e06dc7
[rubygems/rubygems] Load wrapper file for vendored timeout
...
deb1b6d293
2024-01-30 13:02:32 +09:00
David Rodríguez
a7c9163b5d
[rubygems/rubygems] Vendor timeout in RubyGems too
...
e2e7440ede
2023-12-13 12:16:55 +09:00
Nobuyoshi Nakada
f602cb55d7
[rubygems/rubygems] Boundary check in Gem::StreamUI#choose_from_list
...
abacb0cb34
2023-07-21 07:48:49 +00: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
f8fe151ca9
util/rubocop -A --only Style/TernaryParentheses
2023-03-17 18:50:55 +09:00
Takashi Kokubun
23ec248e48
s/mjit/rjit/
2023-03-06 23:44:01 -08:00
Takashi Kokubun
2e875549a9
s/MJIT/RJIT/
2023-03-06 23:44:01 -08: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
Benoit Daloze
da0f67c038
[rubygems/rubygems] Remove redundant condition
...
See https://github.com/rubygems/rubygems/pull/5210#discussion_r784807168
cd0e961e81
2022-01-14 23:38:09 +09:00
Takashi Kokubun
1a63468831
Prepare for removing RubyVM::JIT ( #5262 )
2021-12-13 23:07:46 -08:00
Yusuke Endoh
b957c3dbcb
[rubygems/rubygems] Rename test/rubygems/test_{case,utilities}.rb to avoid "test_" prefix
...
This changes "test/rubygems/test_case.rb" to "test/rubygems/helper.rb",
and "test/rubygems/test_utilities.rb" to "test/rubygems/utilities.rb".
The two files are a helper for tests, not test files. However, a file
starting with "test_" prefix is handled as a test file directly loaded
by test-unit because Rakefile specifies:
```
t.test_files = FileList['test/**/test_*.rb']
```
Directly loading test/rubygems/test_utilities.rb caused "uninitialized
constant Gem::TestCase". This issue was fixed by
59c6820971
, but the fix caused a
"circular require" warning because test_utilities.rb and test_case.rb
are now requiring each other.
Anyway, adding "test_" prefix to a test helper file is confusing, so
this changeset reverts the fix and solve the issue by renaming them.
6460e018df
2021-06-03 12:23:22 +09:00
David Rodríguez
f7732ae2eb
[rubygems/rubygems] Require the new files in test/
relatively
...
c77868a555
2021-05-28 11:53:09 +09:00
Hiroshi SHIBATA
c30594bb0c
[rubygems/rubygems] Use assert_raise instead of assert_raises
...
769e87f011
2021-05-12 17:24:43 +09:00
David Rodríguez
53468cc111
Sync latest development version of bundler & rubygems
2021-03-08 13:47:35 +09:00
Takashi Kokubun
e1fee7f949
Rename RubyVM::MJIT to RubyVM::JIT
...
because the name "MJIT" is an internal code name, it's inconsistent with
--jit while they are related to each other, and I want to discourage future
JIT implementation-specific (e.g. MJIT-specific) APIs by this rename.
[Feature #17490 ]
2021-01-13 22:46:51 -08: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
Benoit Daloze
998ccb0831
[rubygems/rubygems] Use parenthesis for clarity for ternary condition
...
d1247472b9
2020-06-10 21:33:46 +09:00
Benoit Daloze
b62e9c912d
[rubygems/rubygems] Increase timeouts in test_gem_stream_ui.rb
...
* 0.1s is really short and fails in CI: #3622
d8495ae1c1
2020-06-10 21:33:14 +09:00
Yusuke Endoh
e04d10b28f
test/rubygems/test_gem_stream_ui.rb (test_ask_for_password): extend the timeout
...
for Solaris.
20190528
T191908Z.fail.html.gz
2019-05-29 13:01:53 +09:00
Yusuke Endoh
f20af9543f
test/rubygems/test_gem_stream_ui.rb (test_ask): extend the timeout
...
for Solaris.
20190525
T211908Z.fail.html.gz
2019-05-26 15:23:21 +09: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
k0kubun
70a385a4f6
Re-commit r65722
...
which was accidentally reverted by r65904
158562dabb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-04 11:45:05 +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
k0kubun
158562dabb
test_gem_stream_ui.rb: loosen timeout for --jit-wait
...
5beba9be18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-14 07:38:05 +00:00
hsbt
ec6c075702
Merge upstream revision of rubygems/rubygems.
...
This commits includes tiny bugfix and new features listed here:
* Add --re-sign flag to cert command by bronzdoc: https://github.com/rubygems/rubygems/pull/2391
* Download gems with threads. by indirect: https://github.com/rubygems/rubygems/pull/1898
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-18 08:37:18 +00:00
hsbt
8da8d4b043
Merge RubyGems 3.0.0.beta1.
...
* It drop to support < Ruby 2.2
* Cleanup deprecated methods and classes.
* Mark obsoleted methods to deprecate.
* and other enhancements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-05-30 13:01:35 +00:00
hsbt
43e320ba1b
Merge rubygems master(ddbf3203f3857649abe95c73edefc7de7e6ecff4).
...
It fixed: https://github.com/rubygems/rubygems/issues/2041
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-20 09:03:37 +00:00
hsbt
a21d403f21
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.5.2.
...
It supports to enable frozen string literal and add `--norc` option for
disable to `.gemrc` configuration.
See 2.5.2 release notes for other fixes and enhancements.
a8aa3bac72/History.txt (L3)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-01 12:43:26 +00:00
naruse
3e92b635fb
Add frozen_string_literal: false for all files
...
When you change this to true, you may need to add more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
nobu
beb1c085d5
use Timeout.timeout
...
* time: Object#timeout has been deprecated a long time ago, use
Timeout.timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-13 10:07:01 +00:00
drbrain
035ef0a347
* lib/rubygems: Update to RubyGems 1.8.6.1.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-27 01:40:07 +00:00
usa
733be25907
* lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): IO#tty? of
...
Windows has been fixed at r29969.
* test/rubygems/test_gem_stream_ui.rb: now can run tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-07 09:56:30 +00:00
ryan
6e5f49770c
Import rubygems 1.6.2 (release candidate @ 2026fbb5)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 22:32:29 +00:00
ryan
934f537b45
Import rubygems 1.5.0 (release candidate @ 09893d9)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-28 23:46:47 +00:00
ryan
e798ccbacf
Import rubygems 1.5.0 (release candidate)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-19 00:08:49 +00:00
nobu
e2ab44ac40
* test/rubygems/mockgemui.rb (MockGemUi::TTY),
...
test/rubygems/test_gem_stream_ui.rb (TestGemStreamUI::IsTty):
need #noecho.
* test/rubygems/test_gem_gemcutter_utilities.rb: need
rubygems/command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 17:26:40 +00:00
nobu
b551e8c8b3
* lib/rubygems: update to 1.3.6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-22 02:52:35 +00:00
nobu
19bad26c5a
* test/rubygems: use require_relative.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03 15:59:29 +00:00
drbrain
b61d8b6045
Update to RubyGems 1.3.1 r1909.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-25 22:58:43 +00:00
drbrain
d478c7a734
Update to RubyGems 1.3.0 r1891
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-25 10:13:50 +00:00
nobu
00b4a3f9c4
* test: assert_raises has been deprecated since a long time ago.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 17:44:39 +00:00
drbrain
fbf59bdbea
Import RubyGems trunk revision 1493.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-10 07:48:56 +00:00