naether 0.11.1-java → 0.12.0-java

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Naether
2
2
 
3
+ [![Build Status](https://travis-ci.org/mguymon/naether.png?branch=master)](https://travis-ci.org/mguymon/naether)
4
+
3
5
  Naether is a Java Dependency Resolver using Maven's [Aether](https://github.com/sonatype/sonatype-aether)
4
6
  that can be used by Ruby or Java.
5
7
 
@@ -11,7 +13,7 @@ that can be used by Ruby or Java.
11
13
 
12
14
  ### Ruby
13
15
 
14
- JRuby 1.6.8 is natively supported. 1.9.3 uses [Rjb](http://rjb.rubyforge.org) to proxy over JNI.
16
+ JRuby is natively supported. Vanilla Ruby uses [Rjb](http://rjb.rubyforge.org) to proxy over JNI.
15
17
 
16
18
  gem install naether
17
19
 
@@ -22,7 +24,7 @@ The jar dependencies for Naether will automatically be downloaded when the gem i
22
24
  <dependency>
23
25
  <groupId>com.tobedevoured.naether</groupId>
24
26
  <artifactId>naether</artifactId>
25
- <version>0.10.0</version>
27
+ <version>0.12.0</version>
26
28
  </dependency>
27
29
 
28
30
  May have to add the Sonatype Repo if the sync to Maven Central is slow.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.1
1
+ 0.12.0
data/core-0.12.0.jar ADDED
Binary file
data/doc/Naether.html CHANGED
@@ -311,7 +311,7 @@ Naether::Configurat</pre>
311
311
  </div>
312
312
 
313
313
  <div id="footer">
314
- Generated on Fri Sep 27 17:59:42 2013 by
314
+ Generated on Tue Oct 01 15:16:15 2013 by
315
315
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
316
316
  0.8.7.2 (ruby-1.9.3).
317
317
  </div>
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Class: Naether::Bootstrap
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.7.2
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
@@ -1104,9 +1104,9 @@ result after first run.</p>
1104
1104
  </div>
1105
1105
 
1106
1106
  <div id="footer">
1107
- Generated on Fri Sep 27 17:57:01 2013 by
1107
+ Generated on Tue Oct 1 15:08:04 2013 by
1108
1108
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1109
- 0.8.2.1 (ruby-1.9.3).
1109
+ 0.8.7.2 (ruby-1.9.3).
1110
1110
  </div>
1111
1111
 
1112
1112
  </body>
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Class: Naether::Configurator
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.7.2
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
@@ -257,7 +257,7 @@
257
257
  </h3><div class="docstring">
258
258
  <div class="discussion">
259
259
 
260
- <p>A new instance of Configurator</p>
260
+ <p>Returns a new instance of Configurator</p>
261
261
 
262
262
 
263
263
  </div>
@@ -494,9 +494,9 @@
494
494
  </div>
495
495
 
496
496
  <div id="footer">
497
- Generated on Fri Sep 27 17:57:01 2013 by
497
+ Generated on Tue Oct 1 15:08:04 2013 by
498
498
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
499
- 0.8.2.1 (ruby-1.9.3).
499
+ 0.8.7.2 (ruby-1.9.3).
500
500
  </div>
501
501
 
502
502
  </body>
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Class: Naether::Java
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.7.2
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
@@ -1198,9 +1198,9 @@ params one to one.</p>
1198
1198
  </div>
1199
1199
 
1200
1200
  <div id="footer">
1201
- Generated on Fri Sep 27 17:57:00 2013 by
1201
+ Generated on Tue Oct 1 15:08:04 2013 by
1202
1202
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1203
- 0.8.2.1 (ruby-1.9.3).
1203
+ 0.8.7.2 (ruby-1.9.3).
1204
1204
  </div>
1205
1205
 
1206
1206
  </body>
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Class: Naether::Java::JRuby
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.7.2
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
@@ -1199,9 +1199,9 @@ params one to one.</p>
1199
1199
  </div>
1200
1200
 
1201
1201
  <div id="footer">
1202
- Generated on Fri Sep 27 17:57:01 2013 by
1202
+ Generated on Tue Oct 1 15:08:04 2013 by
1203
1203
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1204
- 0.8.2.1 (ruby-1.9.3).
1204
+ 0.8.7.2 (ruby-1.9.3).
1205
1205
  </div>
1206
1206
 
1207
1207
  </body>
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Class: Naether::Java::Ruby
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.7.2
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
18
  hasFrames = window.top.frames.main ? true : false;
@@ -422,7 +422,15 @@ and creating the internal Naether ClassLoader</p>
422
422
  33
423
423
  34
424
424
  35
425
- 36</pre>
425
+ 36
426
+ 37
427
+ 38
428
+ 39
429
+ 40
430
+ 41
431
+ 42
432
+ 43
433
+ 44</pre>
426
434
  </td>
427
435
  <td>
428
436
  <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 19</span>
@@ -434,7 +442,15 @@ and creating the internal Naether ClassLoader</p>
434
442
 
435
443
  <span class='comment'># Call Rjb::load with an empty classpath, incase Rjb::load has already been called
436
444
  </span> <span class='id identifier rubyid_java_opts'>java_opts</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>JAVA_OPTS</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>JAVA_OPTIONS</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span>
437
- <span class='const'>Rjb</span><span class='op'>::</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_java_opts'>java_opts</span><span class='rparen'>)</span>
445
+
446
+ <span class='kw'>begin</span>
447
+ <span class='const'>Rjb</span><span class='op'>::</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_java_opts'>java_opts</span><span class='rparen'>)</span>
448
+ <span class='kw'>rescue</span> <span class='const'>StandardError</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_e'>e</span>
449
+ <span class='kw'>if</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>can't create Java VM</span><span class='tstring_end'>&quot;</span></span>
450
+ <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>RJB was unable to find JVM, try setting JAVA_HOME env</span><span class='tstring_end'>&quot;</span></span>
451
+ <span class='kw'>end</span>
452
+ <span class='id identifier rubyid_raise'>raise</span> <span class='id identifier rubyid_e'>e</span>
453
+ <span class='kw'>end</span>
438
454
 
439
455
  <span class='ivar'>@loaded_paths</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
440
456
  <span class='id identifier rubyid_load_paths'>load_paths</span><span class='lparen'>(</span> <span class='id identifier rubyid_naether_jar'>naether_jar</span> <span class='rparen'>)</span>
@@ -607,17 +623,17 @@ and creating the internal Naether ClassLoader</p>
607
623
  <pre class="lines">
608
624
 
609
625
 
610
- 140
611
- 141
612
- 142
613
- 143
614
- 144
615
- 145
616
- 146
617
- 147</pre>
626
+ 148
627
+ 149
628
+ 150
629
+ 151
630
+ 152
631
+ 153
632
+ 154
633
+ 155</pre>
618
634
  </td>
619
635
  <td>
620
- <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 140</span>
636
+ <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 148</span>
621
637
 
622
638
  <span class='kw'>def</span> <span class='id identifier rubyid_convert_to_java_list'>convert_to_java_list</span><span class='lparen'>(</span> <span class='id identifier rubyid_ruby_array'>ruby_array</span> <span class='rparen'>)</span>
623
639
  <span class='id identifier rubyid_list'>list</span> <span class='op'>=</span> <span class='const'>Rjb</span><span class='op'>::</span><span class='id identifier rubyid_import'>import</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>java.util.ArrayList</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
@@ -704,18 +720,18 @@ and creating the internal Naether ClassLoader</p>
704
720
  <pre class="lines">
705
721
 
706
722
 
707
- 156
708
- 157
709
- 158
710
- 159
711
- 160
712
- 161
713
- 162
714
- 163
715
- 164</pre>
723
+ 164
724
+ 165
725
+ 166
726
+ 167
727
+ 168
728
+ 169
729
+ 170
730
+ 171
731
+ 172</pre>
716
732
  </td>
717
733
  <td>
718
- <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 156</span>
734
+ <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 164</span>
719
735
 
720
736
  <span class='kw'>def</span> <span class='id identifier rubyid_convert_to_ruby_array'>convert_to_ruby_array</span><span class='lparen'>(</span> <span class='id identifier rubyid_java_array'>java_array</span><span class='comma'>,</span> <span class='id identifier rubyid_to_string'>to_string</span> <span class='op'>=</span> <span class='kw'>false</span> <span class='rparen'>)</span>
721
737
  <span class='id identifier rubyid_ruby_array'>ruby_array</span> <span class='op'>=</span> <span class='id identifier rubyid_java_array'>java_array</span><span class='period'>.</span><span class='id identifier rubyid_toArray'>toArray</span><span class='lparen'>(</span><span class='rparen'>)</span>
@@ -803,14 +819,6 @@ and creating the internal Naether ClassLoader</p>
803
819
  <pre class="lines">
804
820
 
805
821
 
806
- 173
807
- 174
808
- 175
809
- 176
810
- 177
811
- 178
812
- 179
813
- 180
814
822
  181
815
823
  182
816
824
  183
@@ -832,10 +840,18 @@ and creating the internal Naether ClassLoader</p>
832
840
  199
833
841
  200
834
842
  201
835
- 202</pre>
843
+ 202
844
+ 203
845
+ 204
846
+ 205
847
+ 206
848
+ 207
849
+ 208
850
+ 209
851
+ 210</pre>
836
852
  </td>
837
853
  <td>
838
- <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 173</span>
854
+ <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 181</span>
839
855
 
840
856
  <span class='kw'>def</span> <span class='id identifier rubyid_convert_to_ruby_hash'>convert_to_ruby_hash</span><span class='lparen'>(</span> <span class='id identifier rubyid_java_hash'>java_hash</span><span class='comma'>,</span> <span class='id identifier rubyid_to_string'>to_string</span> <span class='op'>=</span> <span class='kw'>false</span> <span class='rparen'>)</span>
841
857
 
@@ -934,17 +950,17 @@ and creating the internal Naether ClassLoader</p>
934
950
  <pre class="lines">
935
951
 
936
952
 
937
- 43
938
- 44
939
- 45
940
- 46
941
- 47
942
- 48
943
- 49
944
- 50</pre>
953
+ 51
954
+ 52
955
+ 53
956
+ 54
957
+ 55
958
+ 56
959
+ 57
960
+ 58</pre>
945
961
  </td>
946
962
  <td>
947
- <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 43</span>
963
+ <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 51</span>
948
964
 
949
965
  <span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span> <span class='id identifier rubyid_target_class'>target_class</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span> <span class='rparen'>)</span>
950
966
  <span class='comment'>#@class_loader.newInstance(target_class, *args )
@@ -1059,14 +1075,6 @@ params one to one.</p>
1059
1075
  <pre class="lines">
1060
1076
 
1061
1077
 
1062
- 60
1063
- 61
1064
- 62
1065
- 63
1066
- 64
1067
- 65
1068
- 66
1069
- 67
1070
1078
  68
1071
1079
  69
1072
1080
  70
@@ -1086,10 +1094,18 @@ params one to one.</p>
1086
1094
  84
1087
1095
  85
1088
1096
  86
1089
- 87</pre>
1097
+ 87
1098
+ 88
1099
+ 89
1100
+ 90
1101
+ 91
1102
+ 92
1103
+ 93
1104
+ 94
1105
+ 95</pre>
1090
1106
  </td>
1091
1107
  <td>
1092
- <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 60</span>
1108
+ <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 68</span>
1093
1109
 
1094
1110
  <span class='kw'>def</span> <span class='id identifier rubyid_exec_static_method'>exec_static_method</span><span class='lparen'>(</span> <span class='id identifier rubyid_target_class'>target_class</span><span class='comma'>,</span> <span class='id identifier rubyid_target_method'>target_method</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='comma'>,</span> <span class='id identifier rubyid_types'>types</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
1095
1111
  <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Array</span>
@@ -1170,14 +1186,6 @@ params one to one.</p>
1170
1186
  <pre class="lines">
1171
1187
 
1172
1188
 
1173
- 94
1174
- 95
1175
- 96
1176
- 97
1177
- 98
1178
- 99
1179
- 100
1180
- 101
1181
1189
  102
1182
1190
  103
1183
1191
  104
@@ -1185,10 +1193,18 @@ params one to one.</p>
1185
1193
  106
1186
1194
  107
1187
1195
  108
1188
- 109</pre>
1196
+ 109
1197
+ 110
1198
+ 111
1199
+ 112
1200
+ 113
1201
+ 114
1202
+ 115
1203
+ 116
1204
+ 117</pre>
1189
1205
  </td>
1190
1206
  <td>
1191
- <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 94</span>
1207
+ <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 102</span>
1192
1208
 
1193
1209
  <span class='kw'>def</span> <span class='id identifier rubyid_internal_load_paths'>internal_load_paths</span><span class='lparen'>(</span><span class='id identifier rubyid_paths'>paths</span><span class='rparen'>)</span>
1194
1210
  <span class='id identifier rubyid_loadable_paths'>loadable_paths</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
@@ -1257,14 +1273,6 @@ params one to one.</p>
1257
1273
  <pre class="lines">
1258
1274
 
1259
1275
 
1260
- 116
1261
- 117
1262
- 118
1263
- 119
1264
- 120
1265
- 121
1266
- 122
1267
- 123
1268
1276
  124
1269
1277
  125
1270
1278
  126
@@ -1273,10 +1281,18 @@ params one to one.</p>
1273
1281
  129
1274
1282
  130
1275
1283
  131
1276
- 132</pre>
1284
+ 132
1285
+ 133
1286
+ 134
1287
+ 135
1288
+ 136
1289
+ 137
1290
+ 138
1291
+ 139
1292
+ 140</pre>
1277
1293
  </td>
1278
1294
  <td>
1279
- <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 116</span>
1295
+ <pre class="code"><span class="info file"># File 'lib/naether/java/ruby.rb', line 124</span>
1280
1296
 
1281
1297
  <span class='kw'>def</span> <span class='id identifier rubyid_load_paths'>load_paths</span><span class='lparen'>(</span><span class='id identifier rubyid_paths'>paths</span><span class='rparen'>)</span>
1282
1298
  <span class='id identifier rubyid_loadable_paths'>loadable_paths</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
@@ -1305,9 +1321,9 @@ params one to one.</p>
1305
1321
  </div>
1306
1322
 
1307
1323
  <div id="footer">
1308
- Generated on Fri Sep 27 17:57:01 2013 by
1324
+ Generated on Tue Oct 1 15:08:04 2013 by
1309
1325
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1310
- 0.8.2.1 (ruby-1.9.3).
1326
+ 0.8.7.2 (ruby-1.9.3).
1311
1327
  </div>
1312
1328
 
1313
1329
  </body>