opening_hours_converter 1.3.10 → 1.3.11

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: 0d54ac00f8455027265cd4c46b547bec3ba3c8db
4
- data.tar.gz: 6decd9f81fac58bb53818cdbd120ac44a1947f74
3
+ metadata.gz: 46ef423c9764ac700a75b88c7378b364f188eb51
4
+ data.tar.gz: d585222584c77e64591b4b9b39fea3599f1a604f
5
5
  SHA512:
6
- metadata.gz: b971d4f956909634e8dfd3842dc3550235125788c800d25db0655ae3d186403e353b5656f9bc11da898e7452ba5a1b8e51916ca36d87c75a83083894eda311bb
7
- data.tar.gz: 6d4e66f217f53d5c85cd99c7dd6c24d6c314a7fe3eafbbf56d9d9aff456406386214ecc396994cb554d139cc51af8c6dea2d2dfd2dddaf408d594a290eb068de
6
+ metadata.gz: 19e9ee8257e85d7357eec971f4d73ae810822161754892525ee5ca92c8e62caa20b6fa845fc377221c16773d0185bfc8587d0262ee7eeafce3b4ee130d467ce4
7
+ data.tar.gz: 91f7c17c74e2214ecb32b100e6c8f95449aa4ece19738a074c040c2dd678588c065bc0151e8f8fcd85f5f13de0ca5c3de79c54c79ccd77fd3662eb54c887d7f7
@@ -51,7 +51,9 @@ module OpeningHoursConverter
51
51
  result = @wide_interval.type == "holiday"
52
52
  if !result
53
53
  @typical.intervals.each do |i|
54
- result = true if i.day_start == -2 && i.day_end == -2
54
+ if !i.nil?
55
+ result = true if i.day_start == -2 && i.day_end == -2
56
+ end
55
57
  end
56
58
  end
57
59
  result
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.3.10
4
+ version: 1.3.11
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-10-18 00:00:00.000000000 Z
11
+ date: 2017-10-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Datetime range to openinghours, openinghours to datetime range. Very
14
14
  strongly inspired by yohours.