format_parser 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba98fc34f902ba77ee29c4e96c69ef5e583c86ac
4
- data.tar.gz: 757999ef4e7d25fe268637f7b26843e41da7e342
3
+ metadata.gz: 893aa7a0c9ab6b3f13930caffd0c455ef341c91f
4
+ data.tar.gz: e63bb62ac26c49e1958ab62eb9410058084d7d44
5
5
  SHA512:
6
- metadata.gz: 12dd8fe78b7b58d24e8e15098c1c825ceb0877f33b393b8757178a0d15ca569098c0830e157f069a45b649baef837d774020eac047792d9c27cbea8cc56a731b
7
- data.tar.gz: 130256991758f0a7c6fd399bfc8ab50e6418dd7a8bdbe73580da4e47ceb1ca3ac337a020d9b93f423c656258725704dc56a9f02da640a16cc0831ea72811353f
6
+ metadata.gz: 1ba899600ad478696d35478a57838d2cc66e75a1e4884f9f993a8a5df584184973d65effde17751dd063c2c08edb65bf8a3a3fbbb33595b2cdb614ad31fe0759
7
+ data.tar.gz: 3476574566c7dcab2dc7113337107c6fe182860478890c31da0ff6588ccb4d7adcb068ff4dcc3c9d2e01c43d815db4240c7d50e36f4014c69834780db675747f
@@ -1,3 +1,3 @@
1
1
  module FormatParser
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -33,7 +33,7 @@ class FormatParser::EXIFParser
33
33
  def scan_image_exif
34
34
 
35
35
  # Without the magic bytes EXIFR throws an error
36
- @file_data.rewind
36
+ @file_data.seek(0)
37
37
  raw_exif_data = EXIFR::JPEG.new(@file_data) if @filetype == :jpeg
38
38
  raw_exif_data = EXIFR::TIFF.new(@file_data) if @filetype == :tiff
39
39
  # For things that we don't yet have a parser for
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: format_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Noah Berman