lock_jar 0.10.0 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +59 -59
- data/.travis.yml +8 -8
- data/CHANGELOG.md +30 -21
- data/Gemfile +13 -13
- data/Guardfile +9 -9
- data/README.md +375 -375
- data/Rakefile +24 -24
- data/bundler/Gemfile +21 -21
- data/bundler/LICENSE.txt +22 -22
- data/bundler/README.md +29 -29
- data/bundler/Rakefile +2 -2
- data/bundler/lib/lock_jar_bundler/bundler.rb +35 -35
- data/bundler/lib/lock_jar_bundler/piggy_back.rb +97 -97
- data/bundler/lib/lock_jar_bundler/version.rb +5 -5
- data/bundler/lib/lock_jar_bundler.rb +4 -4
- data/bundler/lock_jar_bundler.gemspec +24 -24
- data/bundler/spec/Jarfile +2 -2
- data/bundler/spec/dummy_gem/dummy_gem.gemspec +19 -19
- data/bundler/spec/lock_jar_bundler_spec.rb +48 -48
- data/bundler/spec/spec_helper.rb +88 -88
- data/lib/lock_jar/buildr.rb +144 -144
- data/lib/lock_jar/bundler.rb +154 -154
- data/lib/lock_jar/cli.rb +64 -64
- data/lib/lock_jar/domain/artifact.rb +123 -123
- data/lib/lock_jar/domain/dsl.rb +187 -187
- data/lib/lock_jar/domain/dsl_helper.rb +83 -83
- data/lib/lock_jar/domain/gem_dsl.rb +44 -44
- data/lib/lock_jar/domain/jarfile_dsl.rb +46 -46
- data/lib/lock_jar/domain/lockfile.rb +113 -113
- data/lib/lock_jar/maven.rb +111 -111
- data/lib/lock_jar/registry.rb +92 -92
- data/lib/lock_jar/resolver.rb +95 -95
- data/lib/lock_jar/runtime.rb +359 -355
- data/lib/lock_jar/version.rb +3 -3
- data/lib/lock_jar.rb +172 -177
- data/lock_jar.gemspec +27 -27
- data/spec/fixtures/Jarfile +13 -13
- data/spec/fixtures/Jarfile2 +1 -0
- data/spec/lock_jar/class_loader_spec.rb +57 -57
- data/spec/lock_jar/cli_spec.rb +100 -100
- data/spec/lock_jar/domain/dsl_helper_spec.rb +52 -52
- data/spec/lock_jar/domain/dsl_spec.rb +57 -57
- data/spec/lock_jar/maven_spec.rb +23 -23
- data/spec/lock_jar/resolver_spec.rb +26 -26
- data/spec/lock_jar/runtime_spec.rb +26 -26
- data/spec/lock_jar_spec.rb +372 -295
- data/spec/pom.xml +34 -34
- data/spec/spec_helper.rb +38 -38
- data/spec/support/helper.rb +44 -44
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f21f19e4bd1512fed0232aff03d3040523c8a14e
|
4
|
+
data.tar.gz: 506c18fe58a3b0e95256d14ba906c0ab522f75f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97ad60a7489b7f332af71a717f45a0fd6d149ac2cffba6bb404a147a3eab8bdd521f3203eb61e648087489d5e84c9bafedb82ed155f3a4e547005228fa27d887
|
7
|
+
data.tar.gz: 7a7b1f9bcbded109557133017585164370e14471fbd6890658af8f9d6afe48a2f3847452b9956f4277aafb7aa99d74f7858b019b6cda4bc92831a7b84ce88ee8
|
data/.gitignore
CHANGED
@@ -1,59 +1,59 @@
|
|
1
|
-
# Dont save the Gemfile since JRuby and CRuby have incompatiable deps
|
2
|
-
Gemfile.lock
|
3
|
-
Jarfile.lock
|
4
|
-
|
5
|
-
.*
|
6
|
-
|
7
|
-
tmp
|
8
|
-
|
9
|
-
# rcov generated
|
10
|
-
coverage
|
11
|
-
|
12
|
-
# rdoc generated
|
13
|
-
rdoc
|
14
|
-
|
15
|
-
# yard generated
|
16
|
-
doc
|
17
|
-
.yardoc
|
18
|
-
|
19
|
-
# bundler
|
20
|
-
.bundle
|
21
|
-
|
22
|
-
# jeweler generated
|
23
|
-
pkg
|
24
|
-
|
25
|
-
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
26
|
-
#
|
27
|
-
# * Create a file at ~/.gitignore
|
28
|
-
# * Include files you want ignored
|
29
|
-
# * Run: git config --global core.excludesfile ~/.gitignore
|
30
|
-
#
|
31
|
-
# After doing this, these files will be ignored in all your git projects,
|
32
|
-
# saving you from having to 'pollute' every project you touch with them
|
33
|
-
#
|
34
|
-
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
35
|
-
#
|
36
|
-
# For MacOS:
|
37
|
-
#
|
38
|
-
#.DS_Store
|
39
|
-
|
40
|
-
# For TextMate
|
41
|
-
#*.tmproj
|
42
|
-
#tmtags
|
43
|
-
|
44
|
-
# For emacs:
|
45
|
-
#*~
|
46
|
-
#\#*
|
47
|
-
#.\#*
|
48
|
-
|
49
|
-
# For vim:
|
50
|
-
#*.swp
|
51
|
-
|
52
|
-
# ides:
|
53
|
-
.redcar
|
54
|
-
*.iml
|
55
|
-
|
56
|
-
# For rubinius:
|
57
|
-
#*.rbc
|
58
|
-
|
59
|
-
autotest
|
1
|
+
# Dont save the Gemfile since JRuby and CRuby have incompatiable deps
|
2
|
+
Gemfile.lock
|
3
|
+
Jarfile.lock
|
4
|
+
|
5
|
+
.*
|
6
|
+
|
7
|
+
tmp
|
8
|
+
|
9
|
+
# rcov generated
|
10
|
+
coverage
|
11
|
+
|
12
|
+
# rdoc generated
|
13
|
+
rdoc
|
14
|
+
|
15
|
+
# yard generated
|
16
|
+
doc
|
17
|
+
.yardoc
|
18
|
+
|
19
|
+
# bundler
|
20
|
+
.bundle
|
21
|
+
|
22
|
+
# jeweler generated
|
23
|
+
pkg
|
24
|
+
|
25
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
26
|
+
#
|
27
|
+
# * Create a file at ~/.gitignore
|
28
|
+
# * Include files you want ignored
|
29
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
30
|
+
#
|
31
|
+
# After doing this, these files will be ignored in all your git projects,
|
32
|
+
# saving you from having to 'pollute' every project you touch with them
|
33
|
+
#
|
34
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
35
|
+
#
|
36
|
+
# For MacOS:
|
37
|
+
#
|
38
|
+
#.DS_Store
|
39
|
+
|
40
|
+
# For TextMate
|
41
|
+
#*.tmproj
|
42
|
+
#tmtags
|
43
|
+
|
44
|
+
# For emacs:
|
45
|
+
#*~
|
46
|
+
#\#*
|
47
|
+
#.\#*
|
48
|
+
|
49
|
+
# For vim:
|
50
|
+
#*.swp
|
51
|
+
|
52
|
+
# ides:
|
53
|
+
.redcar
|
54
|
+
*.iml
|
55
|
+
|
56
|
+
# For rubinius:
|
57
|
+
#*.rbc
|
58
|
+
|
59
|
+
autotest
|
data/.travis.yml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 1.9.3
|
4
|
-
- 2.0.0
|
5
|
-
- 2.1.0
|
6
|
-
- jruby-19mode
|
7
|
-
|
8
|
-
script: bundle exec rspec spec
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- 1.9.3
|
4
|
+
- 2.0.0
|
5
|
+
- 2.1.0
|
6
|
+
- jruby-19mode
|
7
|
+
|
8
|
+
script: bundle exec rspec spec
|
data/CHANGELOG.md
CHANGED
@@ -1,21 +1,30 @@
|
|
1
|
-
## LockJar Changelog
|
2
|
-
|
3
|
-
### 0.
|
4
|
-
|
5
|
-
*
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
1
|
+
## LockJar Changelog
|
2
|
+
|
3
|
+
### 0.10.1 (November 19, 2014)
|
4
|
+
|
5
|
+
* Use local_repository from Jarfile.lock in install() if none has been passed in (<a href="https://github.com/mguymon/lock_jar/pull/20">Pull #20</a>) [<a href="https://github.com/stewi2">stewi2</a>]
|
6
|
+
* Add support for merging and locking multiple Jarfiles (<a href="https://github.com/mguymon/lock_jar/pull/21">Pull #21</a>) [<a href="https://github.com/pangloss">pangloss</a>]
|
7
|
+
|
8
|
+
### 0.10.0 (June 27, 2014)
|
9
|
+
|
10
|
+
* Extract Bundler out to own Gem - https://github.com/mguymon/lock_jar_bundler
|
11
|
+
|
12
|
+
### 0.9.0 (March 6, 2014)
|
13
|
+
|
14
|
+
* Update to Naether 0.13.1 to fight the chatty log (<a href="https://github.com/mguymon/lock_jar/issues/14">Issue #14</a>)
|
15
|
+
|
16
|
+
### 0.8.0 (March 4, 2014)
|
17
|
+
|
18
|
+
* Added `local` to DSL for adding local jars (<a href="https://github.com/mguymon/lock_jar/issues/6">Issue #6</a>)
|
19
|
+
|
20
|
+
### 0.7.5 (August 23, 2013)
|
21
|
+
|
22
|
+
* Update Thor dep, improve specs (<a href="https://github.com/mguymon/lock_jar/pull/10">Pull #10</a>) [<a href="https://github.com/yokolet">yokolet</a>]
|
23
|
+
|
24
|
+
### 0.7.4 (April 17, 2013)
|
25
|
+
|
26
|
+
* Fixed Buildr integration (<a href="https://github.com/mguymon/lock_jar/issues/6">Issue #6</a>) [<a href="https://github.com/tobsch">tobsch</a>]
|
27
|
+
|
28
|
+
### 0.7.0
|
29
|
+
|
30
|
+
* Sort dependences for Jarfile.lock (<a href="https://github.com/mguymon/lock_jar/pull/3">Pull #3</a>) [<a href="https://github.com/chetan">chetan</a>]
|
data/Gemfile
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in lock_jar.gemspec
|
4
|
-
gemspec
|
5
|
-
|
6
|
-
|
7
|
-
group :development do
|
8
|
-
gem 'guard-rspec', :require => false
|
9
|
-
gem 'pry'
|
10
|
-
gem 'yard'
|
11
|
-
gem 'jruby-openssl', :platforms => :jruby
|
12
|
-
gem 'rspec', '~> 2.14.1'
|
13
|
-
end
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in lock_jar.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
|
7
|
+
group :development do
|
8
|
+
gem 'guard-rspec', :require => false
|
9
|
+
gem 'pry'
|
10
|
+
gem 'yard'
|
11
|
+
gem 'jruby-openssl', :platforms => :jruby
|
12
|
+
gem 'rspec', '~> 2.14.1'
|
13
|
+
end
|
data/Guardfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
# A sample Guardfile
|
2
|
-
# More info at https://github.com/guard/guard#readme
|
3
|
-
|
4
|
-
guard :rspec do
|
5
|
-
watch(%r{^spec/.+_spec\.rb$})
|
6
|
-
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
7
|
-
watch('spec/spec_helper.rb') { "spec" }
|
8
|
-
end
|
9
|
-
|
1
|
+
# A sample Guardfile
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
3
|
+
|
4
|
+
guard :rspec do
|
5
|
+
watch(%r{^spec/.+_spec\.rb$})
|
6
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
7
|
+
watch('spec/spec_helper.rb') { "spec" }
|
8
|
+
end
|
9
|
+
|