entangler 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/entangler/entangled_file.rb +1 -5
- data/lib/entangler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eaabc355f9beb18ce0d865b21607660f160f499f33fec9f362e1f06206cdae81
|
4
|
+
data.tar.gz: '0396106eac3605892be8cfcf516be7f8470131d0380035ce062d5bc8667cda8a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f75598f2858b29948b406f8362274905abcc396d45697b2aafacdd59566925fffaf7ab77408f556d90cc176c52aaf2225ebe2a6e644b4c321af4180d5e1f34c2
|
7
|
+
data.tar.gz: 7efcebf6200f16625804fc14ab50ad2973e3e5f8fa05f6f800b24fc001b5efdaf3ddd664c338201526662b5db6a3ee9f7882fb46d39077731f817d25f5b51211
|
@@ -18,10 +18,6 @@ module Entangler
|
|
18
18
|
Entangler.executor.generate_abs_path(@path)
|
19
19
|
end
|
20
20
|
|
21
|
-
def not_a_directory?
|
22
|
-
!File.directory?(full_path)
|
23
|
-
end
|
24
|
-
|
25
21
|
def file_exists?
|
26
22
|
File.exist?(full_path)
|
27
23
|
end
|
@@ -60,7 +56,7 @@ module Entangler
|
|
60
56
|
end
|
61
57
|
|
62
58
|
def marshal_dump
|
63
|
-
if file_exists? &&
|
59
|
+
if file_exists? && (action == :create || action == :update)
|
64
60
|
@desired_modtime = File.mtime(full_path).to_i
|
65
61
|
@contents = File.read(full_path)
|
66
62
|
end
|
data/lib/entangler/version.rb
CHANGED