naether 0.9.1 → 0.9.2

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/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/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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naether
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -144,7 +144,7 @@ files:
144
144
  - lib/naether/java/jruby.rb
145
145
  - lib/naether/java/ruby.rb
146
146
  - lib/naether/maven.rb
147
- - naether-0.9.1.jar
147
+ - naether-0.9.2.jar
148
148
  - pom.xml
149
149
  homepage: http://github.com/mguymon/naether
150
150
  licenses:
@@ -161,7 +161,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  segments:
163
163
  - 0
164
- hash: -1145581047078719787
164
+ hash: -3506459037399153891
165
165
  required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  none: false
167
167
  requirements: