floor_calculator 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/floor_calculator/solver.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37d3a3c5930beec3ae32477a716f18566ad463f44a33013c5bb3feacdc1916df
|
4
|
+
data.tar.gz: dff0cec52f845a9d810d87b0d6809952dfe66dc5612278a04a5ff23e4560b3a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4548ad1a355a9a27655d5591f675f43f3018f6fa371029136a2c830b259c6ffb3df7a7d1e39dd5b373e69f8a027ece53cea50c302e2d9e51108547df8d8e1cfd
|
7
|
+
data.tar.gz: f2f54751752ff2fe3684a9ce2e8938f6fbbb639b0f5295ebf9a9e9fbf88da9aea768ef82fff567b7e3a190f2917028aa5fb7b19bab069ac4807d860e7dac851e
|
@@ -39,7 +39,7 @@ module FloorCalculator
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def country_markup(source, country)
|
42
|
-
return source[country.upcase]
|
42
|
+
return source[country.upcase] unless source[country.upcase].nil?
|
43
43
|
source.fetch(country) { source.fetch('default', {}) }
|
44
44
|
end
|
45
45
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: floor_calculator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marek Mikołajczyk
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-10-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dentaku
|