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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0fdc7c88364868c378540cf60d52646c08c3cd2e
4
- data.tar.gz: ebcaddcb1ebcd7da627b064147b0b2c5c56c67c0
3
+ metadata.gz: 66fb914c8660be2869d043f714214ebe62459c11
4
+ data.tar.gz: 863d81fa5418584cf6bcd750a128cc87b860e389
5
5
  SHA512:
6
- metadata.gz: 5e3368b2052b04883a075f37172e86e14cca0932d63e4d191b29ecf9788e91c63ece9e2f856a21591837000ccc10ab96f7d9eba0d3cdaaf6db809308ad2fffdb
7
- data.tar.gz: 5d126fc409e3e9c0933d75d4c9fa1d22414acf72b44a9f727d0e0e39cb1426c38207385c78d35bc3cdf04f248e2f2a4c0173a2548e9cc7cc86616f3d0d9640f4
6
+ metadata.gz: a16b322b6a91983a38044e088eaff371344df3fc8b3676351f5f8543b6fff28d69f3ce034c6049054b94ed6c07f8a641d6535072f541ab7a9019619bf19a5cd0
7
+ data.tar.gz: c8dc669115c1529c56e1eb49095dd849b7dac467d94a4dd2e0da2a308abaa4d2a078194f303440c59e7191d6871f7d0f87d89769e5032480cd85e98afe48b2c5
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'jar-dependencies'
5
- s.version = "0.1.2"
5
+ s.version = "0.1.3.dev"
6
6
  s.author = 'christian meier'
7
7
  s.email = [ 'mkristian@web.de' ]
8
8
  s.summary = 'manage jar dependencies for gems'
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.2
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-17 00:00:00.000000000 Z
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: '0'
78
+ version: 1.3.1
79
79
  requirements:
80
80
  - gem ruby-maven, ~> 3.1.1.0, :scope => :runtime
81
81
  rubyforge_project: