rdm 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rdm/source_installer.rb +4 -4
- data/lib/rdm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17937c3383d168f5769d3905ca00c92bafdf5764
|
4
|
+
data.tar.gz: 7822aadb44658bc12dd458af0493203b9d55a352
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b6c6bd70d549af995cb909aba34428a18b6d87c75f7a37f3b9fadb62079888b9a83fccd453ea9257be98f3a6f8ecb24be43f48e5e2c35a0c454d7129faa24e5
|
7
|
+
data.tar.gz: 6eb6663138790754791e235ba260a4399ae268f3892b229553b17fdac438b5d9b43fac3769d283e272c697f3f49db0824cba37a4b64bd8dfcfd53e9bf43b1ffc
|
data/lib/rdm/source_installer.rb
CHANGED
@@ -18,10 +18,10 @@ class Rdm::SourceInstaller
|
|
18
18
|
|
19
19
|
lock_file = "#{full_package_path}.lock"
|
20
20
|
|
21
|
-
if File.exist?(lock_file) && File.read(lock_file)
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
return if File.exist?(lock_file) && File.read(lock_file) == locked
|
22
|
+
|
23
|
+
File.open(lock_file, "w+") do |file|
|
24
|
+
file.write(locked)
|
25
25
|
end
|
26
26
|
rescue Errno::ENOENT
|
27
27
|
puts "Can't find package: #{package_path}"
|
data/lib/rdm/version.rb
CHANGED