mini_exiftool 0.5.0 → 0.5.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.
Files changed (3) hide show
  1. data/Changelog +4 -0
  2. data/lib/mini_exiftool.rb +3 -3
  3. metadata +2 -2
data/Changelog CHANGED
@@ -1,3 +1,7 @@
1
+ Version 0.5.1
2
+ - Warning "parenthesize argument(s) for future version" removed
3
+ Thanks to Greg from knobby.ws
4
+
1
5
  Version 0.5.0
2
6
  - New option :timestamps to create DateTime objects instead of Time objects
3
7
  for timestamps (Fixing bug #16328)
@@ -27,7 +27,7 @@ class MiniExiftool
27
27
  attr_reader :filename
28
28
  attr_accessor :numerical, :composite, :errors, :timestamps
29
29
 
30
- VERSION = '0.5.0'
30
+ VERSION = '0.5.1'
31
31
 
32
32
  # +opts+ support at the moment
33
33
  # * <code>:numerical</code> for numerical values, default is +false+
@@ -257,7 +257,7 @@ class MiniExiftool
257
257
  elsif @timestamps == DateTime
258
258
  value = DateTime.strptime(value,'%Y:%m:%d %H:%M:%S')
259
259
  else
260
- raise MiniExiftool::Error.new "Value #@timestamps not allowed for option timestamps."
260
+ raise MiniExiftool::Error.new("Value #@timestamps not allowed for option timestamps.")
261
261
  end
262
262
  rescue ArgumentError
263
263
  value = false
@@ -272,7 +272,7 @@ class MiniExiftool
272
272
  value = value.split(/ /)
273
273
  end
274
274
  else
275
- raise MiniExiftool::Error
275
+ raise MiniExiftool::Error.new("Malformed line #{line.inspect} of exiftool output.")
276
276
  end
277
277
  return [tag, value]
278
278
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_exiftool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Friedrich
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-02-01 00:00:00 +01:00
12
+ date: 2008-03-03 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15