opening_hours_converter 1.3.10 → 1.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opening_hours_converter/date_range.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46ef423c9764ac700a75b88c7378b364f188eb51
|
4
|
+
data.tar.gz: d585222584c77e64591b4b9b39fea3599f1a604f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19e9ee8257e85d7357eec971f4d73ae810822161754892525ee5ca92c8e62caa20b6fa845fc377221c16773d0185bfc8587d0262ee7eeafce3b4ee130d467ce4
|
7
|
+
data.tar.gz: 91f7c17c74e2214ecb32b100e6c8f95449aa4ece19738a074c040c2dd678588c065bc0151e8f8fcd85f5f13de0ca5c3de79c54c79ccd77fd3662eb54c887d7f7
|
@@ -51,7 +51,9 @@ module OpeningHoursConverter
|
|
51
51
|
result = @wide_interval.type == "holiday"
|
52
52
|
if !result
|
53
53
|
@typical.intervals.each do |i|
|
54
|
-
|
54
|
+
if !i.nil?
|
55
|
+
result = true if i.day_start == -2 && i.day_end == -2
|
56
|
+
end
|
55
57
|
end
|
56
58
|
end
|
57
59
|
result
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opening_hours_converter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ziserman Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Datetime range to openinghours, openinghours to datetime range. Very
|
14
14
|
strongly inspired by yohours.
|