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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b333d92e91da900e3092613d33281d08b2b83de8
4
- data.tar.gz: 09eb52bf0bad1c86ff330ebfa8da62543cc76fa3
3
+ metadata.gz: 253aac5b06eae6b031fd65e87af11e630688b78d
4
+ data.tar.gz: af7e21c2f92fa418e59bb4d9216b6ae6910d3e4b
5
5
  SHA512:
6
- metadata.gz: 27d623c15fb6ad2a9ac9e65ff960220bd5afa5ae1899e8eb0a0f5e009b79746a9aced6b1285b2a699507a1e84ad52957950737539a9b787d7c37a581ee30df9e
7
- data.tar.gz: 1a3d1eaf3eb5f7be85f5badca07a174df54a6df99664a092854c8cbfff22799adab34592729c354261403a518e6221abee7c1b9885bfed15183cd7f2b69dabaa
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 # => "NIKON D600"
14
- data.image_width # => 4000
13
+ data.model # => "NIKON D600"
14
+ data.image_width # => 4000
15
15
  data.gps_longitude # => 121.51246
16
- data.date_time # => 2013-12-08 21:14:11 0800
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, ...}
@@ -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';
@@ -1,4 +1,5 @@
1
1
  require 'mkmf'
2
+ $CFLAGS << ' -std=c99 '
2
3
  have_library('exif')
3
4
  have_header('libexif/exif-data.h')
4
5
  create_makefile('exif/exif')
@@ -1,3 +1,3 @@
1
1
  module Exif
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exif
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jian Weihang