imagemaster3000 0.3.0 → 0.3.1

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
  SHA1:
3
- metadata.gz: 337adf188a0e13841326d2e0d7eb0e71d8e0491c
4
- data.tar.gz: 05371c5a3b1ee7df77478cadbd1bf5ba2061f1c6
3
+ metadata.gz: ab46a860572e09beca19ed46d78bb92e15ce3d86
4
+ data.tar.gz: ef2f0441e58de22eee42672bf2594b0be570c075
5
5
  SHA512:
6
- metadata.gz: 389c2ed7afc7c371a924e98cfe490b6b02089d2b195f634e0c6a37a81e81718e4c0a06a863d38e604c57343f96ca87c22f170f008f7c1705e3a9f3e251796c79
7
- data.tar.gz: 19a96e3c2d24247e8a89d2e1a0664964c937f48ac12d27ad2db9636cf946a2b2b094c1a1ba8e3c9fe0861bdfb229684f137a30d9099bd171efe996481465f0ba
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+#{filename}\s*$/)
31
- raise Imagemaster3000::Errors::VerificationError, "Cannot identify checksum for file #{file.inspect}" \
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
@@ -1,3 +1,3 @@
1
1
  module Imagemaster3000
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagemaster3000
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Kimle