exifr 0.10 → 0.10.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 (5) hide show
  1. data/CHANGELOG +3 -0
  2. data/Rakefile +1 -1
  3. data/lib/tiff.rb +1 -1
  4. data/tests/test_tiff.rb +6 -0
  5. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ EXIF Reader 0.10.1
2
+ * old style exif access
3
+
1
4
  EXIF Reader 0.10
2
5
  * TIFF support
3
6
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ task :default => :test
8
8
 
9
9
  spec = Gem::Specification.new do |s|
10
10
  s.name = 'exifr'
11
- s.version = '0.10'
11
+ s.version = '0.10.1'
12
12
  s.author = "R.W. van 't Veer"
13
13
  s.email = 'remco@remvee.net'
14
14
  s.homepage = 'http://exifr.rubyforge.org/'
@@ -308,7 +308,7 @@ module EXIFR
308
308
 
309
309
  # Get +index+ image.
310
310
  def [](index)
311
- @ifds[index]
311
+ index.is_a?(Symbol) ? to_hash[index] : @ifds[index]
312
312
  end
313
313
 
314
314
  # Dispatch to first image.
@@ -106,4 +106,10 @@ class TestTIFF < Test::Unit::TestCase
106
106
  end
107
107
  end
108
108
  end
109
+
110
+ def test_old_style
111
+ assert_nothing_raised do
112
+ assert_not_nil @t[:f_number]
113
+ end
114
+ end
109
115
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: exifr
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.10"
7
- date: 2007-02-27 00:00:00 +01:00
6
+ version: 0.10.1
7
+ date: 2007-04-26 00:00:00 +02:00
8
8
  summary: EXIF Reader is a module to read EXIF from JPEG images.
9
9
  require_paths:
10
10
  - lib