doubleshot 0.6.1-java → 1.0-java

Sign up to get free protection for your applications and to get access to all the features.
data/Doubleshot CHANGED
@@ -4,7 +4,7 @@ Doubleshot.new do |config|
4
4
 
5
5
  config.project = "doubleshot"
6
6
  config.group = "org.sam.doubleshot"
7
- config.version = "0.6.1"
7
+ config.version = "1.0"
8
8
 
9
9
  config.gem "minitest", ">= 3.0.1"
10
10
  config.gem "minitest-wscolor", ">= 0"
@@ -16,7 +16,6 @@ class Doubleshot
16
16
  <groupId>#{@config.group}</groupId>
17
17
  <artifactId>#{@config.project}</artifactId>
18
18
  <version>#{@config.version}</version>
19
- <packaging>pom</packaging>
20
19
  <name>#{@config.project}</name>
21
20
  #{
22
21
  unless jars.empty?
@@ -48,7 +47,10 @@ class Doubleshot
48
47
  end.join("\n ") +
49
48
  "\n </dependencies>\n"
50
49
  end
51
- } </project>
50
+ } <build>
51
+ <sourceDirectory>#{@config.source.java}</sourceDirectory>
52
+ </build>
53
+ </project>
52
54
  EOS
53
55
  end
54
56
  end
Binary file
data/test/pom_spec.rb CHANGED
@@ -40,7 +40,6 @@ describe Doubleshot::Pom do
40
40
  <groupId>org.sam.doubleshot</groupId>
41
41
  <artifactId>doubleshot</artifactId>
42
42
  <version>1.0</version>
43
- <packaging>pom</packaging>
44
43
  <name>doubleshot</name>
45
44
  <dependencies>
46
45
  <dependency>
@@ -90,6 +89,9 @@ describe Doubleshot::Pom do
90
89
  </exclusions>
91
90
  </dependency>
92
91
  </dependencies>
92
+ <build>
93
+ <sourceDirectory>ext/java</sourceDirectory>
94
+ </build>
93
95
  </project>
94
96
  EOS
95
97
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: doubleshot
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.1
5
+ version: '1.0'
6
6
  platform: java
7
7
  authors:
8
8
  - Sam Smoot
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-19 00:00:00.000000000 Z
12
+ date: 2012-11-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest