naether 0.12.2-java → 0.13.0-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c3ae6f3871f3fea93a8bd9a760d613d1f235fbfd
4
+ data.tar.gz: 76f62de12089f1731b3cf0c6c82b567b71e16f75
5
+ SHA512:
6
+ metadata.gz: 0da4c3b3c194e2d604a0e5247184de1babe89a50605473752ddbff42607d80f2dd61b6035fefa0a576240e340b9eb2946bff884c7f5be2eac3dfbb8859bb680e
7
+ data.tar.gz: 0f5ef2c7aa8288f2295212fee95a5b6cc81c61195f63ed56282eb9419bf6025c275ab41ffeb6e036101131ca989235d352066cb078c66fdbaebeaadc470e94ce
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ end
7
7
 
8
8
  group :development do
9
9
  gem "rspec", "> 2.9.0"
10
- gem "jeweler", "~> 1.8.0"
10
+ gem "jeweler", "~> 2.0.0"
11
11
  gem "yard"
12
12
  gem "kramdown"
13
13
 
data/Gemfile.lock CHANGED
@@ -4,65 +4,67 @@ GEM
4
4
  addressable (2.3.5)
5
5
  bouncy-castle-java (1.5.0147)
6
6
  builder (3.2.2)
7
- diff-lcs (1.2.4)
8
- faraday (0.8.8)
9
- multipart-post (~> 1.2.0)
7
+ descendants_tracker (0.0.3)
8
+ diff-lcs (1.2.5)
9
+ faraday (0.9.0)
10
+ multipart-post (>= 1.2, < 3)
10
11
  git (1.2.6)
11
- github_api (0.10.1)
12
- addressable
13
- faraday (~> 0.8.1)
12
+ github_api (0.11.1)
13
+ addressable (~> 2.3)
14
+ descendants_tracker (~> 0.0.1)
15
+ faraday (~> 0.8, < 0.10)
14
16
  hashie (>= 1.2)
15
- multi_json (~> 1.4)
16
- nokogiri (~> 1.5.2)
17
+ multi_json (>= 1.7.5, < 2.0)
18
+ nokogiri (~> 1.6.0)
17
19
  oauth2
18
20
  hashie (2.0.5)
19
- highline (1.6.19)
20
- httpauth (0.2.0)
21
- jeweler (1.8.7)
21
+ highline (1.6.20)
22
+ jeweler (2.0.0)
22
23
  builder
23
- bundler (~> 1.0)
24
+ bundler (>= 1.0)
24
25
  git (>= 1.2.5)
25
- github_api (= 0.10.1)
26
+ github_api
26
27
  highline (>= 1.6.15)
27
- nokogiri (= 1.5.10)
28
+ nokogiri (>= 1.5.10)
28
29
  rake
29
30
  rdoc
30
- jruby-openssl (0.9.0)
31
+ jruby-openssl (0.9.4)
31
32
  bouncy-castle-java (>= 1.5.0147)
32
- json (1.8.0-java)
33
- jwt (0.1.8)
33
+ json (1.8.1-java)
34
+ jwt (0.1.11)
34
35
  multi_json (>= 1.5)
35
- kramdown (1.2.0)
36
- multi_json (1.8.0)
36
+ kramdown (1.3.1)
37
+ mini_portile (0.5.2)
38
+ multi_json (1.8.4)
37
39
  multi_xml (0.5.5)
38
- multipart-post (1.2.0)
39
- nokogiri (1.5.10-java)
40
- oauth2 (0.9.2)
41
- faraday (~> 0.8)
42
- httpauth (~> 0.2)
43
- jwt (~> 0.1.4)
44
- multi_json (~> 1.0)
40
+ multipart-post (2.0.0)
41
+ nokogiri (1.6.1-java)
42
+ mini_portile (~> 0.5.0)
43
+ oauth2 (0.9.3)
44
+ faraday (>= 0.8, < 0.10)
45
+ jwt (~> 0.1.8)
46
+ multi_json (~> 1.3)
45
47
  multi_xml (~> 0.5)
