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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ede22d7fd84575aa02eea914dc7eef35eb35bce727db9b03bbcd25f6b975a30d
4
- data.tar.gz: c71f387c5a1859fc2c2931d4d4acbc5c7251d87491a604d7ac157f8a67b4cef2
3
+ metadata.gz: eaabc355f9beb18ce0d865b21607660f160f499f33fec9f362e1f06206cdae81
4
+ data.tar.gz: '0396106eac3605892be8cfcf516be7f8470131d0380035ce062d5bc8667cda8a'
5
5
  SHA512:
6
- metadata.gz: 34a0de48ff67103ff238d2fae9aad59b90fe86b5999b36b6d73dbe2372b4dc9afc1d47ecbaa6798818d94cc00770a73d16b148c1451d588c4cd136a0ee215844
7
- data.tar.gz: f4f1664744f0b8647cc4f94bbf9cc106879c71950acaddf0a1836a100f74961251604caef3540a44a73d05a1e0ad28836e8e00a3ecc33745a4f82a037c69407b
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? && not_a_directory? && (action == :create || action == :update)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Entangler
4
- VERSION = '1.3.2'
4
+ VERSION = '1.3.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entangler
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Allie