klaas1979-ivy4r 0.5.2 → 0.5.3

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.
@@ -76,13 +76,15 @@ module Buildr
76
76
  ant.cachepath :conf => confs.join(','), :pathid => pathid
77
77
  end
78
78
 
79
- # Returns ivy info for configured ivy file.
79
+ # Returns ivy info for configured ivy file using a new ant instance.
80
80
  def info
81
81
  if @base_ivy
82
82
  @base_ivy.info
83
83
  else
84
84
  ant.settings :id => 'ivy.info.settingsref'
85
- ant.info :file => file, :settingsRef => 'ivy.info.settingsref'
85
+ result = ant.info :file => file, :settingsRef => 'ivy.info.settingsref'
86
+ @ant = nil
87
+ result
86
88
  end
87
89
  end
88
90
 
data/lib/ivy4r.rb CHANGED
@@ -35,7 +35,7 @@ is
35
35
  }
36
36
  =end
37
37
  class Ivy4r
38
- VERSION = '0.5.2'
38
+ VERSION = '0.5.3'
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: klaas1979-ivy4r
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Klaas Prause