imagebackup 0.3.3 → 0.3.4

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
  SHA256:
3
- metadata.gz: fd7c8c3c129159a97484da5bb908d53d4732f7d62754aa950b455b21047d9904
4
- data.tar.gz: 2ab54045838160a0fe384dc5c1f602096169cfee255f5a4042b5775cf88d188f
3
+ metadata.gz: 3ff05d8110aa15c4add99cca0b1d41174fd3978e59e5d744a2411012e7a8e838
4
+ data.tar.gz: 3ef406408a286734d760175db13b1255cf1b6c025792cd5daa6e32152a9fc134
5
5
  SHA512:
6
- metadata.gz: d025d9de6cc28d483ccd329a500e90205aacf203be878a84c85c334f81216985c1d4c8ddf6e5e1f44842eec4656f02ba03b105ca4d9b3b6cf28db3996353f509
7
- data.tar.gz: ae161b5e67047f1650b8ee70cb8769730c2a9c37e3cb1e9af68cbad08cee1bf4d45c1f95d0d24653822324f6288cc3a8bb9fb51161f396deaf3613e2b43a13e5
6
+ metadata.gz: ac5e4ede52a1a770419472068e66c64e02ef7688616c1c44be1a76e384ecc242e9cbfd05517a5bd2876153202af793e473f157fe382bcfb7a2e939763a6e0d62
7
+ data.tar.gz: f77229df988fa05d9b653d438edf106a3bafcdca787b64838927e4081e44bcedcd6f1bc41f62c8e1d13d214929dbf9a73d60381ef09723fe47e6686c679c5f91
@@ -1,3 +1,3 @@
1
1
  module Imagebackup
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
3
3
  end
@@ -7,7 +7,7 @@ def get_dates(file)
7
7
  rescue StandardError
8
8
  begin
9
9
  probe = Ffprober::Parser.from_file(file)
10
- date = probe.format.tags[:creation_time].split('T')[0]
10
+ date = probe.format.tags[:creation_time].split(/[T ]/)[0]
11
11
  rescue StandardError
12
12
  fileobj = File.new(file)
13
13
  date = "#{"%04d" % fileobj.stat.ctime.year}-#{"%02d" % fileobj.stat.ctime.month}-#{"%02d" % fileobj.stat.ctime.day}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagebackup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - adrian-sal-kennedy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-13 00:00:00.000000000 Z
11
+ date: 2020-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize