opening_hours_converter 1.6.4 → 1.6.5
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/opening_hours_parser.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7620943b112f4e05e8e88a5aba3e54ad9e82cf92
|
4
|
+
data.tar.gz: 909f4a789f28ae86c17cd09abbdcf2b66b39dac2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e279574b1c77844b7d3cc20da4141bb14c5a4e34d61d2b78bd7de239bed0e7695a9a5353c33a9b3ac3e8882cfdec2b6172eaea62b0e34a3b34db539256741da2
|
7
|
+
data.tar.gz: d3f5e5e8f9313cce07f64d822415eb21db34806ec900c2b448b25f147d96661a0b2cd53592727add1267e8158f871ddc2f24d4311aa9f8b8b616358744af47bd
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'opening_hours_converter/constants'
|
2
2
|
require 'json'
|
3
|
+
require 'pry-byebug'
|
3
4
|
|
4
5
|
module OpeningHoursConverter
|
5
6
|
class OpeningHoursParser
|
@@ -211,7 +212,7 @@ module OpeningHoursConverter
|
|
211
212
|
|
212
213
|
general = -1
|
213
214
|
for res_dr_id in 0...result.length
|
214
|
-
if result[res_dr_id].is_general_for?(
|
215
|
+
if result[res_dr_id].is_general_for?(dr_obj)
|
215
216
|
general = res_dr_id
|
216
217
|
end
|
217
218
|
end
|
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.6.
|
4
|
+
version: 1.6.5
|
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-
|
11
|
+
date: 2017-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|