epb_view_models 1.2.1 → 1.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57c41aeb5139992344e4f24f10c3d228ed16be53897797385772e072058ced42
|
4
|
+
data.tar.gz: 4cf9250ab8506ba2d1e3fe12cbf941bb08fab056566817ecdf39197d827c50b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dc0258c499b17ebca6f2e9d36bb963d359c6a9ca07cbfdd4644c4e1d2db6315248b449841abe7694a1b8a050a27d7795e15773c9cc983f0e65bc10156c00f30
|
7
|
+
data.tar.gz: a6c60a5dac44e2a9e7df2484cc228cff56298a118820f3763ffc0137f20962fac9b00f0dd07f21b9f2b1e658b3abc07338774b7959001083c7fb6ad7d607f7a8
|
data/lib/epb_view_models.rb
CHANGED
@@ -584,11 +584,11 @@ module ViewModel
|
|
584
584
|
end
|
585
585
|
|
586
586
|
def gas_smart_meter_present
|
587
|
-
xpath(%w[Gas-Smart-Meter-Present])
|
587
|
+
Helper::ToBool.execute(xpath(%w[Gas-Smart-Meter-Present]))
|
588
588
|
end
|
589
589
|
|
590
590
|
def electricity_smart_meter_present
|
591
|
-
xpath(%w[Electricity-Smart-Meter-Present])
|
591
|
+
Helper::ToBool.execute(xpath(%w[Electricity-Smart-Meter-Present]))
|
592
592
|
end
|
593
593
|
end
|
594
594
|
end
|
@@ -629,11 +629,11 @@ module ViewModel
|
|
629
629
|
end
|
630
630
|
|
631
631
|
def gas_smart_meter_present
|
632
|
-
xpath(%w[Gas-Smart-Meter-Present])
|
632
|
+
Helper::ToBool.execute(xpath(%w[Gas-Smart-Meter-Present]))
|
633
633
|
end
|
634
634
|
|
635
635
|
def electricity_smart_meter_present
|
636
|
-
xpath(%w[Electricity-Smart-Meter-Present])
|
636
|
+
Helper::ToBool.execute(xpath(%w[Electricity-Smart-Meter-Present]))
|
637
637
|
end
|
638
638
|
end
|
639
639
|
end
|
@@ -629,11 +629,11 @@ module ViewModel
|
|
629
629
|
end
|
630
630
|
|
631
631
|
def gas_smart_meter_present
|
632
|
-
xpath(%w[Gas-Smart-Meter-Present])
|
632
|
+
Helper::ToBool.execute(xpath(%w[Gas-Smart-Meter-Present]))
|
633
633
|
end
|
634
634
|
|
635
635
|
def electricity_smart_meter_present
|
636
|
-
xpath(%w[Electricity-Smart-Meter-Present])
|
636
|
+
Helper::ToBool.execute(xpath(%w[Electricity-Smart-Meter-Present]))
|
637
637
|
end
|
638
638
|
end
|
639
639
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epb_view_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DLUHC Energy Performance of Buildings
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -1674,6 +1674,7 @@ files:
|
|
1674
1674
|
- lib/helper/estimated_cost_potential_saving_helper.rb
|
1675
1675
|
- lib/helper/rrn_helper.rb
|
1676
1676
|
- lib/helper/schema_list_helper.rb
|
1677
|
+
- lib/helper/to_bool.rb
|
1677
1678
|
- lib/helper/xml_enums_to_output.rb
|
1678
1679
|
- lib/presenter/ac_cert/export_configuration.rb
|
1679
1680
|
- lib/presenter/ac_cert/summary.rb
|