lib/hoe.rb in hoe-3.26.0 vs lib/hoe.rb in hoe-4.0.0

- old
+ new

@@ -85,11 +85,11 @@ class Hoe include Rake::DSL if defined?(Rake::DSL) # duh - VERSION = "3.26.0" + VERSION = "4.0.0" @@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package, :publish, :gemcutter, :signing, :test] @bad_plugins = [] @@ -724,13 +724,10 @@ lines = text.gsub(/^\* /, "").delete("<>").split(/\n/).grep(/\S+/) if lines.first =~ /::/ then Hash[lines.map { |line| line.split(/\s*::\s*/) }] else - warn "DEPRECATED: Please switch readme to hash format for urls." - warn " Only defining 'home' url." - warn " This will be removed on or after 2020-10-28." - { "home" => lines.first } + raise "Please switch readme to hash format for urls." end end ## # Load activated plugins by calling their define tasks method.