opening_hours_converter 1.7.13 → 1.7.14

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: 30b75efae1d2074a90198d343b7d48bd98e0b5b2
4
- data.tar.gz: e54c64bfec49c98b6bf1efba450b8414e293866b
3
+ metadata.gz: e8cb46dca51bfd8b10819b2c4d611d0a945b6195
4
+ data.tar.gz: 1ac4e597d5d572616f1e899f3af50b36db40867c
5
5
  SHA512:
6
- metadata.gz: b37b12e0c001ef29dcf4bd301fc4421198b4909a209235a72c09c9b4f92b47fd540a1ab5a5a2da8339dd5da958123d4e670b2f61659bdd93985fecfcf0af7a97
7
- data.tar.gz: 98e04d292316f92a63d7e56f782d6447b54ede78aab84c502b8785622e6a1c01bdee15048b1b4feca7016ccabc95a874538e9cb35c345497b7b93472e16d879e
6
+ metadata.gz: 7aa9f585689380bdabceb5f48ae13871b269fda701b270e5409dfcb10c82fcb26fb4fc3887000da56074225834c6015ceacc87bd6ce0eda63c384114b84ca9e8
7
+ data.tar.gz: 13c4951f96d594cf168bd2ff91f5c9393f75a6e06f49eb4dd6fbc776446f193726168b8eeb22c0b705bffe1f4187d67b36162d41faf58f406a0526048194becc
@@ -97,14 +97,15 @@ module OpeningHoursConverter
97
97
  oh_rule.add_ph_weekday
98
98
  end
99
99
 
100
- if off_day_ph
101
- rules += build_off_holiday(date_range)
102
- end
103
100
 
104
101
  if !oh_rule_added
105
102
  rules << oh_rule
106
103
  end
107
104
 
105
+ if off_day_ph
106
+ rules += build_off_holiday(date_range)
107
+ end
108
+
108
109
  if oh_rule == oh_rules.last && oh_rule.has_overwritten_weekday?
109
110
  oh_rule_over = OpeningHoursConverter::OpeningHoursRule.new
110
111
 
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.13
4
+ version: 1.7.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ziserman Martin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-26 00:00:00.000000000 Z
11
+ date: 2018-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json