label_weaver 0.0.9 → 0.0.10
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 290288a3de5f82f2011f9dbd603e6b9f8ee369bb64ffdc77c544004f4dc6e5e8
|
4
|
+
data.tar.gz: 9377d8b8a5a46c8630a9d0f3ba6e38189ff68dd1679b84cc6b4a2bdc1058c11a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b12f4ed0bb7cef83d3066680a623ba9d8ef03b67ea643b684ba985aee57e7d1502b573519d242942dc01f1af91a422c79ae605eada47d4510265c874924e9c8
|
7
|
+
data.tar.gz: 1cf1ff573c45a3972e46dce59bca1f432aec28e7f275ce15c0dcd98401f0f75b54063aae5db24763339a275b0329eab77ae2b022e53fc6b09ed9b81a702282fd
|
data/label_weaver.gemspec
CHANGED
@@ -42,8 +42,8 @@ module LabelWeaver
|
|
42
42
|
# If the file is forced, we need to delete the existing file if it exists.
|
43
43
|
FileUtils.rm_f(project_file) if project_file.exist?
|
44
44
|
elsif Util.file_exists?(project_file)
|
45
|
-
if repo.timestamp_for(repository_file) >
|
46
|
-
logger.warn "File '#{relative_filename}' has a newer version in the remote repository (#{repo.timestamp_for(repository_file)} vs #{
|
45
|
+
if repo.timestamp_for(repository_file) > Util.mtime(project_file)
|
46
|
+
logger.warn "File '#{relative_filename}' has a newer version in the remote repository (#{repo.timestamp_for(repository_file)} vs #{Util.mtime(project_file)})."
|
47
47
|
end
|
48
48
|
|
49
49
|
logger.debug "Skipping '#{relative_filename}'..."
|
@@ -43,7 +43,7 @@ module LabelWeaver
|
|
43
43
|
remove_empty_tree(project_file.dirname)
|
44
44
|
elsif Util.file_exists?(project_file)
|
45
45
|
if Util.digest(project_file) != Util.digest(repository_file)
|
46
|
-
logger.debug "File '#{relative_filename}' is kept as it was changed in the whitelabel project (r: #{repo.timestamp_for(repository_file)} vs w: #{
|
46
|
+
logger.debug "File '#{relative_filename}' is kept as it was changed in the whitelabel project (r: #{repo.timestamp_for(repository_file)} vs w: #{Util.mtime(project_file)})."
|
47
47
|
else
|
48
48
|
logger.debug "Deleting file '#{relative_filename}'..."
|
49
49
|
project_file.unlink
|
data/lib/label_weaver/util.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: label_weaver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Exner
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cogger
|