lib/maven/tools/artifact.rb in maven-tools-1.0.0.rc5 vs lib/maven/tools/artifact.rb in maven-tools-1.0.0.rc6
- old
+ new
@@ -150,10 +150,10 @@
[ self[:group_id], self[:artifact_id], self[:version], self[:classifier] ].select { |o| o }.join( ':' )
end
def exclusions
if key?( :exclusions )
- self[:exclusions].inspect.gsub( /[\[\]" ]/, '' ).split /,/
+ self[:exclusions].inspect.gsub( /[\[\]" ]/, '' ).split( /,/ )
end
end
def to_coordinate
[ self[:group_id], self[:artifact_id], self[:type], self[:classifier], self[:version] ].select { |o| o }.join( ':' )