jar-dependencies 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jars/installer.rb +2 -7
- 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: 25c97c856ac596a57ed631ac4e77ff93347bad4f
|
4
|
+
data.tar.gz: 8cb6c2eaaa37c41bd44d15ce7888c595d14bb17c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 740961d54d98e2e1d7b1e53094de96bef2484b2e6d336951e507b78656337b70cc1ab842e4e17469f91d3cbb6473fefd799dbf5c16c6a2863c3e5c1d9a4e2278
|
7
|
+
data.tar.gz: c0e3826e1ec2c4ce3dd5e9d4d923e621e57ac33c9b222edb464428350c805bdaef0c25428ff0c2e9fb67462da8a1a7db277c02433df06dd3cec06fae98123736
|
data/lib/jars/installer.rb
CHANGED
@@ -65,11 +65,7 @@ module Jars
|
|
65
65
|
def self.install_jars( write_require_file = false )
|
66
66
|
new.install_jars( write_require_file )
|
67
67
|
end
|
68
|
-
|
69
|
-
def self.vendor_jars( write_require_file = false )
|
70
|
-
new.vendor_jars( write_require_file )
|
71
|
-
end
|
72
|
-
|
68
|
+
|
73
69
|
def self.load_from_maven( file )
|
74
70
|
result = []
|
75
71
|
File.read( file ).each_line do |line|
|
@@ -115,8 +111,7 @@ module Jars
|
|
115
111
|
|
116
112
|
COMMENT = '# this is a generated file, to avoid over-writing it just delete this comment'
|
117
113
|
def self.needs_to_write?(require_filename)
|
118
|
-
|
119
|
-
File.read( require_filename ).match( COMMENT)
|
114
|
+
require_filename and (not File.exists?( require_filename ) or File.read( require_filename ).match( COMMENT))
|
120
115
|
end
|
121
116
|
|
122
117
|
def self.install_deps( deps, dir, require_filename, vendor )
|
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.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- christian meier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|