diff options
author | Ryan Davis <ryand@zenspider.com> | 2019-10-28 15:05:24 -0800 |
---|---|---|
committer | Ryan Davis <ryand@zenspider.com> | 2019-10-28 15:05:24 -0800 |
commit | 668c5f2d728c0c4d4cba10670072e830ab9f2acc (patch) | |
tree | 84c677858a7f2bab47906ebb7e205e115a2e3381 /lib | |
parent | e23f9803aefb2e283ba8211235d309ff94b55e9a (diff) | |
download | hoe-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.rb | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -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 |