docwatch-bin 2.2.0 → 2.3.0

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: 2b4c55f23d291bc317c8b3da127549ae74d8a1307368c040efe016a9d350d678
4
- data.tar.gz: efedeb51bdfdbc88735f1c63f720becd91d9a68305654473ad0c7104214b129a
3
+ metadata.gz: 5f1d67c1e73b239f43f2d1ebe2aaeeb92802861f84287dead7ba96bfd207a93f
4
+ data.tar.gz: d562c8fea94f99afef2150a96044692f4db6c5d20894b0d0279c62609a7f10e3
5
5
  SHA512:
6
- metadata.gz: fc65417b707be0b65bca16f28ce072cc4765802ca77bdd34517715dd71d5f92edd07b9dea9e87fdfedf183096fda5c2fed71fe22aaf623be3d9635bbc940b553
7
- data.tar.gz: c390dbd697f8f138de53e06a550f23d1ef4f96c7d67dbb21031b1935b391731299c55375176d197f0c091f8f6308334d04ba499367497f3faad34cda4cf942ff
6
+ metadata.gz: 8a804304d3193262e7910e0562cb33b239c48026d90afd4f6c7e9fddb31d4dffee91ea8e5f791ee49178e417bddeb05ef317d2a2f5305e95070f460327e78128
7
+ data.tar.gz: bba04327f2cbefa576b188caa3ed4b671739d51e008ecfffa07da28279fbe576462bc134ee45113fbcd7de2148b6f34d6c3e7375eb5f838caaf82bf7428626dc
@@ -27,7 +27,7 @@ module Docwatch
27
27
  end
28
28
 
29
29
  def initialize(yaml) # rubocop:disable Lint/MissingSuper
30
- @data = YAML.safe_load(yaml)
30
+ @data = YAML.safe_load(yaml, permitted_classes: [Time, Date])
31
31
  end
32
32
 
33
33
  def to_html
@@ -1,3 +1,3 @@
1
1
  module Docwatch
2
- VERSION = '2.2.0'
2
+ VERSION = '2.3.0'
3
3
  end
data/lib/docwatch.rb CHANGED
@@ -10,6 +10,7 @@ require 'ostruct'
10
10
  require 'socket'
11
11
  require 'yaml'
12
12
  require 'cgi'
13
+ require 'date'
13
14
 
14
15
  module Docwatch
15
16
  def self.root_dir
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docwatch-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - crdx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-10 00:00:00.000000000 Z
11
+ date: 2023-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize