opening_hours_converter 1.5.1 → 1.5.2

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: d480aad01bd570933cf1863d32b4d3f9b4ced580
4
- data.tar.gz: e9bd662f51959bec4487fbe965319ce35adec3b2
3
+ metadata.gz: 02627722d7773fa68b2d94a0b773ff969275141a
4
+ data.tar.gz: fe11eb8a3a6e3265d2b84286d404703d525455c6
5
5
  SHA512:
6
- metadata.gz: e8ba54372c95bd43926a72a30ce676b64a020557535e1b5cc47bbc5cbcddb6743aa835a728f9cc317856f040f844153e893a27c48fea241d9905a2a43cd93fc6
7
- data.tar.gz: a5dd981c0319ba802ab48ea2832cbfaa7968f68d91d4df0450c4731024f9b561bbc95d981c41851d4a590455ad6cc785668458dd467abfadef6fcbae9897d141
6
+ metadata.gz: 4ceb4a762445b0b3aa056ae293c3b214559a67a3faf81238c7246685675da2f354c70036b77c736fb32d7885592a979bbb402017bc1c26f17d2b7e11e50f8318
7
+ data.tar.gz: c61a4582e6b3f40e1c846b8e31788fd4f4216fcad8ac68d5b45a59616377c7a24cc0de2b4e1959c0ef4af7cc82424fcb32adc4643af4ce3a45903f50f64a1f46
@@ -1,5 +1,6 @@
1
1
  require 'opening_hours_converter/constants'
2
2
  require 'json'
3
+ require 'pry-nav'
3
4
 
4
5
  module OpeningHoursConverter
5
6
  class OpeningHoursParser
@@ -26,7 +27,6 @@ module OpeningHoursConverter
26
27
  blocks = oh.split(';')
27
28
 
28
29
  comment = ""
29
- rule_modifier = nil
30
30
  time_selector = nil
31
31
  weekday_selector = nil
32
32
  wide_range_selector = nil
@@ -44,6 +44,7 @@ module OpeningHoursConverter
44
44
  res_dr_id = nil
45
45
 
46
46
  blocks.each do |block|
47
+ rule_modifier = nil
47
48
  block.strip!
48
49
  next if block.length == 0
49
50
 
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.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ziserman Martin