mini_exiftool 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +4 -0
- data/lib/mini_exiftool.rb +1 -1
- data/mini_exiftool.gemspec +2 -2
- metadata +14 -2
data/Changelog
CHANGED
data/lib/mini_exiftool.rb
CHANGED
@@ -386,7 +386,7 @@ class MiniExiftool
|
|
386
386
|
def self.load_or_create_pstore
|
387
387
|
# This will hopefully work on *NIX and Windows systems
|
388
388
|
home = ENV['HOME'] || ENV['HOMEDRIVE'] + ENV['HOMEPATH'] || ENV['USERPROFILE']
|
389
|
-
subdir = RUBY_PLATFORM =~ /
|
389
|
+
subdir = RUBY_PLATFORM =~ /\bmswin/i ? '_mini_exiftool' : '.mini_exiftool'
|
390
390
|
FileUtils.mkdir_p(File.join(home, subdir))
|
391
391
|
filename = File.join(home, subdir, 'exiftool_tags_' << exiftool_version.gsub('.', '_') << '.pstore')
|
392
392
|
@@pstore = PStore.new filename
|
data/mini_exiftool.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{mini_exiftool}
|
5
|
-
s.version = "1.2.
|
5
|
+
s.version = "1.2.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Jan Friedrich"]
|
9
|
-
s.date = %q{2011-
|
9
|
+
s.date = %q{2011-04-05}
|
10
10
|
s.description = %q{This library is wrapper for the Exiftool command-line application (http://www.sno.phy.queensu.ca/~phil/exiftool).}
|
11
11
|
s.email = %q{janfri26@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["README", "Tutorial", "lib/mini_exiftool.rb"]
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini_exiftool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
- 2
|
10
|
+
version: 1.2.2
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Jan Friedrich
|
@@ -10,7 +15,7 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2011-
|
18
|
+
date: 2011-04-05 00:00:00 +02:00
|
14
19
|
default_executable:
|
15
20
|
dependencies: []
|
16
21
|
|
@@ -78,12 +83,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
83
|
requirements:
|
79
84
|
- - ">="
|
80
85
|
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
81
89
|
version: "0"
|
82
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
91
|
none: false
|
84
92
|
requirements:
|
85
93
|
- - ">="
|
86
94
|
- !ruby/object:Gem::Version
|
95
|
+
hash: 11
|
96
|
+
segments:
|
97
|
+
- 1
|
98
|
+
- 2
|
87
99
|
version: "1.2"
|
88
100
|
requirements: []
|
89
101
|
|