ivy4r 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +7 -0
- data/lib/buildr/ivy_extension.rb +6 -3
- data/lib/ivy4r.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
=== 0.9.4 / 2009-12-01
|
2
|
+
|
3
|
+
* ivy.deps for buildr supports three argument types:
|
4
|
+
1. if an Hash is given :conf is used for confs and :type is used for types
|
5
|
+
2. if exactly two arrays are given args[0] is used for confs and args[1] is used for types
|
6
|
+
3. if not exactly two arrays all args are used as confs
|
7
|
+
|
1
8
|
=== 0.9.3 / 2009-11-18
|
2
9
|
|
3
10
|
* Sorting of compile and test dependencies to prevent problems with old jars that are added by
|
data/lib/buildr/ivy_extension.rb
CHANGED
@@ -69,10 +69,13 @@ module Buildr
|
|
69
69
|
# Returns the artifacts for given configurations as array
|
70
70
|
# this is a post resolve task.
|
71
71
|
# the arguments are checked for the following:
|
72
|
-
# 1. if
|
73
|
-
# 2. if
|
72
|
+
# 1. if an Hash is given :conf is used for confs and :type is used for types
|
73
|
+
# 2. if exactly two arrays are given args[0] is used for confs and args[1] is used for types
|
74
|
+
# 3. if not exactly two arrays all args are used as confs
|
74
75
|
def deps(*args)
|
75
|
-
if args.size ==
|
76
|
+
if args.size == 1 && args[0].kind_of?(Hash)
|
77
|
+
confs, types = [args[0][:conf]].flatten, [args[0][:type]].flatten
|
78
|
+
elsif args.size == 2 && args[0].kind_of?(Array) && args[1].kind_of?(Array)
|
76
79
|
confs, types = args[0], args[1]
|
77
80
|
else
|
78
81
|
confs, types = args.flatten, []
|
data/lib/ivy4r.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ivy4r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Klaas Prause
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-12-01 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|