mini_exiftool 2.12.0 → 2.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Changelog +3 -0
- data/lib/mini_exiftool.rb +4 -4
- metadata +4 -6
- data/Gemfile +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d36a4581a00375b61b1b4e7d08cb0d6f6f0e3b6079ed55d6d1be0f3863a708f
|
|
4
|
+
data.tar.gz: 9241c5e5514efd0fd2b6b647d35a12d52271cbdb71c2d1360972165f80648948
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ef8c843c5c89794cc17cb609a84c0bd7d66b91641bb20cf43d5e127ebc13f9074755b1e4c8ff1d25cd373b0f5778b631b67b4bff370fcc503700dc8b4373c94
|
|
7
|
+
data.tar.gz: 83da86f25f5b678e6be1a689d2be9b61e6a8a36c138a1608526fbfade35e50835973e3b014844120a2f270fb57df3cb8d98ccc1dbc2fe4a5e4ebf3756bde1915
|
data/Changelog
CHANGED
data/lib/mini_exiftool.rb
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
#
|
|
4
4
|
# MiniExiftool
|
|
5
5
|
#
|
|
6
|
-
# This library is wrapper for the ExifTool command-line
|
|
6
|
+
# This library is a wrapper for the ExifTool command-line
|
|
7
7
|
# application (https://exiftool.org/)
|
|
8
8
|
# written by Phil Harvey.
|
|
9
9
|
# Read and write access is done in a clean OO manner.
|
|
10
10
|
#
|
|
11
11
|
# Author: Jan Friedrich
|
|
12
|
-
# Copyright (c) 2007-
|
|
12
|
+
# Copyright (c) 2007-2021, 2023-2024 by Jan Friedrich
|
|
13
13
|
# Licensed under the GNU LESSER GENERAL PUBLIC LICENSE,
|
|
14
14
|
# Version 2.1, February 1999
|
|
15
15
|
#
|
|
@@ -28,7 +28,7 @@ require 'yaml'
|
|
|
28
28
|
# Simple OO access to the ExifTool command-line application.
|
|
29
29
|
class MiniExiftool
|
|
30
30
|
|
|
31
|
-
VERSION = '2.12.
|
|
31
|
+
VERSION = '2.12.1'
|
|
32
32
|
|
|
33
33
|
# Name of the ExifTool command-line application
|
|
34
34
|
@@cmd = 'exiftool'
|
|
@@ -385,7 +385,7 @@ class MiniExiftool
|
|
|
385
385
|
############################################################################
|
|
386
386
|
|
|
387
387
|
def cmd_gen arg_str='', filename
|
|
388
|
-
[
|
|
388
|
+
[+@@cmd, arg_str.encode('UTF-8'), escape(filename.encode(@@fs_enc))].map {|s| s.force_encoding('UTF-8')}.join(' ')
|
|
389
389
|
end
|
|
390
390
|
|
|
391
391
|
def run cmd
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mini_exiftool
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.12.
|
|
4
|
+
version: 2.12.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
original_platform: ''
|
|
7
7
|
authors:
|
|
@@ -106,7 +106,6 @@ extra_rdoc_files: []
|
|
|
106
106
|
files:
|
|
107
107
|
- COPYING
|
|
108
108
|
- Changelog
|
|
109
|
-
- Gemfile
|
|
110
109
|
- README.md
|
|
111
110
|
- Tutorial.md
|
|
112
111
|
- examples/copy_icc_profile.rb
|
|
@@ -119,7 +118,6 @@ homepage: https://github.com/janfri/mini_exiftool
|
|
|
119
118
|
licenses:
|
|
120
119
|
- LGPL-2.1
|
|
121
120
|
metadata:
|
|
122
|
-
homepage_uri: https://github.com/janfri/mini_exiftool
|
|
123
121
|
source_code_uri: https://github.com/janfri/mini_exiftool
|
|
124
122
|
post_install_message: |
|
|
125
123
|
+-----------------------------------------------------------------------+
|
|
@@ -127,8 +125,8 @@ post_install_message: |
|
|
|
127
125
|
| and it's found in your PATH (Try 'exiftool -ver' on your commandline).|
|
|
128
126
|
| For more details see |
|
|
129
127
|
| https://exiftool.org/install.html |
|
|
130
|
-
| You need also Ruby
|
|
131
|
-
| If you need support for Ruby <
|
|
128
|
+
| You need also Ruby 2.3 or higher. |
|
|
129
|
+
| If you need support for Ruby < 2.3 or exiftool < 7.65 then install |
|
|
132
130
|
| mini_exiftool version < 2.0.0. |
|
|
133
131
|
+-----------------------------------------------------------------------+
|
|
134
132
|
rdoc_options: []
|
|
@@ -138,7 +136,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
138
136
|
requirements:
|
|
139
137
|
- - ">="
|
|
140
138
|
- !ruby/object:Gem::Version
|
|
141
|
-
version: '
|
|
139
|
+
version: '2.3'
|
|
142
140
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
141
|
requirements:
|
|
144
142
|
- - ">="
|
data/Gemfile
DELETED