lock_jar 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/lock_jar/resolver.rb +4 -0
- data/lib/lock_jar/runtime.rb +1 -1
- data/lock_jar.gemspec +1 -1
- data/spec/lock_jar_spec.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.4
|
data/lib/lock_jar/resolver.rb
CHANGED
data/lib/lock_jar/runtime.rb
CHANGED
@@ -90,7 +90,7 @@ module LockJar
|
|
90
90
|
end
|
91
91
|
|
92
92
|
if lock_jar_file.repositories.size > 0
|
93
|
-
lock_data['repositories'] =
|
93
|
+
lock_data['repositories'] = resolver(opts).remote_repositories
|
94
94
|
|
95
95
|
if needs_force_encoding
|
96
96
|
lock_data['repositories'].map! { |repo| repo.force_encoding("UTF-8") }
|
data/lock_jar.gemspec
CHANGED
data/spec/lock_jar_spec.rb
CHANGED
@@ -17,7 +17,7 @@ describe LockJar, "#lock" do
|
|
17
17
|
lockfile = LockJar.read('tmp/Jarfile.lock')
|
18
18
|
lockfile.should eql( {
|
19
19
|
"local_repository" => "~/.m2",
|
20
|
-
"repositories" => ["http://repository.jboss.org/nexus/content/groups/public-jboss"],
|
20
|
+
"repositories" => ["http://repo1.maven.org/maven2/", "http://repository.jboss.org/nexus/content/groups/public-jboss"],
|
21
21
|
"scopes" => {
|
22
22
|
"compile"=>{
|
23
23
|
"dependencies"=>["org.apache.mina:mina-core:2.0.4", "spec/pom.xml"],
|
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.4.
|
4
|
+
version: 0.4.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -173,7 +173,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
segments:
|
175
175
|
- 0
|
176
|
-
hash:
|
176
|
+
hash: 27735535067066855
|
177
177
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
178
|
none: false
|
179
179
|
requirements:
|