jar-dependencies 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jar_dependencies.rb +4 -2
- data/lib/jars/installer.rb +1 -1
- data/lib/jars/maven_settings.rb +1 -2
- data/lib/jars/version.rb +1 -1
- 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: 671dabcc563b0977f912ff6e3829794b3b7f5963
|
4
|
+
data.tar.gz: 0ff60b4ee885064a381b5f872470d1d79f8d5753
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7760c9d4bfca4cd25ee93cdd5a8e93a92d03167fa3358557fee5fcf86ef0db3af9d3cf5ed4ad7440f3fc91342b7c7c9697e38be0b9709ac03be04d487bdf39f2
|
7
|
+
data.tar.gz: a267bd072196e0fa8a53b4efdfa877ef93bbaf7dfc5c616bff8988ef2dcda8b6c4fac3038f25d95f59769a8560731e9c8f3bb65d862d3c0c1de2e541f876c7c2
|
data/lib/jar_dependencies.rb
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
19
19
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
20
|
#
|
21
|
-
|
21
|
+
|
22
22
|
module Jars
|
23
23
|
unless defined? Jars::SKIP_LOCK
|
24
24
|
MAVEN_SETTINGS = 'JARS_MAVEN_SETTINGS'.freeze
|
@@ -47,6 +47,8 @@ module Jars
|
|
47
47
|
VENDOR = 'JARS_VENDOR'.freeze
|
48
48
|
end
|
49
49
|
|
50
|
+
autoload :MavenSettings, 'jars/maven_settings'
|
51
|
+
|
50
52
|
class << self
|
51
53
|
|
52
54
|
def lock_down( debug = false, verbose = false, options = {} )
|
@@ -181,7 +183,7 @@ module Jars
|
|
181
183
|
end
|
182
184
|
|
183
185
|
def home
|
184
|
-
|
186
|
+
absolute(to_prop(HOME)) || local_maven_repo
|
185
187
|
end
|
186
188
|
|
187
189
|
def require_jars_lock!( scope = :runtime )
|
data/lib/jars/installer.rb
CHANGED
@@ -208,7 +208,7 @@ module Jars
|
|
208
208
|
private
|
209
209
|
|
210
210
|
def do_install( vendor_dir, write_require_file )
|
211
|
-
if !spec.require_paths.include?(vendor_dir)
|
211
|
+
if !spec.require_paths.include?(vendor_dir) && vendor_dir
|
212
212
|
raise "vendor dir #{vendor_dir} not in require_paths of gemspec #{spec.require_paths}"
|
213
213
|
end
|
214
214
|
target_dir = File.join( @mvn.basedir, vendor_dir || spec.require_path )
|
data/lib/jars/maven_settings.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'jar_dependencies'
|
2
1
|
require 'rubygems/request'
|
3
2
|
require 'rubygems/uri_formatter'
|
4
3
|
module Jars
|
@@ -127,7 +126,7 @@ module Jars
|
|
127
126
|
raw.sub!('__HTTP_SERVER__', http.host)
|
128
127
|
raw.sub!('__HTTP_PORT__', http.port.to_s)
|
129
128
|
else
|
130
|
-
raw.sub!('__HTTP_ACTIVE__', 'false')
|
129
|
+
raw.sub!('__HTTP_ACTIVE__', 'false')
|
131
130
|
end
|
132
131
|
if https
|
133
132
|
raw.sub!('__HTTPS_ACTIVE__', 'true')
|
data/lib/jars/version.rb
CHANGED
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.3.
|
4
|
+
version: 0.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- christian meier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|