buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1491117 - in /buildr/trunk: CHANGELOG lib/buildr/java/packaging.rb lib/buildr/packaging/package.rb
Date Sun, 09 Jun 2013 00:54:02 GMT
Author: donaldp
Date: Sun Jun  9 00:54:01 2013
New Revision: 1491117

URL: http://svn.apache.org/r1491117
Log:
Make the package_as_* methods public so that the methods are detected in Ruby >= 2.0.0
via the respond_to? method.

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/java/packaging.rb
    buildr/trunk/lib/buildr/packaging/package.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=1491117&r1=1491116&r2=1491117&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Sun Jun  9 00:54:01 2013
@@ -1,4 +1,6 @@
 1.4.13 (Pending)
+* Fixed:  Make the package_as_* methods public so that the methods are
+          detected in Ruby >= 2.0.0 via the respond_to? method.
 * Change: Updated dependency versions;
           - rspec-expectations (2.13.0)
           - rspec-mocks (2.13.1)

Modified: buildr/trunk/lib/buildr/java/packaging.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/java/packaging.rb?rev=1491117&r1=1491116&r2=1491117&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/java/packaging.rb (original)
+++ buildr/trunk/lib/buildr/java/packaging.rb Sun Jun  9 00:54:01 2013
@@ -671,8 +671,6 @@ module Buildr #:nodoc:
         end
       end
 
-    protected
-
       def package_as_jar(file_name) #:nodoc:
         Java::JarTask.define_task(file_name).tap do |jar|
           jar.with :manifest=>manifest, :meta_inf=>meta_inf

Modified: buildr/trunk/lib/buildr/packaging/package.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/packaging/package.rb?rev=1491117&r1=1491116&r2=1491117&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/packaging/package.rb (original)
+++ buildr/trunk/lib/buildr/packaging/package.rb Sun Jun  9 00:54:01 2013
@@ -214,8 +214,6 @@ module Buildr #:nodoc:
       @packages ||= []
     end
 
-  protected
-
     def package_as_zip(file_name) #:nodoc:
       ZipTask.define_task(file_name)
     end



Mime
View raw message