imagemaster3000 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/imagemaster3000/verification/hash.rb +2 -2
- data/lib/imagemaster3000/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: ab46a860572e09beca19ed46d78bb92e15ce3d86
|
4
|
+
data.tar.gz: ef2f0441e58de22eee42672bf2594b0be570c075
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b48a2906e2e9649308cec78a1d923a03e20472059dbf043179aa88a404825003a94024ac0b09aa77d051872dc74ca9d1fe86bbb2a7799cd219ae24e7c75c9787
|
7
|
+
data.tar.gz: e7a7ee4a4a84d5e3b8fae06744cd2913e90cd0eac954cc5a793ccf19fb501919a9ce3177ecef4f0d21a53b9a699e2dd7abeea4ea49122871b6904efca9d26d64
|
@@ -27,8 +27,8 @@ module Imagemaster3000
|
|
27
27
|
|
28
28
|
logger.debug "Looking for filename #{filename.inspect} in list \n#{checksum_list}"
|
29
29
|
|
30
|
-
found_lines = checksum_list.lines.grep(/\s
|
31
|
-
raise Imagemaster3000::Errors::VerificationError, "Cannot identify checksum for file #{
|
30
|
+
found_lines = checksum_list.lines.grep(/\s+\*?#{filename}\s*$/)
|
31
|
+
raise Imagemaster3000::Errors::VerificationError, "Cannot identify checksum for file #{filename.inspect}" \
|
32
32
|
unless found_lines.count == 1
|
33
33
|
|
34
34
|
checksum_line = found_lines.first
|