lib/pennyworth/presenters/repository.rb in pennyworth-12.0.1 vs lib/pennyworth/presenters/repository.rb in pennyworth-12.0.2
- old
+ new
@@ -21,12 +21,17 @@
def site_url = record.fetch(:homepage)
def source_url = record.fetch(:html_url)
- def changes_url = "#{site_url}/changes.html"
+ def changes_url
+ warn "[DEPRECATION]: #changes_url is deprecated, use #versions_url instead."
+ versions_url
+ end
def issues_url = "#{source_url}/issues"
+
+ def versions_url = "#{site_url}/versions"
private
attr_reader :record, :inflector
end