exif 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/ext/exif/data.c +0 -1
- data/ext/exif/extconf.rb +1 -0
- data/lib/exif/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 253aac5b06eae6b031fd65e87af11e630688b78d
|
4
|
+
data.tar.gz: af7e21c2f92fa418e59bb4d9216b6ae6910d3e4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1f142637d719b20553cd4aaf783e7bbd503663511f97cf0723eb57b8c273a3f659917dd9b0571fb5791b81c87f892e93a3b52ceb84bf3e8fcd3abba6718ffd5
|
7
|
+
data.tar.gz: 338760a80d839db047a4d3099c08529bad89d099d113fd9a3576bffa183a618738c411c18b03daecb7cbf3a6845df8ee6f395110c7334584b42e2964e12e40f3
|
data/README.md
CHANGED
@@ -10,10 +10,10 @@ Please make sure you have installed `libexif` first.
|
|
10
10
|
|
11
11
|
```ruby
|
12
12
|
data = Exif::Data.new('sample.jpg')
|
13
|
-
data.model
|
14
|
-
data.image_width
|
13
|
+
data.model # => "NIKON D600"
|
14
|
+
data.image_width # => 4000
|
15
15
|
data.gps_longitude # => 121.51246
|
16
|
-
data.date_time
|
16
|
+
data.date_time # => 2013-12-08 21:14:11 0800
|
17
17
|
|
18
18
|
# get all entries in an IFD
|
19
19
|
data[0] # => {image_width: 4000, image_length: 2670, ...}
|
data/ext/exif/data.c
CHANGED
@@ -109,7 +109,6 @@ static VALUE process_value(VALUE *self_ptr, ExifTag tag, char *buf){
|
|
109
109
|
case EXIF_TAG_DATE_TIME_ORIGINAL:
|
110
110
|
case EXIF_TAG_DATE_TIME_DIGITIZED:
|
111
111
|
{
|
112
|
-
int i;
|
113
112
|
struct tm timer;
|
114
113
|
// "2013:09:10 16:31:21"
|
115
114
|
buf[4] = buf[7] = buf[10] = buf[13] = buf[16] = '\0';
|
data/ext/exif/extconf.rb
CHANGED
data/lib/exif/version.rb
CHANGED