lock_jar 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -3
- data/VERSION +1 -1
- data/lib/lock_jar/dsl.rb +4 -1
- data/lock_jar.gemspec +11 -11
- metadata +13 -13
data/Gemfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
gem "naether", "~> 0.8.
|
4
|
-
gem "highline", "
|
5
|
-
gem "commander", "
|
3
|
+
gem "naether", "~> 0.8.6"
|
4
|
+
gem "highline", "> 1.6.0"
|
5
|
+
gem "commander", "> 4.1.0"
|
6
6
|
|
7
7
|
# Add dependencies to develop your gem here.
|
8
8
|
# Include everything needed to run rake, tests, features, etc.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.3
|
data/lib/lock_jar/dsl.rb
CHANGED
@@ -13,6 +13,8 @@
|
|
13
13
|
# License for the specific language governing permissions and limitations under
|
14
14
|
# the License.
|
15
15
|
|
16
|
+
require 'lock_jar/maven'
|
17
|
+
|
16
18
|
module LockJar
|
17
19
|
class Dsl
|
18
20
|
|
@@ -150,6 +152,7 @@ module LockJar
|
|
150
152
|
def artifact(artifact, opts)
|
151
153
|
|
152
154
|
scopes = opts[:scope] || opts[:scopes] || opts[:group]
|
155
|
+
|
153
156
|
if scopes
|
154
157
|
|
155
158
|
unless scopes.is_a? Array
|
@@ -166,7 +169,7 @@ module LockJar
|
|
166
169
|
end
|
167
170
|
|
168
171
|
if artifact
|
169
|
-
scopes.each do |scope|
|
172
|
+
scopes.uniq.each do |scope|
|
170
173
|
scope = 'compile' if scope.to_s == 'development'
|
171
174
|
|
172
175
|
if @notations[scope.to_s]
|
data/lock_jar.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "lock_jar"
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Guymon"]
|
12
|
-
s.date = "2012-08-
|
12
|
+
s.date = "2012-08-28"
|
13
13
|
s.description = "Manage Jar files for Ruby. In the spirit of Bundler, a Jarfile\n is used to generate a Jarfile.lock that contains all the resolved jar dependencies for scopes runtime, compile, and test.\n The Jarfile.lock can be used to populate the classpath"
|
14
14
|
s.email = "michael@tobedevoured.com"
|
15
15
|
s.executables = ["lockjar"]
|
@@ -54,26 +54,26 @@ Gem::Specification.new do |s|
|
|
54
54
|
s.specification_version = 3
|
55
55
|
|
56
56
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
57
|
-
s.add_runtime_dependency(%q<naether>, ["~> 0.8.
|
58
|
-
s.add_runtime_dependency(%q<highline>, ["
|
59
|
-
s.add_runtime_dependency(%q<commander>, ["
|
57
|
+
s.add_runtime_dependency(%q<naether>, ["~> 0.8.6"])
|
58
|
+
s.add_runtime_dependency(%q<highline>, ["> 1.6.0"])
|
59
|
+
s.add_runtime_dependency(%q<commander>, ["> 4.1.0"])
|
60
60
|
s.add_development_dependency(%q<rspec>, ["~> 2.9.0"])
|
61
61
|
s.add_development_dependency(%q<bundler>, ["~> 1.1.0"])
|
62
62
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
63
63
|
s.add_development_dependency(%q<yard>, ["~> 0.8.0"])
|
64
64
|
else
|
65
|
-
s.add_dependency(%q<naether>, ["~> 0.8.
|
66
|
-
s.add_dependency(%q<highline>, ["
|
67
|
-
s.add_dependency(%q<commander>, ["
|
65
|
+
s.add_dependency(%q<naether>, ["~> 0.8.6"])
|
66
|
+
s.add_dependency(%q<highline>, ["> 1.6.0"])
|
67
|
+
s.add_dependency(%q<commander>, ["> 4.1.0"])
|
68
68
|
s.add_dependency(%q<rspec>, ["~> 2.9.0"])
|
69
69
|
s.add_dependency(%q<bundler>, ["~> 1.1.0"])
|
70
70
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
71
71
|
s.add_dependency(%q<yard>, ["~> 0.8.0"])
|
72
72
|
end
|
73
73
|
else
|
74
|
-
s.add_dependency(%q<naether>, ["~> 0.8.
|
75
|
-
s.add_dependency(%q<highline>, ["
|
76
|
-
s.add_dependency(%q<commander>, ["
|
74
|
+
s.add_dependency(%q<naether>, ["~> 0.8.6"])
|
75
|
+
s.add_dependency(%q<highline>, ["> 1.6.0"])
|
76
|
+
s.add_dependency(%q<commander>, ["> 4.1.0"])
|
77
77
|
s.add_dependency(%q<rspec>, ["~> 2.9.0"])
|
78
78
|
s.add_dependency(%q<bundler>, ["~> 1.1.0"])
|
79
79
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lock_jar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: naether
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.8.
|
21
|
+
version: 0.8.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,39 +26,39 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.8.
|
29
|
+
version: 0.8.6
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: highline
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ! '>'
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.6.
|
37
|
+
version: 1.6.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ! '>'
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.6.
|
45
|
+
version: 1.6.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: commander
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - ! '>'
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 4.1.
|
53
|
+
version: 4.1.0
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
none: false
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ! '>'
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.1.
|
61
|
+
version: 4.1.0
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rspec
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: '0'
|
176
176
|
segments:
|
177
177
|
- 0
|
178
|
-
hash:
|
178
|
+
hash: -4222489912067188068
|
179
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
180
|
none: false
|
181
181
|
requirements:
|