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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea0b2f804d7fb2f5343f838661479add46a24a796fb87bff6ca464233bf9d88a
4
- data.tar.gz: 469da0d9732299829d39f1837767cbf27eab1af019ea826a62d5d24139297f27
3
+ metadata.gz: fc4c75f09931b7e39f15c29d79373de369bad26b5e45a97644f156652705e220
4
+ data.tar.gz: 38fffc5aff7dbf9b7088c44fe21288c97e6460b866597ae33977a09816226c56
5
5
  SHA512:
6
- metadata.gz: 5ea427348ba5d91c7458e2edbdcb7a0e847cf5d57880ee35706726dee23321fda0d87e783057ab6c5960b11e5d4ced7bcb19dc18affe726ee4c15841f3b9ae8b
7
- data.tar.gz: 9d4c3f21ca9cd0977eaa23cc88f290523f35aef2b1a6f172e9b996671d0da9960d7342c57d602418ea3c7c1c705f8ac98b66f33b27cb41810ddb831861248716
6
+ metadata.gz: d67e1ee99cdc4fcf0245eb61cc7d1d497aa87c5efd88de2a4ac493a1c72a9e2804fba163f9052f9b4c81012285b5db368ead1e0129f43cc1ebfffc26070c2039
7
+ data.tar.gz: 9b1308e5e1b15f5a0d99893e78cf93f67947893d696c4a66dce50631547285ec45c2b4c7d8bbf0de1ae52f2fbcb95e365aa1f894a637a46cb872986b34337994
@@ -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
@@ -1,4 +1,4 @@
1
1
  module MultiformatCV
2
2
  # Gem version
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.7'
4
4
  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.6
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-28 00:00:00.000000000 Z
11
+ date: 2020-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubi