zipr 0.3.2 → 0.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/zipr/archive.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1cb5647f8410511bd09812946a161adacdc465363420c634d739c862a84b5dc
|
4
|
+
data.tar.gz: 1ba4bab69bc9c06b4662b32cb1d74f41810819cf3f0326a424c88caafff5ed4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b823246639b77616bc82dddd9c7018a671f159d0df8777520136a7328db96daff199a926b417d84b2489d3b1faed9b8fa93bb4edbe25eb38192ab96142196b78
|
7
|
+
data.tar.gz: 7aa3d47e4e7dcd7f8ef8e8e676569cffe33eeec5cf2b60e4a0416947edc85f1fc4c1a91854395f031e9b81109fd0a7c297b4ef366db387e819a47ba564dc9e7a
|
data/lib/zipr/archive.rb
CHANGED
@@ -469,7 +469,7 @@ module Zipr
|
|
469
469
|
_assign_checksums(checksums)
|
470
470
|
@options = options || @options || {}
|
471
471
|
@mode = mode || @mode || :idempotent
|
472
|
-
@archive_changed = ::File.exist?(@path) && @checksums['archive_checksum'] != Digest::SHA256.file(@path).hexdigest
|
472
|
+
@archive_changed = (::File.exist?(@path) && @checksums['archive_checksum'] != Digest::SHA256.file(@path).hexdigest) || !::File.exist?(@checksum_path)
|
473
473
|
end
|
474
474
|
|
475
475
|
def _assign_checksums(checksums)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zipr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Munoz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: easy_io
|