opening_hours_converter 1.9.2 → 1.9.3

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: ffbf39995a37cbc20665e8f80b06366fb7190ef0029b501166e90a3e2e5055b0
4
- data.tar.gz: 6d09adc6b4eab8973f2382786b8ab875b545b1ae218029565f58938b5e8f5d8f
3
+ metadata.gz: f5b1ec5df06c6fa350ef3f78ca1efdbb6af0216480eec1e7129904dac1f65b8e
4
+ data.tar.gz: 9d901bd13d924eaa2a8443ee0f32275f03f11ba177e58f97f9ff859f343e1f9b
5
5
  SHA512:
6
- metadata.gz: 126b99ba077709da252ca6c7c0aa4a1260e258c52346df49d6947acd64a2d7fa9009d9750c528cc466bad6e1e225d6f656a3556f784b4668537a8ec2442d27fa
7
- data.tar.gz: 0eaa257f1f7f45c39adf25cc66f939e1dba0e0a7fd675586bf38e14341fc423ffda4d9942f473947e822c47855428c53d9e6b68595486428139188334029c107
6
+ metadata.gz: 04f05233c1e51890dc7cfc5afe399545de551f5ed6df678a2f5d1ecdfa7d20e5834c33178c32611ce4e47cd5f5f1c40f965b88fd85a589b30965eef6a2d81c35
7
+ data.tar.gz: 46038f7958a837a89f9e25663a11a947eceed03394a63f11e7ce8d4d15bfe57aca8f33709df66360172001686a3a356d75cae194708f2a2b7c7da4baa11c134f
@@ -1,6 +1,5 @@
1
1
  module OpeningHoursConverter
2
2
  require 'date'
3
- require 'pry'
4
3
  require_relative './opening_hours_converter/utils'
5
4
  require_relative './opening_hours_converter/date_range'
6
5
  require_relative './opening_hours_converter/token'
@@ -7,7 +7,6 @@ module OpeningHoursConverter
7
7
  extend Utils
8
8
 
9
9
  def self.week_from_index(index, year = Time.now.year)
10
- raise unless index <= week_count(year)
11
10
  raise unless index >= 1
12
11
 
13
12
  week = first_week(year)
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.9.2
4
+ version: 1.9.3
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-05-29 00:00:00.000000000 Z
11
+ date: 2019-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json