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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +59 -59
  3. data/.travis.yml +8 -8
  4. data/CHANGELOG.md +30 -21
  5. data/Gemfile +13 -13
  6. data/Guardfile +9 -9
  7. data/README.md +375 -375
  8. data/Rakefile +24 -24
  9. data/bundler/Gemfile +21 -21
  10. data/bundler/LICENSE.txt +22 -22
  11. data/bundler/README.md +29 -29
  12. data/bundler/Rakefile +2 -2
  13. data/bundler/lib/lock_jar_bundler/bundler.rb +35 -35
  14. data/bundler/lib/lock_jar_bundler/piggy_back.rb +97 -97
  15. data/bundler/lib/lock_jar_bundler/version.rb +5 -5
  16. data/bundler/lib/lock_jar_bundler.rb +4 -4
  17. data/bundler/lock_jar_bundler.gemspec +24 -24
  18. data/bundler/spec/Jarfile +2 -2
  19. data/bundler/spec/dummy_gem/dummy_gem.gemspec +19 -19
  20. data/bundler/spec/lock_jar_bundler_spec.rb +48 -48
  21. data/bundler/spec/spec_helper.rb +88 -88
  22. data/lib/lock_jar/buildr.rb +144 -144
  23. data/lib/lock_jar/bundler.rb +154 -154
  24. data/lib/lock_jar/cli.rb +64 -64
  25. data/lib/lock_jar/domain/artifact.rb +123 -123
  26. data/lib/lock_jar/domain/dsl.rb +187 -187
  27. data/lib/lock_jar/domain/dsl_helper.rb +83 -83
  28. data/lib/lock_jar/domain/gem_dsl.rb +44 -44
  29. data/lib/lock_jar/domain/jarfile_dsl.rb +46 -46
  30. data/lib/lock_jar/domain/lockfile.rb +113 -113
  31. data/lib/lock_jar/maven.rb +111 -111
  32. data/lib/lock_jar/registry.rb +92 -92
  33. data/lib/lock_jar/resolver.rb +95 -95
  34. data/lib/lock_jar/runtime.rb +359 -355
  35. data/lib/lock_jar/version.rb +3 -3
  36. data/lib/lock_jar.rb +172 -177
  37. data/lock_jar.gemspec +27 -27
  38. data/spec/fixtures/Jarfile +13 -13
  39. data/spec/fixtures/Jarfile2 +1 -0
  40. data/spec/lock_jar/class_loader_spec.rb +57 -57
  41. data/spec/lock_jar/cli_spec.rb +100 -100
  42. data/spec/lock_jar/domain/dsl_helper_spec.rb +52 -52
  43. data/spec/lock_jar/domain/dsl_spec.rb +57 -57
  44. data/spec/lock_jar/maven_spec.rb +23 -23
  45. data/spec/lock_jar/resolver_spec.rb +26 -26
  46. data/spec/lock_jar/runtime_spec.rb +26 -26
  47. data/spec/lock_jar_spec.rb +372 -295
  48. data/spec/pom.xml +34 -34
  49. data/spec/spec_helper.rb +38 -38
  50. data/spec/support/helper.rb +44 -44
  51. metadata +3 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c9cdf5f31559a5716cbc56b79bd728da4664ef7
4
- data.tar.gz: c3aeb588bb7d6adc31849fea42230bd019e61490
3
+ metadata.gz: f21f19e4bd1512fed0232aff03d3040523c8a14e
4
+ data.tar.gz: 506c18fe58a3b0e95256d14ba906c0ab522f75f6
5
5
  SHA512:
6
- metadata.gz: 0d49ec28d685792167b3bc6fa0983d0436be8092315d5373ee0370dbc6d83e3746bf43dd4ae0c0eaddca461725f1148f6672cc4ac9c9a1b879a45443bcf3d21c
7
- data.tar.gz: 3deba23d2811f40197e3dc14e35b83ca51f73f480e69c03fc4eef0d6a294029908e11e08a3c6fb246efd65c50c10171b1b4dfb7c5285c26ad83cbb81b3780eec
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.9.0 (March 6, 2014)
4
-
5
- * Update to Naether 0.13.1 to fight the chatty log (<a href="https://github.com/mguymon/lock_jar/issues/14">Issue #14</a>)
6
-
7
- ### 0.8.0 (March 4, 2014)
8
-
9
- * Added `local` to DSL for adding local jars (<a href="https://github.com/mguymon/lock_jar/issues/6">Issue #6</a>)
10
-
11
- ### 0.7.5 (August 23, 2013)
12
-
13
- * Update Thor dep, improve specs (<a href="https://github.com/mguymon/lock_jar/pull/10">Pull #10</a>) [thanks <a href="https://github.com/yokolet">yokolet</a>]
14
-
15
- ### 0.7.4 (April 17, 2013)
16
-
17
- * Fixed Buildr integration (<a href="https://github.com/mguymon/lock_jar/issues/6">Issue #6</a>) [thanks <a href="https://github.com/tobsch">tobsch</a>]
18
-
19
- ### 0.7.0
20
-
21
- * Sort dependences for Jarfile.lock (<a href="https://github.com/mguymon/lock_jar/pull/3">Pull #3</a>) [thanks <a href="https://github.com/chetan">chetan</a>]
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
+