opening_hours_converter 1.4.6 → 1.4.7

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: 8ac1c432e17f55a6e1197dea0ed7211f74067830
4
- data.tar.gz: 20308dcd2c47b3a8ce94852063166ed609268806
3
+ metadata.gz: a42f2ea0d4978fdd0bd57b0689aa32c5e97c80a5
4
+ data.tar.gz: 7e5f5dfa2d83574529b0f0caf53e307897cb4495
5
5
  SHA512:
6
- metadata.gz: c5c21e010341e1401a65e0c4eb8dc5346a81a1bdd739084f37318bc17ee4eceacac195b1cc34aa992cba67136b6fd5b278aded5ff00c17e6024ac3e6b5fa37ee
7
- data.tar.gz: ccc6518201cc268aa326a85e125f8c5a1c0c06508ea8634d8923bd787678e84e0e9e692abb6bc88689bf011328f96bc3f4503e1761355325a766a8bc6322ca29
6
+ metadata.gz: d5039fd24d5be117ff922b24bf7813efec96dd51c8710a0881be33fd50801a5bbee9842bfbdff3fe0a92a54f3f538a0c737b61ccdd41687e16be4234a51284e1
7
+ data.tar.gz: 506aaaa469f3a809680ccdc7306c55eb06086e167ddeab1f66ed16f660c8f0f5d6ff09ed3478fa6d69da29be696a8f638a714ad607096727a366b7fac4fa2773
@@ -15,10 +15,10 @@ module OpeningHoursConverter
15
15
  result = ""
16
16
  if @date.length == 1 && @date[0].wide_type == "holiday"
17
17
  if !@date[0].wide.start[:year].nil?
18
- result += @date[0].wide.start[:year]
18
+ result += @date[0].wide.start[:year].to_s
19
19
  end
20
20
  if !@date[0].wide.end.nil?
21
- result += "-#{@date[0].wide.end[:year]}"
21
+ result += "-#{@date[0].wide.end[:year].to_s}"
22
22
  end
23
23
  result += " PH"
24
24
  elsif @date.length > 0
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.4.6
4
+ version: 1.4.7
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-06 00:00:00.000000000 Z
11
+ date: 2017-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json