ivy4r 0.9.13 → 0.9.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +7 -0
- data/lib/buildr/ivy_extension.rb +11 -13
- data/lib/ivy4r.rb +1 -1
- metadata +23 -4
data/History.txt
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
=== 0.9.14 / 2010-03-16
|
2
|
+
|
3
|
+
* Fix for circular build dependency errors in buildr thanks to Pepijn Van Eeckhoudt for the patch.
|
4
|
+
The culprit is the call to Buildr.projects in add_copy_tasks_for_publish. This can cause a call
|
5
|
+
to project.invoke on the project being defined itself. Buildr.projects should not be called from
|
6
|
+
before/after define callbacks as Pepijn found out from the Buildr developers.
|
7
|
+
|
1
8
|
=== 0.9.13 / 2010-02-16
|
2
9
|
|
3
10
|
* Fix problems with Facets and ActiveSupport. We now only include the required core extensions,
|
data/lib/buildr/ivy_extension.rb
CHANGED
@@ -598,21 +598,19 @@ For more configuration options see IvyConfig.
|
|
598
598
|
end
|
599
599
|
|
600
600
|
def add_copy_tasks_for_publish(project)
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
end
|
612
|
-
end
|
613
|
-
project.task 'ivy:publish' => taskname
|
601
|
+
ivy_project = project.ivy.file_project
|
602
|
+
|
603
|
+
project.packages.each do |pkg|
|
604
|
+
target_file = project.ivy.publish[pkg] || ivy_project.ivy.publish[pkg] || File.basename(pkg.name).gsub(/-#{project.version}/, '')
|
605
|
+
taskname = ivy_project.path_to(ivy_project.ivy.publish_from, target_file)
|
606
|
+
if taskname != pkg.name
|
607
|
+
ivy_project.file taskname => pkg.name do
|
608
|
+
verbose "Ivy copying '#{pkg.name}' to '#{taskname}' for publishing"
|
609
|
+
FileUtils.mkdir File.dirname(taskname) unless File.directory?(File.dirname(taskname))
|
610
|
+
FileUtils.cp pkg.name, taskname
|
614
611
|
end
|
615
612
|
end
|
613
|
+
ivy_project.task 'ivy:publish' => taskname
|
616
614
|
end
|
617
615
|
end
|
618
616
|
end
|
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.14
|
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: 2010-03-
|
12
|
+
date: 2010-03-16 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -42,6 +42,26 @@ dependencies:
|
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 2.5.2
|
44
44
|
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: rubyforge
|
47
|
+
type: :development
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 2.0.4
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: gemcutter
|
57
|
+
type: :development
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.5.0
|
64
|
+
version:
|
45
65
|
- !ruby/object:Gem::Dependency
|
46
66
|
name: hoe
|
47
67
|
type: :development
|
@@ -50,7 +70,7 @@ dependencies:
|
|
50
70
|
requirements:
|
51
71
|
- - ">="
|
52
72
|
- !ruby/object:Gem::Version
|
53
|
-
version: 2.
|
73
|
+
version: 2.5.0
|
54
74
|
version:
|
55
75
|
description: |-
|
56
76
|
Apache Ivy dependency manager wrapper for ruby (see {Apache Ivy}[http://ant.apache.org/ivy/index.html] for more information).
|
@@ -117,7 +137,6 @@ post_install_message:
|
|
117
137
|
rdoc_options:
|
118
138
|
- --main
|
119
139
|
- README.txt
|
120
|
-
- --charset=UTF-8
|
121
140
|
require_paths:
|
122
141
|
- lib
|
123
142
|
required_ruby_version: !ruby/object:Gem::Requirement
|