jar-dependencies 0.1.3 → 0.1.4
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_dependencies.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41b0779dda127fa309b6e7403b2f4dab16b4d1fe
|
4
|
+
data.tar.gz: 76fc989f956c1e72a140de043a417a713a444ecc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75bc7bc19f0f0a41423a2be7206bb125ac7735099a48b7250193b8948d6e4da3de4ec36a2641c0eb727a83d02c57aa2502d62c0a6a0b2ce0e687ef3ce4e48f0d
|
7
|
+
data.tar.gz: 06afdf617b0a7b17f3c6095039bec02a7202a42afe298ecc59c725e0a57225ecc76cacb53abf07d2882654d179560096902eec97aa5ab2394d0f2d121af66272
|
data/jar-dependencies.gemspec
CHANGED
data/lib/jar_dependencies.rb
CHANGED
@@ -175,6 +175,10 @@ module Jars
|
|
175
175
|
if local_repo = doc.root.elements['localRepository']
|
176
176
|
if ( local_repo = local_repo.first )
|
177
177
|
local_repo = local_repo.value
|
178
|
+
# replace maven like system properties embedded into the string
|
179
|
+
local_repo.gsub!( /\$\{[a-zA-Z.]+\}/ ) do |a|
|
180
|
+
ENV_JAVA[ a[2..-2] ] || a
|
181
|
+
end
|
178
182
|
local_repo = nil if local_repo.empty?
|
179
183
|
end
|
180
184
|
end
|
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.4
|
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-10-
|
11
|
+
date: 2014-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|