lock_jar 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/lock_jar/buildr.rb +16 -2
- data/lock_jar.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/lib/lock_jar/buildr.rb
CHANGED
@@ -55,8 +55,22 @@ module Buildr
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
def lock_jars(
|
59
|
-
|
58
|
+
def lock_jars( *args )
|
59
|
+
lockfile = Buildr.project_to_lockfile(project)
|
60
|
+
opts = {}
|
61
|
+
scopes = ['compile','runtime']
|
62
|
+
|
63
|
+
args.each do |arg|
|
64
|
+
if arg.is_a?(Hash)
|
65
|
+
opts.merge!( arg )
|
66
|
+
elsif arg.is_a?( String )
|
67
|
+
lockfile = arg
|
68
|
+
elsif arg.is_a?( Array )
|
69
|
+
scopes = arg
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
::LockJar.list( lockfile, scopes, opts )
|
60
74
|
end
|
61
75
|
|
62
76
|
def lockjar_dsl
|
data/lock_jar.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lock_jar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Guymon
|