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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 155da2e5e94adf7f1be8711946a523b57d4d7f49
4
- data.tar.gz: 7bc39272e411c7fdd27063678b21bd6a38fe8b97
3
+ metadata.gz: 41b0779dda127fa309b6e7403b2f4dab16b4d1fe
4
+ data.tar.gz: 76fc989f956c1e72a140de043a417a713a444ecc
5
5
  SHA512:
6
- metadata.gz: f0b5b201df485913c7152d450492c78853e7d38c1eb4333052d4734a11e83f760015f5379a89cf5826578c0c50efe6317a90c539c342fbcf256002d1f3967b71
7
- data.tar.gz: 21d12a5ed2a75305acb853b7927b33892e344bcec35896fde28817c68a550199abfa9bc4adbe855ea6840b5bc3b4da2b75238a02b5a99fc52c72196087e07ad1
6
+ metadata.gz: 75bc7bc19f0f0a41423a2be7206bb125ac7735099a48b7250193b8948d6e4da3de4ec36a2641c0eb727a83d02c57aa2502d62c0a6a0b2ce0e687ef3ce4e48f0d
7
+ data.tar.gz: 06afdf617b0a7b17f3c6095039bec02a7202a42afe298ecc59c725e0a57225ecc76cacb53abf07d2882654d179560096902eec97aa5ab2394d0f2d121af66272
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'jar-dependencies'
5
- s.version = "0.1.3"
5
+ s.version = "0.1.4"
6
6
  s.author = 'christian meier'
7
7
  s.email = [ 'mkristian@web.de' ]
8
8
  s.summary = 'manage jar dependencies for gems'
@@ -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.3
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-02 00:00:00.000000000 Z
11
+ date: 2014-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest