jbundler 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/Readme.md +15 -103
- data/lib/jbundler/classpath_file.rb +1 -1
- data/lib/jbundler/cli.rb +1 -1
- data/lib/jbundler/config.rb +1 -1
- data/lib/jbundler/lock_down.rb +1 -1
- data/lib/jbundler/vendor.rb +23 -5
- data/spec/config_spec.rb +14 -15
- metadata +49 -48
- data/Gemfile.lock~ +0 -46
- data/spec/project/Settings.xml +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1032ec7fb4658f5ebea74a639002fb3c9f205932
|
4
|
+
data.tar.gz: 9a23448861d6470af9f18c9edfbe2f7083c89303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 776cd6d1e16fcf25d01dd988dab5257c3a64e2cc364471252e1b6c431cfd85c622dee76eda85fc79c503c911b5c98a1d31c909c482d04b0bea13b8ef07df55f4
|
7
|
+
data.tar.gz: 2f744824474566cbfe8fb2f8af3f9aed330eef732d9ffe0af416dbbae6766cea2e5ad41e4f5565b11b7db656c81c01133ad40fce76bbce1ba6cddb424b45828e
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jbundler (0.
|
4
|
+
jbundler (0.9.0)
|
5
5
|
bundler (~> 1.5)
|
6
|
-
jar-dependencies (~> 0.
|
6
|
+
jar-dependencies (~> 0.2)
|
7
7
|
maven-tools (~> 1.0.10)
|
8
8
|
ruby-maven (~> 3.3, >= 3.3.3)
|
9
9
|
|
@@ -20,10 +20,10 @@ GEM
|
|
20
20
|
thread_safe (~> 0.3, >= 0.3.1)
|
21
21
|
equalizer (0.0.11)
|
22
22
|
ice_nine (0.11.1)
|
23
|
-
jar-dependencies (0.1
|
24
|
-
maven-tools (1.0.
|
23
|
+
jar-dependencies (0.2.1)
|
24
|
+
maven-tools (1.0.11)
|
25
25
|
virtus (~> 1.0)
|
26
|
-
minitest (5.
|
26
|
+
minitest (5.8.0)
|
27
27
|
rake (10.4.2)
|
28
28
|
ruby-maven (3.3.3)
|
29
29
|
ruby-maven-libs (~> 3.3.1)
|
@@ -45,4 +45,4 @@ DEPENDENCIES
|
|
45
45
|
rake (~> 10.0)
|
46
46
|
|
47
47
|
BUNDLED WITH
|
48
|
-
1.10.
|
48
|
+
1.10.6
|
data/Readme.md
CHANGED
@@ -7,9 +7,13 @@ manage jar dependencies similar than **bundler** manages gem dependencies.
|
|
7
7
|
* the DSL mimics the one from bundler
|
8
8
|
* you can use maven like version declaration or rubygems/bundler like version ranges
|
9
9
|
* it locks down the jar versions inside "Jarfile.lock"
|
10
|
-
* you can declare jar dependency within a
|
11
|
-
|
12
|
-
|
10
|
+
* you can declare jar dependency within a gem using the requirements directive of the gem specification. jbundler will include those jar dependencies into its classpath
|
11
|
+
|
12
|
+
the difference to **bundler**
|
13
|
+
|
14
|
+
* it is just a development gem - no need for it during runtime. just add ```Jars.require_jars_lock!``` to your code and for older JRuby add ```gem 'jar-dependencies', '~> 0.1.11'``` as runtime dependency.
|
15
|
+
* you need to run ```bundle install``` first if any of the gems has jar dependencies.
|
16
|
+
* all one command ```jbundle```, see ```jbundle --help``` on the possible options and how to update a single jar, etc.
|
13
17
|
|
14
18
|
## get started
|
15
19
|
|
@@ -19,91 +23,28 @@ install JBundler with
|
|
19
23
|
|
20
24
|
first create a **Jarfile**, something like
|
21
25
|
|
22
|
-
jar 'org.yaml:snakeyaml'
|
26
|
+
jar 'org.yaml:snakeyaml', '1.14'
|
23
27
|
jar 'org.slf4j:slf4j-simple', '>1.1'
|
24
28
|
|
25
|
-
### together with Bundler
|
26
|
-
|
27
|
-
just add it as **first** entry in your *Gemfile*
|
28
|
-
|
29
|
-
```gem 'jbundler'```
|
30
|
-
|
31
|
-
and now install the bundle both **gems and jars**
|
32
|
-
|
33
|
-
jbundle install
|
34
|
-
|
35
|
-
#### Building
|
36
|
-
|
37
|
-
building the jar
|
38
|
-
```rake jar```
|
39
|
-
|
40
|
-
building the gem
|
41
|
-
```rake build```
|
42
|
-
|
43
|
-
running the junit test
|
44
|
-
```rake junit```
|
45
|
-
|
46
|
-
running the minitest
|
47
|
-
```rake minitest```
|
48
|
-
|
49
|
-
make sure you use jruby ;)
|
50
|
-
|
51
|
-
#### Gemfile and Jarfile
|
52
|
-
|
53
|
-
if there is only a **Gemfile** and no Jarfile **jbundler** handles all the declared [jar dependencies of gems](https://github.com/mkristian/jbundler/wiki/Build) as well all the jars from the Jarfile. it will only look into gems which bundler loaded.
|
54
|
-
|
55
|
-
### without Bundler - Jarfile only
|
56
|
-
|
57
|
-
requiring **jbundler** will trigger the classpath setup
|
58
|
-
|
59
|
-
```require 'jbundler'```
|
60
|
-
|
61
|
-
this you can use with **rubygems** or **isolate** or . . .
|
62
|
-
|
63
29
|
### Jarfile
|
64
30
|
|
65
31
|
more info about the **[Jarfile](https://github.com/torquebox/maven-tools/wiki/Jarfile)** and about [versions](https://github.com/torquebox/maven-tools/wiki/Versions).
|
66
32
|
|
67
33
|
for adding a maven repository see [Jarfile](https://github.com/torquebox/maven-tools/wiki/Jarfile).
|
68
|
-
|
69
|
-
## console ##
|
70
|
-
|
71
|
-
like bundler there is a console which sets up the gems (if there is Gemfile otherwise that part get skipped) and sets up the classloader:
|
72
34
|
|
73
|
-
|
35
|
+
# Building the jbundler gem
|
74
36
|
|
75
|
-
|
37
|
+
running the integration test
|
76
38
|
|
77
|
-
|
39
|
+
./mvnw verify
|
78
40
|
|
79
|
-
|
41
|
+
building the gem (see ./pkg)
|
80
42
|
|
81
|
-
|
43
|
+
./mvnw package -Dinvoker.skip
|
82
44
|
|
83
|
-
|
45
|
+
or just
|
84
46
|
|
85
|
-
|
86
|
-
|
87
|
-
require 'jbundler/lazy'
|
88
|
-
include JBundler::Lazy
|
89
|
-
|
90
|
-
will offer the same `jar`/`jars` method than you have inside the console.
|
91
|
-
|
92
|
-
# extra commands
|
93
|
-
|
94
|
-
## jbundler tree
|
95
|
-
|
96
|
-
shows the dependency tree - without the locked version. i.e. an install or update would result in the shown version.
|
97
|
-
|
98
|
-
with locked down versions that tree is more hint then a real picture of the situation !!
|
99
|
-
|
100
|
-
## jruby executable -b start.rb
|
101
|
-
|
102
|
-
will create an executable jar file using the given ruby script as bootstrap script. it will include the comple jruby and all the dependent jars as well all the gems packed into it as well. the
|
103
|
-
|
104
|
-
jruby '1.7.4'
|
105
|
-
|
106
|
-
declaration in the *Jarfile* will determinate the jruby version to use for the executable jar.
|
47
|
+
gem build jbundler.gemspec
|
107
48
|
|
108
49
|
## example ##
|
109
50
|
|
@@ -117,37 +58,8 @@ execute *src/example/my_project/info.rb* to see it in action:
|
|
117
58
|
|
118
59
|
## limitations ##
|
119
60
|
|
120
|
-
update of single artifacts is not possible.
|
121
|
-
|
122
61
|
since the version resolution happens in two steps - first the gems then the jars/poms - it is possible in case of a failure that there is a valid gems/jars version resolution which satisfies all version contraints. so there is plenty of space for improvements (like maven could resolve the gems as well, etc)
|
123
62
|
|
124
|
-
**Jarfile** is **not** a DSL but it could use a ruby DSL to read the data (any contribution welcome).
|
125
|
-
|
126
|
-
jbundler does not completely obey the **$HOME/.m2/settings.xml** from maven where you usually declare proxies, mirrors, etc. see [jbundler configuration](https://github.com/mkristian/jbundler/wiki/Configuration) for what is already possible.
|
127
|
-
|
128
|
-
## RVM and/or rubygems-bundler ##
|
129
|
-
|
130
|
-
some tests did not work with RVM and/or rubygems-bundler - there are some weird classloader issue popping up. there is a problem with the way the classloader gets setup. but a manual jruby installion or using rbenv is just working fine.
|
131
|
-
|
132
|
-
those issue might pop up with ```jbundle tree``` and ```jbundle executable```
|
133
|
-
|
134
|
-
## running tests ##
|
135
|
-
|
136
|
-
* ```rake``` will execute all tests without integration tests
|
137
|
-
* ```rake all``` will execute all tests
|
138
|
-
* ```rake minitest``` runs the minitest specs
|
139
|
-
* ```rake integration``` runs the integration tests where poms are used (might fail due to hardcoded absolute paths)
|
140
|
-
* ```rake junit``` runs the junit java tests
|
141
|
-
* ```jruby spec/abc_spec.rb``` runs that given tests (just use the right file)
|
142
|
-
* ```mvn test``` will also run all tests
|
143
|
-
* ```rmvn test`` same as ```mvn test```
|
144
|
-
|
145
|
-
## update ##
|
146
|
-
|
147
|
-
update of a single artifact is not possible (yet). but to update the whole set of artifacts just delete the lockfile *Jarfile.lock*
|
148
|
-
|
149
|
-
if jbundler sees that **Gemfile.lock** or **Jarfile** is newer then the **.jbundler/classpath.rb** file then jbundler tries to gracefully upgrade towards the changes.
|
150
|
-
|
151
63
|
# special thanks #
|
152
64
|
|
153
65
|
the whole project actually started with a controversial discussion on a [pull request on bundler](https://github.com/carlhuda/bundler/pull/1683). this very same pull request were the starting point of that project here. probably by now there is no much left of the original code but many thanks to [ANithian](https://github.com/ANithian) for given the seed of that project.
|
@@ -99,7 +99,7 @@ module JBundler
|
|
99
99
|
def dump_jar( file, path, prefix, local_repo )
|
100
100
|
return if path =~ /pom$/
|
101
101
|
if local_repo
|
102
|
-
path.sub
|
102
|
+
path = path.sub( /#{local_repo}/, '' )
|
103
103
|
unless File.exists?( path )
|
104
104
|
file.puts "JBUNDLER_#{prefix}CLASSPATH << (JBUNDLER_LOCAL_REPO + '#{path}')"
|
105
105
|
path = nil
|
data/lib/jbundler/cli.rb
CHANGED
@@ -95,7 +95,7 @@ module JBundler
|
|
95
95
|
end
|
96
96
|
|
97
97
|
desc 'lock_down', "first `bundle install` is called and then the jar dependencies will be installed. for more details see `bundle help install`, jbundler will ignore all options. the install command is also the default when no command is given. that is kept as fall back in cases where the new install does not work as before."
|
98
|
-
method_option :deployment, :type => :boolean, :default => false, :desc => "copy the jars into the vendor/jars directory (or as configured).
|
98
|
+
method_option :deployment, :type => :boolean, :default => false, :desc => "copy the jars into the vendor/jars directory (or as configured). add the vendor/jars $LOAD_PATH and Jars.require_jars_lock! - no need for any jbundler files at runtime !"
|
99
99
|
method_option :no_deployment, :type => :boolean, :default => false, :desc => 'clears the vendored jars'
|
100
100
|
method_option :path, :type => :string
|
101
101
|
method_option :without, :type => :array
|
data/lib/jbundler/config.rb
CHANGED
@@ -138,7 +138,7 @@ module JBundler
|
|
138
138
|
local_maven_repository = absolute( jbundler_env('JBUNDLE_LOCAL_REPOSITORY') )
|
139
139
|
if local_maven_repository
|
140
140
|
warn "JBUNDLE_LOCAL_REPOSITORY environment or jbundle.local.repository' system property is deprecated use JARS_HOME or jars.home instead"
|
141
|
-
ENV[
|
141
|
+
ENV[ 'JARS_HOME' ] ||= local_maven_repository
|
142
142
|
else
|
143
143
|
# first load the right settings
|
144
144
|
self.settings
|
data/lib/jbundler/lock_down.rb
CHANGED
@@ -149,7 +149,7 @@ module JBundler
|
|
149
149
|
# TODO get rid of this somehow
|
150
150
|
deps = Maven::Tools::GemspecDependencies.new( spec )
|
151
151
|
deps.java_dependency_artifacts.each do |a|
|
152
|
-
|
152
|
+
if not done.include?( a.key ) and (a.scope.nil? or a.scope == :compile or a.scope == :runtime)
|
153
153
|
maven.property( "jbundler.jars.#{index}", a.to_s )
|
154
154
|
index += 1
|
155
155
|
done << a.key
|
data/lib/jbundler/vendor.rb
CHANGED
@@ -4,6 +4,7 @@ module JBundler
|
|
4
4
|
|
5
5
|
def initialize( dir )
|
6
6
|
@dir = File.expand_path( dir )
|
7
|
+
@jars_lock = File.join( @dir, 'Jars.lock' )
|
7
8
|
end
|
8
9
|
|
9
10
|
def vendored?
|
@@ -11,6 +12,17 @@ module JBundler
|
|
11
12
|
end
|
12
13
|
|
13
14
|
def require_jars
|
15
|
+
if File.exists?(@jars_lock)
|
16
|
+
$LOAD_PATH << @dir unless $LOAD_PATH.include? @dir
|
17
|
+
ENV_JAVA['jars.lock'] = @jars_lock
|
18
|
+
Jars.require_jars_lock!
|
19
|
+
true
|
20
|
+
else
|
21
|
+
require_jars_legacy
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def require_jars_legacy
|
14
26
|
jars = File.join( @dir, 'jbundler.rb' )
|
15
27
|
if File.exists?( jars )
|
16
28
|
$LOAD_PATH << @dir unless $LOAD_PATH.include? @dir
|
@@ -19,7 +31,7 @@ module JBundler
|
|
19
31
|
Dir[ File.join( @dir, '**', '*' ) ].each do |f|
|
20
32
|
require f
|
21
33
|
end
|
22
|
-
Jars.
|
34
|
+
Jars.no_more_warnings
|
23
35
|
true
|
24
36
|
end
|
25
37
|
end
|
@@ -32,10 +44,16 @@ module JBundler
|
|
32
44
|
end
|
33
45
|
|
34
46
|
def vendor_dependencies( deps )
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
47
|
+
FileUtils.mkdir_p( @dir )
|
48
|
+
File.open(@jars_lock, 'w') do |f|
|
49
|
+
deps.each do |dep|
|
50
|
+
line = dep.gav + ':runtime:'
|
51
|
+
f.puts line
|
52
|
+
end
|
53
|
+
end
|
54
|
+
['jbundler.rb', 'jbundle.rb'].each do |filename|
|
55
|
+
File.write( File.join( @dir, filename ),
|
56
|
+
"ENV['JARS_LOCK'] = File.join( File.dirname( __FILE__ ), 'Jars.lock' )\nrequire 'jars/setup" )
|
39
57
|
end
|
40
58
|
end
|
41
59
|
|
data/spec/config_spec.rb
CHANGED
@@ -4,7 +4,7 @@ require 'fileutils'
|
|
4
4
|
|
5
5
|
describe JBundler::Config do
|
6
6
|
|
7
|
-
let( :basedir ){ File.dirname( File.
|
7
|
+
let( :basedir ){ File.dirname( File.expand_path( "../", __FILE__ ) ) }
|
8
8
|
let( :spec ){ 'spec' }
|
9
9
|
let( :spec_dir ){ File.join( basedir, spec ) }
|
10
10
|
let( :project ){ File.join( spec, 'project' ) }
|
@@ -32,13 +32,13 @@ describe JBundler::Config do
|
|
32
32
|
c = JBundler::Config.new
|
33
33
|
c.verbose.must_equal nil
|
34
34
|
c.local_repository.must_equal './.m2/repository'
|
35
|
-
c.jarfile.must_equal File.join( basedir, 'Jarfile' )
|
36
|
-
c.gemfile.must_equal File.join( basedir, 'Gemfile' )
|
35
|
+
c.jarfile.must_equal File.join( basedir, 'spec', 'Jarfile' )
|
36
|
+
c.gemfile.must_equal File.join( basedir, 'spec', 'Gemfile' )
|
37
37
|
c.skip.must_equal nil
|
38
38
|
c.settings.must_equal "./.m2/settings.xml"
|
39
39
|
c.offline.must_equal false
|
40
|
-
c.work_dir.must_equal File.join( basedir, 'pkg' )
|
41
|
-
c.vendor_dir.must_equal File.join( basedir, 'vendor
|
40
|
+
c.work_dir.must_equal File.join( basedir, 'spec','pkg' )
|
41
|
+
c.vendor_dir.must_equal File.join( basedir, 'spec', 'vendor', 'jars' )
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
@@ -59,20 +59,20 @@ describe JBundler::Config do
|
|
59
59
|
end
|
60
60
|
|
61
61
|
it 'has following defaults with home and without local config' do
|
62
|
-
ENV['HOME'] = File.join( 'home' )
|
62
|
+
home = ENV['HOME'] = File.join( File.expand_path( '../home', __FILE__ ) )
|
63
63
|
|
64
|
-
FileUtils.cd(
|
64
|
+
FileUtils.cd( home ) do
|
65
65
|
c = JBundler::Config.new
|
66
|
-
|
66
|
+
|
67
67
|
c.verbose.must_equal false
|
68
|
-
c.local_repository.must_equal File.join( spec_dir, 'localrepo' )
|
69
|
-
c.jarfile.must_equal File.join( spec_dir, 'jarfile' )
|
70
|
-
c.gemfile.must_equal File.join( spec_dir, 'Gem_file' )
|
68
|
+
c.local_repository.must_equal File.join( spec_dir, 'home', 'localrepo' )
|
69
|
+
c.jarfile.must_equal File.join( spec_dir, 'home', 'jarfile' )
|
70
|
+
c.gemfile.must_equal File.join( spec_dir, 'home', 'Gem_file' )
|
71
71
|
c.skip.must_equal true
|
72
|
-
c.settings.must_equal
|
72
|
+
c.settings.must_equal nil
|
73
73
|
c.offline.must_equal false
|
74
|
-
c.work_dir.must_equal File.join( spec_dir, 'target/pkg' )
|
75
|
-
c.vendor_dir.must_equal File.join( spec_dir, 'vendor/my_jars' )
|
74
|
+
c.work_dir.must_equal File.join( spec_dir, 'home', 'target/pkg' )
|
75
|
+
c.vendor_dir.must_equal File.join( spec_dir, 'home', 'vendor/my_jars' )
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
@@ -129,7 +129,6 @@ describe JBundler::Config do
|
|
129
129
|
|
130
130
|
it "uses ENV with home #{home} and local dir #{dir}" do
|
131
131
|
ENV['HOME'] = eval "\"#{File.expand_path( home )}\""
|
132
|
-
|
133
132
|
FileUtils.cd eval "\"#{dir}\"" do
|
134
133
|
pdir = eval "#{File.basename( dir )}_dir"
|
135
134
|
Jars.reset
|
metadata
CHANGED
@@ -1,107 +1,109 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jbundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
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
|
+
date: 2015-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: maven-tools
|
15
|
-
version_requirements: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0.11
|
20
14
|
requirement: !ruby/object:Gem::Requirement
|
21
15
|
requirements:
|
22
|
-
- - ~>
|
16
|
+
- - "~>"
|
23
17
|
- !ruby/object:Gem::Version
|
24
|
-
version: 1.0.
|
18
|
+
version: 1.0.10
|
19
|
+
name: maven-tools
|
25
20
|
prerelease: false
|
26
21
|
type: :runtime
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: ruby-maven
|
29
22
|
version_requirements: !ruby/object:Gem::Requirement
|
30
23
|
requirements:
|
31
|
-
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '3.3'
|
34
|
-
- - '>='
|
24
|
+
- - "~>"
|
35
25
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
26
|
+
version: 1.0.10
|
27
|
+
- !ruby/object:Gem::Dependency
|
37
28
|
requirement: !ruby/object:Gem::Requirement
|
38
29
|
requirements:
|
39
|
-
- - ~>
|
30
|
+
- - "~>"
|
40
31
|
- !ruby/object:Gem::Version
|
41
32
|
version: '3.3'
|
42
|
-
- -
|
33
|
+
- - ">="
|
43
34
|
- !ruby/object:Gem::Version
|
44
35
|
version: 3.3.3
|
36
|
+
name: ruby-maven
|
45
37
|
prerelease: false
|
46
38
|
type: :runtime
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: bundler
|
49
39
|
version_requirements: !ruby/object:Gem::Requirement
|
50
40
|
requirements:
|
51
|
-
- - ~>
|
41
|
+
- - "~>"
|
52
42
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
43
|
+
version: '3.3'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 3.3.3
|
47
|
+
- !ruby/object:Gem::Dependency
|
54
48
|
requirement: !ruby/object:Gem::Requirement
|
55
49
|
requirements:
|
56
|
-
- - ~>
|
50
|
+
- - "~>"
|
57
51
|
- !ruby/object:Gem::Version
|
58
52
|
version: '1.5'
|
53
|
+
name: bundler
|
59
54
|
prerelease: false
|
60
55
|
type: :runtime
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: jar-dependencies
|
63
56
|
version_requirements: !ruby/object:Gem::Requirement
|
64
57
|
requirements:
|
65
|
-
- - ~>
|
58
|
+
- - "~>"
|
66
59
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
60
|
+
version: '1.5'
|
61
|
+
- !ruby/object:Gem::Dependency
|
68
62
|
requirement: !ruby/object:Gem::Requirement
|
69
63
|
requirements:
|
70
|
-
- - ~>
|
64
|
+
- - "~>"
|
71
65
|
- !ruby/object:Gem::Version
|
72
|
-
version: 0.
|
66
|
+
version: '0.2'
|
67
|
+
name: jar-dependencies
|
73
68
|
prerelease: false
|
74
69
|
type: :runtime
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: rake
|
77
70
|
version_requirements: !ruby/object:Gem::Requirement
|
78
71
|
requirements:
|
79
|
-
- - ~>
|
72
|
+
- - "~>"
|
80
73
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
74
|
+
version: '0.2'
|
75
|
+
- !ruby/object:Gem::Dependency
|
82
76
|
requirement: !ruby/object:Gem::Requirement
|
83
77
|
requirements:
|
84
|
-
- - ~>
|
78
|
+
- - "~>"
|
85
79
|
- !ruby/object:Gem::Version
|
86
80
|
version: '10.0'
|
81
|
+
name: rake
|
87
82
|
prerelease: false
|
88
83
|
type: :development
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest
|
91
84
|
version_requirements: !ruby/object:Gem::Requirement
|
92
85
|
requirements:
|
93
|
-
- - ~>
|
86
|
+
- - "~>"
|
94
87
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
88
|
+
version: '10.0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
96
90
|
requirement: !ruby/object:Gem::Requirement
|
97
91
|
requirements:
|
98
|
-
- - ~>
|
92
|
+
- - "~>"
|
99
93
|
- !ruby/object:Gem::Version
|
100
94
|
version: '5.3'
|
95
|
+
name: minitest
|
101
96
|
prerelease: false
|
102
97
|
type: :development
|
103
|
-
|
104
|
-
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '5.3'
|
103
|
+
description: 'managing jar dependencies with or without bundler. adding bundler like
|
104
|
+
handling of version ranges for jar dependencies.
|
105
|
+
|
106
|
+
'
|
105
107
|
email:
|
106
108
|
- m.kristian@web.de
|
107
109
|
executables:
|
@@ -111,7 +113,6 @@ extra_rdoc_files: []
|
|
111
113
|
files:
|
112
114
|
- Gemfile
|
113
115
|
- Gemfile.lock
|
114
|
-
- Gemfile.lock~
|
115
116
|
- MIT-LICENSE
|
116
117
|
- Readme.md
|
117
118
|
- bin/jbundle
|
@@ -136,7 +137,6 @@ files:
|
|
136
137
|
- spec/classpath_file_spec.rb
|
137
138
|
- spec/config_spec.rb
|
138
139
|
- spec/pom_spec.rb
|
139
|
-
- spec/project/Settings.xml
|
140
140
|
- spec/project/settings.xml
|
141
141
|
- spec/setup.rb
|
142
142
|
- spec/vendor_spec.rb
|
@@ -150,22 +150,23 @@ require_paths:
|
|
150
150
|
- lib
|
151
151
|
required_ruby_version: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
|
-
- -
|
153
|
+
- - ">="
|
154
154
|
- !ruby/object:Gem::Version
|
155
155
|
version: '0'
|
156
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
|
-
- -
|
158
|
+
- - ">="
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.4.
|
163
|
+
rubygems_version: 2.4.8
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: managing jar dependencies
|
167
167
|
test_files:
|
168
168
|
- spec/classpath_file_spec.rb
|
169
|
-
- spec/vendor_spec.rb
|
170
169
|
- spec/config_spec.rb
|
171
170
|
- spec/pom_spec.rb
|
171
|
+
- spec/vendor_spec.rb
|
172
|
+
has_rdoc:
|
data/Gemfile.lock~
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
jbundler (0.7.3)
|
5
|
-
bundler (~> 1.5)
|
6
|
-
jar-dependencies (~> 0.1.8)
|
7
|
-
maven-tools (~> 1.0.6)
|
8
|
-
ruby-maven (>= 3.1.1.0.6, < 3.1.2)
|
9
|
-
|
10
|
-
GEM
|
11
|
-
remote: https://rubygems.org/
|
12
|
-
specs:
|
13
|
-
axiom-types (0.1.1)
|
14
|
-
descendants_tracker (~> 0.0.4)
|
15
|
-
ice_nine (~> 0.11.0)
|
16
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
17
|
-
coercible (1.0.0)
|
18
|
-
descendants_tracker (~> 0.0.1)
|
19
|
-
descendants_tracker (0.0.4)
|
20
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
21
|
-
equalizer (0.0.9)
|
22
|
-
ice_nine (0.11.1)
|
23
|
-
jar-dependencies (0.1.8)
|
24
|
-
maven-tools (1.0.8)
|
25
|
-
virtus (~> 1.0)
|
26
|
-
minitest (5.5.1)
|
27
|
-
rake (10.4.2)
|
28
|
-
ruby-maven (3.1.1.0.11)
|
29
|
-
maven-tools (~> 1.0.8)
|
30
|
-
ruby-maven-libs (= 3.1.1)
|
31
|
-
ruby-maven-libs (3.1.1)
|
32
|
-
thread_safe (0.3.5-java)
|
33
|
-
virtus (1.0.4)
|
34
|
-
axiom-types (~> 0.1)
|
35
|
-
coercible (~> 1.0)
|
36
|
-
descendants_tracker (~> 0.0, >= 0.0.3)
|
37
|
-
equalizer (~> 0.0, >= 0.0.9)
|
38
|
-
|
39
|
-
PLATFORMS
|
40
|
-
java
|
41
|
-
|
42
|
-
DEPENDENCIES
|
43
|
-
copyright-header (= 1.0.8)
|
44
|
-
jbundler!
|
45
|
-
minitest (~> 5.3)
|
46
|
-
rake (~> 10.0)
|
data/spec/project/Settings.xml
DELETED
File without changes
|