opening_hours_converter 1.3.6 → 1.3.7

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: ef40a61df4136460f0cf552553f2c0e48da06bba
4
- data.tar.gz: e6ffbcfb58ee51217bac28b18a744327cce8cf5b
3
+ metadata.gz: f259687c2a1d2248ff6f8727048001ebe8444dfc
4
+ data.tar.gz: f094bb587cb5d01d576babefbaf68567f9ce1b6c
5
5
  SHA512:
6
- metadata.gz: 9e4bdf577964eacb4334ee2e9e5c2e4859e99e18d7a4a1c352187616bb6b74e13fc6c4e1e5dea8a0bbbb84f224b43f48ed60caad8bbb7dd20579bf851112a192
7
- data.tar.gz: 927672ac1cb87a72ad76a9e19e29aa489ce19a51f7cf4746a6aa083f867053cf26810cb8966b502ad19ee7f3a636a770da4258b391db45e513618afa9fcdc9ab
6
+ metadata.gz: e55aa3bc15d1c18c3a3e90841babfbacebfb79e22c70820916b0747c1bd1ac513702f6c9ad1ebbe2c38c82c867760826e7521fab0d2f58fa7683c1d32813ed9a
7
+ data.tar.gz: 7eb5446652950bf1b4c32e95b856d84e32464fa5013c54cc0e7870d0537383b5625678684a17e2f23b7588baef910d5939dc0a6947643f72d109d19809e0f2b3
@@ -288,7 +288,7 @@ module OpeningHoursConverter
288
288
  end
289
289
  end
290
290
  elsif wide_interval.type == "day"
291
- if wide_interval.start[:month] == wide_interval.end[:month] || wide_interval.end[:month].nil?
291
+ if wide_interval.end.nil? || wide_interval.start[:month] == wide_interval.end[:month]
292
292
  if wide_interval.start[:day] == wide_interval.end[:day]
293
293
  years[wide_interval.start[:year]][wide_interval.start[:month]-1][wide_interval.start[:day]-1] = true
294
294
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opening_hours_converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ziserman Martin