phtools 0.11.1 → 0.11.2

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: 8b870faad66b71d5eded7b173fdf24414091b4d4
4
- data.tar.gz: 9e4c922a4c4c21f168bd181a2e4cc3e61149caa2
3
+ metadata.gz: 88b9383b08dbf6122708f49f7dca05848094b9e8
4
+ data.tar.gz: 2600e31ae1221ac0f354ea5d27b1d3ab88e49664
5
5
  SHA512:
6
- metadata.gz: 6523f3e82c098c59ae843ec995ee8ed30c2aa92a541e4abd32e84fffd98a41b3c301a790f418b85cda69c309822a3653969580fb749e93ecc26988f8b315c7d4
7
- data.tar.gz: ff88484ba7758fffd0418b79185b95ded9f880e7e3f31b1080114221009df484ece40d86745ba72726f3e6873f9dcd23921019fe76415fcd429a6fb3b0b9aaae
6
+ metadata.gz: febc61babbd310c24de54f41b67b673694296b2114d0bcd3fe6d2d1b2bda3868255fe11c0b37ac881f323ac0808e938f34806390f9c2b4d2967bf4c02298a9a1
7
+ data.tar.gz: aeebf94c79f56643b229886c91b301e93d91b7a73fbe6418e40588be668264008d329e4546fbed250591def80d502b1f49033b4d4b602ab9a7fea9ac6548f616
data/TODO.md CHANGED
@@ -22,6 +22,7 @@
22
22
  - [x] phrename: by-default read tags for DateTime in this order: DateTimeOriginal, DateCreated, CreateDate, DigitalCreationDate, FileModifyDate (eqv to File::mtime). 1st non-zero value will be taken as a master photo creation timestamp. It means no longer names like '00000101-000000_ANB IMG_0183.PNG' will appear.
23
23
  - [x] phrename: make it safe and smart. Once the file was renamed to PHTOOL standard, re-run of phrename should not change the date-time info unless options -t or -s are used. If user wants to reset file name using exif tag - 1st clean it `phrename --clean`, then rename `phrename -a anb`
24
24
  - [ ] phrename: make new usage mode: `phrename -t TAG`. Useful if user wants to re-set date-time using TAG keeping author-nickname unchanged
25
+ - [ ] phrename: add QuickTime.CreationDate into analysis when calculate date-time-in-the-name (useful for iOS mov files). In iOS QuickTime.CreateDate is wrong (always in Grinvich zone), while QuickTime.CreationDate is Ok
25
26
 
26
27
  ### phgettags
27
28
  - [x] create phgettags (based on ftmtags)
@@ -63,7 +63,7 @@ module PhTools
63
63
  tag_used = "DateCreated"
64
64
 
65
65
  elsif !tags.create_date.nil? && tags.create_date.kind_of?(DateTime)
66
- # EXIF:CreateDate or XMP:CreateDate
66
+ # EXIF:CreateDate or XMP:CreateDate or! QuickTime:CreateDate
67
67
  dto = tags.create_date
68
68
  tag_used = "CreateDate"
69
69
 
@@ -95,7 +95,7 @@ module PhTools
95
95
  tag_used = "#{@user_tag_date}"
96
96
  end
97
97
  phfile_out.standardize!(date_time: dto, author: @author)
98
- info_msg = "'#{phfile.basename + phfile.extname}' using tag '#{tag_used}' for date-time"
98
+ info_msg = "'#{phfile.basename + phfile.extname}' using tag '#{tag_used}' for date-time-in-the-name"
99
99
  end
100
100
 
101
101
  when :clean
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PhTools
4
- VERSION = '0.11.1'
4
+ VERSION = '0.11.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Bizyaev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-04 00:00:00.000000000 Z
11
+ date: 2017-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler