opening_hours_converter 1.13.9 → 1.13.10

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
  SHA256:
3
- metadata.gz: 934c7bb88ac5fcf73e4a213c82f7f84fea36cb88c68534cb409d14ff2272df0b
4
- data.tar.gz: cdfa07abc240fb6399605108f5ab6cf3fefd75b19e08590c230fa2e1983c28df
3
+ metadata.gz: d4bac3ea827b78a2d9b0435edcb108ba971f5805c4e812a8672a17ef0890d947
4
+ data.tar.gz: b710b6cad6691f9d7e53f18fdf394d7d1b6f64e2abefd2cfad7b3b327c14cc07
5
5
  SHA512:
6
- metadata.gz: 8524fbb0d76e45c5e0173f7df2c0a31b17edbeddd501c9c476de7171a6e20463962ed049e04b3562cc9cd0f471dee65f2c679f97c96657750b77c8c9f4e1a155
7
- data.tar.gz: 5f09e6388c2b64b7b9e0ae0887b30226d98af045d4b9c43294ceb3dc34a5ecf4a092e16a644923aadba30ba52dc7e7f7e319804b7825c55ba75fde403f687363
6
+ metadata.gz: ee691bff32b678833ffe4e20b844a1a4b4beae8a4c05d6d81db5728cab926b75a72062d28c26d7d73d27c04c7b6144419fd0e5e013b048029eeb2d154a57446b
7
+ data.tar.gz: 5a80b17aecae55f6da6f3a418f9a61d63c6aa8d3a062c3c93243d8239974d535074c2774b13b2456da90f022355eaa8eb40e251a71010a19db68a1f778338242
@@ -502,7 +502,7 @@ module OpeningHoursConverter
502
502
  year = wrs[0...4]
503
503
 
504
504
  wrs.split(',').map.with_index do |wr|
505
- if wr.start_with?(/#{@regex_handler.year}/)
505
+ if wr =~ /^#{@regex_handler.year}/
506
506
  year = wr[0...4]
507
507
  wr = wr[5...wr.length]
508
508
  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.13.9
4
+ version: 1.13.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ziserman Martin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-18 00:00:00.000000000 Z
11
+ date: 2020-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json