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 +4 -4
- data/lib/imagebackup/version.rb +1 -1
- data/lib/methods/get_dates.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ff05d8110aa15c4add99cca0b1d41174fd3978e59e5d744a2411012e7a8e838
|
4
|
+
data.tar.gz: 3ef406408a286734d760175db13b1255cf1b6c025792cd5daa6e32152a9fc134
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac5e4ede52a1a770419472068e66c64e02ef7688616c1c44be1a76e384ecc242e9cbfd05517a5bd2876153202af793e473f157fe382bcfb7a2e939763a6e0d62
|
7
|
+
data.tar.gz: f77229df988fa05d9b653d438edf106a3bafcdca787b64838927e4081e44bcedcd6f1bc41f62c8e1d13d214929dbf9a73d60381ef09723fe47e6686c679c5f91
|
data/lib/imagebackup/version.rb
CHANGED
data/lib/methods/get_dates.rb
CHANGED
@@ -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(
|
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.
|
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-
|
11
|
+
date: 2020-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|