naether 0.9.1-java → 0.9.2-java

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.1
1
+ 0.9.2
data/doc/Naether.html CHANGED
@@ -3156,7 +3156,7 @@ jar_path</p>
3156
3156
  </div>
3157
3157
 
3158
3158
  <div id="footer">
3159
- Generated on Mon Sep 17 21:48:46 2012 by
3159
+ Generated on Mon Sep 17 22:57:17 2012 by
3160
3160
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3161
3161
  0.8.2.1 (ruby-1.8.7).
3162
3162
  </div>
@@ -795,7 +795,7 @@
795
795
  </div>
796
796
 
797
797
  <div id="footer">
798
- Generated on Mon Sep 17 21:48:47 2012 by
798
+ Generated on Mon Sep 17 22:57:18 2012 by
799
799
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
800
800
  0.8.2.1 (ruby-1.8.7).
801
801
  </div>
@@ -486,7 +486,7 @@
486
486
  </div>
487
487
 
488
488
  <div id="footer">
489
- Generated on Mon Sep 17 21:48:47 2012 by
489
+ Generated on Mon Sep 17 22:57:18 2012 by
490
490
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
491
491
  0.8.2.1 (ruby-1.8.7).
492
492
  </div>
@@ -796,7 +796,7 @@
796
796
  </div>
797
797
 
798
798
  <div id="footer">
799
- Generated on Mon Sep 17 21:48:46 2012 by
799
+ Generated on Mon Sep 17 22:57:17 2012 by
800
800
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
801
801
  0.8.2.1 (ruby-1.8.7).
802
802
  </div>
@@ -927,7 +927,7 @@ and creating the internal Naether ClassLoader</p>
927
927
  </div>
928
928
 
929
929
  <div id="footer">
930
- Generated on Mon Sep 17 21:48:47 2012 by
930
+ Generated on Mon Sep 17 22:57:18 2012 by
931
931
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
932
932
  0.8.2.1 (ruby-1.8.7).
933
933
  </div>
@@ -932,7 +932,7 @@
932
932
  </div>
933
933
 
934
934
  <div id="footer">
935
- Generated on Mon Sep 17 21:48:47 2012 by
935
+ Generated on Mon Sep 17 22:57:18 2012 by
936
936
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
937
937
  0.8.2.1 (ruby-1.8.7).
938
938
  </div>
@@ -201,6 +201,30 @@
201
201
  <li class="public ">
202
202
  <span class="summary_signature">
203
203
 
204
+ <a href="#add_dependency-instance_method" title="#add_dependency (instance method)">- (Object) <strong>add_dependency</strong>(notation, scope = nil) </a>
205
+
206
+
207
+
208
+ </span>
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+ <span class="summary_desc"><div class='inline'>
219
+ <p>Add dependency by scope.</p>
220
+ </div></span>
221
+
222
+ </li>
223
+
224
+
225
+ <li class="public ">
226
+ <span class="summary_signature">
227
+
204
228
  <a href="#build_pom-instance_method" title="#build_pom (instance method)">- (String) <strong>build_pom</strong> </a>
205
229
 
206
230
 
@@ -639,7 +663,77 @@
639
663
 
640
664
 
641
665
  <div class="method_details first">
642
- <h3 class="signature first" id="build_pom-instance_method">
666
+ <h3 class="signature first" id="add_dependency-instance_method">
667
+
668
+ - (<tt>Object</tt>) <strong>add_dependency</strong>(notation, scope = nil)
669
+
670
+
671
+
672
+
673
+
674
+ </h3><div class="docstring">
675
+ <div class="discussion">
676
+
677
+ <p>Add dependency by scope</p>
678
+
679
+
680
+ </div>
681
+ </div>
682
+ <div class="tags">
683
+ <p class="tag_title">Parameters:</p>
684
+ <ul class="param">
685
+
686
+ <li>
687
+
688
+ <span class='name'>notation</span>
689
+
690
+
691
+ <span class='type'>(<tt>String</tt>)</span>
692
+
693
+
694
+
695
+ </li>
696
+
697
+ <li>
698
+
699
+ <span class='name'>scope</span>
700
+
701
+
702
+ <span class='type'>(<tt>String</tt>)</span>
703
+
704
+
705
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
706
+
707
+
708
+ </li>
709
+
710
+ </ul>
711
+
712
+
713
+ </div><table class="source_code">
714
+ <tr>
715
+ <td>
716
+ <pre class="lines">
717
+
718
+
719
+ 105
720
+ 106
721
+ 107</pre>
722
+ </td>
723
+ <td>
724
+ <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 105</span>
725
+
726
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_add_dependency identifier id'>add_dependency</span><span class='lparen token'>(</span> <span class='rubyid_notation identifier id'>notation</span><span class='comma token'>,</span> <span class='rubyid_scope identifier id'>scope</span> <span class='assign token'>=</span> <span class='rubyid_nil nil kw'>nil</span> <span class='rparen token'>)</span>
727
+ <span class='rubyid_@project ivar id'>@project</span><span class='dot token'>.</span><span class='rubyid_addDependency identifier id'>addDependency</span><span class='lparen token'>(</span> <span class='rubyid_notation identifier id'>notation</span><span class='comma token'>,</span> <span class='rubyid_scope identifier id'>scope</span> <span class='rparen token'>)</span>
728
+ <span class='rubyid_end end kw'>end</span>
729
+ </pre>
730
+ </td>
731
+ </tr>
732
+ </table>
733
+ </div>
734
+
735
+ <div class="method_details ">
736
+ <h3 class="signature " id="build_pom-instance_method">
643
737
 
644
738
  - (<tt>String</tt>) <strong>build_pom</strong>
645
739
 
@@ -682,12 +776,12 @@
682
776
  <pre class="lines">
683
777
 
684
778
 
685
- 130
686
- 131
687
- 132</pre>
779
+ 140
780
+ 141
781
+ 142</pre>
688
782
  </td>
689
783
  <td>
690
- <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 130</span>
784
+ <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 140</span>
691
785
 
692
786
  <span class='rubyid_def def kw'>def</span> <span class='rubyid_build_pom identifier id'>build_pom</span><span class='lparen token'>(</span><span class='rparen token'>)</span>
693
787
  <span class='rubyid_@project ivar id'>@project</span><span class='dot token'>.</span><span class='rubyid_toXml identifier id'>toXml</span><span class='lparen token'>(</span><span class='rparen token'>)</span>
@@ -853,12 +947,12 @@
853
947
  <pre class="lines">
854
948
 
855
949
 
856
- 103
857
- 104
858
- 105</pre>
950
+ 113
951
+ 114
952
+ 115</pre>
859
953
  </td>
860
954
  <td>
861
- <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 103</span>
955
+ <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 113</span>
862
956
 
863
957
  <span class='rubyid_def def kw'>def</span> <span class='rubyid_dependencies= identifier id'>dependencies=</span><span class='lparen token'>(</span><span class='rubyid_dependencies identifier id'>dependencies</span><span class='rparen token'>)</span>
864
958
  <span class='rubyid_@project ivar id'>@project</span><span class='dot token'>.</span><span class='rubyid_setDependencies identifier id'>setDependencies</span><span class='lparen token'>(</span> <span class='rubyid_dependencies identifier id'>dependencies</span> <span class='rparen token'>)</span>
@@ -895,13 +989,13 @@
895
989
  <pre class="lines">
896
990
 
897
991
 
898
- 122
899
- 123
900
- 124
901
- 125</pre>
992
+ 132
993
+ 133
994
+ 134
995
+ 135</pre>
902
996
  </td>
903
997
  <td>
904
- <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 122</span>
998
+ <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 132</span>
905
999
 
906
1000
  <span class='rubyid_def def kw'>def</span> <span class='rubyid_load_naether identifier id'>load_naether</span><span class='lparen token'>(</span> <span class='rubyid_naether identifier id'>naether</span> <span class='rparen token'>)</span>
907
1001
  <span class='rubyid_self self kw'>self</span><span class='dot token'>.</span><span class='rubyid_dependencies identifier id'>dependencies</span><span class='assign token'>=</span> <span class='rubyid_naether identifier id'>naether</span><span class='dot token'>.</span><span class='rubyid_resolver identifier id'>resolver</span><span class='dot token'>.</span><span class='rubyid_getDependencies identifier id'>getDependencies</span><span class='lparen token'>(</span><span class='rparen token'>)</span>
@@ -1023,12 +1117,12 @@
1023
1117
  <pre class="lines">
1024
1118
 
1025
1119
 
1026
- 110
1027
- 111
1028
- 112</pre>
1120
+ 120
1121
+ 121
1122
+ 122</pre>
1029
1123
  </td>
1030
1124
  <td>
1031
- <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 110</span>
1125
+ <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 120</span>
1032
1126
 
1033
1127
  <span class='rubyid_def def kw'>def</span> <span class='rubyid_repositories= identifier id'>repositories=</span><span class='lparen token'>(</span> <span class='rubyid_repositories identifier id'>repositories</span> <span class='rparen token'>)</span>
1034
1128
  <span class='rubyid_@project ivar id'>@project</span><span class='dot token'>.</span><span class='rubyid_setRepositories identifier id'>setRepositories</span><span class='lparen token'>(</span> <span class='rubyid_repositories identifier id'>repositories</span> <span class='rparen token'>)</span>
@@ -1067,12 +1161,12 @@
1067
1161
  <pre class="lines">
1068
1162
 
1069
1163
 
1070
- 117
1071
- 118
1072
- 119</pre>
1164
+ 127
1165
+ 128
1166
+ 129</pre>
1073
1167
  </td>
1074
1168
  <td>
1075
- <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 117</span>
1169
+ <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 127</span>
1076
1170
 
1077
1171
  <span class='rubyid_def def kw'>def</span> <span class='rubyid_version identifier id'>version</span><span class='lparen token'>(</span><span class='rparen token'>)</span>
1078
1172
  <span class='rubyid_return return kw'>return</span> <span class='rubyid_@project ivar id'>@project</span><span class='dot token'>.</span><span class='rubyid_getVersion identifier id'>getVersion</span><span class='lparen token'>(</span><span class='rparen token'>)</span>
@@ -1124,12 +1218,12 @@
1124
1218
  <pre class="lines">
1125
1219
 
1126
1220
 
1127
- 138
1128
- 139
1129
- 140</pre>
1221
+ 148
1222
+ 149
1223
+ 150</pre>
1130
1224
  </td>
1131
1225
  <td>
1132
- <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 138</span>
1226
+ <pre class="code"><span class="info file"># File 'lib/naether/maven.rb', line 148</span>
1133
1227
 
1134
1228
  <span class='rubyid_def def kw'>def</span> <span class='rubyid_write_pom identifier id'>write_pom</span><span class='lparen token'>(</span> <span class='rubyid_file_path identifier id'>file_path</span> <span class='rparen token'>)</span>
1135
1229
  <span class='rubyid_@project ivar id'>@project</span><span class='dot token'>.</span><span class='rubyid_writePom identifier id'>writePom</span><span class='lparen token'>(</span> <span class='rubyid_file_path identifier id'>file_path</span> <span class='rparen token'>)</span>
@@ -1145,7 +1239,7 @@
1145
1239
  </div>
1146
1240
 
1147
1241
  <div id="footer">
1148
- Generated on Mon Sep 17 21:48:47 2012 by
1242
+ Generated on Mon Sep 17 22:57:17 2012 by
1149
1243
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1150
1244
  0.8.2.1 (ruby-1.8.7).
1151
1245
  </div>
data/doc/_index.html CHANGED
@@ -183,7 +183,7 @@
183
183
  </div>
184
184
 
185
185
  <div id="footer">
186
- Generated on Mon Sep 17 21:48:43 2012 by
186
+ Generated on Mon Sep 17 22:57:14 2012 by
187
187
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
188
188
  0.8.2.1 (ruby-1.8.7).
189
189
  </div>
data/doc/file.README.html CHANGED
@@ -186,7 +186,7 @@ the License.</p>
186
186
  </div></div>
187
187
 
188
188
  <div id="footer">
189
- Generated on Mon Sep 17 21:48:44 2012 by
189
+ Generated on Mon Sep 17 22:57:14 2012 by
190
190
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
191
191
  0.8.2.1 (ruby-1.8.7).
192
192
  </div>
data/doc/index.html CHANGED
@@ -186,7 +186,7 @@ the License.</p>
186
186
  </div></div>
187
187
 
188
188
  <div id="footer">
189
- Generated on Mon Sep 17 21:48:44 2012 by
189
+ Generated on Mon Sep 17 22:57:14 2012 by
190
190
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
191
191
  0.8.2.1 (ruby-1.8.7).
192
192
  </div>
data/doc/method_list.html CHANGED
@@ -79,6 +79,14 @@
79
79
 
80
80
 
81
81
  <li class="r1 ">
82
+ <span class='object_link'><a href="Naether/Maven.html#add_dependency-instance_method" title="Naether::Maven#add_dependency (method)">#add_dependency</a></span>
83
+
84
+ <small>Naether::Maven</small>
85
+
86
+ </li>
87
+
88
+
89
+ <li class="r2 ">
82
90
  <span class='object_link'><a href="Naether.html#add_notation_dependency-instance_method" title="Naether#add_notation_dependency (method)">#add_notation_dependency</a></span>
83
91
 
84
92
  <small>Naether</small>
@@ -86,7 +94,7 @@
86
94
  </li>
87
95
 
88
96
 
89
- <li class="r2 ">
97
+ <li class="r1 ">
90
98
  <span class='object_link'><a href="Naether.html#add_pom_dependencies-instance_method" title="Naether#add_pom_dependencies (method)">#add_pom_dependencies</a></span>
91
99
 
92
100
  <small>Naether</small>
@@ -94,7 +102,7 @@
94
102
  </li>
95
103
 
96
104
 
97
- <li class="r1 ">
105
+ <li class="r2 ">
98
106
  <span class='object_link'><a href="Naether.html#add_remote_repository-instance_method" title="Naether#add_remote_repository (method)">#add_remote_repository</a></span>
99
107
 
100
108
  <small>Naether</small>
@@ -102,7 +110,7 @@
102
110
  </li>
103
111
 
104
112
 
105
- <li class="r2 ">
113
+ <li class="r1 ">
106
114
  <span class='object_link'><a href="Naether.html#bootstrap_dependencies-class_method" title="Naether.bootstrap_dependencies (method)">bootstrap_dependencies</a></span>
107
115
 
108
116
  <small>Naether</small>
@@ -110,7 +118,7 @@
110
118
  </li>
111
119
 
112
120
 
113
- <li class="r1 ">
121
+ <li class="r2 ">
114
122
  <span class='object_link'><a href="Naether/Bootstrap.html#bootstrap_local_repo-class_method" title="Naether::Bootstrap.bootstrap_local_repo (method)">bootstrap_local_repo</a></span>
115
123
 
116
124
  <small>Naether::Bootstrap</small>
@@ -118,7 +126,7 @@
118
126
  </li>
119
127
 
120
128
 
121
- <li class="r2 ">
129
+ <li class="r1 ">
122
130
  <span class='object_link'><a href="Naether.html#build_artifacts-instance_method" title="Naether#build_artifacts (method)">#build_artifacts</a></span>
123
131
 
124
132
  <small>Naether</small>
@@ -126,7 +134,7 @@
126
134
  </li>
127
135
 
128
136
 
129
- <li class="r1 ">
137
+ <li class="r2 ">
130
138
  <span class='object_link'><a href="Naether.html#build_artifacts%3D-instance_method" title="Naether#build_artifacts= (method)">#build_artifacts=</a></span>
131
139
 
132
140
  <small>Naether</small>
@@ -134,7 +142,7 @@
134
142
  </li>
135
143
 
136
144
 
137
- <li class="r2 ">
145
+ <li class="r1 ">
138
146
  <span class='object_link'><a href="Naether/Maven.html#build_pom-instance_method" title="Naether::Maven#build_pom (method)">#build_pom</a></span>
139
147
 
140
148
  <small>Naether::Maven</small>
@@ -142,7 +150,7 @@
142
150
  </li>
143
151
 
144
152
 
145
- <li class="r1 ">
153
+ <li class="r2 ">
146
154
  <span class='object_link'><a href="Naether/Bootstrap.html#check_local_repo_for_deps-class_method" title="Naether::Bootstrap.check_local_repo_for_deps (method)">check_local_repo_for_deps</a></span>
147
155
 
148
156
  <small>Naether::Bootstrap</small>
@@ -150,7 +158,7 @@
150
158
  </li>
151
159
 
152
160
 
153
- <li class="r2 ">
161
+ <li class="r1 ">
154
162
  <span class='object_link'><a href="Naether/Java/Ruby.html#class_loader-instance_method" title="Naether::Java::Ruby#class_loader (method)">#class_loader</a></span>
155
163
 
156
164
  <small>Naether::Java::Ruby</small>
@@ -158,7 +166,7 @@
158
166
  </li>
159
167
 
160
168
 
161
- <li class="r1 ">
169
+ <li class="r2 ">
162
170
  <span class='object_link'><a href="Naether/Java/JRuby.html#class_loader-instance_method" title="Naether::Java::JRuby#class_loader (method)">#class_loader</a></span>
163
171
 
164
172
  <small>Naether::Java::JRuby</small>
@@ -166,7 +174,7 @@
166
174
  </li>
167
175
 
168
176
 
169
- <li class="r2 ">
177
+ <li class="r1 ">
170
178
  <span class='object_link'><a href="Naether.html#clear_remote_repositories-instance_method" title="Naether#clear_remote_repositories (method)">#clear_remote_repositories</a></span>
171
179
 
172
180
  <small>Naether</small>
@@ -174,7 +182,7 @@
174
182
  </li>
175
183
 
176
184
 
177
- <li class="r1 ">
185
+ <li class="r2 ">
178
186
  <span class='object_link'><a href="Naether/Java.html#convert_to_java_list-class_method" title="Naether::Java.convert_to_java_list (method)">convert_to_java_list</a></span>
179
187
 
180
188
  <small>Naether::Java</small>
@@ -182,7 +190,7 @@
182
190
  </li>
183
191
 
184
192
 
185
- <li class="r2 ">
193
+ <li class="r1 ">
186
194
  <span class='object_link'><a href="Naether/Java/Ruby.html#convert_to_java_list-instance_method" title="Naether::Java::Ruby#convert_to_java_list (method)">#convert_to_java_list</a></span>
187
195
 
188
196
  <small>Naether::Java::Ruby</small>
@@ -190,7 +198,7 @@
190
198
  </li>
191
199
 
192
200
 
193
- <li class="r1 ">
201
+ <li class="r2 ">
194
202
  <span class='object_link'><a href="Naether/Java/JRuby.html#convert_to_java_list-instance_method" title="Naether::Java::JRuby#convert_to_java_list (method)">#convert_to_java_list</a></span>
195
203
 
196
204
  <small>Naether::Java::JRuby</small>
@@ -198,7 +206,7 @@
198
206
  </li>
199
207
 
200
208
 
201
- <li class="r2 ">
209
+ <li class="r1 ">
202
210
  <span class='object_link'><a href="Naether/Java.html#convert_to_ruby_array-class_method" title="Naether::Java.convert_to_ruby_array (method)">convert_to_ruby_array</a></span>
203
211
 
204
212
  <small>Naether::Java</small>
@@ -206,7 +214,7 @@
206
214
  </li>
207
215
 
208
216
 
209
- <li class="r1 ">
217
+ <li class="r2 ">
210
218
  <span class='object_link'><a href="Naether/Java/Ruby.html#convert_to_ruby_array-instance_method" title="Naether::Java::Ruby#convert_to_ruby_array (method)">#convert_to_ruby_array</a></span>
211
219
 
212
220
  <small>Naether::Java::Ruby</small>
@@ -214,7 +222,7 @@
214
222
  </li>
215
223
 
216
224
 
217
- <li class="r2 ">
225
+ <li class="r1 ">
218
226
  <span class='object_link'><a href="Naether/Java/JRuby.html#convert_to_ruby_array-instance_method" title="Naether::Java::JRuby#convert_to_ruby_array (method)">#convert_to_ruby_array</a></span>
219
227
 
220
228
  <small>Naether::Java::JRuby</small>
@@ -222,7 +230,7 @@
222
230
  </li>
223
231
 
224
232
 
225
- <li class="r1 ">
233
+ <li class="r2 ">
226
234
  <span class='object_link'><a href="Naether/Java.html#convert_to_ruby_hash-class_method" title="Naether::Java.convert_to_ruby_hash (method)">convert_to_ruby_hash</a></span>
227
235
 
228
236
  <small>Naether::Java</small>
@@ -230,7 +238,7 @@
230
238
  </li>
231
239
 
232
240
 
233
- <li class="r2 ">
241
+ <li class="r1 ">
234
242
  <span class='object_link'><a href="Naether/Java/Ruby.html#convert_to_ruby_hash-instance_method" title="Naether::Java::Ruby#convert_to_ruby_hash (method)">#convert_to_ruby_hash</a></span>
235
243
 
236
244
  <small>Naether::Java::Ruby</small>
@@ -238,7 +246,7 @@
238
246
  </li>
239
247
 
240
248
 
241
- <li class="r1 ">
249
+ <li class="r2 ">
242
250
  <span class='object_link'><a href="Naether/Java/JRuby.html#convert_to_ruby_hash-instance_method" title="Naether::Java::JRuby#convert_to_ruby_hash (method)">#convert_to_ruby_hash</a></span>
243
251
 
244
252
  <small>Naether::Java::JRuby</small>
@@ -246,7 +254,7 @@
246
254
  </li>
247
255
 
248
256
 
249
- <li class="r2 ">
257
+ <li class="r1 ">
250
258
  <span class='object_link'><a href="Naether/Java.html#create-class_method" title="Naether::Java.create (method)">create</a></span>
251
259
 
252
260
  <small>Naether::Java</small>
@@ -254,7 +262,7 @@
254
262
  </li>
255
263
 
256
264
 
257
- <li class="r1 ">
265
+ <li class="r2 ">
258
266
  <span class='object_link'><a href="Naether/Java/Ruby.html#create-instance_method" title="Naether::Java::Ruby#create (method)">#create</a></span>
259
267
 
260
268
  <small>Naether::Java::Ruby</small>
@@ -262,7 +270,7 @@
262
270
  </li>
263
271
 
264
272
 
265
- <li class="r2 ">
273
+ <li class="r1 ">
266
274
  <span class='object_link'><a href="Naether/Java/JRuby.html#create-instance_method" title="Naether::Java::JRuby#create (method)">#create</a></span>
267
275
 
268
276
  <small>Naether::Java::JRuby</small>
@@ -270,7 +278,7 @@
270
278
  </li>
271
279
 
272
280
 
273
- <li class="r1 ">
281
+ <li class="r2 ">
274
282
  <span class='object_link'><a href="Naether.html#create_from_jars-class_method" title="Naether.create_from_jars (method)">create_from_jars</a></span>
275
283
 
276
284
  <small>Naether</small>
@@ -278,7 +286,7 @@
278
286
  </li>
279
287
 
280
288
 
281
- <li class="r2 ">
289
+ <li class="r1 ">
282
290
  <span class='object_link'><a href="Naether/Maven.html#create_from_notation-class_method" title="Naether::Maven.create_from_notation (method)">create_from_notation</a></span>
283
291
 
284
292
  <small>Naether::Maven</small>
@@ -286,7 +294,7 @@
286
294
  </li>
287
295
 
288
296
 
289
- <li class="r1 ">
297
+ <li class="r2 ">
290
298
  <span class='object_link'><a href="Naether/Maven.html#create_from_pom-class_method" title="Naether::Maven.create_from_pom (method)">create_from_pom</a></span>
291
299
 
292
300
  <small>Naether::Maven</small>
@@ -294,7 +302,7 @@
294
302
  </li>
295
303
 
296
304
 
297
- <li class="r2 ">
305
+ <li class="r1 ">
298
306
  <span class='object_link'><a href="Naether/Bootstrap.html#default_local_repo-class_method" title="Naether::Bootstrap.default_local_repo (method)">default_local_repo</a></span>
299
307
 
300
308
  <small>Naether::Bootstrap</small>
@@ -302,7 +310,7 @@
302
310
  </li>
303
311
 
304
312
 
305
- <li class="r1 ">
313
+ <li class="r2 ">
306
314
  <span class='object_link'><a href="Naether.html#dependencies-instance_method" title="Naether#dependencies (method)">#dependencies</a></span>
307
315
 
308
316
  <small>Naether</small>
@@ -310,7 +318,7 @@
310
318
  </li>
311
319
 
312
320
 
313
- <li class="r2 ">
321
+ <li class="r1 ">
314
322
  <span class='object_link'><a href="Naether/Maven.html#dependencies-instance_method" title="Naether::Maven#dependencies (method)">#dependencies</a></span>
315
323
 
316
324
  <small>Naether::Maven</small>
@@ -318,7 +326,7 @@
318
326
  </li>
319
327
 
320
328
 
321
- <li class="r1 ">
329
+ <li class="r2 ">
322
330
  <span class='object_link'><a href="Naether/Bootstrap.html#dependencies-class_method" title="Naether::Bootstrap.dependencies (method)">dependencies</a></span>
323
331
 
324
332
  <small>Naether::Bootstrap</small>
@@ -326,7 +334,7 @@
326
334
  </li>
327
335
 
328
336
 
329
- <li class="r2 ">
337
+ <li class="r1 ">
330
338
  <span class='object_link'><a href="Naether.html#dependencies%3D-instance_method" title="Naether#dependencies= (method)">#dependencies=</a></span>
331
339
 
332
340
  <small>Naether</small>
@@ -334,7 +342,7 @@
334
342
  </li>
335
343
 
336
344
 
337
- <li class="r1 ">
345
+ <li class="r2 ">
338
346
  <span class='object_link'><a href="Naether/Maven.html#dependencies%3D-instance_method" title="Naether::Maven#dependencies= (method)">#dependencies=</a></span>
339
347
 
340
348
  <small>Naether::Maven</small>
@@ -342,7 +350,7 @@
342
350
  </li>
343
351
 
344
352
 
345
- <li class="r2 ">
353
+ <li class="r1 ">
346
354
  <span class='object_link'><a href="Naether.html#dependencies_classpath-instance_method" title="Naether#dependencies_classpath (method)">#dependencies_classpath</a></span>
347
355
 
348
356
  <small>Naether</small>
@@ -350,7 +358,7 @@
350
358
  </li>
351
359
 
352
360
 
353
- <li class="r1 ">
361
+ <li class="r2 ">
354
362
  <span class='object_link'><a href="Naether.html#dependencies_notation-instance_method" title="Naether#dependencies_notation (method)">#dependencies_notation</a></span>
355
363
 
356
364
  <small>Naether</small>
@@ -358,7 +366,7 @@
358
366
  </li>
359
367
 
360
368
 
361
- <li class="r2 ">
369
+ <li class="r1 ">
362
370
  <span class='object_link'><a href="Naether.html#dependencies_path-instance_method" title="Naether#dependencies_path (method)">#dependencies_path</a></span>
363
371
 
364
372
  <small>Naether</small>
@@ -366,7 +374,7 @@
366
374
  </li>
367
375
 
368
376
 
369
- <li class="r1 ">
377
+ <li class="r2 ">
370
378
  <span class='object_link'><a href="Naether.html#deploy_artifact-instance_method" title="Naether#deploy_artifact (method)">#deploy_artifact</a></span>
371
379
 
372
380
  <small>Naether</small>
@@ -374,7 +382,7 @@
374
382
  </li>
375
383
 
376
384
 
377
- <li class="r2 ">
385
+ <li class="r1 ">
378
386
  <span class='object_link'><a href="Naether.html#download_artifacts-instance_method" title="Naether#download_artifacts (method)">#download_artifacts</a></span>
379
387
 
380
388
  <small>Naether</small>
@@ -382,7 +390,7 @@
382
390
  </li>
383
391
 
384
392
 
385
- <li class="r1 ">
393
+ <li class="r2 ">
386
394
  <span class='object_link'><a href="Naether/Bootstrap.html#download_dependencies-class_method" title="Naether::Bootstrap.download_dependencies (method)">download_dependencies</a></span>
387
395
 
388
396
  <small>Naether::Bootstrap</small>
@@ -390,7 +398,7 @@
390
398
  </li>
391
399
 
392
400
 
393
- <li class="r2 ">
401
+ <li class="r1 ">
394
402
  <span class='object_link'><a href="Naether/Java.html#exec_static_method-class_method" title="Naether::Java.exec_static_method (method)">exec_static_method</a></span>
395
403
 
396
404
  <small>Naether::Java</small>
@@ -398,7 +406,7 @@
398
406
  </li>
399
407
 
400
408
 
401
- <li class="r1 ">
409
+ <li class="r2 ">
402
410
  <span class='object_link'><a href="Naether/Java/Ruby.html#exec_static_method-instance_method" title="Naether::Java::Ruby#exec_static_method (method)">#exec_static_method</a></span>
403
411
 
404
412
  <small>Naether::Java::Ruby</small>
@@ -406,7 +414,7 @@
406
414
  </li>
407
415
 
408
416
 
409
- <li class="r2 ">
417
+ <li class="r1 ">
410
418
  <span class='object_link'><a href="Naether/Java/JRuby.html#exec_static_method-instance_method" title="Naether::Java::JRuby#exec_static_method (method)">#exec_static_method</a></span>
411
419
 
412
420
  <small>Naether::Java::JRuby</small>
@@ -414,7 +422,7 @@
414
422
  </li>
415
423
 
416
424
 
417
- <li class="r1 ">
425
+ <li class="r2 ">
418
426
  <span class='object_link'><a href="Naether.html#initialize-instance_method" title="Naether#initialize (method)">#initialize</a></span>
419
427
 
420
428
  <small>Naether</small>
@@ -422,7 +430,7 @@
422
430
  </li>
423
431
 
424
432
 
425
- <li class="r2 ">
433
+ <li class="r1 ">
426
434
  <span class='object_link'><a href="Naether/Java.html#initialize-instance_method" title="Naether::Java#initialize (method)">#initialize</a></span>
427
435
 
428
436
  <small>Naether::Java</small>
@@ -430,7 +438,7 @@
430
438
  </li>
431
439
 
432
440
 
433
- <li class="r1 ">
441
+ <li class="r2 ">
434
442
  <span class='object_link'><a href="Naether/Maven.html#initialize-instance_method" title="Naether::Maven#initialize (method)">#initialize</a></span>
435
443
 
436
444
  <small>Naether::Maven</small>
@@ -438,7 +446,7 @@
438
446
  </li>
439
447
 
440
448
 
441
- <li class="r2 ">
449
+ <li class="r1 ">
442
450
  <span class='object_link'><a href="Naether/Java/Ruby.html#initialize-instance_method" title="Naether::Java::Ruby#initialize (method)">#initialize</a></span>
443
451
 
444
452
  <small>Naether::Java::Ruby</small>
@@ -446,7 +454,7 @@
446
454
  </li>
447
455
 
448
456
 
449
- <li class="r1 ">
457
+ <li class="r2 ">
450
458
  <span class='object_link'><a href="Naether/Java/JRuby.html#initialize-instance_method" title="Naether::Java::JRuby#initialize (method)">#initialize</a></span>
451
459
 
452
460
  <small>Naether::Java::JRuby</small>
@@ -454,7 +462,7 @@
454
462
  </li>
455
463
 
456
464
 
457
- <li class="r2 ">
465
+ <li class="r1 ">
458
466
  <span class='object_link'><a href="Naether/Configurator.html#initialize-instance_method" title="Naether::Configurator#initialize (method)">#initialize</a></span>
459
467
 
460
468
  <small>Naether::Configurator</small>
@@ -462,7 +470,7 @@
462
470
  </li>
463
471
 
464
472
 
465
- <li class="r1 ">
473
+ <li class="r2 ">
466
474
  <span class='object_link'><a href="Naether.html#install-instance_method" title="Naether#install (method)">#install</a></span>
467
475
 
468
476
  <small>Naether</small>
@@ -470,7 +478,7 @@
470
478
  </li>
471
479
 
472
480
 
473
- <li class="r2 ">
481
+ <li class="r1 ">
474
482
  <span class='object_link'><a href="Naether/Bootstrap.html#install_dependencies_to_local_repo-class_method" title="Naether::Bootstrap.install_dependencies_to_local_repo (method)">install_dependencies_to_local_repo</a></span>
475
483
 
476
484
  <small>Naether::Bootstrap</small>
@@ -478,7 +486,7 @@
478
486
  </li>
479
487
 
480
488
 
481
- <li class="r1 ">
489
+ <li class="r2 ">
482
490
  <span class='object_link'><a href="Naether/Java.html#internal_load_paths-class_method" title="Naether::Java.internal_load_paths (method)">internal_load_paths</a></span>
483
491
 
484
492
  <small>Naether::Java</small>
@@ -486,7 +494,7 @@
486
494
  </li>
487
495
 
488
496
 
489
- <li class="r2 ">
497
+ <li class="r1 ">
490
498
  <span class='object_link'><a href="Naether/Java/Ruby.html#internal_load_paths-instance_method" title="Naether::Java::Ruby#internal_load_paths (method)">#internal_load_paths</a></span>
491
499
 
492
500
  <small>Naether::Java::Ruby</small>
@@ -494,7 +502,7 @@
494
502
  </li>
495
503
 
496
504
 
497
- <li class="r1 ">
505
+ <li class="r2 ">
498
506
  <span class='object_link'><a href="Naether/Java/JRuby.html#internal_load_paths-instance_method" title="Naether::Java::JRuby#internal_load_paths (method)">#internal_load_paths</a></span>
499
507
 
500
508
  <small>Naether::Java::JRuby</small>
@@ -502,7 +510,7 @@
502
510
  </li>
503
511
 
504
512
 
505
- <li class="r2 ">
513
+ <li class="r1 ">
506
514
  <span class='object_link'><a href="Naether/Java.html#java-instance_method" title="Naether::Java#java (method)">#java</a></span>
507
515
 
