Skip to content

Commit

Permalink
Modify gemspec heredoc to be compatible with earlier Ruby versions (#988
Browse files Browse the repository at this point in the history
)

Fixes #987
  • Loading branch information
parndt committed Mar 23, 2022
2 parents afd97bb + 374f591 commit a93de59
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions friendly_id.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ Gem::Specification.new do |s|
s.add_development_dependency "ffaker"
s.add_development_dependency "simplecov"

s.description = <<~EOM
FriendlyId is the "Swiss Army bulldozer" of slugging and permalink plugins for
Active Record. It lets you create pretty URLs and work with human-friendly
strings as if they were numeric ids.
EOM
s.description = "FriendlyId is the \"Swiss Army bulldozer\" of slugging " \
"and permalink plugins for Active Record. It lets you create pretty URLs " \
"and work with human-friendly strings as if they were numeric ids."

s.cert_chain = [File.expand_path("certs/parndt.pem", __dir__)]
if $PROGRAM_NAME.end_with?("gem") && ARGV.include?("build") && ARGV.include?(__FILE__)
Expand Down

0 comments on commit a93de59

Please sign in to comment.