jar-dependencies 0.1.2 → 0.1.3.dev
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/jar-dependencies.gemspec +1 -1
- data/lib/jar_installer.rb +8 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66fb914c8660be2869d043f714214ebe62459c11
|
4
|
+
data.tar.gz: 863d81fa5418584cf6bcd750a128cc87b860e389
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a16b322b6a91983a38044e088eaff371344df3fc8b3676351f5f8543b6fff28d69f3ce034c6049054b94ed6c07f8a641d6535072f541ab7a9019619bf19a5cd0
|
7
|
+
data.tar.gz: c8dc669115c1529c56e1eb49095dd849b7dac467d94a4dd2e0da2a308abaa4d2a078194f303440c59e7191d6871f7d0f87d89769e5032480cd85e98afe48b2c5
|
data/jar-dependencies.gemspec
CHANGED
data/lib/jar_installer.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'jar_dependencies'
|
2
|
+
require 'uri'
|
2
3
|
module Jars
|
3
4
|
class JarInstaller
|
4
5
|
|
@@ -200,6 +201,13 @@ module Jars
|
|
200
201
|
args << '--quiet'
|
201
202
|
end
|
202
203
|
|
204
|
+
if Jars.maven_user_settings.nil? && (proxy = Gem.configuration[ :proxy ]).is_a?( String )
|
205
|
+
uri = URI.parse( proxy )
|
206
|
+
args << "-DproxySet=true"
|
207
|
+
args << "-DproxyHost=#{uri.host}"
|
208
|
+
args << "-DproxyPort=#{uri.port}"
|
209
|
+
end
|
210
|
+
|
203
211
|
if defined? JRUBY_VERSION
|
204
212
|
args << "-Dmaven.repo.local=#{java.io.File.new( Jars.home ).absolute_path}"
|
205
213
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jar-dependencies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3.dev
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- christian meier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -73,9 +73,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
73
73
|
version: '0'
|
74
74
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
|
-
- - '
|
76
|
+
- - '>'
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
78
|
+
version: 1.3.1
|
79
79
|
requirements:
|
80
80
|
- gem ruby-maven, ~> 3.1.1.0, :scope => :runtime
|
81
81
|
rubyforge_project:
|