mini_exiftool 1.0.0 → 1.0.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 +4 -5
  3. metadata +16 -16
data/Changelog CHANGED
@@ -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
@@ -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 @@ class MiniExiftool
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 @@ class MiniExiftool
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
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: 1.0.0
4
+ version: 1.0.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-09-12 00:00:00 +02:00
12
+ date: 2008-11-10 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -24,27 +24,27 @@ extra_rdoc_files:
24
24
  - Tutorial
25
25
  files:
26
26
  - lib/mini_exiftool.rb
27
- - test/test_read.rb
28
27
  - test/test_write.rb
29
- - test/test_composite.rb
28
+ - test/test_read.rb
29
+ - test/test_special.rb
30
+ - test/test_class_methods.rb
30
31
  - test/test_save.rb
31
- - test/test_special_dates.rb
32
+ - test/test_composite.rb
33
+ - test/test_read_numerical.rb
32
34
  - test/helpers_for_test.rb
35
+ - test/test_special_dates.rb
33
36
  - test/test_dumping.rb
34
- - test/test_read_numerical.rb
35
- - test/test_special.rb
36
- - test/test_class_methods.rb
37
- - examples/shift_time.rb
38
37
  - examples/external_photo.rb
39
38
  - examples/print_portraits.rb
39
+ - examples/shift_time.rb
40
40
  - setup.rb
41
41
  - Rakefile
42
42
  - COPYING
43
43
  - Changelog
44
+ - test/data/test.jpg
44
45
  - test/data/Canon.jpg
45
- - test/data/test_special_dates.jpg
46
46
  - test/data/INFORMATION
47
- - test/data/test.jpg
47
+ - test/data/test_special_dates.jpg
48
48
  - README
49
49
  - Tutorial
50
50
  has_rdoc: true
@@ -77,12 +77,12 @@ signing_key:
77
77
  specification_version: 2
78
78
  summary: A library for nice OO access to the Exiftool command-line application written by Phil Harvey.
79
79
  test_files:
80
- - test/test_read.rb
81
80
  - test/test_write.rb
82
- - test/test_composite.rb
81
+ - test/test_read.rb
82
+ - test/test_special.rb
83
+ - test/test_class_methods.rb
83
84
  - test/test_save.rb
85
+ - test/test_composite.rb
86
+ - test/test_read_numerical.rb
84
87
  - test/test_special_dates.rb
85
88
  - test/test_dumping.rb
86
- - test/test_read_numerical.rb
87
- - test/test_special.rb
88
- - test/test_class_methods.rb