Nobuyoshi Nakada
70eeec0cad
[rubygems/rubygems] Simplify double loop
...
https://github.com/rubygems/rubygems/commit/630dc02112
2023-07-25 04:52:54 +00:00
Nobuyoshi Nakada
1b27e7aa1f
[rubygems/rubygems] Use `Monitor#synchronize` to ensure to exit
...
https://github.com/rubygems/rubygems/commit/b424353239
2023-07-25 04:52:54 +00:00
David Rodríguez
34f541ae36
[rubygems/rubygems] Avoid unnecessary network requests for local gem
...
https://github.com/rubygems/rubygems/commit/ec5f04f7b1
2023-07-24 15:03:15 +09:00
Hiroshi SHIBATA
7fdf98ef39
[rubygems/rubygems] Deprecate Gem::Platform.match
...
https://github.com/rubygems/rubygems/commit/e3ba3e2225
2023-07-21 08:47:55 +00:00
Nobuyoshi Nakada
f602cb55d7
[rubygems/rubygems] Boundary check in `Gem::StreamUI#choose_from_list`
...
https://github.com/rubygems/rubygems/commit/abacb0cb34
2023-07-21 07:48:49 +00:00
Nobuyoshi Nakada
419fbc77e0
[rubygems/rubygems] Clear `YAML` constant if it was undefined previously
...
https://github.com/rubygems/rubygems/commit/31d0311258
2023-07-19 23:20:54 +00:00
Hiroshi SHIBATA
9dd8698597
[rubygems/rubygems] Fixup
...
https://github.com/rubygems/rubygems/pull/6766
https://github.com/rubygems/rubygems/commit/c5c5797227
2023-06-27 07:37:24 +00:00
Hiroshi SHIBATA
a99d0c1555
[rubygems/rubygems] Removed unused variable
...
https://github.com/rubygems/rubygems/commit/68cc941bed
2023-06-27 02:15:40 +00:00
Hiroshi SHIBATA
65c2179336
[rubygems/rubygems] Molinillo::DependencyGraph is initialized in Molinillo::Resolver#resolve
...
https://github.com/rubygems/rubygems/commit/1c39e24c95
2023-06-27 02:15:40 +00:00
Hiroshi SHIBATA
827d66266b
[rubygems/rubygems] auto-correct Style/YodaCondition
...
https://github.com/rubygems/rubygems/commit/6d9e8025dc
2023-06-15 07:01:28 +09:00
Samuel Williams
27b07776c9
[rubygems/rubygems] Autoload shellwords when it's needed.
...
https://github.com/rubygems/rubygems/commit/e916ccb2d9
2023-06-13 09:32:47 +00:00
Hiroshi SHIBATA
4bbeed6134
Merge RubyGems/Bundler master from 4076391fce5847689bf2ec402b17133fe4e32285
2023-05-30 21:50:07 +09:00
Sutou Kouhei
d83f32c34b
[rubygems/rubygems] Load plugin immediately
...
We can install RubyGems plugin by "gem install XXX". The installed
plugin is used from the NEXT "gem ...".
For example, "gem install gem-src kaminari" doesn't use gem-src plugin
for kaminari. "gem install gem-src && gem install kaminari" uses
gem-src plugin for kaminari.
How about loading a plugin immediately when the plugin is installed?
If this proposal is implemented, "gem install gem-src kaminari" works
like "gem install gem-src && gem install kaminari".
https://github.com/rubygems/rubygems/commit/4917d96f4c
2023-05-25 21:51:15 +00:00
Jenny Shen
061e01ee50
[rubygems/rubygems] Remove forward slash in key regardless if it contains __
...
https://github.com/rubygems/rubygems/commit/33a02eec00
2023-05-23 18:37:09 +00:00
Jenny Shen
e854b050cc
[rubygems/rubygems] Modify invalid key check to accept keys with colons
...
https://github.com/rubygems/rubygems/commit/413033198b
Co-authored-by: Eric Herscovich <eric.herscovich@shopify.com>
2023-05-23 18:37:08 +00:00
Samuel Giddins
9ed189e9aa
Update SPDX license list
2023-05-10 14:58:55 +09:00
Takumasa Ochi
5831f7c831
[rubygems/rubygems] Simplify code by Gem::Specification#runtime_dependencies
...
https://github.com/rubygems/rubygems/commit/324139af8f
2023-05-08 08:56:22 +00:00
Nobuyoshi Nakada
dd5ba1b725
Update generate_spdx_license_list.rb
...
- Follow up RegexpLiteral at 9264d834215aa7ce14b0273032a7686c20141db9.
- Split the code to be generated so that `REGEXP` does not need
escapes.
- Use `REGEXP.match?` since support for Ruby 2.3 or earlier has been
dropped.
2023-05-01 17:40:02 +09:00
Hiroshi SHIBATA
ce38ad6963
[rubygems/rubygems] util/rubocop -A
...
https://github.com/rubygems/rubygems/commit/784e5e2fe5
2023-04-20 01:57:17 +00:00
Hiroshi SHIBATA
b42f0094ce
[rubygems/rubygems] Support Symbol and URL keys
...
https://github.com/rubygems/rubygems/commit/3bda049c73
2023-04-20 01:57:17 +00:00
Hiroshi SHIBATA
4bb0e01da2
[rubygems/rubygems] warn message when RubyGems handle invalid yaml like 'invalid: foo: bar'
...
https://github.com/rubygems/rubygems/commit/b8d0c25b7e
2023-04-20 01:57:17 +00:00
Hiroshi SHIBATA
7477284043
Hide Gem::MockGemUi. It's only used by tests
2023-04-19 15:59:59 +09:00
Hiroshi SHIBATA
40d1a00040
[rubygems/rubygems] Copy YAMLSerializer from Bundler
...
https://github.com/rubygems/rubygems/commit/6a97346708
2023-04-19 06:56:23 +00:00
Hiroshi SHIBATA
8b95b33a9d
[rubygems/rubygems] Bundler::YAMLSerializer.load couldn't raise error when invalid yaml was provided
...
https://github.com/rubygems/rubygems/commit/cfcfde04c7
2023-04-19 06:56:22 +00: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
644d7df021
[rubygems/rubygems] Introduce self.dump_with_rubygems_yaml
...
https://github.com/rubygems/rubygems/commit/3d3b0d80a1
2023-04-19 06:56:21 +00:00
Hiroshi SHIBATA
45655089da
[rubygems/rubygems] Removed trailing-slash for domain
...
https://github.com/rubygems/rubygems/commit/81ba58f445
2023-04-19 06:56:20 +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
bf8d8ce1ee
[rubygems/rubygems] Keep compatiblity of Bundler specs
...
https://github.com/rubygems/rubygems/commit/b211eeacba
2023-04-19 06:56:18 +00:00
Hiroshi SHIBATA
e684eb9e61
[rubygems/rubygems] Added missing require for Bundler::YAMLSerializer
...
https://github.com/rubygems/rubygems/commit/55ef32fdd7
2023-04-19 06:56:16 +00:00
Hiroshi SHIBATA
1225eff38f
[rubygems/rubygems] Don't use Psych
...
https://github.com/rubygems/rubygems/commit/d6555aaa28
2023-04-19 06:56:15 +00:00
Hiroshi SHIBATA
038c6e773f
[rubygems/rubygems] Added explicitly loading for Gem::SafeYAML
...
https://github.com/rubygems/rubygems/commit/3d9d587dd7
2023-04-19 06:56:15 +00:00
Hiroshi SHIBATA
6f50ecfe66
[rubygems/rubygems] Try to use pure-ruby YAML serializer for configuration
...
https://github.com/rubygems/rubygems/commit/3268d40974
2023-04-19 06:56:13 +00:00
Ashley Ellis Pierce
851344965a
Ensure api_key is sent if basic auth not provided on webauthn_verification_url
...
Co-authored-by: Jenny Shen <jenny.shen@shopify.com>
2023-04-12 12:00:25 +09:00
Eric Herscovich
1b1485ae4d
Add message for otp bypass
...
Update tests
Fix wording of message
2023-04-12 11:59:18 +09:00
Jenny Shen
b909ca94bd
Terminate interaction after wait for otp thread completes to support jruby
2023-04-12 11:58:03 +09:00
Jenny Shen
c7a8d63df8
Terminate interaction when rescuing WebauthnVerificationError during wait_for_otp
...
Co-authored-by: Betty Li <makewithbetty@gmail.com>
2023-04-12 11:57:43 +09:00
Jenny Shen
cd60113faa
Use Webauthn Listener in wait_for_otp
2023-04-12 11:57:15 +09:00
Jenny Shen
b6e860ba1b
Add wait for webauthn otp when fetching otp
...
Co-authored-by: Jacques Chester <jacques.chester@shopify.com>
2023-04-12 11:57:11 +09:00
Ashley Ellis Pierce
774d1f1a00
Merge lines
2023-04-12 11:56:33 +09:00
Jenny Shen
096f6eec3e
[rubygems/rubygems] Refactor Webauthn listener response - Makes the response class a wrapper around Net::HTTPResponse - Builds a Net::HTTPResponse upon initialization - to_s returns a string representation of the response to send - Adds a Socket Responder class to send responses given a socket
...
https://github.com/rubygems/rubygems/commit/7513c220b6
Co-authored-by: Jacques Chester <jacques.chester@shopify.com>
2023-04-12 11:51:07 +09:00
Jenny Shen
ef85b6de42
[rubygems/rubygems] Add access control headers for all requests to allow RubyGems.org to render the response
...
https://github.com/rubygems/rubygems/commit/22b329eb60
2023-04-12 11:51:06 +09:00
Jenny Shen
353f9adccc
[rubygems/rubygems] Add otp command tests
...
https://github.com/rubygems/rubygems/commit/c494112063
2023-04-12 11:51:05 +09:00
Jenny Shen
6e7bf0677d
[rubygems/rubygems] Add WebauthnListener class
...
https://github.com/rubygems/rubygems/commit/d42ddbb73c
Co-authored-by: Ashley Ellis Pierce <anellis12@gmail.com>
Co-authored-by: Jacques Chester <jacques.chester@shopify.com>
2023-04-12 11:51:04 +09:00
Jenny Shen
354a5c646e
[rubygems/rubygems] Add WebauthnVerificationError Exception
...
https://github.com/rubygems/rubygems/commit/932c111f2c
2023-04-12 11:51:03 +09:00
Jenny Shen
332c4b6726
[rubygems/rubygems] Add WebauthnListener response classes
...
https://github.com/rubygems/rubygems/commit/0e9a26acb1
2023-04-12 11:51:03 +09:00
Ashley Ellis Pierce
ea95ec5443
[rubygems/rubygems] Clarify message
...
https://github.com/rubygems/rubygems/commit/d94173be49
2023-04-12 11:51:02 +09:00
Ashley Ellis Pierce
6275284f02
[rubygems/rubygems] Ask user to otp at webauthn verification url
...
https://github.com/rubygems/rubygems/commit/004eadb0c5
2023-04-12 11:51:01 +09:00