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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c590350225f5e40fa4d0f49bacfe5cdf3dee5c63
4
- data.tar.gz: ac2ea4bdf69e52c0652e9be0ac8dd09db89afa7d
3
+ metadata.gz: 25c97c856ac596a57ed631ac4e77ff93347bad4f
4
+ data.tar.gz: 8cb6c2eaaa37c41bd44d15ce7888c595d14bb17c
5
5
  SHA512:
6
- metadata.gz: dc6ea065a3d8ddc6d65fe72dea663a125cc0e1e48d3b321233a921c8f5777a02e1d3d46ef7c31a07d69000bf4730c3cb85898c5f597c68a4cf965f78a40f0732
7
- data.tar.gz: 2b62b6e8d113c95842592eebdec04c7aaed950f525c5149ef62560c393c3b1ac911e60b34f2ee74b6fd9d979c8063fd8d7ec8851aba78f2db853f5ff2b0cf68a
6
+ metadata.gz: 740961d54d98e2e1d7b1e53094de96bef2484b2e6d336951e507b78656337b70cc1ab842e4e17469f91d3cbb6473fefd799dbf5c16c6a2863c3e5c1d9a4e2278
7
+ data.tar.gz: c0e3826e1ec2c4ce3dd5e9d4d923e621e57ac33c9b222edb464428350c805bdaef0c25428ff0c2e9fb67462da8a1a7db277c02433df06dd3cec06fae98123736
@@ -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
- ( require_filename and not File.exists?( require_filename ) ) or
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
@@ -1,5 +1,5 @@
1
1
  module Jars
2
- VERSION = '0.2.5'.freeze
2
+ VERSION = '0.2.6'.freeze
3
3
  JRUBY_PLUGINS_VERSION = '1.1.3'.freeze
4
4
  DEPENDENCY_PLUGIN_VERSION = '2.8'.freeze
5
5
  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.2.5
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-12 00:00:00.000000000 Z
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