multi_exiftool 0.18.1 → 1.0.0

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.
metadata CHANGED
@@ -1,14 +1,42 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_exiftool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Friedrich
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2024-05-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: contest
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '0.1'
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '0.1'
26
+ - !ruby/object:Gem::Dependency
27
+ name: fileutils
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.7.3
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: 1.7.3
12
40
  - !ruby/object:Gem::Dependency
13
41
  name: rake
14
42
  requirement: !ruby/object:Gem::Requirement
@@ -24,33 +52,33 @@ dependencies:
24
52
  - !ruby/object:Gem::Version
25
53
  version: '0'
26
54
  - !ruby/object:Gem::Dependency
27
- name: rim
55
+ name: regtest
28
56
  requirement: !ruby/object:Gem::Requirement
29
57
  requirements:
30
58
  - - "~>"
31
59
  - !ruby/object:Gem::Version
32
- version: '2.17'
60
+ version: '2'
33
61
  type: :development
34
62
  prerelease: false
35
63
  version_requirements: !ruby/object:Gem::Requirement
36
64
  requirements:
37
65
  - - "~>"
38
66
  - !ruby/object:Gem::Version
39
- version: '2.17'
67
+ version: '2'
40
68
  - !ruby/object:Gem::Dependency
41
- name: contest
69
+ name: rim
42
70
  requirement: !ruby/object:Gem::Requirement
43
71
  requirements:
44
72
  - - "~>"
45
73
  - !ruby/object:Gem::Version
46
- version: '0.1'
74
+ version: '3.0'
47
75
  type: :development
48
76
  prerelease: false
49
77
  version_requirements: !ruby/object:Gem::Requirement
50
78
  requirements:
51
79
  - - "~>"
52
80
  - !ruby/object:Gem::Version
53
- version: '0.1'
81
+ version: '3.0'
54
82
  - !ruby/object:Gem::Dependency
55
83
  name: test-unit
56
84
  requirement: !ruby/object:Gem::Requirement
@@ -65,20 +93,6 @@ dependencies:
65
93
  - - ">="
66
94
  - !ruby/object:Gem::Version
67
95
  version: '0'
