mini_exiftool 2.7.2 → 2.7.3

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
  SHA1:
3
- metadata.gz: dfb5db778023608bdf498eb491daac4f714dad7e
4
- data.tar.gz: da076263f73f0d6f7eccd407ca4dad676f34c940
3
+ metadata.gz: e00172cff9c5669123ff3946dba9714d63e5ea14
4
+ data.tar.gz: 02ebb1d326ddbbd96365b72d59be3c4b12289519
5
5
  SHA512:
6
- metadata.gz: db1e8de31890df5c85ca5ebd21e04e2c710a70b741bc9e2a1646eee44e020bd6cad9035d645af258e6d8f4b0749d9ce73f467052ad87f69ab405d75525c3e43a
7
- data.tar.gz: 0388c15b6d5dd605d3ed87be5f505ab50db6260b540a38719f7f93abd9dc6250d55ecb5b19b168c4db5f1a993ad22e334501c728db224a00d08ee6f05613099b
6
+ metadata.gz: cd0b5675e004b9c03f18aec0126b25a4bf0076a2efe73ce84212ba5a14224d88b58851535519f2eb68a03f6b382bf682a59ced172b68084d13cde44fa02ec157
7
+ data.tar.gz: 9394945a11a048b3f58a75932e5c53f327a6eed9a1fed3cb6379bc30b200aa0bdd51f77ffacf867d7cf3b4d3258d8bb65c938706f352e0ee2c1627e25552a165
data/Changelog CHANGED
@@ -1,3 +1,6 @@
1
+ 2.7.3
2
+ - Update docs.
3
+
1
4
  2.7.2
2
5
  - Include example files in gem.
3
6
 
@@ -98,7 +101,7 @@ The Encoding Release
98
101
  - Type conversion in MiniExiftool.from_hash.
99
102
  Thanks to Ethan Soutar-Rau for the merge request.
100
103
  - Switching to rim. (No longer troubles with echoe.)
101
- - Exiftool version detection delayed.
104
+ - ExifTool version detection delayed.
102
105
  Thanks to Sebastian Skałacki for the merge request.
103
106
  - New method MiniExiftool#save!
104
107
  Cherry-picked commit from Wil Gieseler.
data/README.rdoc CHANGED
@@ -1,12 +1,13 @@
1
1
  = MiniExiftool
2
2
 
3
- This library is wrapper for the Exiftool command-line application
3
+ This library is a wrapper for the ExifTool command-line application
4
4
  (http://www.sno.phy.queensu.ca/~phil/exiftool) written by Phil Harvey.
5
- Read and write access is done in a clean OO manner.
5
+ It provides the full power of ExifTool to Ruby: reading and writing of
6
+ EXIF-data, IPTC-data and XMP-data.
6
7
 
7
8
  == Requirements
8
9
 
9
- Ruby 1.9 or higher and an installation of the Exiftool
10
+ Ruby 1.9 or higher and an installation of the ExifTool
10
11
  command-line application at least version 7.65.
11
12
  If you run on Ruby 1.8 or with a prior exiftool version
12
13
  install mini_exiftool version 1.x.x.
@@ -14,13 +15,13 @@ Instructions for installation you can find under
14
15
  http://www.sno.phy.queensu.ca/~phil/exiftool/install.html .
15
16
 
16
17
  Alternatively Wil Gieseler has bundled a meta-gem that eliminates the
17
- need for a separate Exiftool installation. Have a look at
18
+ need for a separate ExifTool installation. Have a look at
18
19
  http://github.com/wilg/mini_exiftool_vendored or
19
20
  http://rubygems.org/gems/mini_exiftool_vendored .
20
21
 
21
22
  == Installation
22
23
 
23
- First you need Exiftool (see under Requirements above). Then you can simply
24
+ First you need ExifTool (see under Requirements above). Then you can simply
24
25
  install the gem with
25
26
  gem install mini_exiftool
26
27
 
@@ -122,9 +123,7 @@ This problem you can solve with the option replace_invalid_chars:
122
123
 
123
124
  == Contribution
124
125
 
125
- The code is hosted in a git repository on Gitorious at
126
- http://gitorious.org/mini_exiftool
127
- and github at
126
+ The code is hosted in a git repository on github at
128
127
  https://github.com/janfri/mini_exiftool
129
128
  feel free to contribute!
130
129
 
data/Rakefile CHANGED
@@ -10,8 +10,8 @@ Rim.setup do |p|
10
10
  p.version = MiniExiftool::VERSION
11
11
  p.authors = 'Jan Friedrich'
12
12
  p.email = 'janfri26@gmail.com'
13
- p.summary = 'This library is wrapper for the Exiftool command-line application (http://www.sno.phy.queensu.ca/~phil/exiftool).'
14
- p.homepage = 'http://gitorious.org/mini_exiftool'
13
+ p.summary = 'This library is wrapper for the ExifTool command-line application (http://www.sno.phy.queensu.ca/~phil/exiftool).'
14
+ p.homepage = 'https://github.com/janfri/mini_exiftool'
15
15
  p.license = 'LGPL-2.1'
16
16
  p.gem_files << 'Tutorial.rdoc'
17
17
  p.gem_files += FileList.new('examples/**')
data/Tutorial.rdoc CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  == Installation
5
5
 
6
- * Installing the Exiftool command-line application from Phil Harvey
6
+ * Installing the ExifTool command-line application from Phil Harvey
7
7
  (see http://www.sno.phy.queensu.ca/~phil/exiftool/install.html)
8
8
  * Installing the Ruby library (<code>gem install mini_exiftool</code>)
9
9
 
@@ -66,7 +66,7 @@ method:
66
66
 
67
67
  === Using options
68
68
 
69
- The Exiftool command-line application has an option (-n) to get values
69
+ The ExifTool command-line application has an option (-n) to get values
70
70
  as numbers if possible, in MiniExiftool you can do this with setting
71
71
  the <code>:numerical</code> option to +true+ while generating a new
72
72
  instance with new or using the <code>numerical=</code>-method
data/lib/mini_exiftool.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # MiniExiftool
4
4
  #
5
- # This library is wrapper for the Exiftool command-line
5
+ # This library is wrapper for the ExifTool command-line
6
6
  # application (http://www.sno.phy.queensu.ca/~phil/exiftool/)
7
7
  # written by Phil Harvey.
8
8
  # Read and write access is done in a clean OO manner.
@@ -23,12 +23,12 @@ require 'set'
23
23
  require 'tempfile'
24
24
  require 'time'
25
25
 
26
- # Simple OO access to the Exiftool command-line application.
26
+ # Simple OO access to the ExifTool command-line application.
27
27
  class MiniExiftool
28
28
 
29
- VERSION = '2.7.2'
29
+ VERSION = '2.7.3'
30
30
 
31
- # Name of the Exiftool command-line application
31
+ # Name of the ExifTool command-line application
32
32
  @@cmd = 'exiftool'
33
33
 
34
34
  # Hash of the standard options used when call MiniExiftool.new
@@ -307,12 +307,12 @@ class MiniExiftool
307
307
  MiniExiftool.from_hash YAML.load(yaml), opts
308
308
  end
309
309
 
310
- # Returns the command name of the called Exiftool application.
310
+ # Returns the command name of the called ExifTool application.
311
311
  def self.command
312
312
  @@cmd
313
313
  end
314
314
 
315
- # Setting the command name of the called Exiftool application.
315
+ # Setting the command name of the called ExifTool application.
316
316
  def self.command= cmd
317
317
  @@cmd = cmd
318
318
  end
@@ -322,7 +322,7 @@ class MiniExiftool
322
322
  @@opts
323
323
  end
324
324
 
325
- # Returns a set of all known tags of Exiftool.
325
+ # Returns a set of all known tags of ExifTool.
326
326
  def self.all_tags
327
327
  unless defined? @@all_tags
328
328
  @@all_tags = pstore_get :all_tags
@@ -330,7 +330,7 @@ class MiniExiftool
330
330
  @@all_tags
331
331
  end
332
332
 
333
- # Returns a set of all possible writable tags of Exiftool.
333
+ # Returns a set of all possible writable tags of ExifTool.
334
334
  def self.writable_tags
335
335
  unless defined? @@writable_tags
336
336
  @@writable_tags = pstore_get :writable_tags
@@ -338,7 +338,7 @@ class MiniExiftool
338
338
  @@writable_tags
339
339
  end
340
340
 
341
- # Returns the original Exiftool name of the given tag
341
+ # Returns the original ExifTool name of the given tag
342
342
  def self.original_tag tag
343
343
  unless defined? @@all_tags_map
344
344
  @@all_tags_map = pstore_get :all_tags_map
@@ -346,7 +346,7 @@ class MiniExiftool
346
346
  @@all_tags_map[tag]
347
347
  end
348
348
 
349
- # Returns the version of the Exiftool command-line application.
349
+ # Returns the version of the ExifTool command-line application.
350
350
  def self.exiftool_version
351
351
  Open3.popen3 "#{MiniExiftool.command} -ver" do |_inp, out, _err, _thr|
352
352
  out.read.chomp!
@@ -1,3 +1,3 @@
1
- Following files are borrowed from the original Exiftool perl package.
1
+ Following files are borrowed from the original ExifTool perl package.
2
2
 
3
3
  Canon.jpg
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.7.2
4
+ version: 2.7.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: 2016-04-08 00:00:00.000000000 Z
11
+ date: 2016-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rim
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.6'
19
+ version: '2.7'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.6'
26
+ version: '2.7'
27
27
  description: ''
28
28
  email: janfri26@gmail.com
29
29
  executables: []
@@ -71,7 +71,7 @@ files:
71
71
  - test/test_special.rb
72
72
  - test/test_special_dates.rb
73
73
  - test/test_write.rb
74
- homepage: http://gitorious.org/mini_exiftool
74
+ homepage: https://github.com/janfri/mini_exiftool
75
75
  licenses:
76
76
  - LGPL-2.1
77
77
  metadata: {}
@@ -98,8 +98,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  requirements: []
100
100
  rubyforge_project:
101
- rubygems_version: 2.6.3
101
+ rubygems_version: 2.6.4
102
102
  signing_key:
103
103
  specification_version: 4
104
- summary: This library is wrapper for the Exiftool command-line application (http://www.sno.phy.queensu.ca/~phil/exiftool).
104
+ summary: This library is wrapper for the ExifTool command-line application (http://www.sno.phy.queensu.ca/~phil/exiftool).
105
105
  test_files: []
106
+ has_rdoc: