mini_exiftool 2.10.2 → 2.10.3
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/.aspell.pws +2 -1
- data/Changelog +3 -0
- data/README.md +1 -1
- data/lib/mini_exiftool.rb +13 -2
- data/mini_exiftool.gemspec +9 -18
- data/test/test_dumping.rb +1 -1
- data/test/test_pstore.rb +1 -1
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: a72b16712f8325fadc9e21589c126bc31f88f25492f2d47b916e0f59eda5ef24
         | 
| 4 | 
            +
              data.tar.gz: 3eb4319d36886b2b7f0caf723177d6f2bd383df090f9421b433e46b3050a1fcf
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 56a5e0ac25ceb6b11ec7105f0bae6f69b0f871b63ab586ef50178e484acef162845115c75f9ba89b26e5858b94f937c703e7af16d40776b52da443c76e7a50ce
         | 
| 7 | 
            +
              data.tar.gz: 2a7c1fe5b13bfaf9d88b2d26ccbfedc1c5a7379bfaa8d253c5b50ca7b8285e4b0bc35bb8785e671bf979e89b0009e4e28981ce853a8a57f9f7b0c006c55081f8
         | 
    
        data/.aspell.pws
    CHANGED
    
    
    
        data/Changelog
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            # MiniExiftool  | 
| 1 | 
            +
            # MiniExiftool 
         | 
| 2 2 |  | 
| 3 3 | 
             
            This library is a wrapper for the ExifTool command-line application
         | 
| 4 4 | 
             
            (https://exiftool.org) written by Phil Harvey.
         | 
    
        data/lib/mini_exiftool.rb
    CHANGED
    
    | @@ -22,11 +22,12 @@ require 'rbconfig' | |
| 22 22 | 
             
            require 'set'
         | 
| 23 23 | 
             
            require 'tempfile'
         | 
| 24 24 | 
             
            require 'time'
         | 
| 25 | 
            +
            require 'yaml'
         | 
| 25 26 |  | 
| 26 27 | 
             
            # Simple OO access to the ExifTool command-line application.
         | 
| 27 28 | 
             
            class MiniExiftool
         | 
| 28 29 |  | 
| 29 | 
            -
              VERSION = '2.10. | 
| 30 | 
            +
              VERSION = '2.10.3'
         | 
| 30 31 |  | 
| 31 32 | 
             
              # Name of the ExifTool command-line application
         | 
| 32 33 | 
             
              @@cmd = 'exiftool'
         | 
| @@ -304,7 +305,7 @@ class MiniExiftool | |
| 304 305 | 
             
              # Create a MiniExiftool instance from YAML data created with
         | 
| 305 306 | 
             
              # MiniExiftool#to_yaml
         | 
| 306 307 | 
             
              def self.from_yaml yaml, opts={}
         | 
| 307 | 
            -
                MiniExiftool.from_hash YAML. | 
| 308 | 
            +
                MiniExiftool.from_hash YAML.unsafe_load(yaml), opts
         | 
| 308 309 | 
             
              end
         | 
| 309 310 |  | 
| 310 311 | 
             
              # Returns the command name of the called ExifTool application.
         | 
| @@ -553,6 +554,16 @@ class MiniExiftool | |
| 553 554 | 
             
                params
         | 
| 554 555 | 
             
              end
         | 
| 555 556 |  | 
| 557 | 
            +
              # Backport YAML.unsafe_load
         | 
| 558 | 
            +
              unless defined? YAML.unsafe_load
         | 
| 559 | 
            +
                module BackportYAML
         | 
| 560 | 
            +
                  def unsafe_load *args
         | 
| 561 | 
            +
                    load *args
         | 
| 562 | 
            +
                  end
         | 
| 563 | 
            +
                end
         | 
| 564 | 
            +
                YAML.extend BackportYAML
         | 
| 565 | 
            +
              end
         | 
| 566 | 
            +
             | 
| 556 567 | 
             
              # Hash with indifferent access:
         | 
| 557 568 | 
             
              # DateTimeOriginal == datetimeoriginal == date_time_original
         | 
| 558 569 | 
             
              class TagHash < Hash # :nodoc:
         | 
    
        data/mini_exiftool.gemspec
    CHANGED
    
    | @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            # -*- encoding: utf-8 -*-
         | 
| 2 | 
            -
            # stub: mini_exiftool 2.10. | 
| 2 | 
            +
            # stub: mini_exiftool 2.10.3 ruby lib
         | 
| 3 3 | 
             
            #
         | 
| 4 4 | 
             
            # This file is automatically generated by rim.
         | 
| 5 5 | 
             
            # PLEASE DO NOT EDIT IT DIRECTLY!
         | 
| @@ -7,34 +7,25 @@ | |
| 7 7 |  | 
| 8 8 | 
             
            Gem::Specification.new do |s|
         | 
| 9 9 | 
             
              s.name = "mini_exiftool"
         | 
| 10 | 
            -
              s.version = "2.10. | 
| 10 | 
            +
              s.version = "2.10.3"
         | 
| 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 = " | 
| 15 | 
            +
              s.date = "2023-10-06"
         | 
| 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. | 
| 22 | 
            +
              s.rubygems_version = "3.5.0.dev"
         | 
| 23 23 | 
             
              s.summary = "This library is a wrapper for the ExifTool command-line application (https://exiftool.org)."
         | 
| 24 24 |  | 
| 25 | 
            -
               | 
| 26 | 
            -
                s.specification_version = 4
         | 
| 27 | 
            -
              end
         | 
| 25 | 
            +
              s.specification_version = 4
         | 
| 28 26 |  | 
| 29 | 
            -
               | 
| 30 | 
            -
             | 
| 31 | 
            -
             | 
| 32 | 
            -
             | 
| 33 | 
            -
                s.add_development_dependency(%q<regtest>, ["~> 2"])
         | 
| 34 | 
            -
              else
         | 
| 35 | 
            -
                s.add_dependency(%q<rake>, [">= 0"])
         | 
| 36 | 
            -
                s.add_dependency(%q<rim>, ["~> 2.17"])
         | 
| 37 | 
            -
                s.add_dependency(%q<test-unit>, [">= 0"])
         | 
| 38 | 
            -
                s.add_dependency(%q<regtest>, ["~> 2"])
         | 
| 39 | 
            -
              end
         | 
| 27 | 
            +
              s.add_development_dependency(%q<rake>, [">= 0"])
         | 
| 28 | 
            +
              s.add_development_dependency(%q<rim>, ["~> 2.17"])
         | 
| 29 | 
            +
              s.add_development_dependency(%q<test-unit>, [">= 0"])
         | 
| 30 | 
            +
              s.add_development_dependency(%q<regtest>, ["~> 2"])
         | 
| 40 31 | 
             
            end
         | 
    
        data/test/test_dumping.rb
    CHANGED
    
    
    
        data/test/test_pstore.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: mini_exiftool
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.10. | 
| 4 | 
            +
              version: 2.10.3
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Jan Friedrich
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2023-10-06 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rake
         | 
| @@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 151 151 | 
             
                - !ruby/object:Gem::Version
         | 
| 152 152 | 
             
                  version: '0'
         | 
| 153 153 | 
             
            requirements: []
         | 
| 154 | 
            -
            rubygems_version: 3. | 
| 154 | 
            +
            rubygems_version: 3.5.0.dev
         | 
| 155 155 | 
             
            signing_key:
         | 
| 156 156 | 
             
            specification_version: 4
         | 
| 157 157 | 
             
            summary: This library is a wrapper for the ExifTool command-line application (https://exiftool.org).
         |