summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRyan Davis <ryand@zenspider.com>2019-10-28 15:05:24 -0800
committerRyan Davis <ryand@zenspider.com>2019-10-28 15:05:24 -0800
commit668c5f2d728c0c4d4cba10670072e830ab9f2acc (patch)
tree84c677858a7f2bab47906ebb7e205e115a2e3381 /lib
parente23f9803aefb2e283ba8211235d309ff94b55e9a (diff)
downloadhoe-668c5f2d728c0c4d4cba10670072e830ab9f2acc.tar.gz
+ Removed looong deprecated Hoe#url/url= methods.
[git-p4: depot-paths = "//src/hoe/dev/": change = 12371]
Diffstat (limited to 'lib')
-rw-r--r--lib/hoe.rb19
1 files changed, 1 insertions, 18 deletions
diff --git a/lib/hoe.rb b/lib/hoe.rb
index 5e82975..653e37c 100644
--- a/lib/hoe.rb
+++ b/lib/hoe.rb
@@ -256,24 +256,6 @@ class Hoe
attr_accessor :test_globs
##
- # Deprecated: Optional: The url(s) of the project. (can be array).
- # Auto-populates to a list of urls read from the beginning of
- # README.txt.
- #
-
- def url
- warn "NOTE: Hoe#url is deprecated, use urls. It will be removed on or after 2012-06-01."
- warn "Used from #{caller.first}"
- @url
- end
-
- def url=o # :nodoc:
- warn "NOTE: Hoe#url= is deprecated, use urls=. It will be removed on or after 2012-06-01."
- warn "Used from #{caller.first}"
- @url=o
- end
-
- ##
# Optional: The urls of the project. This can be an array or
# (preferably) a hash. Auto-populates to the urls read from the
# beginning of README.txt.
@@ -729,6 +711,7 @@ class Hoe
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 }
end
end