lock_jar 0.12.4 → 0.12.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -12
- data/lib/lock_jar/runtime.rb +4 -2
- data/lib/lock_jar/version.rb +1 -1
- data/lock_jar.gemspec +2 -0
- metadata +34 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22eeda9f3e7b5bda8ea3feaecc079414bb6fa0ed
|
4
|
+
data.tar.gz: 90b98193e4d6620a3924fea9b09ae164ef4501ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5986aa1988b6090d7e826d80331ef55465e526ecfbf0fbd0b49d3150bf515c09f1504ed5331065bc6825ba5fec052df92f7f923b165473f930eb03f72d923d4a
|
7
|
+
data.tar.gz: 05f566ce41061493937d88073bf83cda929e3c77d872f0aa05eb622c70a933b221597cc5c8862f6ba25e2a8d66d538c99ed9c4a5c8263633b339f2be3c26e5e4
|
data/CHANGELOG.md
CHANGED
@@ -4,38 +4,46 @@
|
|
4
4
|
|
5
5
|
* Add support for `without_default_maven_repo`
|
6
6
|
|
7
|
-
|
7
|
+
#### 0.12.1 (Feburary 25, 2015)
|
8
|
+
|
9
|
+
* Fix for writing remote repositories to lockfile
|
10
|
+
|
11
|
+
#### 0.12.2 (Feburary 25, 2015)
|
8
12
|
|
9
13
|
* Only write unique set of remote repositories to lockfile
|
10
14
|
|
11
|
-
|
15
|
+
#### 0.12.3 (March 9, 2015)
|
12
16
|
|
13
|
-
*
|
17
|
+
* Noop
|
18
|
+
|
19
|
+
#### 0.12.4 (May 5, 2015)
|
20
|
+
|
21
|
+
* Update Naether dep to 0.14.2
|
14
22
|
|
15
23
|
### 0.10.0 (June 27, 2014)
|
16
24
|
|
17
25
|
* Extract Bundler out to own Gem - https://github.com/mguymon/lock_jar_bundler
|
18
26
|
|
19
|
-
#### 0.10.
|
27
|
+
#### 0.10.1 (November 19, 2014)
|
20
28
|
|
21
|
-
* Use
|
29
|
+
* 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>]
|
30
|
+
* 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>]
|
22
31
|
|
23
|
-
#### 0.10.
|
32
|
+
#### 0.10.2 (November 20, 2014)
|
24
33
|
|
25
|
-
*
|
34
|
+
* Default to the correct file, based on desired type (<a href="https://github.com/mguymon/lock_jar/pull/22">Pull #20</a>) [<a href="https://github.com/pangloss">pangloss</a>]
|
26
35
|
|
27
36
|
#### 0.10.3 (Januaray 13, 2015)
|
28
37
|
|
29
38
|
* Control the logging of Naether from LockJar::Logging
|
30
39
|
|
31
|
-
#### 0.10.
|
40
|
+
#### 0.10.4 (Feburary 11, 2015)
|
32
41
|
|
33
|
-
*
|
42
|
+
* Fix bug with excludes in Jarfiles (<a href="https://github.com/mguymon/lock_jar/pull/25">Pull #20</a>) [<a href="https://github.com/pangloss">pangloss</a>]
|
34
43
|
|
35
|
-
#### 0.10.
|
44
|
+
#### 0.10.5 (Feburary 13, 2015)
|
36
45
|
|
37
|
-
* Use
|
38
|
-
* 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>]
|
46
|
+
* Use Naether 0.14.0, with support for NAETHER_MIRROR env
|
39
47
|
|
40
48
|
### 0.9.0 (March 6, 2014)
|
41
49
|
|
@@ -56,3 +64,5 @@
|
|
56
64
|
#### 0.7.4 (April 17, 2013)
|
57
65
|
|
58
66
|
* Fixed Buildr integration (<a href="https://github.com/mguymon/lock_jar/issues/6">Issue #6</a>) [<a href="https://github.com/tobsch">tobsch</a>]
|
67
|
+
|
68
|
+
### Start of the Universe
|
data/lib/lock_jar/runtime.rb
CHANGED
@@ -126,7 +126,8 @@ module LockJar
|
|
126
126
|
if jarfile.clear_repositories
|
127
127
|
resolver(opts).clear_remote_repositories
|
128
128
|
else
|
129
|
-
|
129
|
+
repos = resolver(opts).remote_repositories
|
130
|
+
lockfile.remote_repositories += repos.to_a if repos
|
130
131
|
end
|
131
132
|
|
132
133
|
jarfile.remote_repositories.each do |repo|
|
@@ -169,7 +170,8 @@ module LockJar
|
|
169
170
|
|
170
171
|
if artifact.is_a? LockJar::Domain::Jar
|
171
172
|
group['dependencies'] << artifact.notation
|
172
|
-
|
173
|
+
g = resolver(opts).dependencies_graph[artifact.notation]
|
174
|
+
artifact_data["transitive"] = g.to_hash if g
|
173
175
|
|
174
176
|
elsif artifact.is_a? LockJar::Domain::Pom
|
175
177
|
artifact_data['scopes'] = artifact.scopes
|
data/lib/lock_jar/version.rb
CHANGED
data/lock_jar.gemspec
CHANGED
metadata
CHANGED
@@ -1,46 +1,58 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lock_jar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Guymon
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2014-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: naether
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
|
-
- -
|
16
|
+
- - ~>
|
18
17
|
- !ruby/object:Gem::Version
|
19
18
|
version: 0.14.2
|
20
|
-
|
19
|
+
name: naether
|
21
20
|
prerelease: false
|
21
|
+
type: :runtime
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.14.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: thor
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
|
-
- -
|
30
|
+
- - '>='
|
32
31
|
- !ruby/object:Gem::Version
|
33
32
|
version: 0.18.1
|
34
|
-
|
33
|
+
name: thor
|
35
34
|
prerelease: false
|
35
|
+
type: :runtime
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.18.1
|
41
|
-
|
42
|
-
|
43
|
-
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
name: rake
|
48
|
+
prerelease: false
|
49
|
+
type: :development
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Manage Jar files for Ruby. In the spirit of Bundler, a Jarfile is used to generate a Jarfile.lock that contains all the resolved jar dependencies for scopes runtime, compile, and test. The Jarfile.lock can be used to populate the classpath
|
44
56
|
email: michael@tobedevoured.com
|
45
57
|
executables:
|
46
58
|
- lockjar
|
@@ -49,8 +61,8 @@ extra_rdoc_files:
|
|
49
61
|
- LICENSE
|
50
62
|
- README.md
|
51
63
|
files:
|
52
|
-
-
|
53
|
-
-
|
64
|
+
- .gitignore
|
65
|
+
- .travis.yml
|
54
66
|
- CHANGELOG.md
|
55
67
|
- Gemfile
|
56
68
|
- Guardfile
|
@@ -110,24 +122,24 @@ homepage: http://github.com/mguymon/lock_jar
|
|
110
122
|
licenses:
|
111
123
|
- Apache
|
112
124
|
metadata: {}
|
113
|
-
post_install_message:
|
125
|
+
post_install_message:
|
114
126
|
rdoc_options: []
|
115
127
|
require_paths:
|
116
128
|
- lib
|
117
129
|
required_ruby_version: !ruby/object:Gem::Requirement
|
118
130
|
requirements:
|
119
|
-
- -
|
131
|
+
- - '>='
|
120
132
|
- !ruby/object:Gem::Version
|
121
133
|
version: '0'
|
122
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
135
|
requirements:
|
124
|
-
- -
|
136
|
+
- - '>='
|
125
137
|
- !ruby/object:Gem::Version
|
126
138
|
version: '0'
|
127
139
|
requirements: []
|
128
|
-
rubyforge_project:
|
129
|
-
rubygems_version: 2.
|
130
|
-
signing_key:
|
140
|
+
rubyforge_project:
|
141
|
+
rubygems_version: 2.1.9
|
142
|
+
signing_key:
|
131
143
|
specification_version: 4
|
132
144
|
summary: Manage Jar files for Ruby
|
133
145
|
test_files:
|
@@ -147,4 +159,4 @@ test_files:
|
|
147
159
|
- spec/support/Jarfile
|
148
160
|
- spec/support/helper.rb
|
149
161
|
- spec/support/shared_examples/lockfile.rb
|
150
|
-
has_rdoc:
|
162
|
+
has_rdoc:
|