You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by to...@apache.org on 2010/06/28 19:08:13 UTC
svn commit: r958643 - /buildr/trunk/lib/buildr/core/build.rb
Author: toulmean
Date: Mon Jun 28 17:08:12 2010
New Revision: 958643
URL: http://svn.apache.org/viewvc?rev=958643&view=rev
Log:
use proper deprecated method to signal a deprecation over tag_name
Modified:
buildr/trunk/lib/buildr/core/build.rb
Modified: buildr/trunk/lib/buildr/core/build.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/build.rb?rev=958643&r1=958642&r2=958643&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/build.rb (original)
+++ buildr/trunk/lib/buildr/core/build.rb Mon Jun 28 17:08:12 2010
@@ -299,7 +299,7 @@ module Buildr
# Release.find.tag_name = lambda { |ver| "foo-#{ver}" }
# Deprecated: you should use Release.tag_name instead
def tag_name=(tag_proc)
- warn("Release.find.tag_name is deprecated. You should use Release.tag_name instead")
+ Buildr.application.deprecated "Release.find.tag_name is deprecated. You should use Release.tag_name instead"
Release.tag_name=(tag_proc)
end