Hiroshi SHIBATA
7477284043
Hide Gem::MockGemUi. It's only used by tests
2023-04-19 15:59:59 +09:00
Hiroshi SHIBATA
ef54a9aeb6
[rubygems/rubygems] Introduce self.load_with_rubygems_config_hash
...
https://github.com/rubygems/rubygems/commit/9175b8cf2a
2023-04-19 06:56:21 +00:00
Hiroshi SHIBATA
cdc2e3de10
[rubygems/rubygems] Wrap self.convert_rubygems_config_hash from Bundler::YAMLSerializer.load
...
https://github.com/rubygems/rubygems/commit/080880ac23
2023-04-19 06:56:20 +00:00
Hiroshi SHIBATA
7b959f6288
[rubygems/rubygems] Move all changes only in RubyGems
...
https://github.com/rubygems/rubygems/commit/d842e2092f
2023-04-19 06:56:20 +00:00
Hiroshi SHIBATA
30b3290f26
[rubygems/rubygems] Added guard condition for replacing __ variable in YAML keys
...
https://github.com/rubygems/rubygems/commit/e7d31405ea
2023-04-19 06:56:19 +00:00
Hiroshi SHIBATA
d0dc617917
[rubygems/rubygems] Replaced load_yaml_file with Bundler::YAMLSerializer
...
https://github.com/rubygems/rubygems/commit/1ed5fc018e
2023-04-19 06:56:19 +00:00
Hiroshi SHIBATA
1f0974e654
[rubygems/rubygems] Downcase camel like cases of instance variable
...
https://github.com/rubygems/rubygems/commit/4eaac27107
2023-04-13 08:38:45 +00:00
Hiroshi SHIBATA
d89cc317c6
util/rubocop -A --only Style/NumericLiteralPrefix
2023-04-11 19:12:28 +09:00
Hiroshi SHIBATA
250e97c0fb
[rubygems/rubygems] util/rubocop -A --only Style/FormatString
...
https://github.com/rubygems/rubygems/commit/132a56569d
2023-04-07 05:13:05 +00:00
Hiroshi SHIBATA
9a5d4cc80b
[rubygems/rubygems] Removed unused Gem::Deprecate from Gem::TestCase
...
https://github.com/rubygems/rubygems/commit/d8a75a5f84
2023-04-05 05:49:26 +00:00
Hiroshi SHIBATA
8e37eb1d15
[rubygems/rubygems] Extract class method used by self.method
...
https://github.com/rubygems/rubygems/commit/d900453ca2
2023-04-05 05:49:26 +00:00
Hiroshi SHIBATA
7f9a5a7562
[rubygems/rubygems] We don't use process_based_port and self.process_based_port
...
https://github.com/rubygems/rubygems/commit/f1a20c4c69
2023-04-05 05:49:26 +00:00
Hiroshi SHIBATA
6d0caac425
[rubygems/rubygems] We don't use self.make_command
...
https://github.com/rubygems/rubygems/commit/241f376c32
2023-04-05 05:49:25 +00:00
Hiroshi SHIBATA
a464951fc7
[rubygems/rubygems] Unify win_platform? to Gem.win_platform?
...
https://github.com/rubygems/rubygems/commit/b18a4ef076
2023-04-05 05:49:25 +00:00
Hiroshi SHIBATA
cbeea5f3e6
[rubygems/rubygems] Unify java_platform? to Gem.java_platform?
...
https://github.com/rubygems/rubygems/commit/7f27ab32b8
2023-04-05 05:49:24 +00:00
Hiroshi SHIBATA
bf8afe434f
[rubygems/rubygems] Removed self.mingw_windows?, It's not used rubygems
...
https://github.com/rubygems/rubygems/commit/ba3c985701
2023-04-05 05:49:24 +00:00
Hiroshi SHIBATA
a881b33818
[rubygems/rubygems] util/rubocop -A --only Performance/RegexpMatch
...
https://github.com/rubygems/rubygems/commit/52ae4452c2
2023-04-04 12:20:43 +00:00
Hiroshi SHIBATA
a78e0ca968
[rubygems/rubygems] Don't copy and paste methods in helper methods
...
https://github.com/rubygems/rubygems/commit/b87ac64343
2023-04-04 12:13:13 +00:00
Hiroshi SHIBATA
822f01b36c
[rubygems/rubygems] Disabled to test rustc with msys2 platform.
...
https://github.com/rubygems/rubygems/actions/runs/4598776839/jobs/8123290246
https://github.com/rubygems/rubygems/commit/5c3b0a112e
2023-04-04 06:08:04 +00:00
Hiroshi SHIBATA
2e3cd1dc3e
[rubygems/rubygems] Enabled Style/RedundantReturn cop
...
https://github.com/rubygems/rubygems/commit/05cc97bdf8
2023-03-23 17:18:49 +09:00
Hiroshi SHIBATA
3725850297
[rubygems/rubygems] ditto: RUBY_ENGINE_VERSION
...
https://github.com/rubygems/rubygems/commit/dc82ebeac6
2023-03-22 11:17:25 +00:00
Hiroshi SHIBATA
3dc4bc313f
[rubygems/rubygems] RUBY_REVISION is also provided by supported platforms
...
https://github.com/rubygems/rubygems/commit/71a237aeec
2023-03-22 11:17:25 +00:00
Hiroshi SHIBATA
ea1dcb3e23
[rubygems/rubygems] RUBY_DESCRIPTION is always provided by supported platforms
...
https://github.com/rubygems/rubygems/commit/8a7028bc7e
2023-03-22 11:17:24 +00:00
Hiroshi SHIBATA
92f78b0e0b
[rubygems/rubygems] Fixup
...
https://github.com/rubygems/rubygems/pull/6486
https://github.com/rubygems/rubygems/commit/ad50221acf
2023-03-22 11:17:24 +00:00
Hiroshi SHIBATA
5211900d37
util/rubocop -A --only Style/SymbolProc
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
72d09a568f
[rubygems/rubygems] util/rubocop -A --only Style/RedundantBegin
...
https://github.com/rubygems/rubygems/commit/b595d3cf0f
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
6ad269dc39
[rubygems/rubygems] util/rubocop -A --only Style/RescueStandardError
...
https://github.com/rubygems/rubygems/commit/80b57da926
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
70164eec0f
[rubygems/rubygems] util/rubocop -A --only Style/RescueModifier
...
https://github.com/rubygems/rubygems/commit/b490379eab
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
d8c5fa963f
[rubygems/rubygems] util/rubocop -A --only Style/YodaCondition
...
https://github.com/rubygems/rubygems/commit/3594945391
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
66bd2c1a1c
[rubygems/rubygems] util/rubocop -A --only Style/CommentAnnotation
...
https://github.com/rubygems/rubygems/commit/4e77a1d1d5
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
9ab860f9af
[rubygems/rubygems] util/rubocop -A --only Style/ColonMethodCall
...
https://github.com/rubygems/rubygems/commit/823113f39e
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
d2cebb4e31
[rubygems/rubygems] util/rubocop -A --only Style/NumericLiterals
...
https://github.com/rubygems/rubygems/commit/860669b08a
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
3d4c3f9e4f
[rubygems/rubygems] util/rubocop -A --only Style/ParallelAssignment
...
https://github.com/rubygems/rubygems/commit/5c88c77873
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
4bb5ce8188
[rubygems/rubygems] util/rubocop -A --only Style/StringLiteralsInInterpolation
...
https://github.com/rubygems/rubygems/commit/cb554f6eb7
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
26d6604343
[rubygems/rubygems] util/rubocop -A --only Layout/MultilineMethodCallBraceLayout
...
https://github.com/rubygems/rubygems/commit/acb0548bf6
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
583fbc627c
[rubygems/rubygems] util/rubocop -A --only Layout/EmptyLinesAroundModuleBody
...
https://github.com/rubygems/rubygems/commit/48c88466b7
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
85fd33c526
[rubygems/rubygems] util/rubocop -A --only Layout/SpaceInsideArrayPercentLiteral
...
https://github.com/rubygems/rubygems/commit/75abd2e504
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
2dddac0475
[rubygems/rubygems] util/rubocop -a test/rubygems/helper.rb and styling
...
https://github.com/rubygems/rubygems/commit/fe331736d4
2023-03-17 18:50:55 +09:00
Hiroshi SHIBATA
b09973a995
[rubygems/rubygems] Also removed condition of RUBY_PATCHLEVEL
...
https://github.com/rubygems/rubygems/commit/16f381be4b
2023-03-17 18:50:55 +09:00
David Rodríguez
5d790264ea
[rubygems/rubygems] Remove hardcoded master branch references
...
Let RubyGems use the default branch defined by each repo.
https://github.com/rubygems/rubygems/commit/54bd3e9ebd
2023-03-07 16:51:35 +09:00
Hiroshi SHIBATA
a43f1d90c2
Merge RubyGems and Bundler master
...
from 0635c1423d
2023-01-10 15:53:07 +09:00
Hiroshi SHIBATA
b7ad60a794
Merge RubyGems/Bundler master
...
from 72fd3dd209
2022-12-26 15:09:21 +09:00
Nobuyoshi Nakada
e1f42844a0
[rubygems/rubygems] Prefer RbConfig::CONFIG['EXEEXT'] over hardcorded '.exe'
...
https://github.com/rubygems/rubygems/commit/bc84b2d262
2022-12-12 06:00:41 +00:00
Josef Šimánek
7ce0f81fbb
[rubygems/rubygems] Use file in XDG_STATE_HOME directory to store last update check timestamp.
...
https://github.com/rubygems/rubygems/commit/0fbc4ace8a
2022-11-11 17:24:08 +09:00
Josef Šimánek
c7d043065c
[rubygems/rubygems] Add 'call for update' to RubyGems install command.
...
https://github.com/rubygems/rubygems/commit/05811f8248
2022-11-11 17:24:08 +09:00
David Rodríguez
668e78f01b
[rubygems/rubygems] Only activate bundler when needed
...
Loading Bundler beforehand was actually replacing ENV with a backup of
the pre-Bundler environment through `Bundler::EnvironmentPreserver`. I
think that was making a bug in `ENV.replace` not bite our tests, because
Bundler includes proper patches to workaround that issue. So this commit
also includes these patches in RubyGems tests.
https://github.com/rubygems/rubygems/commit/8e079149b9
2022-09-29 03:41:52 +09:00
David Rodríguez
00a040dda3
[rubygems/rubygems] Little refactor to keep things consistent
...
https://github.com/rubygems/rubygems/commit/3934deb4e4
2022-09-29 03:41:51 +09:00
David Rodríguez
c7232a2a0a
[rubygems/rubygems] Require bundler consistently
...
The `$LOAD_PATH` should be properly setup so that the local version is
used.
https://github.com/rubygems/rubygems/commit/03c0ab4082
2022-09-29 03:41:50 +09:00
David Rodríguez
3c3bd03a7c
[rubygems/rubygems] Force "master" to be used regardless of `init.defaultBranch` config
...
Otherwise, if you have `init.defaultBranch main` configured, like I do,
a bunch of tests fail with things like:
```
============================================================================================================================================================================================================
Error: test_checkout_submodules(TestGemSourceGit): Gem::Exception: unable to find reference master in /Users/deivid/Code/rubygems/rubygems/tmp/test_rubygems_20220928-13878-xog1je/git/a
/Users/deivid/Code/rubygems/rubygems/lib/rubygems/source/git.rb:188:in `rev_parse'
/Users/deivid/Code/rubygems/rubygems/lib/rubygems/source/git.rb:143:in `dir_shortref'
/Users/deivid/Code/rubygems/rubygems/lib/rubygems/source/git.rb:158:in `install_dir'
/Users/deivid/Code/rubygems/rubygems/lib/rubygems/source/git.rb:94:in `checkout'
/Users/deivid/Code/rubygems/rubygems/test/rubygems/test_gem_source_git.rb:78:in `test_checkout_submodules'
75: system @git , "commit", "--quiet", "-m", "add submodule b"
76: end
77:
=> 78: source.checkout
79:
80: assert_path_exist File.join source.install_dir, "a.gemspec"
81: assert_path_exist File.join source.install_dir, "b/b.gemspec"
============================================================================================================================================================================================================
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
E
```
In the future, I'd like to change things to use `main`, but the
straighforward fix now is to keep "master" and make the running
environment's git configuration not get in the middle.
https://github.com/rubygems/rubygems/commit/b09b1416f1
2022-09-28 23:01:20 +09:00
Hiroshi SHIBATA
3eca1e438d
Merge 16c3535413
2022-09-05 14:37:12 +09:00