46
48
  rack (~> 1.2)
47
49
  rack (1.5.2)
48
- rake (10.1.0)
49
- rdoc (4.0.1)
50
+ rake (10.1.1)
51
+ rdoc (4.1.1)
50
52
  json (~> 1.4)
51
53
  rspec (2.14.1)
52
54
  rspec-core (~> 2.14.0)
53
55
  rspec-expectations (~> 2.14.0)
54
56
  rspec-mocks (~> 2.14.0)
55
- rspec-core (2.14.5)
56
- rspec-expectations (2.14.3)
57
+ rspec-core (2.14.7)
58
+ rspec-expectations (2.14.4)
57
59
  diff-lcs (>= 1.1.3, < 2.0)
58
- rspec-mocks (2.14.3)
59
- yard (0.8.7.2)
60
+ rspec-mocks (2.14.4)
61
+ yard (0.8.7.3)
60
62
 
61
63
  PLATFORMS
62
64
  java
63
65
 
64
66
  DEPENDENCIES
65
- jeweler (~> 1.8.0)
67
+ jeweler (~> 2.0.0)
66
68
  jruby-openssl
67
69
  kramdown
68
70
  rspec (> 2.9.0)
data/README.md CHANGED
@@ -24,7 +24,7 @@ The jar dependencies for Naether will automatically be downloaded when the gem i
24
24
  <dependency>
25
25
  <groupId>com.tobedevoured.naether</groupId>
26
26
  <artifactId>naether</artifactId>
27
- <version>0.12.1</version>
27
+ <version>0.13.0</version>
28
28
  </dependency>
29
29
 
30
30
  May have to add the Sonatype Repo if the sync to Maven Central is slow.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.2
1
+ 0.13.0
Binary file
@@ -59,8 +59,15 @@ module Naether
59
59
  end
60
60
  end
61
61
  end
62
-
63
- unless defined?(Naether::Configuration)
64
- Naether::Configuration = Naether::Configurator.new
62
+
63
+ if RUBY_VERSION == '1.8.7'
64
+ unless Naether.const_defined?('Configuration')
65
+ Naether::Configuration = Naether::Configurator.new
66
+ end
67
+ else
68
+ unless Naether.const_defined?('Configuration', false)
69
+ Naether::Configuration = Naether::Configurator.new
70
+ end
65
71
  end
72
+
66
73
  end
data/lib/naether/maven.rb CHANGED
@@ -153,6 +153,7 @@ module Naether
153
153
  #defaults
154
154
  config = {
155
155
  # Checks ENV for maven home, otherwise defaults /usr/share/maven
156
+ # XXX: Reuse Eng.getMavenHome?
156
157
  :maven_home => ENV['maven.home'] || ENV['MAVEN_HOME'] || '/usr/share/maven',
157
158
  :local_repo => File.expand_path('~/.m2/repository')
158
159
  }
@@ -165,7 +166,13 @@ module Naether
165
166
  pom = @project.getPomFile().getAbsolutePath()
166
167
 
167
168
  invoker = Naether::Java.create("com.tobedevoured.naether.maven.Invoker", config[:local_repo], config[:maven_home] )
168
- invoker.execute( pom, Naether::Java.convert_to_java_list(goals) )
169
+
170
+ java_list = Naether::Java.convert_to_java_list(goals)
171
+ if Naether.platform == 'java'
172
+ invoker.execute( pom, java_list )
173
+ else
174
+ invoker._invoke('execute', 'Ljava.lang.String;Ljava.util.List;', pom, java_list)
175
+ end
169
176
  end
170
177
 
171
178
  def final_name
data/pom.xml CHANGED
@@ -3,7 +3,7 @@
3
3
  <modelVersion>4.0.0</modelVersion>
4
4
  <groupId>com.tobedevoured.naether</groupId>
5
5
  <artifactId>core</artifactId>
