Author: assaf
Date: Thu Nov 6 13:26:29 2008
New Revision: 711980
URL: http://svn.apache.org/viewvc?rev=711980&view=rev
Log:
Fixed: BUILDR-170 ArtifactNamespace#method_missing has a condition that is
never true.
Modified:
incubator/buildr/trunk/CHANGELOG
incubator/buildr/trunk/lib/buildr/packaging/artifact_namespace.rb
Modified: incubator/buildr/trunk/CHANGELOG
URL:
http://svn.apache.org/viewvc/incubator/buildr/trunk/CHANGELOG?rev=711980&r1=711979&r2=711980&view=diff
==============================================================================
--- incubator/buildr/trunk/CHANGELOG (original)
+++ incubator/buildr/trunk/CHANGELOG Thu Nov 6 13:26:29 2008
@@ -14,6 +14,7 @@
* Change: BUILDR-188 Source code attachment for IDEA .iml file (Marko Sibakov).
* Fixed: Removed double complete/fail messages showing up on console.
* Fixed: BUILDR-158 Nailgun is now a delegate for buildr/drb (a pure-ruby
dRuby server)
+* Fixed: BUILDR-170 ArtifactNamespace#method_missing has a condition that is
never true.
* Fixed: BUILDR-172 Scala compiler not loaded by default.
* Fixed: BUILDR-175 Fail to find child project when calling project method
inside project definition.
* Fixed: BUILDR-192 TestNG report results are overwritten (Alexis Midon).
Modified: incubator/buildr/trunk/lib/buildr/packaging/artifact_namespace.rb
URL:
http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/packaging/artifact_namespace.rb?rev=711980&r1=711979&r2=711980&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/buildr/packaging/artifact_namespace.rb (original)
+++ incubator/buildr/trunk/lib/buildr/packaging/artifact_namespace.rb Thu Nov
6 13:26:29 2008
@@ -883,7 +883,7 @@
case name.to_s
when /!$/ then
name = $`.intern
- if args.size < 1 && args.size > 2
+ if args.size < 1 || args.size > 2
raise ArgumentError.new("wrong number of arguments for
#{name}!(spec, version_requirement?)")
end
need name => args.first