swung-weave-buildr 1.1.3 → 1.1.5

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.
@@ -1,7 +1,7 @@
1
1
  module Buildr
2
2
  module SwungWeave
3
3
  private
4
- VERSION='1.1.3'
4
+ VERSION='1.1.5'
5
5
  GROUP='org.realityforge.swung-weave'
6
6
  end
7
7
  end
@@ -11,7 +11,7 @@ module Buildr
11
11
  end
12
12
 
13
13
  def enhance(dir, dependencies)
14
- cp = Buildr.artifacts(dependencies).each(&:invoke).map(&:to_s)
14
+ cp = [dir] + Buildr.artifacts(dependencies).each(&:invoke).map(&:to_s)
15
15
  tf = Tempfile.open('swung_weave')
16
16
  begin
17
17
  tf << Dir["#{dir}/**/*.class"].join("\n")
@@ -22,9 +22,9 @@ module Buildr
22
22
  args << dir
23
23
  args << "--verbose"
24
24
  args << "--debug" if Buildr.application.options.trace
25
-
25
+
26
26
  Java::Commands.java 'org.realityforge.swung_weave.tool.Main', *(args + [{:classpath => cp}])
27
- rescue
27
+ ensure
28
28
  tf.close!
29
29
  end
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swung-weave-buildr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-26 00:00:00.000000000 Z
12
+ date: 2014-06-30 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! 'Buildr extension to process bytecode using swung-weaver. Swung weaver
15
15
  is
@@ -41,7 +41,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
41
41
  version: '0'
42
42
  segments:
43
43
  - 0
44
- hash: -4351190537650705577
44
+ hash: -2866203164947197063
45
45
  required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  none: false
47
47
  requirements:
@@ -50,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  version: '0'
51
51
  segments:
52
52
  - 0
53
- hash: -4351190537650705577
53
+ hash: -2866203164947197063
54
54
  requirements: []
55
55
  rubyforge_project:
56
56
  rubygems_version: 1.8.23