naether 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,12 +1,17 @@
1
1
  source "http://rubygems.org"
2
2
 
3
-
4
- gem 'rjb', '~> 1.4.0', platform: :ruby
3
+ platform = $platform || RUBY_PLATFORM[/java/] || 'ruby'
4
+ if platform != 'java'
5
+ gem 'rjb', '~> 1.4.0'
6
+ end
5
7
 
6
8
  group :development do
7
9
  gem "rspec", "> 2.9.0"
8
10
  gem "jeweler", "~> 1.8.0"
9
11
  gem "yard"
10
12
  gem "kramdown"
11
- gem 'jruby-openssl', platform: :jruby
13
+
14
+ if platform == 'java'
15
+ gem 'jruby-openssl'
16
+ end
12
17
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,6 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- bouncy-castle-java (1.5.0146.1)
5
4
  diff-lcs (1.1.3)
6
5
  git (1.2.5)
7
6
  jeweler (1.8.4)
@@ -9,10 +8,7 @@ GEM
9
8
  git (>= 1.2.5)
10
9
  rake
11
10
  rdoc
12
- jruby-openssl (0.7.7)
13
- bouncy-castle-java (>= 1.5.0146.1)
14
11
  json (1.7.5)
15
- json (1.7.5-java)
16
12
  kramdown (0.14.0)
17
13
  rake (0.9.2.2)
18
14
  rdoc (3.12)
@@ -29,12 +25,10 @@ GEM
29
25
  yard (0.8.2.1)
30
26
 
31
27
  PLATFORMS
32
- java
33
28
  ruby
34
29
 
35
30
  DEPENDENCIES
36
31
  jeweler (~> 1.8.0)
37
- jruby-openssl
38
32
  kramdown
39
33
  rjb (~> 1.4.0)
