ivy4r 0.9.11 → 0.9.12

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 CHANGED
@@ -1,3 +1,8 @@
1
+ === 0.9.12 / 2010-01-21
2
+
3
+ * Fix the problem with creation of packages where the additional ivy information has not been added
4
+ if "package :file 'x.type'" was used instead of "package :type".
5
+
1
6
  === 0.9.11 / 2009-12-22
2
7
 
3
8
  * Fix of the ivy:clean target to clean the ivy cache via the cleancache task.
@@ -550,7 +550,7 @@ For more configuration options see IvyConfig.
550
550
  end
551
551
 
552
552
  def add_manifest_to_distributeables(project)
553
- pkgs = project.packages.find_all { |pkg| [:jar, :war, :ear].member? pkg.type }
553
+ pkgs = project.packages.find_all { |pkg| ['jar', 'war', 'ear'].member? pkg.type.to_s }
554
554
  pkgs.each do |pkg|
555
555
  name = "#{pkg.name}manifest"
556
556
  task = project.task name => project.ivy.file_project.task('ivy:resolve') do
@@ -562,7 +562,7 @@ For more configuration options see IvyConfig.
562
562
  end
563
563
 
564
564
  def add_prod_libs_to_distributeables(project)
565
- pkgs = project.packages.find_all { |pkg| [:war].member? pkg.type }
565
+ pkgs = project.packages.find_all { |pkg| ['war'].member? pkg.type.to_s }
566
566
  pkgs.each do |pkg|
567
567
  task = project.task "#{pkg.name}deps" => project.ivy.file_project.task('ivy:resolve') do
568
568
  includes = project.ivy.package_include
@@ -577,7 +577,7 @@ For more configuration options see IvyConfig.
577
577
  project.task :build => task
578
578
  end
579
579
 
580
- pkgs = project.packages.find_all { |pkg| [:ear].member? pkg.type }
580
+ pkgs = project.packages.find_all { |pkg| ['ear'].member? pkg.type.to_s }
581
581
  pkgs.each do |pkg|
582
582
  task = project.task "#{pkg.name}deps" => project.ivy.file_project.task('ivy:resolve') do
583
583
  includes = project.ivy.package_include
data/lib/ivy4r.rb CHANGED
@@ -35,7 +35,7 @@ is
35
35
  }
36
36
  =end
37
37
  class Ivy4r
38
- VERSION = '0.9.11'
38
+ VERSION = '0.9.12'
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.11
4
+ version: 0.9.12
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-22 00:00:00 +01:00
12
+ date: 2010-01-21 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency