ivy4r 0.9.13 → 0.9.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,
@@ -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
- if project.ivy.own_file?
602
- Buildr.projects.each do |current|
603
- current.packages.each do |pkg|
604
- target_file = current.ivy.name[pkg] || File.basename(pkg.name).gsub(/-#{project.version}/, '')
605
- taskname = current.path_to(project.ivy.publish_from, target_file)
606
- if taskname != pkg.name
607
- 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
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
@@ -35,7 +35,7 @@ is
35
35
  }
36
36
  =end
37
37
  class Ivy4r
38
- VERSION = '0.9.13'
38
+ VERSION = '0.9.14'
39
39
 
40
40
  # Set the ant home directory to load ant classes from if no custom __antwrap__ is provided
41
41
  # and the default provided ant version 1.7.1 should not be used.
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.13
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-08 00:00:00 +01:00
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.3.3
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