40
34
  rspec (> 2.9.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.0
1
+ 0.11.1
Binary file
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.11.0</version>
6
+ <version>0.11.1</version>
7
7
  <name>Naether</name>
8
8
  <packaging>jar</packaging>
9
9
  <url>https://github.com/mguymon/naether</url>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naether
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -91,22 +91,6 @@ dependencies:
91
91
  - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
- - !ruby/object:Gem::Dependency
95
- name: jruby-openssl
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
94
  - !ruby/object:Gem::Dependency
111
95
  name: rjb
112
96
  requirement: !ruby/object:Gem::Requirement
@@ -187,22 +171,6 @@ dependencies:
187
171
  - - ! '>='
188
172
  - !ruby/object:Gem::Version
189
173
  version: '0'
190
- - !ruby/object:Gem::Dependency
191
- name: jruby-openssl
192
- requirement: !ruby/object:Gem::Requirement
193
- none: false
194
- requirements:
195
- - - ! '>='
196
- - !ruby/object:Gem::Version
197
- version: '0'
198
- type: :development
199
- prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
- requirements:
203
- - - ! '>='
204
- - !ruby/object:Gem::Version
205
- version: '0'
206
174
  description: Java dependency resolver using Maven's Aether
207
175
  email: michael@tobedevoured.com
208
176
  executables: []
@@ -218,28 +186,7 @@ files:
218
186
  - README.md
219
187
  - Rakefile
220
188
  - VERSION
221
- - core-0.11.0.jar
222
- - doc/Naether.html
223
- - doc/Naether/s_20Ja.html
224
- - doc/Naether/s_20Ja/s_20JRu.html
225
- - doc/Naether/s_20Ja/s_20Ru.html
226
- - doc/Naether/s_20Mav.html
227
- - doc/_index.html
228
- - doc/class_list.html
229
- - doc/css/common.css
230
- - doc/css/full_list.css
231
- - doc/css/style.css
232
- - doc/er_A_20_20_A_20.html
233
- - doc/er_A_20_20_A_20/tstrap_A_20_20.html
234
- - doc/file.README.html
235
- - doc/file_list.html
236
- - doc/frames.html
237
- - doc/index.html
238
- - doc/js/app.js
239
- - doc/js/full_list.js
240
- - doc/js/jquery.js
241
- - doc/method_list.html
242
- - doc/top-level-namespace.html
189
+ - core-0.11.1.jar
243
190
  - jar_dependencies.yml
244
191
  - lib/naether.rb
245
192
  - lib/naether/bootstrap.rb
@@ -250,7 +197,6 @@ files:
250
197
  - lib/naether/maven.rb
251
198
  - lib/naether/notation.rb
252
199
  - lib/naether/runtime.rb
253
- - naether.gemspec
254
200
  - pom.xml
255
201
  homepage: http://github.com/mguymon/naether
256
202
  licenses:
@@ -267,7 +213,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
267
213
  version: '0'
268
214
  segments:
269
215
  - 0
270
- hash: -4122158700891517343
216
+ hash: -727109738576140739
271
217
  required_rubygems_version: !ruby/object:Gem::Requirement
272
218
  none: false
273
219
  requirements:
data/doc/Naether.html DELETED
@@ -1,476 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Module: Naether
8
-
9
- &mdash; Documentation by YARD 0.8.2.1
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '';
20
- framesUrl = "frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="_index.html">Index (N)</a> &raquo;
35
-
36
-
37
- <span class="title">Naether</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Module: Naether
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
- <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/naether/java.rb<span class="defines">,<br />
83
- lib/naether.rb,<br /> lib/naether/maven.rb,<br /> lib/naether/runtime.rb,<br /> lib/naether/notation.rb,<br /> lib/naether/java/ruby.rb,<br /> lib/naether/bootstrap.rb,<br /> lib/naether/java/jruby.rb,<br /> lib/naether/configuration.rb</span>
84
- </dd>
85
-
86
- </dl>
87
- <div class="clear"></div>
88
-
89
- <h2>Overview</h2><div class="docstring">
90
- <div class="discussion">
91
-
92
-
93
- </div>
94
- </div>
95
- <div class="tags">
96
-
97
- <p class="tag_title">Author:</p>
98
- <ul class="author">
99
-
100
- <li>
101
-
102
-
103
-
104
-
105
-
106
- <div class='inline'>
107
- <p>Michael Guymon</p>
108
- </div>
109
-
110
- </li>
111
-
112
- </ul>
113
-
114
- </div><h2>Defined Under Namespace</h2>
115
- <p class="children">
116
-
117
-
118
-
119
-
120
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Naether/Bootstrap.html" title="Naether::Bootstrap (class)">Bootstrap</a></span>, <span class='object_link'><a href="Naether/Configurator.html" title="Naether::Configurator (class)">Configurator</a></span>, <span class='object_link'><a href="Naether/Java.html" title="Naether::Java (class)">Java</a></span>, <span class='object_link'><a href="Naether/Maven.html" title="Naether::Maven (class)">Maven</a></span>, <span class='object_link'><a href="Naether/Notation.html" title="Naether::Notation (class)">Notation</a></span>, <span class='object_link'><a href="Naether/Runtime.html" title="Naether::Runtime (class)">Runtime</a></span>
121
-
122
-
123
- </p>
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
- <h2>
133
- Class Method Summary
134
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
135
- </h2>
136
-
137
- <ul class="summary">
138
-
139
- <li class="public ">
140
- <span class="summary_signature">
141
-
142
- <a href="#bootstrap_dependencies-class_method" title="bootstrap_dependencies (class method)">+ (Object) <strong>bootstrap_dependencies</strong>(dep_file = nil) </a>
143
-
144
-
145
-
146
- </span>
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
- <span class="summary_desc"><div class='inline'>
157
- <p>List of Java dependencies needed to bootstrap Naether.</p>
158
- </div></span>
159
-
160
- </li>
161
-
162
-
163
- <li class="public ">
164
- <span class="summary_signature">
165
-
166
- <a href="#create-class_method" title="create (class method)">+ (Object) <strong>create</strong> </a>
167
-
168
-
169
-
170
- </span>
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
- <span class="summary_desc"><div class='inline'></div></span>
181
-
182
- </li>
183
-
184
-
185
- <li class="public ">
186
- <span class="summary_signature">
187
-
188
- <a href="#create_from_jars-class_method" title="create_from_jars (class method)">+ (Naether) <strong>create_from_jars</strong>(jars) </a>
189
-
190
-
191
-
192
- </span>
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
- <span class="summary_desc"><div class='inline'>
203
- <p>Loads all jars creates a new instance of Naether.</p>
204
- </div></span>
205
-
206
- </li>
207
-
208
-
209
- <li class="public ">
210
- <span class="summary_signature">
211
-
212
- <a href="#platform-class_method" title="platform (class method)">+ (Object) <strong>platform</strong> </a>
213
-
214
-
215
-
216
- </span>
217
-
218
-
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
- <span class="summary_desc"><div class='inline'>
227
- <p>Helper for platform detection.</p>
228
- </div></span>
229
-
230
- </li>
231
-
232
-
233
- </ul>
234
-
235
-
236
-
237
-
238
- <div id="class_method_details" class="method_details_list">
239
- <h2>Class Method Details</h2>
240
-
241
-
242
- <div class="method_details first">
243
- <h3 class="signature first" id="bootstrap_dependencies-class_method">
244
-
245
- + (<tt>Object</tt>) <strong>bootstrap_dependencies</strong>(dep_file = nil)
246
-
247
-
248
-
249
-
250
-
251
- </h3><div class="docstring">
252
- <div class="discussion">
253
-
254
- <p>List of Java dependencies needed to bootstrap Naether</p>
255
-
256
-
257
- </div>
258
- </div>
259
- <div class="tags">
260
- <p class="tag_title">Parameters:</p>
261
- <ul class="param">
262
-
263
- <li>
264
-
265
- <span class='name'>dep_file</span>
266
-
267
-
268
- <span class='type'>(<tt>String</tt>)</span>
269
-
270
-
271
- <em class="default">(defaults to: <tt>nil</tt>)</em>
272
-
273
-
274
- &mdash;
275
- <div class='inline'>
276
- <p>path</p>
277
- </div>
278
-
279
- </li>
280
-
281
- </ul>
282
-
283
-
284
- <p class="tag_title">See Also:</p>
285
- <ul class="see">
286
-
287
- <li>{Naether{Naether::Bootstrap{Naether::Bootstrap#dependencies}</li>
288
-
289
- </ul>
290
-
291
- </div><table class="source_code">
292
- <tr>
293
- <td>
294
- <pre class="lines">
295
-
296
-
297
- 34
298
- 35
299
- 36
300
- 37</pre>
301
- </td>
302
- <td>
303
- <pre class="code"><span class="info file"># File 'lib/naether.rb', line 34</span>
304
-
305
- <span class='kw'>def</span> <span class='id identifier rubyid_bootstrap_dependencies'>bootstrap_dependencies</span><span class='lparen'>(</span> <span class='id identifier rubyid_dep_file'>dep_file</span><span class='op'>=</span><span class='kw'>nil</span> <span class='rparen'>)</span>
306
- <span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'>/naether/bootstrap</span><span class='tstring_end'>&quot;</span></span>
307
- <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Bootstrap</span><span class='period'>.</span><span class='id identifier rubyid_dependencies'>dependencies</span><span class='lparen'>(</span> <span class='id identifier rubyid_dep_file'>dep_file</span> <span class='rparen'>)</span>
308
- <span class='kw'>end</span></pre>
309
- </td>
310
- </tr>
311
- </table>
312
- </div>
313
-
314
- <div class="method_details ">
315
- <h3 class="signature " id="create-class_method">
316
-
317
- + (<tt>Object</tt>) <strong>create</strong>
318
-
319
-
320
-
321
-
322
-
323
- </h3><table class="source_code">
324
- <tr>
325
- <td>
326
- <pre class="lines">
327
-
328
-
329
- 57
330
- 58
331
- 59
332
- 60</pre>
333
- </td>
334
- <td>
335
- <pre class="code"><span class="info file"># File 'lib/naether.rb', line 57</span>
336
-
337
- <span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span>
338
- <span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'>/naether/runtime</span><span class='tstring_end'>&quot;</span></span>
339
- <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Runtime</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
340
- <span class='kw'>end</span></pre>
341
- </td>
342
- </tr>
343
- </table>
344
- </div>
345
-
346
- <div class="method_details ">
347
- <h3 class="signature " id="create_from_jars-class_method">
348
-
349
- + (<tt><span class='object_link'><a href="" title="Naether (module)">Naether</a></span></tt>) <strong>create_from_jars</strong>(jars)
350
-
351
-
352
-
353
-
354
-
355
- </h3><div class="docstring">
356
- <div class="discussion">
357
-
358
- <p>Loads all jars creates a new instance of Naether</p>
359
-
360
-
361
- </div>
362
- </div>
363
- <div class="tags">
364
- <p class="tag_title">Parameters:</p>
365
- <ul class="param">
366
-
367
- <li>
368
-
369
- <span class='name'>jars</span>
370
-
371
-
372
- <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
373
-
374
-
375
-
376
- &mdash;
377
- <div class='inline'>
378
- <p>of paths</p>
379
- </div>
380
-
381
- </li>
382
-
383
- </ul>
384
-
385
- <p class="tag_title">Returns:</p>
386
- <ul class="return">
387
-
388
- <li>
389
-
390
-
391
- <span class='type'>(<tt><span class='object_link'><a href="" title="Naether (module)">Naether</a></span></tt>)</span>
392
-
393
-
394
-
395
- </li>
396
-
397
- </ul>
398
-
399
- </div><table class="source_code">
400
- <tr>
401
- <td>
402
- <pre class="lines">
403
-
404
-
405
- 51
406
- 52
407
- 53
408
- 54
409
- 55</pre>
410
- </td>
411
- <td>
412
- <pre class="code"><span class="info file"># File 'lib/naether.rb', line 51</span>
413
-
414
- <span class='kw'>def</span> <span class='id identifier rubyid_create_from_jars'>create_from_jars</span><span class='lparen'>(</span> <span class='id identifier rubyid_jars'>jars</span> <span class='rparen'>)</span>
415
- <span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='kw'>__FILE__</span><span class='rparen'>)</span><span class='rbrace'>}</span><span class='tstring_content'>/naether/java</span><span class='tstring_end'>&quot;</span></span>
416
- <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_internal_load_paths'>internal_load_paths</span><span class='lparen'>(</span> <span class='id identifier rubyid_jars'>jars</span> <span class='rparen'>)</span>
417
- <span class='id identifier rubyid_create'>create</span>
418
- <span class='kw'>end</span></pre>
419
- </td>
420
- </tr>
421
- </table>
422
- </div>
423
-
424
- <div class="method_details ">
425
- <h3 class="signature " id="platform-class_method">
426
-
427
- + (<tt>Object</tt>) <strong>platform</strong>
428
-
429
-
430
-
431
-
432
-
433
- </h3><div class="docstring">
434
- <div class="discussion">
435
-
436
- <p>Helper for platform detection</p>
437
-
438
-
439
- </div>
440
- </div>
441
- <div class="tags">
442
-
443
-
444
- </div><table class="source_code">
445
- <tr>
446
- <td>
447
- <pre class="lines">
448
-
449
-
450
- 42
451
- 43
452
- 44</pre>
453
- </td>
454
- <td>
455
- <pre class="code"><span class="info file"># File 'lib/naether.rb', line 42</span>
456
-
457
- <span class='kw'>def</span> <span class='id identifier rubyid_platform'>platform</span>
458
- <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Configuration</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span>
459
- <span class='kw'>end</span></pre>
460
- </td>
461
- </tr>
462
- </table>
463
- </div>
464
-
465
- </div>
466
-
467
- </div>
468
-
469
- <div id="footer">
470
- Generated on Fri Sep 27 17:49:16 2013 by
471
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
472
- 0.8.2.1 (ruby-1.9.3).
473
- </div>
474
-
475
- </body>
476
- </html>