mini_exiftool 2.7.3 → 2.7.4

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Changelog +3 -0
  3. data/Rakefile +1 -0
  4. data/lib/mini_exiftool.rb +3 -1
  5. metadata +4 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e00172cff9c5669123ff3946dba9714d63e5ea14
4
- data.tar.gz: 02ebb1d326ddbbd96365b72d59be3c4b12289519
3
+ metadata.gz: 933d35245176e9533c1afa000400c7cd56b84b2f
4
+ data.tar.gz: 7062e30d27bd3cbaeda0a0e3dadbd62006002944
5
5
  SHA512:
6
- metadata.gz: cd0b5675e004b9c03f18aec0126b25a4bf0076a2efe73ce84212ba5a14224d88b58851535519f2eb68a03f6b382bf682a59ced172b68084d13cde44fa02ec157
7
- data.tar.gz: 9394945a11a048b3f58a75932e5c53f327a6eed9a1fed3cb6379bc30b200aa0bdd51f77ffacf867d7cf3b4d3258d8bb65c938706f352e0ee2c1627e25552a165
6
+ metadata.gz: 1dce823ca5871e37adb16e62fc5a32b705caca6c3788cee1fbc7050d822a78d7afa1947b378bc012f2a0e7030e918dd1bee0522314545d4da8e9112b01f63d2a
7
+ data.tar.gz: a41953e80b3c81b074773a79f6dc48d7455611d7b8223d8268be8ebd635847dc53a7482b280f8255f4fe164988292a846b58733c40747ffe1f1819e1467238b7
data/Changelog CHANGED
@@ -1,3 +1,6 @@
1
+ 2.7.4
2
+ - Print messages at $stdout when generating the PStore file with ExifTool tag names.
3
+
1
4
  2.7.3
2
5
  - Update docs.
3
6
 
data/Rakefile CHANGED
@@ -26,4 +26,5 @@ Rim.setup do |p|
26
26
  | mini_exiftool version < 2.0.0. |
27
27
  +-----------------------------------------------------------------------+
28
28
  }
29
+ p.test_warning = false
29
30
  end
@@ -26,7 +26,7 @@ require 'time'
26
26
  # Simple OO access to the ExifTool command-line application.
27
27
  class MiniExiftool
28
28
 
29
- VERSION = '2.7.3'
29
+ VERSION = '2.7.4'
30
30
 
31
31
  # Name of the ExifTool command-line application
32
32
  @@cmd = 'exiftool'
@@ -506,6 +506,7 @@ class MiniExiftool
506
506
  pstore_filename = File.join(pstore_dir, 'exiftool_tags_' << exiftool_version.gsub('.', '_') << '.pstore')
507
507
  @@pstore = PStore.new pstore_filename
508
508
  if !File.exist?(pstore_filename) || File.size(pstore_filename) == 0
509
+ $stderr.puts 'Generating cache file for ExifTool tag names. This takes a few seconds but is only needed once...'
509
510
  @@pstore.transaction do |ps|
510
511
  ps[:all_tags] = all_tags = determine_tags('list')
511
512
  ps[:writable_tags] = determine_tags('listw')
@@ -513,6 +514,7 @@ class MiniExiftool
513
514
  all_tags.each { |k| map[unify(k)] = k }
514
515
  ps[:all_tags_map] = map
515
516
  end
517
+ $stderr.puts 'Cache file generated.'
516
518
  end
517
519
  end
518
520
 
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.3
4
+ version: 2.7.4
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-06-03 00:00:00.000000000 Z
11
+ date: 2016-06-13 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.7'
19
+ version: '2.9'
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.7'
26
+ version: '2.9'
27
27
  description: ''
28
28
  email: janfri26@gmail.com
29
29
  executables: []
@@ -103,4 +103,3 @@ signing_key:
103
103
  specification_version: 4
104
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: