Skip to content

Commit

Permalink
dev: work around hoe deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Feb 10, 2020
1 parent f56cbc6 commit 95d84a8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion hoe-monkeypatches.rb
@@ -1,3 +1,13 @@
#
# this file currently empty
# this patch works around https://github.com/seattlerb/hoe/issues/103
#
require "hoe"

class Hoe
alias_method :old_parse_urls, :parse_urls

def parse_urls(text)
return urls unless urls.empty?
old_parse_urls(text)
end
end

0 comments on commit 95d84a8

Please sign in to comment.