opening_hours_converter 1.7.8 → 1.7.9
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/opening_hours_builder.rb +4 -0
- 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: 211e4fdb5c34318c05e44067c1fb50b29c6ff503
|
4
|
+
data.tar.gz: ba64c12769c134c2d4ac4e38f948272c24277675
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09979692c2ff1ac5a438505bcd223d49207098f5d26094ffe170fe5af3bf55968b9b76fd3a69ae8cf668c2f9cbd99b2e3743ba6124ff3dbef7e5ffa3af06b296'
|
7
|
+
data.tar.gz: 05f8569fc4d5d04adb6e95a1c74dda24c75d7393f29d8e76c173a197c9e50bae70bf842527b27741dfd68d4a0acd5fdbef230140803cc70ee677879651254ff8
|
@@ -56,6 +56,7 @@ module OpeningHoursConverter
|
|
56
56
|
oh_rules[i].add_comment(date_range.comment)
|
57
57
|
end
|
58
58
|
|
59
|
+
|
59
60
|
oh_rules.map do |oh_rule|
|
60
61
|
oh_rule_added = false
|
61
62
|
rule_index = 0
|
@@ -222,6 +223,9 @@ module OpeningHoursConverter
|
|
222
223
|
end
|
223
224
|
end
|
224
225
|
end
|
226
|
+
if result == [] && days_status = [8, 8, 8, 8, 8, 8, 8]
|
227
|
+
result = days
|
228
|
+
end
|
225
229
|
|
226
230
|
result = merge_days(result)
|
227
231
|
|
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.7.
|
4
|
+
version: 1.7.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ziserman Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|