68
- - !ruby/object:Gem::Dependency
69
- name: regtest
70
- requirement: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '2'
75
- type: :development
76
- prerelease: false
77
- version_requirements: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '2'
82
96
  description: This library is a wrapper for the ExifTool command-line application (https://exiftool.org)
83
97
  written by Phil Harvey. It is designed for dealing with multiple files at once by
84
98
  creating commands to call exiftool with various arguments, call it and parsing the
@@ -88,46 +102,34 @@ executables: []
88
102
  extensions: []
89
103
  extra_rdoc_files: []
90
104
  files:
91
- - "./.aspell.pws"
92
105
  - Changelog
93
- - Gemfile
94
106
  - LICENSE
95
107
  - README.md
96
- - Rakefile
108
+ - examples/01_simple_reading.rb
109
+ - examples/02_simple_writing.rb
110
+ - examples/03_reading_using_groups.rb
111
+ - examples/04_writing_using_groups.rb
112
+ - examples/05_functional_api.rb
97
113
  - lib/multi_exiftool.rb
98
114
  - lib/multi_exiftool/batch.rb
99
115
  - lib/multi_exiftool/executable.rb
116
+ - lib/multi_exiftool/messages.rb
117
+ - lib/multi_exiftool/options.rb
100
118
  - lib/multi_exiftool/reader.rb
101
- - lib/multi_exiftool/values.rb
119
+ - lib/multi_exiftool/reader_values.rb
102
120
  - lib/multi_exiftool/writer.rb
103
- - multi_exiftool.gemspec
104
- - regtest/read_all_tags.rb
105
- - regtest/read_all_tags.yml
106
- - regtest/test.jpg
107
- - test/data/a.jpg
108
- - test/data/b.jpg
109
- - test/data/c.jpg
110
- - test/data/example.config
111
- - test/helper.rb
112
- - test/test_batch.rb
113
- - test/test_executable.rb
114
- - test/test_exiftool_stuff.rb
115
- - test/test_functional_api.rb
116
- - test/test_reader.rb
117
- - test/test_values.rb
118
- - test/test_values_using_groups.rb
119
- - test/test_writer.rb
120
- - test/test_writer_groups.rb
121
+ - lib/multi_exiftool/writer_values.rb
121
122
  homepage: https://github.com/janfri/multi_exiftool
122
123
  licenses:
123
124
  - MIT
124
125
  metadata: {}
125
- post_install_message: "\n+-----------------------------------------------------------------------+\n|
126
- Please ensure you have installed exiftool version 11.10 or higher and |\n| it's
127
- found in your PATH (Try \"exiftool -ver\" on your commandline). |\n| For more
128
- details see |\n| https://exiftool.org/install.html
129
- \ |\n+-----------------------------------------------------------------------+\n
130
- \ "
126
+ post_install_message: |
127
+ +-----------------------------------------------------------------------+
128
+ | Please ensure you have installed exiftool version 11.10 or higher and |
129
+ | it's found in your PATH (Try "exiftool -ver" on your commandline). |
130
+ | For more details see |
131
+ | https://exiftool.org/install.html |
132
+ +-----------------------------------------------------------------------+
131
133
  rdoc_options: []
132
134
  require_paths:
133
135
  - lib
@@ -135,7 +137,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
137
  requirements:
136
138
  - - ">="
137
139
  - !ruby/object:Gem::Version
138
- version: 1.9.1
140
+ version: '2.3'
139
141
  required_rubygems_version: !ruby/object:Gem::Requirement
140
142
  requirements:
141
143
  - - ">="
@@ -143,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
145
  version: '0'
144
146
  requirements:
145
147
  - exiftool, version 11.10 or higher
146
- rubygems_version: 3.6.0.dev
148
+ rubygems_version: 4.0.6
147
149
  specification_version: 4
148
150
  summary: This library is a wrapper for the ExifTool command-line application (https://exiftool.org).
149
151
  test_files: []
data/.aspell.pws DELETED
@@ -1,35 +0,0 @@
1
- personal_ws-1.1 en 34
2
- Coenen
3
- ExifTool
4
- Friedrich
5
- Gemfile
6
- Gitorious
7
- MERCHANTABILITY
8
- MultiExiftool
9
- MyConversion
10
- NONINFRINGEMENT
11
- PartOfSet
12
- README
13
- SemVer
14
- SemVerTag
15
- api
16
- config
17
- dir
18
- exiftool
19
- filenames
20
- gemspec
21
- gittycat
22
- gmail
23
- janfri
24
- jpg
25
- multi
26
- ok
27
- prepend
28
- refactoring
29
- stderr
30
- stdin
31
- sublicense
32
- szTheory
33
- timestamps
34
- tmpdir
35
- utc
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
data/Rakefile DELETED
@@ -1,31 +0,0 @@
1
- # encoding: utf-8
2
- # frozen_string_literal: true
3
-
4
- require_relative 'lib/multi_exiftool'
5
- require 'rim/tire'
6
- require 'rim/version'
7
- require 'rim/regtest'
8
-
9
- Rim.setup do |p|
10
- p.name = 'multi_exiftool'
11
- p.version = MultiExiftool::VERSION
12
- p.authors = 'Jan Friedrich'
13
- p.email = 'janfri26@gmail.com'
14
- p.summary = 'This library is a wrapper for the ExifTool command-line application (https://exiftool.org).'
15
- p.description = 'This library is a wrapper for the ExifTool command-line application (https://exiftool.org) written by Phil Harvey. It is designed for dealing with multiple files at once by creating commands to call exiftool with various arguments, call it and parsing the results.'
16
- p.ruby_version = '>=1.9.1'
17
- p.license = 'MIT'
18
- p.homepage = 'https://github.com/janfri/multi_exiftool'
19
- p.install_message = %q{
20
- +-----------------------------------------------------------------------+
21
- | Please ensure you have installed exiftool version 11.10 or higher and |
22
- | it's found in your PATH (Try "exiftool -ver" on your commandline). |
23
- | For more details see |
24
- | https://exiftool.org/install.html |
25
- +-----------------------------------------------------------------------+
26
- }
27
- p.development_dependencies << %w(contest ~>0.1)
28
- p.development_dependencies << 'test-unit'
29
- p.requirements << 'exiftool, version 11.10 or higher'
30
- p.test_warning = false
31
- end
@@ -1,34 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- # stub: multi_exiftool 0.18.1 ruby lib
3
- #
4
- # This file is automatically generated by rim.
5
- # PLEASE DO NOT EDIT IT DIRECTLY!
6
- # Change the values in Rim.setup in Rakefile instead.
7
-
8
- Gem::Specification.new do |s|
9
- s.name = "multi_exiftool"
10
- s.version = "0.18.1"
11
-
12
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
- s.require_paths = ["lib"]
14
- s.authors = ["Jan Friedrich"]
15
- s.date = "2024-05-23"
16
- s.description = "This library is a wrapper for the ExifTool command-line application (https://exiftool.org) written by Phil Harvey. It is designed for dealing with multiple files at once by creating commands to call exiftool with various arguments, call it and parsing the results."
17
- s.email = "janfri26@gmail.com"
18
- s.files = ["./.aspell.pws", "Changelog", "Gemfile", "LICENSE", "README.md", "Rakefile", "lib/multi_exiftool", "lib/multi_exiftool.rb", "lib/multi_exiftool/batch.rb", "lib/multi_exiftool/executable.rb", "lib/multi_exiftool/reader.rb", "lib/multi_exiftool/values.rb", "lib/multi_exiftool/writer.rb", "multi_exiftool.gemspec", "regtest/read_all_tags.rb", "regtest/read_all_tags.yml", "regtest/test.jpg", "test/data", "test/data/a.jpg", "test/data/b.jpg", "test/data/c.jpg", "test/data/example.config", "test/helper.rb", "test/test_batch.rb", "test/test_executable.rb", "test/test_exiftool_stuff.rb", "test/test_functional_api.rb", "test/test_reader.rb", "test/test_values.rb", "test/test_values_using_groups.rb", "test/test_writer.rb", "test/test_writer_groups.rb"]
19
- s.homepage = "https://github.com/janfri/multi_exiftool"
20
- s.licenses = ["MIT"]
21
- s.post_install_message = "\n+-----------------------------------------------------------------------+\n| Please ensure you have installed exiftool version 11.10 or higher and |\n| it's found in your PATH (Try \"exiftool -ver\" on your commandline). |\n| For more details see |\n| https://exiftool.org/install.html |\n+-----------------------------------------------------------------------+\n "
22
- s.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
23
- s.requirements = ["exiftool, version 11.10 or higher"]
24
- s.rubygems_version = "3.6.0.dev"
25
- s.summary = "This library is a wrapper for the ExifTool command-line application (https://exiftool.org)."
26
-
27
- s.specification_version = 4
28
-
29
- s.add_development_dependency(%q<rake>, [">= 0"])
30
- s.add_development_dependency(%q<rim>, ["~> 2.17"])
31
- s.add_development_dependency(%q<contest>, ["~> 0.1"])
32
- s.add_development_dependency(%q<test-unit>, [">= 0"])
33
- s.add_development_dependency(%q<regtest>, ["~> 2"])
34
- end
@@ -1,6 +0,0 @@
1
- require 'regtest'
2
- require 'multi_exiftool'
3
-
4
- Regtest.sample 'read all tags' do
5
- MultiExiftool.read('regtest/test.jpg', tags: %w(-filemodifydate -fileaccessdate -fileinodechangedate -filepermissions))
6
- end
@@ -1,112 +0,0 @@
1
- ---
2
- sample: read all tags
3
- result:
4
- - - !ruby/object:MultiExiftool::Values
5
- values:
6
- sourcefile: regtest/test.jpg
7
- exiftoolversion: 12.26
8
- filename: test.jpg
9
- directory: regtest
10
- filesize: 43 KiB
11
- filetype: JPEG
12
- filetypeextension: jpg
13
- mimetype: image/jpeg
14
- jfifversion: 1.01
15
- exifbyteorder: Big-endian (Motorola, MM)
16
- imagedescription: KONICA MINOLTA DIGITAL CAMERA
17
- make: KONICA MINOLTA
18
- model: DYNAX 7D
19
- orientation: Horizontal (normal)
20
- xresolution: 72
21
- yresolution: 72
22
- resolutionunit: inches
23
- software: DYNAX 7D v1.10
24
- modifydate: 2005:09:13 20:08:50
25
- ycbcrpositioning: Centered
26
- exposuretime: 1/60
27
- fnumber: 9.5
28
- exposureprogram: Program AE
29
- iso: 400
30
- exifversion: '0221'
31
- datetimeoriginal: 2005:09:13 20:08:50
32
- createdate: 2005:09:13 20:08:50
33
- componentsconfiguration: Y, Cb, Cr, -
34
- brightnessvalue: 4.5
35
- exposurecompensation: -1
36
- maxaperturevalue: 4.5
37
- meteringmode: Multi-segment
38
- lightsource: Unknown
39
- flash: Off, Did not fire
40
- focallength: 75.0 mm
41
- subjectarea: 1504 1000 256 304
42
- makernoteversion: MLT0
43
- minoltaimagesize: Large
44
- whitebalance: Auto
45
- focusmode: AF-A
46
- afpoints: Center
47
- flashmode: Normal
48
- isosetting: 400
49
- freememorycardimages: 202
50
- hueadjustment: 0
51
- rotation: Horizontal (normal)
52
- imagenumber: 6
53
- noisereduction: Unknown (2)
54
- imagenumber2: 50
55
- zonematchingon: 'Off'
56
- compressedimagesize: 1598477
57
- previewimagestart: 39146
58
- previewimagelength: 0
59
- scenemode: Standard
60
- colormode: Natural sRGB
61
- minoltaquality: Fine
62
- flashexposurecomp: 0
63
- teleconverter: None
64
- imagestabilization: 'On'
65
- zonematching: ISO Setting Used
66
- colortemperature: 0
67
- lenstype: Minolta AF 28-135mm F4-4.5 or Other Lens
68
- usercomment: ''
69
- flashpixversion: '0100'
70
- colorspace: sRGB
71
- exifimagewidth: 3008
72
- exifimageheight: 2000
73
- customrendered: Normal
74
- exposuremode: Auto
75
- digitalzoomratio: 0
76
- focallengthin35mmformat: 112 mm
77
- scenecapturetype: Standard
78
- gaincontrol: Low gain up
79
- contrast: Normal
80
- saturation: Normal
81
- sharpness: Normal
82
- printimversion: '0300'
83
- compression: JPEG (old-style)
84
- thumbnailoffset: 39268
85
- thumbnaillength: 1820
86
- currentiptcdigest: e5ef1faceaa3d410961c63ab090136c7
87
- applicationrecordversion: 4
88
- supplementalcategories: Natur
89
- keywords:
90
- - Orange
91
- - Rot
92
- xmptoolkit: Image::ExifTool 9.45
93
- title: Abenddämmerung
94
- imagewidth: 1
95
- imageheight: 1
96
- encodingprocess: Baseline DCT, Huffman coding
97
- bitspersample: 8
98
- colorcomponents: 3
99
- ycbcrsubsampling: YCbCr4:2:0 (2 2)
100
- aperture: 9.5
101
- imagesize: 1x1
102
- lensid: Tokina AT-X 242 AF 24-200mm F3.5-5.6
103
- megapixels: 1.0e-06
104
- scalefactor35efl: 1.5
105
- shutterspeed: 1/60
106
- thumbnailimage: "(Binary data 1820 bytes, use -b option to extract)"
107
- circleofconfusion: 0.020 mm
108
- fov: 18.3 deg
109
- focallength35efl: '75.0 mm (35 mm equivalent: 112.0 mm)'
110
- hyperfocaldistance: 29.43 m
111
- lightvalue: 10.4
112
- - []
data/regtest/test.jpg DELETED
Binary file
data/test/data/a.jpg DELETED
Binary file
data/test/data/b.jpg DELETED
Binary file
data/test/data/c.jpg DELETED
Binary file