buildr-ajc 1.0.2 → 1.0.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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/ajc.rb +1 -4
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ require 'spec/rake/spectask'
8
8
 
9
9
  spec = Gem::Specification.new do |s|
10
10
  s.name = 'buildr-ajc'
11
- s.version = '1.0.2'
11
+ s.version = '1.0.3'
12
12
  s.has_rdoc = true
13
13
  s.extra_rdoc_files = ['README.rdoc', 'LICENSE']
14
14
  s.summary = 'java ajc compiler for buildr'
data/lib/ajc.rb CHANGED
@@ -108,11 +108,8 @@ Buildr::Compiler << Buildr::Compiler::Ajc
108
108
  def compile_with_ajc(*opts)
109
109
  compile.using :ajc
110
110
  test.compile.using :ajc
111
-
112
- hash_opts ||= opts.last if Hash === opts.last
113
- puts "++++ #{hash_opts.inspect}"
111
+ hash_opts = Hash === opts.last ? opts.last : {}
114
112
  compile.using hash_opts
115
-
116
113
  hash_opts[:test_apspectpath] = compile.target.to_s
117
114
  test.compile.using hash_opts
118
115
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 2
9
- version: 1.0.2
8
+ - 3
9
+ version: 1.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nico Mainka