508
516
  <small>Naether::Java</small>
@@ -510,7 +518,7 @@
510
518
  </li>
511
519
 
512
520
 
513
- <li class="r1 ">
521
+ <li class="r2 ">
514
522
  <span class='object_link'><a href="Naether.html#load_dependencies_to_classpath-instance_method" title="Naether#load_dependencies_to_classpath (method)">#load_dependencies_to_classpath</a></span>
515
523
 
516
524
  <small>Naether</small>
@@ -518,7 +526,7 @@
518
526
  </li>
519
527
 
520
528
 
521
- <li class="r2 ">
529
+ <li class="r1 ">
522
530
  <span class='object_link'><a href="Naether/Maven.html#load_naether-instance_method" title="Naether::Maven#load_naether (method)">#load_naether</a></span>
523
531
 
524
532
  <small>Naether::Maven</small>
@@ -526,7 +534,7 @@
526
534
  </li>
527
535
 
528
536
 
529
- <li class="r1 ">
537
+ <li class="r2 ">
530
538
  <span class='object_link'><a href="Naether/Java.html#load_paths-class_method" title="Naether::Java.load_paths (method)">load_paths</a></span>
531
539
 
532
540
  <small>Naether::Java</small>
@@ -534,7 +542,7 @@
534
542
  </li>
535
543
 
536
544
 
537
- <li class="r2 ">
545
+ <li class="r1 ">
538
546
  <span class='object_link'><a href="Naether/Java/Ruby.html#load_paths-instance_method" title="Naether::Java::Ruby#load_paths (method)">#load_paths</a></span>
539
547
 
540
548
  <small>Naether::Java::Ruby</small>
@@ -542,7 +550,7 @@
542
550
  </li>
543
551
 
544
552
 
545
- <li class="r1 ">
553
+ <li class="r2 ">
546
554
  <span class='object_link'><a href="Naether/Java/JRuby.html#load_paths-instance_method" title="Naether::Java::JRuby#load_paths (method)">#load_paths</a></span>
547
555
 
548
556
  <small>Naether::Java::JRuby</small>
@@ -550,7 +558,7 @@
550
558
  </li>
551
559
 
552
560
 
553
- <li class="r2 ">
561
+ <li class="r1 ">
554
562
  <span class='object_link'><a href="Naether/Java.html#loaded_paths-class_method" title="Naether::Java.loaded_paths (method)">loaded_paths</a></span>
555
563
 
556
564
  <small>Naether::Java</small>
@@ -558,7 +566,7 @@
558
566
  </li>
559
567
 
560
568
 
561
- <li class="r1 ">
569
+ <li class="r2 ">
562
570
  <span class='object_link'><a href="Naether/Java/Ruby.html#loaded_paths-instance_method" title="Naether::Java::Ruby#loaded_paths (method)">#loaded_paths</a></span>
563
571
 
564
572
  <small>Naether::Java::Ruby</small>
@@ -566,7 +574,7 @@
566
574
  </li>
567
575
 
568
576
 
569
- <li class="r2 ">
577
+ <li class="r1 ">
570
578
  <span class='object_link'><a href="Naether/Java/JRuby.html#loaded_paths-instance_method" title="Naether::Java::JRuby#loaded_paths (method)">#loaded_paths</a></span>
571
579
 
572
580
  <small>Naether::Java::JRuby</small>
@@ -574,7 +582,7 @@
574
582
  </li>
575
583
 
576
584
 
577
- <li class="r1 ">
585
+ <li class="r2 ">
578
586
  <span class='object_link'><a href="Naether.html#local_repo_path-instance_method" title="Naether#local_repo_path (method)">#local_repo_path</a></span>
579
587
 
580
588
  <small>Naether</small>
@@ -582,7 +590,7 @@
582
590
  </li>
583
591
 
584
592
 
585
- <li class="r2 ">
593
+ <li class="r1 ">
586
594
  <span class='object_link'><a href="Naether.html#local_repo_path%3D-instance_method" title="Naether#local_repo_path= (method)">#local_repo_path=</a></span>
587
595
 
588
596
  <small>Naether</small>
@@ -590,7 +598,7 @@
590
598
  </li>
591
599
 
592
600
 
593
- <li class="r1 ">
601
+ <li class="r2 ">
594
602
  <span class='object_link'><a href="Naether/Configurator.html#method_missing-instance_method" title="Naether::Configurator#method_missing (method)">#method_missing</a></span>
595
603
 
596
604
  <small>Naether::Configurator</small>
@@ -598,7 +606,7 @@
598
606
  </li>
599
607
 
600
608
 
601
- <li class="r2 ">
609
+ <li class="r1 ">
602
610
  <span class='object_link'><a href="Naether/Maven.html#notation%3D-instance_method" title="Naether::Maven#notation= (method)">#notation=</a></span>
603
611
 
604
612
  <small>Naether::Maven</small>
@@ -606,7 +614,7 @@
606
614
  </li>
607
615
 
608
616
 
609
- <li class="r1 ">
617
+ <li class="r2 ">
610
618
  <span class='object_link'><a href="Naether.html#platform-class_method" title="Naether.platform (method)">platform</a></span>
611
619
 
612
620
  <small>Naether</small>
@@ -614,7 +622,7 @@
614
622
  </li>
615
623
 
616
624
 
617
- <li class="r2 ">
625
+ <li class="r1 ">
618
626
  <span class='object_link'><a href="Naether.html#remote_repositories-instance_method" title="Naether#remote_repositories (method)">#remote_repositories</a></span>
619
627
 
620
628
  <small>Naether</small>
@@ -622,7 +630,7 @@
622
630
  </li>
623
631
 
624
632
 
625
- <li class="r1 ">
633
+ <li class="r2 ">
626
634
  <span class='object_link'><a href="Naether.html#remote_repository_urls-instance_method" title="Naether#remote_repository_urls (method)">#remote_repository_urls</a></span>
