opening_hours_converter 1.4.2 → 1.4.3

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: da87e8464dd53a820450bd55ec3c57e550884585
4
- data.tar.gz: f3924bd0f9830bdab12b4d445e615ba4043fe008
3
+ metadata.gz: 9585065385f691f52c4a58480b885bb00b6ee14f
4
+ data.tar.gz: 5e5c2d66d29008132a7cce0dd3f21a302685c49b
5
5
  SHA512:
6
- metadata.gz: 621ea7a04692ad9478c60593de3aa004a07bc22df415204cf7f05dad82fec99c91bbf062dc5115fd604e5c196aea138d71e187da8af7ebf162632e7b781f99f5
7
- data.tar.gz: c24bac6dccd067459228648921d4f2681f5e0dcac30c6ef1e2fbc5ad5eb514327a6d8944185a5ec88f2ff11522d2363957a8826f567c904d12b6d99c59ed49ce
6
+ metadata.gz: 6b3095cd996a5c744e040a5de0f2c4f6b4fb4528084931e2320eb48bab738f2130ba98a4f0ec933748424983d8faa2cd12b07e33fd44d2ee6ef701295fd3c15a
7
+ data.tar.gz: c274827835fd504f17a7a74c51523c168d3be5de3b9a95717b2eb20221c7fd5e79075c39cfe0065521504e8214131fed17d8bb77745440864eef7c2c8b88e04b
@@ -268,7 +268,7 @@ module OpeningHoursConverter
268
268
  wi = {}
269
269
  start_day = DateTime.parse(dr["wide_interval"]["start"])
270
270
  end_day = DateTime.parse(dr["wide_interval"]["end"])
271
- case dr["wide_interval"]
271
+ case dr["wide_interval"]["type"]
272
272
  when "always"
273
273
  wi = OpeningHoursConverter::WideInterval.new.day(start_day.day, start_day.month, nil, end_day.day, end_day.month)
274
274
  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.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ziserman Martin