exiv2 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/exiv2/exiv2.cpp +4 -0
- data/lib/exiv2/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d7b70abda815a7d5ee2a37dbda954d65f61a277cd41c73517d02c1659ac2ed6
|
4
|
+
data.tar.gz: 9f6aba355b6e181965205674a81a577bd4adc7ac085886021138d2ba925e3489
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0431aa73b62228bf2bbbfd618747ce18d3b453306f4ae452e9a4e8843c274ae1fb5ca65f09657f1d7ff568f4689fde1156320d4c1a8e1b4b86a844748a358d6
|
7
|
+
data.tar.gz: 5c67ecf3dee17f011d274610bff7d5e1d245ce0754f0f1d5c2095785759da78780c5a307ff48c2380e79b4e308171944f5430142b1563593789074ce8f2f5793
|
data/ext/exiv2/exiv2.cpp
CHANGED
@@ -75,6 +75,7 @@ extern "C" void Init_exiv2() {
|
|
75
75
|
basic_error_class = rb_define_class_under(exiv2_module, "BasicError", rb_eRuntimeError);
|
76
76
|
|
77
77
|
image_class = rb_define_class_under(exiv2_module, "Image", rb_cObject);
|
78
|
+
rb_undef_alloc_func(image_class);
|
78
79
|
rb_define_method(image_class, "read_metadata", (Method)image_read_metadata, 0);
|
79
80
|
rb_define_method(image_class, "write_metadata", (Method)image_write_metadata, 0);
|
80
81
|
rb_define_method(image_class, "iptc_data", (Method)image_iptc_data, 0);
|
@@ -85,18 +86,21 @@ extern "C" void Init_exiv2() {
|
|
85
86
|
rb_define_singleton_method(image_factory_class, "open", (Method)image_factory_open, 1);
|
86
87
|
|
87
88
|
exif_data_class = rb_define_class_under(exiv2_module, "ExifData", rb_cObject);
|
89
|
+
rb_undef_alloc_func(exif_data_class);
|
88
90
|
rb_include_module(exif_data_class, enumerable_module);
|
89
91
|
rb_define_method(exif_data_class, "each", (Method)exif_data_each, 0);
|
90
92
|
rb_define_method(exif_data_class, "add", (Method)exif_data_add, 2);
|
91
93
|
rb_define_method(exif_data_class, "delete", (Method)exif_data_delete, 1);
|
92
94
|
|
93
95
|
iptc_data_class = rb_define_class_under(exiv2_module, "IptcData", rb_cObject);
|
96
|
+
rb_undef_alloc_func(iptc_data_class);
|
94
97
|
rb_include_module(iptc_data_class, enumerable_module);
|
95
98
|
rb_define_method(iptc_data_class, "each", (Method)iptc_data_each, 0);
|
96
99
|
rb_define_method(iptc_data_class, "add", (Method)iptc_data_add, 2);
|
97
100
|
rb_define_method(iptc_data_class, "delete", (Method)iptc_data_delete, 1);
|
98
101
|
|
99
102
|
xmp_data_class = rb_define_class_under(exiv2_module, "XmpData", rb_cObject);
|
103
|
+
rb_undef_alloc_func(xmp_data_class);
|
100
104
|
rb_include_module(xmp_data_class, enumerable_module);
|
101
105
|
rb_define_method(xmp_data_class, "each", (Method)xmp_data_each, 0);
|
102
106
|
rb_define_method(xmp_data_class, "add", (Method)xmp_data_add, 2);
|
data/lib/exiv2/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exiv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Yandell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -61,9 +61,9 @@ licenses: []
|
|
61
61
|
metadata:
|
62
62
|
bug_tracker_uri: https://github.com/envato/exiv2/issues
|
63
63
|
changelog_uri: https://github.com/envato/exiv2/releases
|
64
|
-
documentation_uri: https://www.rubydoc.info/gems/exiv2/0.1.
|
64
|
+
documentation_uri: https://www.rubydoc.info/gems/exiv2/0.1.1
|
65
65
|
homepage_uri: https://github.com/envato/exiv2
|
66
|
-
source_code_uri: https://github.com/envato/exiv2/tree/v0.1.
|
66
|
+
source_code_uri: https://github.com/envato/exiv2/tree/v0.1.1
|
67
67
|
post_install_message:
|
68
68
|
rdoc_options: []
|
69
69
|
require_paths:
|