mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
[rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygems
So it matches the style used by bundler.
ab0580fd65
This commit is contained in:
parent
f987302cf4
commit
ba9dcdab36
47 changed files with 302 additions and 302 deletions
|
@ -119,7 +119,7 @@ EOF
|
|||
end
|
||||
Gem.configuration.load_api_keys
|
||||
|
||||
@cmd.handle_options %w(-k other)
|
||||
@cmd.handle_options %w[-k other]
|
||||
@cmd.show_owners('freewill')
|
||||
|
||||
assert_equal '701229f217cdf23b1344c7b4b54ca97', @stub_fetcher.last_request['Authorization']
|
||||
|
@ -177,7 +177,7 @@ EOF
|
|||
end
|
||||
Gem.configuration.load_api_keys
|
||||
|
||||
@cmd.handle_options %w(-k other)
|
||||
@cmd.handle_options %w[-k other]
|
||||
@cmd.add_owners('freewill', ['user-new1@example.com'])
|
||||
|
||||
assert_equal '701229f217cdf23b1344c7b4b54ca97', @stub_fetcher.last_request['Authorization']
|
||||
|
@ -217,7 +217,7 @@ EOF
|
|||
end
|
||||
Gem.configuration.load_api_keys
|
||||
|
||||
@cmd.handle_options %w(-k other)
|
||||
@cmd.handle_options %w[-k other]
|
||||
@cmd.remove_owners('freewill', ['user-remove1@example.com'])
|
||||
|
||||
assert_equal '701229f217cdf23b1344c7b4b54ca97', @stub_fetcher.last_request['Authorization']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue