multiformat-cv2 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/multiformatcv/job.rb +16 -0
- data/lib/multiformatcv/version.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: fc4c75f09931b7e39f15c29d79373de369bad26b5e45a97644f156652705e220
|
4
|
+
data.tar.gz: 38fffc5aff7dbf9b7088c44fe21288c97e6460b866597ae33977a09816226c56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d67e1ee99cdc4fcf0245eb61cc7d1d497aa87c5efd88de2a4ac493a1c72a9e2804fba163f9052f9b4c81012285b5db368ead1e0129f43cc1ebfffc26070c2039
|
7
|
+
data.tar.gz: 9b1308e5e1b15f5a0d99893e78cf93f67947893d696c4a66dce50631547285ec45c2b4c7d8bbf0de1ae52f2fbcb95e365aa1f894a637a46cb872986b34337994
|
data/lib/multiformatcv/job.rb
CHANGED
@@ -39,4 +39,20 @@ class MultiformatCV::Job
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
42
|
+
|
43
|
+
# @return [DateTime] Date or nil
|
44
|
+
def end_date
|
45
|
+
if @end_date and @end_date != ''
|
46
|
+
return DateTime.parse(@end_date)
|
47
|
+
end
|
48
|
+
return nil
|
49
|
+
end
|
50
|
+
|
51
|
+
# @return [DateTime] Date or nil
|
52
|
+
def start_date
|
53
|
+
if @start_date and @start_date != ''
|
54
|
+
return DateTime.parse(@start_date)
|
55
|
+
end
|
56
|
+
return nil
|
57
|
+
end
|
42
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multiformat-cv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- juankman94
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: erubi
|