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 +4 -4
- data/lib/opening_hours_converter/opening_hours_rule.rb +2 -2
- 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: a42f2ea0d4978fdd0bd57b0689aa32c5e97c80a5
|
4
|
+
data.tar.gz: 7e5f5dfa2d83574529b0f0caf53e307897cb4495
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
11
|
+
date: 2017-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|