ruby-exiv2 0.7 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/ext/exiv2.hpp +1 -1
- data/test/image.rb +6 -6
- metadata +2 -2
data/Rakefile
CHANGED
data/ext/exiv2.hpp
CHANGED
@@ -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()
|
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
|
|
data/test/image.rb
CHANGED
@@ -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
|
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
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
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
|
-
date: 2007-
|
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
|