mini_exiftool 2.7.6 → 2.8.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a99cc61057973db344dab5b72326fc1349748a7
4
- data.tar.gz: 4e2c805ae219e8f51ae5e37a1a2ef5be4b790f7d
3
+ metadata.gz: 3b9e96de32763ccdb88cf04f5227edfe743528f2
4
+ data.tar.gz: d8d478046af5e4ac9919273f9b8e9e0e6e05d5cb
5
5
  SHA512:
6
- metadata.gz: fda4457cefce37faf87c10bc8f356ead8ca15310754cdf6947bbd504771ab27a768904ef66863e714298d7a8a0bbb189b5427b4ad3e2ba8ca43744f8565d94f7
7
- data.tar.gz: e26c72bb86bc4c2da4e26a09d641be6a51dae2bd8254af7854594f0ce37d5e2ed4d9257990afc8224fd3b7474ae81274a6f5f1a276e984ae190f1ba23725aeae
6
+ metadata.gz: c554bc5145031425c2369f8eb6ba89c64c469dd223b4d7a70fe98737b8e1a92f1694bd6b46c4172ae7ef6b165e7e0b7898fbaf3e14a0e49b566c094d870071c8
7
+ data.tar.gz: c3b5f2b84be63c556a731252fb53107a50692c79867d42c2bf5825d24e7c076aec34ad4069e27b74f66267454ba5c12fb8157eb7ac8f62c5ce4f2eb1075e5f74
data/Changelog CHANGED
@@ -1,3 +1,8 @@
1
+ 2.8.0
2
+ - MiniExiftool doesn't close any longer a given IO to MiniExiftool.new
3
+ respectively MiniExiftool#load. You are responsible to do that.
4
+ Thanks to mfo for the suggestion and implementing it.
5
+
1
6
  2.7.6
2
7
  - Add Gemfile (for those who use bundler).
3
8
 
data/Rakefile CHANGED
@@ -33,4 +33,5 @@ EXIF-data, IPTC-data and XMP-data.
33
33
  +-----------------------------------------------------------------------+
34
34
  END
35
35
  p.test_warning = false
36
+ p.development_dependencies << 'rake' << 'regtest' << 'test-unit'
36
37
  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.6'
29
+ VERSION = '2.8.0'
30
30
 
31
31
  # Name of the ExifTool command-line application
32
32
  @@cmd = 'exiftool'
@@ -399,7 +399,6 @@ class MiniExiftool
399
399
  rescue ::IOError => e
400
400
  raise MiniExiftool::Error.new("IO is not readable.")
401
401
  end
402
- @io.close
403
402
  inp.close
404
403
  end
405
404
  @output = out.read
@@ -7,7 +7,7 @@ class TestIo < TestCase
7
7
  def test_simple_case
8
8
  io = open_real_io
9
9
  mini_exiftool = MiniExiftool.new(io)
10
- assert io.closed?, 'IO should be closed after reading data.'
10
+ assert_equal false, io.closed?, 'IO should not be closed.'
11
11
  assert_equal 400, mini_exiftool.iso
12
12
  end
13
13
 
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.6
4
+ version: 2.8.0
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-22 00:00:00.000000000 Z
11
+ date: 2016-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rim
@@ -24,6 +24,48 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: regtest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: test-unit
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
27
69
  description: |
28
70
  This library is a wrapper for the ExifTool command-line application
29
71
  (http://www.sno.phy.queensu.ca/~phil/exiftool) written by Phil Harvey.
@@ -104,9 +146,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
146
  version: '0'
105
147
  requirements: []
106
148
  rubyforge_project:
107
- rubygems_version: 2.6.4
149
+ rubygems_version: 2.6.6
108
150
  signing_key:
109
151
  specification_version: 4
110
152
  summary: This library is a wrapper for the ExifTool command-line application (http://www.sno.phy.queensu.ca/~phil/exiftool).
111
153
  test_files: []
112
- has_rdoc: