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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6e3e869342a9dddb1cc63e1262ac4bf6c8020aa54147f75b067a428fdb69f64
4
- data.tar.gz: 80ca1546be35035585984c42cad9a86f996cd0c0dac7a70f907b4918a0c3c41d
3
+ metadata.gz: 37d3a3c5930beec3ae32477a716f18566ad463f44a33013c5bb3feacdc1916df
4
+ data.tar.gz: dff0cec52f845a9d810d87b0d6809952dfe66dc5612278a04a5ff23e4560b3a1
5
5
  SHA512:
6
- metadata.gz: f9a5eb55238ba1cff0fd8fbcc0d1e1e464d43461dabc34f1941291f5876723c2b5fc194f5fcc49827de07c1c2133b3b93d172cfd1d4db3c13774638900bfb64c
7
- data.tar.gz: 34d1993614d50640593d600deeafca0d97155aea66f89de1769263612acf33ee36f10f30e0b8e60eec24c14921d09897c1dd0726d620d7cb4bfdd8a517d585bf
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] if source[country.upcase].present?
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.1
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-09-19 00:00:00.000000000 Z
12
+ date: 2018-10-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dentaku