epb_view_models 2.2.21 → 2.4.0
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 +4 -4
- data/api/schemas/data/orchestrate.json +8 -0
- data/api/schemas/xml/CEPC-S-7.0/Reports/BaseDataTypes.xsd +296 -296
- data/api/schemas/xml/CEPC-S-7.0/Reports/CEPC-Reports.xsd +63 -63
- data/api/schemas/xml/CEPC-S-7.0/Reports/Input-Data.xsd +34 -34
- data/api/schemas/xml/CEPC-S-7.0/Reports/Performance-Summary.xsd +120 -120
- data/api/schemas/xml/CEPC-S-7.0/Reports/Property.xsd +67 -67
- data/api/schemas/xml/CEPC-S-7.0/Reports/Report-Header.xsd +178 -178
- data/api/schemas/xml/CEPC-S-7.0/Reports/Reported-Data.xsd +391 -391
- data/api/schemas/xml/CEPC-S-7.0/Reports/UserManagement.xsd +171 -171
- data/api/schemas/xml/CEPC-S-7.1/Reports/BaseDataTypes.xsd +300 -300
- data/api/schemas/xml/CEPC-S-7.1/Reports/CEPC-Reports.xsd +66 -66
- data/api/schemas/xml/CEPC-S-7.1/Reports/Input-Data.xsd +34 -34
- data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd +125 -125
- data/api/schemas/xml/CEPC-S-7.1/Reports/Performance-Summary.xsd.bak +123 -123
- data/api/schemas/xml/CEPC-S-7.1/Reports/Property.xsd +67 -67
- data/api/schemas/xml/CEPC-S-7.1/Reports/Report-Header.xsd +178 -178
- data/api/schemas/xml/CEPC-S-7.1/Reports/Reported-Data.xsd +406 -406
- data/api/schemas/xml/CEPC-S-7.1/Reports/UserManagement.xsd +174 -174
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +53 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-Certificate.xsd +213 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/EPC-CollectedData.xsd +445 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/HIP-Reports.xsd +203 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/Property.xsd +73 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/Templates/UserManagement.xsd +252 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/BaseDataTypes.xsd +177 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/EPC-Domains.xsd +68 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SAP-Domains.xsd +1101 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/SharedDomains.xsd +596 -0
- data/api/schemas/xml/RdSAP-Schema-S-12.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/CommonStructures.xsd +160 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/CommonFiles/Exceptions.xsd +72 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Messages/ConditionReportCreateRequest_1.xsd +41 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-Certificate.xsd +252 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/EPC-CollectedData.xsd +444 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HCR-RiskAssessment.xsd +297 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/HIP-Reports.xsd +220 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/Property.xsd +73 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/Templates/UserManagement.xsd +257 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/BaseDataTypes.xsd +176 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/EPC-Domains.xsd +743 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/HCR-Domains.xsd +1773 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SAP-Domains.xsd +1134 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/SharedDomains.xsd +660 -0
- data/api/schemas/xml/RdSAP-Schema-S-14.0/RdSAP/UDT/TypeDefinitions.xsd +19 -0
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/AssessorManagement.xsd +16 -16
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-Certificate.xsd +388 -388
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/EPC-CollectedData.xsd +784 -784
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesExternal.xsd +283 -283
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesGrounds.xsd +222 -222
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesInternal.xsd +205 -205
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-FeaturesServices.xsd +311 -311
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-PropertyDetails.xsd +380 -380
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/HCR-RiskAssessment.xsd +298 -298
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/Property.xsd +67 -67
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/SAP-Reports.xsd +201 -201
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/Templates/UserManagement.xsd +259 -259
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/BaseDataTypes.xsd +176 -176
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/EPC-Domains.xsd +881 -881
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/HCR-Domains.xsd +1779 -1779
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SAP-Domains.xsd +1650 -1650
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/SharedDomains.xsd +768 -768
- data/api/schemas/xml/RdSAP-Schema-S-16.1/RdSAP/UDT/TypeDefinitions.xsd +19 -19
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/AssessorManagement.xsd +208 -208
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-Certificate.xsd +400 -400
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/EPC-CollectedData.xsd +957 -957
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ExceptionList.xsd +18 -18
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/Property.xsd +66 -66
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/RdSAP-Report.xsd +180 -180
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/EPC-Domains.xsd +843 -843
- data/api/schemas/xml/RdSAP-Schema-S-17.00/RdSAP/UDT/SAP-Domains.xsd +2541 -2541
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xml +1456 -1456
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/ExternalDefinitions.xsd +236 -236
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/EPC-CollectedData.xsd +966 -966
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ExceptionList.xsd +18 -18
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/Property.xsd +66 -66
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/RdSAP-Report.xsd +175 -175
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/EPC-Domains.xsd +853 -853
- data/api/schemas/xml/RdSAP-Schema-S-18.0/RdSAP/UDT/SAP-Domains.xsd +2551 -2551
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/ExternalDefinitions.xsd +261 -261
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/AssessorManagement.xsd +213 -213
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-Certificate.xsd +400 -400
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/EPC-CollectedData.xsd +1051 -1051
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/Property.xsd +66 -66
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/RdSAP-Report.xsd +176 -176
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/Templates/ReportList.xsd +26 -26
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/EPC-Domains.xsd +858 -858
- data/api/schemas/xml/RdSAP-Schema-S-19.0/RdSAP/UDT/SAP-Domains.xsd +2684 -2684
- data/api/schemas/xml/RdSAP-Schema-S-21.0/RdSAP/Templates/RdSAP-Report.cs +11846 -11846
- data/lib/epb_view_models/version.rb +5 -0
- data/lib/epb_view_models.rb +1 -3
- data/lib/helper/rrn_helper.rb +4 -4
- data/lib/view_model/cs63/common_schema.rb +18 -18
- data/lib/view_model/factory.rb +2 -0
- data/lib/view_model/rd_sap_schema_s_120/common_schema.rb +547 -0
- data/lib/view_model/rd_sap_schema_s_140/common_schema.rb +550 -0
- data/lib/view_model/rd_sap_wrapper.rb +4 -0
- metadata +47 -13
- data/.buildspec.yml +0 -13
- data/.gitignore +0 -19
- data/.rspec +0 -2
- data/.rubocop.yml +0 -8
- data/.ruby-version +0 -1
- data/Gemfile +0 -15
- data/Gemfile.lock +0 -122
- data/Makefile +0 -17
- data/Rakefile +0 -12
- data/epb_view_models.gemspec +0 -27
data/.rubocop.yml
DELETED
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.4.9
|
data/Gemfile
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
ruby "3.4.9"
|
|
4
|
-
|
|
5
|
-
source "https://rubygems.org"
|
|
6
|
-
|
|
7
|
-
group :test do
|
|
8
|
-
gem "rake", "~> 13.0.6"
|
|
9
|
-
gem "rspec", "~> 3.0"
|
|
10
|
-
gem "rubocop-govuk", "~> 5.0", require: false
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
gem "nokogiri", ">= 1.18.8"
|
|
14
|
-
gem "rexml", ">= 3.3.9"
|
|
15
|
-
gem "zeitwerk", "~> 2.6"
|
data/Gemfile.lock
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
GEM
|
|
2
|
-
remote: https://rubygems.org/
|
|
3
|
-
specs:
|
|
4
|
-
activesupport (8.1.3)
|
|
5
|
-
base64
|
|
6
|
-
bigdecimal
|
|
7
|
-
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
8
|
-
connection_pool (>= 2.2.5)
|
|
9
|
-
drb
|
|
10
|
-
i18n (>= 1.6, < 2)
|
|
11
|
-
json
|
|
12
|
-
logger (>= 1.4.2)
|
|
13
|
-
minitest (>= 5.1)
|
|
14
|
-
securerandom (>= 0.3)
|
|
15
|
-
tzinfo (~> 2.0, >= 2.0.5)
|
|
16
|
-
uri (>= 0.13.1)
|
|
17
|
-
ast (2.4.3)
|
|
18
|
-
base64 (0.3.0)
|
|
19
|
-
bigdecimal (4.1.2)
|
|
20
|
-
concurrent-ruby (1.3.8)
|
|
21
|
-
connection_pool (3.0.2)
|
|
22
|
-
diff-lcs (1.6.2)
|
|
23
|
-
drb (2.2.3)
|
|
24
|
-
i18n (1.15.2)
|
|
25
|
-
concurrent-ruby (~> 1.0)
|
|
26
|
-
json (2.21.1)
|
|
27
|
-
language_server-protocol (3.17.0.6)
|
|
28
|
-
lint_roller (1.1.0)
|
|
29
|
-
logger (1.7.0)
|
|
30
|
-
mini_portile2 (2.8.9)
|
|
31
|
-
minitest (6.0.6)
|
|
32
|
-
drb (~> 2.0)
|
|
33
|
-
prism (~> 1.5)
|
|
34
|
-
nokogiri (1.19.4)
|
|
35
|
-
mini_portile2 (~> 2.8.2)
|
|
36
|
-
racc (~> 1.4)
|
|
37
|
-
parallel (1.28.0)
|
|
38
|
-
parser (3.3.12.0)
|
|
39
|
-
ast (~> 2.4.1)
|
|
40
|
-
racc
|
|
41
|
-
prism (1.9.0)
|
|
42
|
-
racc (1.8.1)
|
|
43
|
-
rack (3.2.6)
|
|
44
|
-
rainbow (3.1.1)
|
|
45
|
-
rake (13.0.6)
|
|
46
|
-
regexp_parser (2.12.0)
|
|
47
|
-
rexml (3.4.4)
|
|
48
|
-
rspec (3.13.2)
|
|
49
|
-
rspec-core (~> 3.13.0)
|
|
50
|
-
rspec-expectations (~> 3.13.0)
|
|
51
|
-
rspec-mocks (~> 3.13.0)
|
|
52
|
-
rspec-core (3.13.6)
|
|
53
|
-
rspec-support (~> 3.13.0)
|
|
54
|
-
rspec-expectations (3.13.5)
|
|
55
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
56
|
-
rspec-support (~> 3.13.0)
|
|
57
|
-
rspec-mocks (3.13.8)
|
|
58
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
59
|
-
rspec-support (~> 3.13.0)
|
|
60
|
-
rspec-support (3.13.7)
|
|
61
|
-
rubocop (1.86.0)
|
|
62
|
-
json (~> 2.3)
|
|
63
|
-
language_server-protocol (~> 3.17.0.2)
|
|
64
|
-
lint_roller (~> 1.1.0)
|
|
65
|
-
parallel (~> 1.10)
|
|
66
|
-
parser (>= 3.3.0.2)
|
|
67
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
68
|
-
regexp_parser (>= 2.9.3, < 3.0)
|
|
69
|
-
rubocop-ast (>= 1.49.0, < 2.0)
|
|
70
|
-
ruby-progressbar (~> 1.7)
|
|
71
|
-
unicode-display_width (>= 2.4.0, < 4.0)
|
|
72
|
-
rubocop-ast (1.49.1)
|
|
73
|
-
parser (>= 3.3.7.2)
|
|
74
|
-
prism (~> 1.7)
|
|
75
|
-
rubocop-capybara (2.22.1)
|
|
76
|
-
lint_roller (~> 1.1)
|
|
77
|
-
rubocop (~> 1.72, >= 1.72.1)
|
|
78
|
-
rubocop-govuk (5.2.1)
|
|
79
|
-
rubocop (= 1.86.0)
|
|
80
|
-
rubocop-ast (= 1.49.1)
|
|
81
|
-
rubocop-capybara (= 2.22.1)
|
|
82
|
-
rubocop-rails (= 2.34.3)
|
|
83
|
-
rubocop-rake (= 0.7.1)
|
|
84
|
-
rubocop-rspec (= 3.9.0)
|
|
85
|
-
rubocop-rails (2.34.3)
|
|
86
|
-
activesupport (>= 4.2.0)
|
|
87
|
-
lint_roller (~> 1.1)
|
|
88
|
-
rack (>= 1.1)
|
|
89
|
-
rubocop (>= 1.75.0, < 2.0)
|
|
90
|
-
rubocop-ast (>= 1.44.0, < 2.0)
|
|
91
|
-
rubocop-rake (0.7.1)
|
|
92
|
-
lint_roller (~> 1.1)
|
|
93
|
-
rubocop (>= 1.72.1)
|
|
94
|
-
rubocop-rspec (3.9.0)
|
|
95
|
-
lint_roller (~> 1.1)
|
|
96
|
-
rubocop (~> 1.81)
|
|
97
|
-
ruby-progressbar (1.13.0)
|
|
98
|
-
securerandom (0.4.1)
|
|
99
|
-
tzinfo (2.0.6)
|
|
100
|
-
concurrent-ruby (~> 1.0)
|
|
101
|
-
unicode-display_width (3.2.0)
|
|
102
|
-
unicode-emoji (~> 4.1)
|
|
103
|
-
unicode-emoji (4.2.0)
|
|
104
|
-
uri (1.1.1)
|
|
105
|
-
zeitwerk (2.8.2)
|
|
106
|
-
|
|
107
|
-
PLATFORMS
|
|
108
|
-
ruby
|
|
109
|
-
|
|
110
|
-
DEPENDENCIES
|
|
111
|
-
nokogiri (>= 1.18.8)
|
|
112
|
-
rake (~> 13.0.6)
|
|
113
|
-
rexml (>= 3.3.9)
|
|
114
|
-
rspec (~> 3.0)
|
|
115
|
-
rubocop-govuk (~> 5.0)
|
|
116
|
-
zeitwerk (~> 2.6)
|
|
117
|
-
|
|
118
|
-
RUBY VERSION
|
|
119
|
-
ruby 3.4.9p82
|
|
120
|
-
|
|
121
|
-
BUNDLED WITH
|
|
122
|
-
2.3.15
|
data/Makefile
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
.DEFAULT_GOAL := help
|
|
2
|
-
SHELL := /bin/bash
|
|
3
|
-
|
|
4
|
-
.PHONY: help install test format
|
|
5
|
-
|
|
6
|
-
help: ## Print help documentation
|
|
7
|
-
@echo -e "Makefile Help for epb-view-models"
|
|
8
|
-
@cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
|
9
|
-
|
|
10
|
-
install: ## Install required libraries and setup
|
|
11
|
-
@bundle install
|
|
12
|
-
|
|
13
|
-
test: ## Run all tests
|
|
14
|
-
@bundle exec rake spec
|
|
15
|
-
|
|
16
|
-
format: ## Runs Rubocop with the GOV.UK rules
|
|
17
|
-
@bundle exec rake rubocop:autocorrect
|
data/Rakefile
DELETED
data/epb_view_models.gemspec
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require_relative "lib/epb_view_models"
|
|
4
|
-
|
|
5
|
-
Gem::Specification.new do |spec|
|
|
6
|
-
spec.name = "epb_view_models"
|
|
7
|
-
spec.version = EpbViewModels::VERSION
|
|
8
|
-
spec.authors = ["MHCLG Energy Performance of Buildings"]
|
|
9
|
-
spec.email = ["mhclg.digital-services@levellingup.gov.uk"]
|
|
10
|
-
spec.summary = "Library used to parse Energy Performance Certificates (EPC)"
|
|
11
|
-
spec.homepage = "https://github.com/communitiesuk/epb-view-models"
|
|
12
|
-
spec.license = "MIT"
|
|
13
|
-
spec.required_ruby_version = ">= 3.4"
|
|
14
|
-
|
|
15
|
-
# Specify which files should be added to the gem when it is released.
|
|
16
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
17
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
18
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
|
19
|
-
end
|
|
20
|
-
spec.bindir = "exe"
|
|
21
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
22
|
-
spec.require_paths = %w[lib]
|
|
23
|
-
|
|
24
|
-
spec.add_dependency "nokogiri", "~> 1.18"
|
|
25
|
-
spec.add_dependency "rexml", "~> 3.3"
|
|
26
|
-
spec.add_dependency "zeitwerk", "~> 2.6"
|
|
27
|
-
end
|