ruby-exiv2 0.7 → 1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/ext/exiv2.hpp +1 -1
  3. data/test/image.rb +6 -6
  4. metadata +2 -2
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake/packagetask'
6
6
  require 'rake/contrib/rubyforgepublisher'
7
7
 
8
8
  PKG_NAME = "ruby-exiv2"
9
- PKG_VERSION = "0.7"
9
+ PKG_VERSION = "1.0"
10
10
  PKG_AUTHOR = "Max Lapshin"
11
11
  PKG_EMAIL = "max@maxidoors.ru"
12
12
  PKG_HOMEPAGE = "http://maxidoors.ru/"
@@ -79,7 +79,7 @@
79
79
  #define RUN(x) if(!x) { return Qnil; }
80
80
 
81
81
  #define __BEGIN try {
82
- #define __END } catch(Exiv2::AnyError& e) { rb_raise(eError, "Error occured in exiv2 library: %s", e.what().c_str());}
82
+ #define __END } catch(Exiv2::AnyError& e) { rb_raise(eError, "Error occured in exiv2 library: %s", e.what());}
83
83
  #define __NIL_END } catch(Exiv2::AnyError& e) { return Qnil; }
84
84
  #define __VOID_END } catch(Exiv2::AnyError& e) {}
85
85
 
@@ -170,17 +170,17 @@ class ImageTest < Test::Unit::TestCase
170
170
 
171
171
  def test_tag_access
172
172
  return unless Exiv2::Tag.respond_to?(:count)
173
- assert_equal 139, Exiv2::Tag.count
173
+ assert_equal 147, Exiv2::Tag.count
174
174
  exif_tag = nil
175
175
  Exiv2::Tag.each do |tag|
176
176
  exif_tag = tag
177
177
  break
178
178
  end
179
- assert_equal "IFD0", exif_tag.ifd
180
- assert_equal "ImageStructure", exif_tag.section
181
- assert_equal "NewSubfileType", exif_tag.name
182
- assert_equal "New Subfile Type", exif_tag.title
183
- assert_equal "A general indication of the kind of data contained in this subfile.", exif_tag.desc
179
+ assert exif_tag.ifd
180
+ assert exif_tag.section
181
+ assert exif_tag.name
182
+ assert exif_tag.title
183
+ assert exif_tag.desc
184
184
  end
185
185
 
186
186
  def test_iptc_get
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: ruby-exiv2
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.7"
7
- date: 2007-02-19 00:00:00 +03:00
6
+ version: "1.0"
7
+ date: 2007-04-06 00:00:00 +04:00
8
8
  summary: Exiv2 (exif image tags handling) library driver
9
9
  require_paths:
10
10
  - lib