summaryrefslogtreecommitdiff
path: root/lib/rubygems/yaml_serializer.rb
diff options
context:
space:
mode:
authoralpha0x00 <[email protected]>2024-07-14 22:01:57 +0800
committergit <[email protected]>2024-07-19 03:03:16 +0000
commit3222c672628dba20367475cfaf832b82b2cc3d4c ()
tree76d45fd16029eecfadc78fdc25c9ff122c302eb8 /lib/rubygems/yaml_serializer.rb
parent1c81d1a69dfc909baf128d6d1ffe636f2e8a3194 (diff)
[rubygems/rubygems] Fix line comment issue for map
https://.com/rubygems/rubygems/commit/7ca06e139b
-rw-r--r--lib/rubygems/yaml_serializer.rb2
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ module Gem
HASH_REGEX = /
^
([ ]*) # indentations
- (.+) # key
(?::(?=(?:\s|$))) # : (without the lookahead the #key includes this when : is present in value)
[ ]?
(['"]?) # optional opening quote