mime-types / ruby-mime-types

Ruby MIME type registry library
Other
322 stars 122 forks source link

Fix invalid syntax for < Ruby 2.3 #160

Closed halostatue closed 2 years ago

halostatue commented 2 years ago

Fixed a Ruby < 2.3 incompatibility introduced by the use of standardrb, where <<- heredocs were converted to <<~ heredocs. These have been reverted back to <<- with the indentation kept and a .strip call to prevent excess whitespace.

Resolves #159


This change is Reviewable