mini_exiftool 2.10.4 → 2.11.0

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
  SHA256:
3
- metadata.gz: d02a99b3bb57a80fdd788fee4d19730b444733abba15521b3f82182c1616e2a2
4
- data.tar.gz: c0123ea7ed1a3f61b4a0a26efaba5b25633b8219d9c4899ad76da4d295199d38
3
+ metadata.gz: ec6272d0cd235253cba04b9b0d0bd3040aa1f3016fbbd11f99983ce7fa272cd8
4
+ data.tar.gz: '08b685c52fa09baf630e7ead5c156ba263cd79a1d517f5efbb8b8e920bab1ed4'
5
5
  SHA512:
6
- metadata.gz: af633fd3e440b6d264fe8b0b94a8c5e9ce06270cef77eed380474eff9541f63cee8f8b0521ad9637d46d4aff7b06de681e0d9fee28ea1af8babf5d3ad5269fac
7
- data.tar.gz: a96a9ea4a784ba41b57383e72f922c06f525ec7440896bca8d5dfc33ae6fef55f66dd48d3e46429dbf4b34a281485a2fc6afe96812903f82cfac0e5c13b898e6
6
+ metadata.gz: 0e01a82345001925d0f3dd3ba49ed555a7f7b6c1fcf2728a02784a59161912778443b1ddd42d200e5c83521e9f79828fb895608c82f96557e478e01eb7413d8f
7
+ data.tar.gz: a46af193c401625525aef490e2412fa71d729278b53790dd746bb4503bcbc40dd5ed100ef17aa8c6654c8b86499538aa1804001f0ea04679a8f9e1ad457b1acf
data/.aspell.pws CHANGED
@@ -1,4 +1,4 @@
1
- personal_ws-1.1 en 121
1
+ personal_ws-1.1 en 122
2
2
  Barushev
3
3
  Bugfix
4
4
  CaptionAbstract
@@ -92,6 +92,7 @@ multi
92
92
  neccessary
93
93
  params
94
94
  pdf
95
+ philister
95
96
  photoshop
96
97
  png
97
98
  popen
data/Changelog CHANGED
@@ -1,3 +1,8 @@
1
+ 2.11.0
2
+ - Fix an error with weird timestamps.
3
+ Thanks to philister for fixing it (github pull request #45).
4
+ - Set frozen_string_literal to false to work with newer Ruby versions.
5
+
1
6
  2.10.4
2
7
  - Maintenance release.
3
8
 
data/lib/mini_exiftool.rb CHANGED
@@ -1,4 +1,5 @@
1
- # -- encoding: utf-8 --
1
+ # encoding: utf-8
2
+ # frozen_string_literal: false
2
3
  #
3
4
  # MiniExiftool
4
5
  #
@@ -27,7 +28,7 @@ require 'yaml'
27
28
  # Simple OO access to the ExifTool command-line application.
28
29
  class MiniExiftool
29
30
 
30
- VERSION = '2.10.4'
31
+ VERSION = '2.11.0'
31
32
 
32
33
  # Name of the ExifTool command-line application
33
34
  @@cmd = 'exiftool'
@@ -457,7 +458,7 @@ class MiniExiftool
457
458
  else
458
459
  raise MiniExiftool::Error.new("Value #{@opts[:timestamps]} not allowed for option timestamps.")
459
460
  end
460
- rescue ArgumentError
461
+ rescue ArgumentError, RangeError
461
462
  value = false
462
463
  end
463
464
  when /^\+\d+\.\d+$/
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: mini_exiftool 2.10.4 ruby lib
2
+ # stub: mini_exiftool 2.11.0 ruby lib
3
3
  #
4
4
  # This file is automatically generated by rim.
5
5
  # PLEASE DO NOT EDIT IT DIRECTLY!
@@ -7,19 +7,19 @@
7
7
 
8
8
  Gem::Specification.new do |s|
9
9
  s.name = "mini_exiftool"
10
- s.version = "2.10.4"
10
+ s.version = "2.11.0"
11
11
 
12
12
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
13
  s.require_paths = ["lib"]
14
14
  s.authors = ["Jan Friedrich"]
15
- s.date = "2023-10-06"
15
+ s.date = "2024-03-26"
16
16
  s.description = "This library is a wrapper for the ExifTool command-line application\n(https://exiftool.org) written by Phil Harvey.\nIt provides the full power of ExifTool to Ruby: reading and writing of\nEXIF-data, IPTC-data and XMP-data.\n"
17
17
  s.email = "janfri26@gmail.com"
18
18
  s.files = ["./.aspell.pws", "COPYING", "Changelog", "Gemfile", "README.md", "Rakefile", "Tutorial.md", "examples/copy_icc_profile.rb", "examples/external_photo.rb", "examples/print_portraits.rb", "examples/shift_time.rb", "examples/show_speedup_with_fast_option.rb", "lib/mini_exiftool.rb", "mini_exiftool.gemspec", "regtest/read_all.rb", "regtest/read_all.yml", "test/data", "test/data/Bad_PreviewIFD.jpg", "test/data/Canon.jpg", "test/data/INFORMATION", "test/data/invalid_byte_sequence_in_utf8.json", "test/data/invalid_rational.json", "test/data/test.jpg", "test/data/test.jpg.json", "test/data/test_coordinates.jpg", "test/data/test_encodings.jpg", "test/data/test_special_dates.jpg", "test/helpers_for_test.rb", "test/test_bad_preview_ifd.rb", "test/test_class_methods.rb", "test/test_composite.rb", "test/test_copy_tags_from.rb", "test/test_dumping.rb", "test/test_encodings.rb", "test/test_filename_access.rb", "test/test_from_hash.rb", "test/test_instance_methods.rb", "test/test_invalid_byte_sequence_in_utf8.rb", "test/test_invalid_rational.rb", "test/test_io.rb", "test/test_pstore.rb", "test/test_read.rb", "test/test_read_coordinates.rb", "test/test_read_numerical.rb", "test/test_save.rb", "test/test_special.rb", "test/test_special_dates.rb", "test/test_write.rb"]
19
19
  s.homepage = "https://github.com/janfri/mini_exiftool"
20
20
  s.licenses = ["LGPL-2.1"]
21
21
  s.post_install_message = "+-----------------------------------------------------------------------+\n| Please ensure you have installed exiftool at least version 7.65 |\n| and it's found in your PATH (Try \"exiftool -ver\" on your commandline).|\n| For more details see |\n| https://exiftool.org/install.html |\n| You need also Ruby 1.9 or higher. |\n| If you need support for Ruby 1.8 or exiftool prior 7.65 install |\n| mini_exiftool version < 2.0.0. |\n+-----------------------------------------------------------------------+\n"
22
- s.rubygems_version = "3.5.0.dev"
22
+ s.rubygems_version = "3.6.0.dev"
23
23
  s.summary = "This library is a wrapper for the ExifTool command-line application (https://exiftool.org)."
24
24
 
25
25
  s.specification_version = 4
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_exiftool
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.4
4
+ version: 2.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Friedrich
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-10-06 00:00:00.000000000 Z
10
+ date: 2024-03-26 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -151,8 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
150
  - !ruby/object:Gem::Version
152
151
  version: '0'
153
152
  requirements: []
154
- rubygems_version: 3.5.0.dev
155
- signing_key:
153
+ rubygems_version: 3.6.0.dev
156
154
  specification_version: 4
157
155
  summary: This library is a wrapper for the ExifTool command-line application (https://exiftool.org).
158
156
  test_files: []