627
635
 
628
636
  <small>Naether</small>
@@ -630,7 +638,7 @@
630
638
  </li>
631
639
 
632
640
 
633
- <li class="r2 ">
641
+ <li class="r1 ">
634
642
  <span class='object_link'><a href="Naether/Maven.html#repositories%3D-instance_method" title="Naether::Maven#repositories= (method)">#repositories=</a></span>
635
643
 
636
644
  <small>Naether::Maven</small>
@@ -638,7 +646,7 @@
638
646
  </li>
639
647
 
640
648
 
641
- <li class="r1 ">
649
+ <li class="r2 ">
642
650
  <span class='object_link'><a href="Naether.html#resolve_dependencies-instance_method" title="Naether#resolve_dependencies (method)">#resolve_dependencies</a></span>
643
651
 
644
652
  <small>Naether</small>
@@ -646,7 +654,7 @@
646
654
  </li>
647
655
 
648
656
 
649
- <li class="r2 ">
657
+ <li class="r1 ">
650
658
  <span class='object_link'><a href="Naether.html#resolver-instance_method" title="Naether#resolver (method)">#resolver</a></span>
651
659
 
652
660
  <small>Naether</small>
@@ -654,7 +662,7 @@
654
662
  </li>
655
663
 
656
664
 
657
- <li class="r1 ">
665
+ <li class="r2 ">
658
666
  <span class='object_link'><a href="Naether.html#set_log_level-instance_method" title="Naether#set_log_level (method)">#set_log_level</a></span>
659
667
 
660
668
  <small>Naether</small>
@@ -662,7 +670,7 @@
662
670
  </li>
663
671
 
664
672
 
665
- <li class="r2 ">
673
+ <li class="r1 ">
666
674
  <span class='object_link'><a href="Naether.html#to_local_paths-instance_method" title="Naether#to_local_paths (method)">#to_local_paths</a></span>
667
675
 
668
676
  <small>Naether</small>
@@ -670,7 +678,7 @@
670
678
  </li>
671
679
 
672
680
 
673
- <li class="r1 ">
681
+ <li class="r2 ">
674
682
  <span class='object_link'><a href="Naether/Configurator.html#update%21-instance_method" title="Naether::Configurator#update! (method)">#update!</a></span>
675
683
 
676
684
  <small>Naether::Configurator</small>
@@ -678,7 +686,7 @@
678
686
  </li>
679
687
 
680
688
 
681
- <li class="r2 ">
689
+ <li class="r1 ">
682
690
  <span class='object_link'><a href="Naether/Maven.html#version-instance_method" title="Naether::Maven#version (method)">#version</a></span>
683
691
 
684
692
  <small>Naether::Maven</small>
@@ -686,7 +694,7 @@
686
694
  </li>
687
695
 
688
696
 
689
- <li class="r1 ">
697
+ <li class="r2 ">
690
698
  <span class='object_link'><a href="Naether/Bootstrap.html#write_dependencies-class_method" title="Naether::Bootstrap.write_dependencies (method)">write_dependencies</a></span>
691
699
 
692
700
  <small>Naether::Bootstrap</small>
@@ -694,7 +702,7 @@
694
702
  </li>
695
703
 
696
704
 
697
- <li class="r2 ">
705
+ <li class="r1 ">
698
706
  <span class='object_link'><a href="Naether/Maven.html#write_pom-instance_method" title="Naether::Maven#write_pom (method)">#write_pom</a></span>
699
707
 
700
708
  <small>Naether::Maven</small>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Mon Sep 17 21:48:44 2012 by
106
+ Generated on Mon Sep 17 22:57:14 2012 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.2.1 (ruby-1.8.7).
109
109
  </div>
data/lib/naether/maven.rb CHANGED
@@ -97,6 +97,16 @@ class Naether
97
97
  Naether::Java.convert_to_ruby_array( deps, true )
98
98
  end
99
99
 
100
+ # Add dependency by scope
101
+ #
102
+ # @param [String] notation
103
+ # @param [String] scope
104
+ #
105
+ def add_dependency( notation, scope = nil )
106
+ @project.addDependency( notation, scope )
107
+ end
108
+
109
+
100
110
  # Set dependencies
101
111
  #
102
112
  # @param [Array] dependencies
data/naether.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "naether"
8
- s.version = "0.9.1"
8
+ s.version = "0.9.2"
9
9
  s.platform = "java"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
@@ -52,7 +52,7 @@ Gem::Specification.new do |s|
52
52
  "lib/naether/java/jruby.rb",
53
53
  "lib/naether/java/ruby.rb",
54
54
  "lib/naether/maven.rb",
55
- "naether-0.9.1.jar",
55
+ "naether-0.9.2.jar",
56
56
  "naether.gemspec",
57
57
  "pom.xml"
58
58
  ]
data/pom.xml CHANGED
@@ -5,7 +5,7 @@
5
5
  <artifactId>naether</artifactId>
6
6
  <name>Naether</name>
7
7
  <packaging>jar</packaging>
8
- <version>0.9.1</version>
8
+ <version>0.9.2</version>
9
9
  <url>https://github.com/mguymon/naether</url>
10
10
  <description>
11
11
  A Java Dependency Resolver using Maven’s Aether.
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: naether
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.1
5
+ version: 0.9.2
6
6
  platform: java
7
7
  authors:
8
8
  - Michael Guymon
@@ -132,7 +132,7 @@ files:
132
132
  - lib/naether/java/jruby.rb
133
133
  - lib/naether/java/ruby.rb
134
134
  - lib/naether/maven.rb
135
- - naether-0.9.1.jar
135
+ - naether-0.9.2.jar
136
136
  - naether.gemspec
137
137
  - pom.xml
138
138
  homepage: http://github.com/mguymon/naether