Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Making MiniExiftool::Error public. Thanks to Mathias Stjernstrom for …

…sending a patch.
  • Loading branch information...
commit 9da54d61cfda9438bd290ad199f5db8805bdb69f 1 parent a3aebbc
Jan Friedrich authored
Showing with 8 additions and 5 deletions.
  1. +4 −0 Changelog
  2. +4 −5 lib/mini_exiftool.rb
4 Changelog
View
@@ -1,3 +1,7 @@
+Version 1.0.1
+- Fixing bug [#22726]
+ Making MiniExiftool::Error public.
+ Thanks to Mathias Stjernstrom for sending a patch.
Version 1.0.0
- Be aware changing in the interface:
- List tags (e.g. Keywords, SupplementalCategories) are now handled as
9 lib/mini_exiftool.rb
View
@@ -29,7 +29,7 @@ class MiniExiftool
attr_reader :filename
attr_accessor :numerical, :composite, :convert_encoding, :errors, :timestamps
- VERSION = '1.0.0'
+ VERSION = '1.0.1'
# +opts+ support at the moment
# * <code>:numerical</code> for numerical values, default is +false+
@@ -252,6 +252,9 @@ def self.unify tag
tag.gsub(/[-_]/,'').downcase
end
+ # Exception class
+ class MiniExiftool::Error < StandardError; end
+
############################################################################
private
############################################################################
@@ -427,10 +430,6 @@ def unify tag
end
end
-
- # Exception class
- class MiniExiftool::Error < StandardError; end
-
end
# Add to_a to Numerical if it's not yet defined
Please sign in to comment.
Something went wrong with that request. Please try again.