mini_exiftool 2.12.0 → 2.12.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Changelog +3 -0
  3. data/lib/mini_exiftool.rb +4 -4
  4. metadata +4 -6
  5. data/Gemfile +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7dca9467c295a50ea6b98a4ff39da9bed396f914c507ca52097de8ad6ce7018
4
- data.tar.gz: af9d622e53dde26096285f120bfd78b35082ecdac9bf3360d5696863de386ceb
3
+ metadata.gz: 7d36a4581a00375b61b1b4e7d08cb0d6f6f0e3b6079ed55d6d1be0f3863a708f
4
+ data.tar.gz: 9241c5e5514efd0fd2b6b647d35a12d52271cbdb71c2d1360972165f80648948
5
5
  SHA512:
6
- metadata.gz: d57db9046a9d94127c53a6f99265a819d86fe5abb1e5dc18ee82ed29a10a93b355084114d2165f537aafbe7c88e9983a87a2cf8df2f8113e715e2a07e5e77a78
7
- data.tar.gz: b2af043e5674d0fc45b537b676f64db74f5972a64329425071380636b6046e35373719e1810cf1f97cea05a40256232b1c263d39ca43fc4a12098fbac14d2f59
6
+ metadata.gz: 7ef8c843c5c89794cc17cb609a84c0bd7d66b91641bb20cf43d5e127ebc13f9074755b1e4c8ff1d25cd373b0f5778b631b67b4bff370fcc503700dc8b4373c94
7
+ data.tar.gz: 83da86f25f5b678e6be1a689d2be9b61e6a8a36c138a1608526fbfade35e50835973e3b014844120a2f270fb57df3cb8d98ccc1dbc2fe4a5e4ebf3756bde1915
data/Changelog CHANGED
@@ -1,3 +1,6 @@
1
+ 2.12.1
2
+ - Maintenance release: Optimizing some internals.
3
+
1
4
  2.12.0
2
5
  - Make mini_exiftool Ruby 3.5 ready.
3
6
  - Minimize gem file size.
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-2019 by Jan Friedrich
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.0'
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
- [@@cmd, arg_str.encode('UTF-8'), escape(filename.encode(@@fs_enc))].map {|s| s.force_encoding('UTF-8')}.join(' ')
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.0
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 1.9 or higher. |
131
- | If you need support for Ruby < 1.9 or exiftool < 7.65 then install |
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: '1.9'
139
+ version: '2.3'
142
140
  required_rubygems_version: !ruby/object:Gem::Requirement
143
141
  requirements:
144
142
  - - ">="
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec