opening_hours_converter 1.12.0 → 1.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opening_hours_converter/year.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb58c53c7f7e5cace1d690d6e9b6dff3c643722eb58b94490257065ebf8be23f
|
4
|
+
data.tar.gz: 531b6159a4cbb4a560b40c3a50d32874eb871f85503137ee272690ddcdf0fb34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: add17a8713d1393894a25f60a894c4e9bba8bf212afe898035d00b69615df01a07f411bee7898378211e4538bc5010fdbcdb22ce2ff9ee83aca4e460fb4268ce
|
7
|
+
data.tar.gz: b016a19b72f27ee3cc8eb1e29d1fd83e08efbd190c52ef8c91927544481ae32d220fd24cddba2d2cff75652b0c4af50318731c04c8a61976f054339e4fb6c00f
|
@@ -256,6 +256,7 @@ module OpeningHoursConverter
|
|
256
256
|
end
|
257
257
|
end
|
258
258
|
elsif !wide_interval.start[:month].nil?
|
259
|
+
years[year] ||= Array.new(OSM_MONTHS.length) { |i| Array.new(MONTH_END_DAY[i]) { false } }
|
259
260
|
if wide_interval.end.nil? || wide_interval.end[:month].nil? || wide_interval.start[:month] == wide_interval.end[:month]
|
260
261
|
years[year][wide_interval.start[:month]-1].each_with_index do |month, i|
|
261
262
|
years[year][wide_interval.start[:month]-1][i] = true
|
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.12.
|
4
|
+
version: 1.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ziserman Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|