jbundler 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/jbundler.jar +0 -0
- data/lib/jbundler/lock_down.rb +5 -4
- 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: 243591dd0928bd300909d172ae6ff090ee543942
|
4
|
+
data.tar.gz: 21ab64f350dd45db1a146679da7109ce05165044
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df56e894f178a05d8de09f49fe52cb2662064d70aeba35f0a0b587b1c81497b9a945b8bc9b1e5889202a7ee816759a0e07b017484c217c6920fe13e1d06703f2
|
7
|
+
data.tar.gz: dc48b69333376eeae4415bfc77f1c900bb1e54768d98a08462f353766e16e7a3bf1630f1d23bc0ad36e47936b13d67a5444a17bfdae7dd5fce6b2d32c8016f63
|
data/Gemfile.lock
CHANGED
data/lib/jbundler.jar
CHANGED
Binary file
|
data/lib/jbundler/lock_down.rb
CHANGED
@@ -51,7 +51,7 @@ module JBundler
|
|
51
51
|
|
52
52
|
puts '...'
|
53
53
|
|
54
|
-
deps = install_dependencies( debug, verbose )
|
54
|
+
deps = install_dependencies( debug, verbose, jarfile.exists_lock? )
|
55
55
|
|
56
56
|
update_files( classpath, collect_jars( deps ) ) if needs_update
|
57
57
|
|
@@ -103,11 +103,11 @@ module JBundler
|
|
103
103
|
@config.local_repository )
|
104
104
|
end
|
105
105
|
|
106
|
-
def install_dependencies( debug, verbose )
|
106
|
+
def install_dependencies( debug, verbose, exclude_transitive = false )
|
107
107
|
deps_file = File.join( File.expand_path( @config.work_dir ),
|
108
108
|
'dependencies.txt' )
|
109
109
|
|
110
|
-
exec_maven( debug, verbose, deps_file )
|
110
|
+
exec_maven( debug, verbose, deps_file, exclude_transitive )
|
111
111
|
|
112
112
|
result = []
|
113
113
|
File.read( deps_file ).each_line do |line|
|
@@ -119,7 +119,7 @@ module JBundler
|
|
119
119
|
FileUtils.rm_f( deps_file ) if deps_file
|
120
120
|
end
|
121
121
|
|
122
|
-
def exec_maven( debug, verbose, output )
|
122
|
+
def exec_maven( debug, verbose, output, exclude_transitive = false )
|
123
123
|
m = Maven::Ruby::Maven.new
|
124
124
|
m.options[ '-f' ] = File.join( File.dirname( __FILE__ ),
|
125
125
|
'dependency_pom.rb' )
|
@@ -127,6 +127,7 @@ module JBundler
|
|
127
127
|
m.options[ '-q' ] = nil if !debug and !verbose
|
128
128
|
m.options[ '-e' ] = nil if !debug and verbose
|
129
129
|
m.options[ '-X' ] = nil if debug
|
130
|
+
m.options[ '-DexcludeTransitive' ] = exclude_transitive
|
130
131
|
m.verbose = debug
|
131
132
|
m.property( 'jbundler.outputFile', output )
|
132
133
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jbundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Meier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maven-tools
|