6
- <version>0.12.2</version>
6
+ <version>0.13.0</version>
7
7
  <name>Naether</name>
8
8
  <packaging>jar</packaging>
9
9
  <url>https://github.com/mguymon/naether</url>
@@ -188,6 +188,7 @@
188
188
  <plugin>
189
189
  <groupId>org.apache.maven.plugins</groupId>
190
190
  <artifactId>maven-source-plugin</artifactId>
191
+ <version>2.2.1</version>
191
192
  <executions>
192
193
  <execution>
193
194
  <id>attach-sources</id>
@@ -200,6 +201,7 @@
200
201
  <plugin>
201
202
  <groupId>org.apache.maven.plugins</groupId>
202
203
  <artifactId>maven-javadoc-plugin</artifactId>
204
+ <version>2.9.1</version>
203
205
  <executions>
204
206
  <execution>
205
207
  <id>attach-javadocs</id>
@@ -212,6 +214,7 @@
212
214
  <plugin>
213
215
  <groupId>org.apache.maven.plugins</groupId>
214
216
  <artifactId>maven-gpg-plugin</artifactId>
217
+ <version>1.4</version>
215
218
  <executions>
216
219
  <execution>
217
220
  <id>sign-artifacts</id>
@@ -225,6 +228,7 @@
225
228
  <plugin>
226
229
  <groupId>org.apache.maven.plugins</groupId>
227
230
  <artifactId>maven-dependency-plugin</artifactId>
231
+ <version>2.8</version>
228
232
  <executions>
229
233
  <execution>
230
234
  <id>copy-dependencies</id>
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naether
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.12.2
4
+ version: 0.13.0
6
5
  platform: java
7
6
  authors:
8
7
  - Michael Guymon
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-10-03 00:00:00.000000000 Z
11
+ date: 2014-01-21 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
@@ -18,13 +17,11 @@ dependencies:
18
17
  - - '>'
19
18
  - !ruby/object:Gem::Version
20
19
  version: 2.9.0
21
- none: false
22
20
  requirement: !ruby/object:Gem::Requirement
23
21
  requirements:
24
22
  - - '>'
25
23
  - !ruby/object:Gem::Version
26
24
  version: 2.9.0
27
- none: false
28
25
  prerelease: false
29
26
  type: :development
30
27
  - !ruby/object:Gem::Dependency
@@ -33,14 +30,12 @@ dependencies:
33
30
  requirements:
34
31
  - - ~>
35
32
  - !ruby/object:Gem::Version
36
- version: 1.8.0
37
- none: false
33
+ version: 2.0.0
38
34
  requirement: !ruby/object:Gem::Requirement
39
35
  requirements:
40
36
  - - ~>
41
37
  - !ruby/object:Gem::Version
42
- version: 1.8.0
43
- none: false
38
+ version: 2.0.0
44
39
  prerelease: false
45
40
  type: :development
46
41
  - !ruby/object:Gem::Dependency
@@ -50,13 +45,11 @@ dependencies:
50
45
  - - '>='
51
46
  - !ruby/object:Gem::Version
52
47
  version: '0'
53
- none: false
54
48
  requirement: !ruby/object:Gem::Requirement
55
49
  requirements:
56
50
  - - '>='
57
51
  - !ruby/object:Gem::Version
58
52
  version: '0'
59
- none: false
60
53
  prerelease: false
61
54
  type: :development
62
55
  - !ruby/object:Gem::Dependency
@@ -66,13 +59,11 @@ dependencies:
66
59
  - - '>='
67
60
  - !ruby/object:Gem::Version
68
61
  version: '0'
69
- none: false
70
62
  requirement: !ruby/object:Gem::Requirement
71
63
  requirements:
72
64
  - - '>='
73
65
  - !ruby/object:Gem::Version
74
66
  version: '0'
75
- none: false
76
67
  prerelease: false
77
68
  type: :development
78
69
  - !ruby/object:Gem::Dependency
@@ -82,93 +73,11 @@ dependencies:
82
73
  - - '>='
83
74
  - !ruby/object:Gem::Version
84
75
  version: '0'
85
- none: false
86
76
  requirement: !ruby/object:Gem::Requirement
87
77
  requirements:
88
78
  - - '>='
89
79
  - !ruby/object:Gem::Version
90
80
  version: '0'
91
- none: false
92
- prerelease: false
93
- type: :development
94
- - !ruby/object:Gem::Dependency
95
- name: rspec
96
- version_requirements: !ruby/object:Gem::Requirement
97
- requirements:
98
- - - '>'
99
- - !ruby/object:Gem::Version
100
- version: 2.9.0
101
- none: false
102
- requirement: !ruby/object:Gem::Requirement
103
- requirements:
104
- - - '>'
105
- - !ruby/object:Gem::Version
106
- version: 2.9.0
107
- none: false
108
- prerelease: false
109
- type: :development
110
- - !ruby/object:Gem::Dependency
111
- name: jeweler
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ~>
115
- - !ruby/object:Gem::Version
116
- version: 1.8.0
117
- none: false
118
- requirement: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - ~>
121
- - !ruby/object:Gem::Version
122
- version: 1.8.0
123
- none: false
124
- prerelease: false
125
- type: :development
126
- - !ruby/object:Gem::Dependency
127
- name: yard
128
- version_requirements: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - '>='
131
- - !ruby/object:Gem::Version
132
- version: '0'
133
- none: false
134
- requirement: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - '>='
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- none: false
140
- prerelease: false
141
- type: :development
142
- - !ruby/object:Gem::Dependency
143
- name: kramdown
144
- version_requirements: !ruby/object:Gem::Requirement
145
- requirements:
146
- - - '>='
147
- - !ruby/object:Gem::Version
148
- version: '0'
149
- none: false
150
- requirement: !ruby/object:Gem::Requirement
151
- requirements:
152
- - - '>='
153
- - !ruby/object:Gem::Version
154
- version: '0'
155
- none: false
156
- prerelease: false
157
- type: :development
158
- - !ruby/object:Gem::Dependency
159
- name: jruby-openssl
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - '>='
163
- - !ruby/object:Gem::Version
164
- version: '0'
165
- none: false
166
- requirement: !ruby/object:Gem::Requirement
167
- requirements:
168
- - - '>='
169
- - !ruby/object:Gem::Version
170
- version: '0'
171
- none: false
172
81
  prerelease: false
173
82
  type: :development
174
83
  description: Java dependency resolver using Maven's Aether
@@ -186,7 +95,7 @@ files:
186
95
  - README.md
187
96
  - Rakefile
188
97
  - VERSION
189
- - core-0.12.2.jar
98
+ - core-0.13.0.jar
190
99
  - jar_dependencies.yml
191
100
  - lib/naether.rb
192
101
  - lib/naether/bootstrap.rb
@@ -201,6 +110,7 @@ files:
201
110
  homepage: http://github.com/mguymon/naether
202
111
  licenses:
203
112
  - Apache
113
+ metadata: {}
204
114
  post_install_message:
205
115
  rdoc_options: []
206
116
  require_paths:
@@ -210,20 +120,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
210
120
  - - '>='
211
121
  - !ruby/object:Gem::Version
212
122
  version: '0'
213
- segments:
214
- - 0
215
- hash: 2
216
- none: false
217
123
  required_rubygems_version: !ruby/object:Gem::Requirement
218
124
  requirements:
219
125
  - - '>='
220
126
  - !ruby/object:Gem::Version
221
127
  version: '0'
222
- none: false
223
128
  requirements: []
224
129
  rubyforge_project: naether
225
- rubygems_version: 1.8.24
130
+ rubygems_version: 2.1.9
226
131
  signing_key:
227
- specification_version: 3
132
+ specification_version: 4
228
133
  summary: Java dependency resolver using Maven's Aether
229
134
  test_files: []