Skip to content
This repository
Browse code

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

…sending a patch.
  • Loading branch information...
commit 9da54d61cfda9438bd290ad199f5db8805bdb69f 1 parent a3aebbc
authored November 10, 2008
4  Changelog
... ...
@@ -1,3 +1,7 @@
  1
+Version 1.0.1
  2
+- Fixing bug [#22726]
  3
+  Making MiniExiftool::Error public.
  4
+  Thanks to Mathias Stjernstrom for sending a patch.
1 5
 Version 1.0.0
2 6
 - Be aware changing in the interface:
3 7
   - List tags (e.g. Keywords, SupplementalCategories) are now handled as 
9  lib/mini_exiftool.rb
@@ -29,7 +29,7 @@ class MiniExiftool
29 29
   attr_reader :filename
30 30
   attr_accessor :numerical, :composite, :convert_encoding, :errors, :timestamps
31 31
 
32  
-  VERSION = '1.0.0'
  32
+  VERSION = '1.0.1'
33 33
 
34 34
   # +opts+ support at the moment
35 35
   # * <code>:numerical</code> for numerical values, default is +false+
@@ -252,6 +252,9 @@ def self.unify tag
252 252
     tag.gsub(/[-_]/,'').downcase
253 253
   end
254 254
 
  255
+  # Exception class
  256
+  class MiniExiftool::Error < StandardError; end
  257
+
255 258
   ############################################################################
256 259
   private
257 260
   ############################################################################
@@ -427,10 +430,6 @@ def unify tag
427 430
     end
428 431
   end
429 432
   
430  
-
431  
-  # Exception class
432  
-  class MiniExiftool::Error < StandardError; end
433  
-
434 433
 end
435 434
 
436 435
 # Add to_a to Numerical if it's not yet defined

0 notes on commit 9da54d6

Please sign in to comment.
Something went wrong with that request. Please try again.