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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30ccf30e0e2768db535e4cfce320bc26ee7da8b6
4
- data.tar.gz: c285a00f969c843cef1b39760db0412adb8f2ea5
3
+ metadata.gz: 211e4fdb5c34318c05e44067c1fb50b29c6ff503
4
+ data.tar.gz: ba64c12769c134c2d4ac4e38f948272c24277675
5
5
  SHA512:
6
- metadata.gz: e5007ef773d5052eae15330a08573084c36bda853fe7cf2cd1494a968381873478bf2a7b250626480c30e9425ba5435bdccce66d40c9fa6971c9ba597b20ec9a
7
- data.tar.gz: 169357bf5d3af40acbeabc85daae7b93c67d5153459dd8c519dff92b1d25b0affa3a7df07cef997f457b1725876795a8f881ee26555cb16d48db1c81dc8557f4
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.8
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: 2017-12-21 00:00:00.000000000 Z
11
+ date: 2018-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json