epb_view_models 1.0.24 → 1.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/epb_view_models.gemspec +1 -1
- data/lib/epb_view_models.rb +1 -1
- data/lib/presenter/dec/report.rb +1 -0
- data/lib/presenter/rd_sap/domestic_digest.rb +1 -0
- data/lib/presenter/sap/domestic_digest.rb +1 -0
- data/lib/view_model/rd_sap_schema_170/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_171/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_180/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_190/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_200/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_ni_173/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_ni_174/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_ni_180/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_ni_190/common_schema.rb +1 -3
- data/lib/view_model/rd_sap_schema_ni_200/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_102/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_110/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_112/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_120/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_130/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_140/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_141/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_142/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_150/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_160/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_161/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_162/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_163/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_170/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_171/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_1800/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_1900/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_112/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_120/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_130/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_140/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_141/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_142/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_150/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_160/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_161/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_170/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_171/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_172/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_173/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_174/common_schema.rb +1 -3
- data/lib/view_model/sap_schema_ni_1800/common_schema.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97ea4d69a165b70282d3b172bc797b1e61a4e556aac85306b62c70ff4a3e57ff
|
4
|
+
data.tar.gz: fd06f290bf0c1fe7d0f7753187bf3dcba7767d6d8cab9a8fa56fbd63de0363e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9119e059121894e63845f89a2f0b875ded1c603291063548952fdcedbb0257c2e2d32bb17f5383e6aa3d08c673f38e619a8a507ca0ff0309a647f894697f3add
|
7
|
+
data.tar.gz: 51cc8e5f6c20bbbe25da3d716c50af89714988ab718229614a5c3fc8687978da9d6d868350b3eda331f081878971cc4753b07d3d4364bf300825e49c4a1ddd0c
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/epb_view_models.gemspec
CHANGED
data/lib/epb_view_models.rb
CHANGED
data/lib/presenter/dec/report.rb
CHANGED
@@ -69,6 +69,7 @@ module Presenter
|
|
69
69
|
building_environment: @view_model.building_environment,
|
70
70
|
building_category: @view_model.building_category,
|
71
71
|
report_type: @view_model.report_type,
|
72
|
+
reason_type: @view_model.all_reason_types.first,
|
72
73
|
other_fuel: @view_model.other_fuel,
|
73
74
|
}
|
74
75
|
end
|
@@ -37,6 +37,7 @@ module Presenter
|
|
37
37
|
has_hot_water_cylinder: @view_model.has_hot_water_cylinder,
|
38
38
|
total_floor_area: @view_model.total_floor_area.to_s,
|
39
39
|
has_mains_gas: @view_model.mains_gas,
|
40
|
+
current_energy_efficiency_rating: @view_model.current_energy_rating,
|
40
41
|
}
|
41
42
|
end
|
42
43
|
end
|
@@ -34,6 +34,7 @@ module Presenter
|
|
34
34
|
has_hot_water_cylinder: @view_model.has_hot_water_cylinder,
|
35
35
|
total_floor_area: @view_model.total_floor_area.to_s,
|
36
36
|
has_mains_gas: @view_model.mains_gas,
|
37
|
+
current_energy_efficiency_rating: @view_model.current_energy_rating,
|
37
38
|
}
|
38
39
|
end
|
39
40
|
end
|
@@ -167,9 +167,7 @@ module ViewModel
|
|
167
167
|
xpath(%w[Energy-Rating-Current]).to_i
|
168
168
|
end
|
169
169
|
|
170
|
-
def estimated_energy_cost
|
171
|
-
xpath(%w[Estimated-Energy-Cost])
|
172
|
-
end
|
170
|
+
def estimated_energy_cost; end
|
173
171
|
|
174
172
|
def total_floor_area
|
175
173
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -167,9 +167,7 @@ module ViewModel
|
|
167
167
|
xpath(%w[Energy-Rating-Current]).to_i
|
168
168
|
end
|
169
169
|
|
170
|
-
def estimated_energy_cost
|
171
|
-
xpath(%w[Estimated-Energy-Cost])
|
172
|
-
end
|
170
|
+
def estimated_energy_cost; end
|
173
171
|
|
174
172
|
def total_floor_area
|
175
173
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -167,9 +167,7 @@ module ViewModel
|
|
167
167
|
xpath(%w[Energy-Rating-Current]).to_i
|
168
168
|
end
|
169
169
|
|
170
|
-
def estimated_energy_cost
|
171
|
-
xpath(%w[Estimated-Energy-Cost])
|
172
|
-
end
|
170
|
+
def estimated_energy_cost; end
|
173
171
|
|
174
172
|
def total_floor_area
|
175
173
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -167,9 +167,7 @@ module ViewModel
|
|
167
167
|
xpath(%w[Energy-Rating-Current]).to_i
|
168
168
|
end
|
169
169
|
|
170
|
-
def estimated_energy_cost
|
171
|
-
xpath(%w[Estimated-Energy-Cost])
|
172
|
-
end
|
170
|
+
def estimated_energy_cost; end
|
173
171
|
|
174
172
|
def total_floor_area
|
175
173
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -171,9 +171,7 @@ module ViewModel
|
|
171
171
|
xpath(%w[Energy-Rating-Current]).to_i
|
172
172
|
end
|
173
173
|
|
174
|
-
def estimated_energy_cost
|
175
|
-
xpath(%w[Estimated-Energy-Cost])
|
176
|
-
end
|
174
|
+
def estimated_energy_cost; end
|
177
175
|
|
178
176
|
def total_floor_area
|
179
177
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -152,9 +152,7 @@ module ViewModel
|
|
152
152
|
xpath(%w[Energy-Rating-Current]).to_i
|
153
153
|
end
|
154
154
|
|
155
|
-
def estimated_energy_cost
|
156
|
-
xpath(%w[Estimated-Energy-Cost])
|
157
|
-
end
|
155
|
+
def estimated_energy_cost; end
|
158
156
|
|
159
157
|
def total_floor_area
|
160
158
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -152,9 +152,7 @@ module ViewModel
|
|
152
152
|
xpath(%w[Energy-Rating-Current]).to_i
|
153
153
|
end
|
154
154
|
|
155
|
-
def estimated_energy_cost
|
156
|
-
xpath(%w[Estimated-Energy-Cost])
|
157
|
-
end
|
155
|
+
def estimated_energy_cost; end
|
158
156
|
|
159
157
|
def total_floor_area
|
160
158
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -152,9 +152,7 @@ module ViewModel
|
|
152
152
|
xpath(%w[Energy-Rating-Current]).to_i
|
153
153
|
end
|
154
154
|
|
155
|
-
def estimated_energy_cost
|
156
|
-
xpath(%w[Estimated-Energy-Cost])
|
157
|
-
end
|
155
|
+
def estimated_energy_cost; end
|
158
156
|
|
159
157
|
def total_floor_area
|
160
158
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -152,9 +152,7 @@ module ViewModel
|
|
152
152
|
xpath(%w[Energy-Rating-Current]).to_i
|
153
153
|
end
|
154
154
|
|
155
|
-
def estimated_energy_cost
|
156
|
-
xpath(%w[Estimated-Energy-Cost])
|
157
|
-
end
|
155
|
+
def estimated_energy_cost; end
|
158
156
|
|
159
157
|
def total_floor_area
|
160
158
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -158,9 +158,7 @@ module ViewModel
|
|
158
158
|
xpath(%w[Energy-Rating-Current]).to_i
|
159
159
|
end
|
160
160
|
|
161
|
-
def estimated_energy_cost
|
162
|
-
xpath(%w[Estimated-Energy-Cost])
|
163
|
-
end
|
161
|
+
def estimated_energy_cost; end
|
164
162
|
|
165
163
|
def total_floor_area
|
166
164
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -179,9 +179,7 @@ module ViewModel
|
|
179
179
|
xpath(%w[Energy-Consumption-Potential])
|
180
180
|
end
|
181
181
|
|
182
|
-
def estimated_energy_cost
|
183
|
-
xpath(%w[Estimated-Energy-Cost])
|
184
|
-
end
|
182
|
+
def estimated_energy_cost; end
|
185
183
|
|
186
184
|
def total_floor_area
|
187
185
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -170,9 +170,7 @@ module ViewModel
|
|
170
170
|
xpath(%w[Energy-Consumption-Potential])
|
171
171
|
end
|
172
172
|
|
173
|
-
def estimated_energy_cost
|
174
|
-
xpath(%w[Estimated-Energy-Cost])
|
175
|
-
end
|
173
|
+
def estimated_energy_cost; end
|
176
174
|
|
177
175
|
def total_floor_area
|
178
176
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -170,9 +170,7 @@ module ViewModel
|
|
170
170
|
xpath(%w[Energy-Consumption-Potential])
|
171
171
|
end
|
172
172
|
|
173
|
-
def estimated_energy_cost
|
174
|
-
xpath(%w[Estimated-Energy-Cost])
|
175
|
-
end
|
173
|
+
def estimated_energy_cost; end
|
176
174
|
|
177
175
|
def total_floor_area
|
178
176
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -170,9 +170,7 @@ module ViewModel
|
|
170
170
|
xpath(%w[Energy-Consumption-Potential])
|
171
171
|
end
|
172
172
|
|
173
|
-
def estimated_energy_cost
|
174
|
-
xpath(%w[Estimated-Energy-Cost])
|
175
|
-
end
|
173
|
+
def estimated_energy_cost; end
|
176
174
|
|
177
175
|
def total_floor_area
|
178
176
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -174,9 +174,7 @@ module ViewModel
|
|
174
174
|
xpath(%w[Energy-Consumption-Potential])
|
175
175
|
end
|
176
176
|
|
177
|
-
def estimated_energy_cost
|
178
|
-
xpath(%w[Estimated-Energy-Cost])
|
179
|
-
end
|
177
|
+
def estimated_energy_cost; end
|
180
178
|
|
181
179
|
def total_floor_area
|
182
180
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -174,9 +174,7 @@ module ViewModel
|
|
174
174
|
xpath(%w[Energy-Consumption-Potential])
|
175
175
|
end
|
176
176
|
|
177
|
-
def estimated_energy_cost
|
178
|
-
xpath(%w[Estimated-Energy-Cost])
|
179
|
-
end
|
177
|
+
def estimated_energy_cost; end
|
180
178
|
|
181
179
|
def total_floor_area
|
182
180
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -174,9 +174,7 @@ module ViewModel
|
|
174
174
|
xpath(%w[Energy-Consumption-Potential])
|
175
175
|
end
|
176
176
|
|
177
|
-
def estimated_energy_cost
|
178
|
-
xpath(%w[Estimated-Energy-Cost])
|
179
|
-
end
|
177
|
+
def estimated_energy_cost; end
|
180
178
|
|
181
179
|
def total_floor_area
|
182
180
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -176,9 +176,7 @@ module ViewModel
|
|
176
176
|
xpath(%w[Energy-Consumption-Potential])
|
177
177
|
end
|
178
178
|
|
179
|
-
def estimated_energy_cost
|
180
|
-
xpath(%w[Estimated-Energy-Cost])
|
181
|
-
end
|
179
|
+
def estimated_energy_cost; end
|
182
180
|
|
183
181
|
def total_floor_area
|
184
182
|
xpath(%w[Property-Summary Total-Floor-Area]).to_i
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
building_part_areas = @xml_doc.search("//SAP-Building-Part/SAP-Floor-Dimensions/SAP-Floor-Dimension/Total-Floor-Area").map(&:content)
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -159,9 +159,7 @@ module ViewModel
|
|
159
159
|
xpath(%w[Energy-Consumption-Potential])
|
160
160
|
end
|
161
161
|
|
162
|
-
def estimated_energy_cost
|
163
|
-
xpath(%w[Estimated-Energy-Cost])
|
164
|
-
end
|
162
|
+
def estimated_energy_cost; end
|
165
163
|
|
166
164
|
def total_floor_area
|
167
165
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -155,9 +155,7 @@ module ViewModel
|
|
155
155
|
xpath(%w[Energy-Consumption-Potential])
|
156
156
|
end
|
157
157
|
|
158
|
-
def estimated_energy_cost
|
159
|
-
xpath(%w[Estimated-Energy-Cost])
|
160
|
-
end
|
158
|
+
def estimated_energy_cost; end
|
161
159
|
|
162
160
|
def total_floor_area
|
163
161
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -168,9 +168,7 @@ module ViewModel
|
|
168
168
|
xpath(%w[Energy-Consumption-Potential])
|
169
169
|
end
|
170
170
|
|
171
|
-
def estimated_energy_cost
|
172
|
-
xpath(%w[Estimated-Energy-Cost])
|
173
|
-
end
|
171
|
+
def estimated_energy_cost; end
|
174
172
|
|
175
173
|
def total_floor_area
|
176
174
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -164,9 +164,7 @@ module ViewModel
|
|
164
164
|
xpath(%w[Energy-Consumption-Potential])
|
165
165
|
end
|
166
166
|
|
167
|
-
def estimated_energy_cost
|
168
|
-
xpath(%w[Estimated-Energy-Cost])
|
169
|
-
end
|
167
|
+
def estimated_energy_cost; end
|
170
168
|
|
171
169
|
def total_floor_area
|
172
170
|
xpath(%w[Property-Summary Total-Floor-Area])
|
@@ -168,9 +168,7 @@ module ViewModel
|
|
168
168
|
xpath(%w[Energy-Consumption-Potential])
|
169
169
|
end
|
170
170
|
|
171
|
-
def estimated_energy_cost
|
172
|
-
xpath(%w[Estimated-Energy-Cost])
|
173
|
-
end
|
171
|
+
def estimated_energy_cost; end
|
174
172
|
|
175
173
|
def total_floor_area
|
176
174
|
xpath(%w[Property-Summary Total-Floor-Area])
|
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.0.
|
4
|
+
version: 1.0.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MHCLG Energy Performance of Buildings
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '2.
|
33
|
+
version: '2.6'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '2.
|
40
|
+
version: '2.6'
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- mhclg.digital-services@communities.gov.uk
|