epb_view_models 2.8.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72dc976d356bea4617073bd241627defc50aea7862bd09a05ce0565f2115f3e2
4
- data.tar.gz: b571059e6bce6fac55edda2a14c5f6dc7299cc6dae2a926d6b6e8f2616c3925e
3
+ metadata.gz: 7b16e19f9f3c26f64496597400f9aa693a71593ee46b272e599fa089b4ebea3c
4
+ data.tar.gz: 6cfd3f2d039af2b680243877ad3d246e17fab5b4264d1cdb6185bc79b67ca64d
5
5
  SHA512:
6
- metadata.gz: 7a1fade3d5ca524e8fd5ee27445f27150d2e30c84337700bb553fc11f413d6304a0dbc64655a5a53f8a26815ac2d9093e39dbfd62452282f2c3b75388799c9ca
7
- data.tar.gz: 8992441c00335b68acfbbdb7caf561a42b1fa8b085b078f4b1b87e2f586824fbc79ac11cdc77677e80d0330b5f88f3ea0cfea4e43bc7cfc329193500de733cd5
6
+ metadata.gz: b174a4d132a19765cd893d8abe782b913a1b5407c28c30daae3e621361e05e20461d0848f3e2c7fd58b25988134363d70fdb168378168e700b0d1b7379662a1e
7
+ data.tar.gz: 16cede697153bc0f3e29dffca0781088969c98a9288330f7cadf8ec1512018b27fafc04cd456f26c91725e7197e8e1fcbfe9627cf1c9814658c4da1a0eea3096
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <xs:schema xmlns="https://epbr.digital.communities.gov.uk/xsd/dec-summary-s"
2
+ <xs:schema xmlns="https://epbr.digital.communities.gov.uk/xsd/dec-summary"
3
3
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
4
- targetNamespace="https://epbr.digital.communities.gov.uk/xsd/dec-summary-s"
4
+ targetNamespace="https://epbr.digital.communities.gov.uk/xsd/dec-summary"
5
5
  elementFormDefault="qualified"
6
6
  attributeFormDefault="unqualified"
7
7
  version="DECAR-S-8.0.0">
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EpbViewModels
4
- VERSION = "2.8.0"
4
+ VERSION = "2.8.1"
5
5
  end
@@ -48,7 +48,7 @@ module ViewModel
48
48
  end
49
49
 
50
50
  def floor_area
51
- xpath(%w[Technical-Information Floor-Area])&.to_i
51
+ xpath(%w[Technical-Information Floor-Area])&.to_f
52
52
  end
53
53
 
54
54
  def main_heating_fuel
@@ -48,7 +48,7 @@ module ViewModel
48
48
  end
49
49
 
50
50
  def floor_area
51
- xpath(%w[Technical-Information Floor-Area])&.to_i
51
+ xpath(%w[Technical-Information Floor-Area])&.to_f
52
52
  end
53
53
 
54
54
  def main_heating_fuel
@@ -48,7 +48,7 @@ module ViewModel
48
48
  end
49
49
 
50
50
  def floor_area
51
- xpath(%w[Technical-Information Floor-Area])&.to_i
51
+ xpath(%w[Technical-Information Floor-Area])&.to_f
52
52
  end
53
53
 
54
54
  def main_heating_fuel
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epb_view_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - MHCLG Energy Performance of Buildings