bcl 0.5.9 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +21 -0
  3. data/.rubocop.yml +9 -0
  4. data/CHANGELOG.md +66 -0
  5. data/Gemfile +11 -0
  6. data/License.txt +65 -0
  7. data/README.md +40 -0
  8. data/Rakefile +312 -0
  9. data/bcl.gemspec +39 -0
  10. data/lib/bcl.rb +2 -2
  11. data/lib/bcl/component_methods.rb +12 -13
  12. data/lib/bcl/version.rb +1 -1
  13. data/schemas/v2/component_2012_11_08.xsd +291 -0
  14. data/schemas/v2/measure_2013_3_26.xsd +153 -0
  15. data/schemas/v3/common_bcl_v3.xsd +422 -0
  16. data/schemas/v3/component_v3.xsd +445 -0
  17. data/schemas/v3/measure_v3.xsd +496 -0
  18. metadata +70 -77
  19. data/lib/files/downloads/40237ee0-5ea7-0130-ad9b-14109fdf0b37.tar.gz +0 -0
  20. data/lib/files/staged/components/Asphalt_Shingles_1_8_in/Asphalt_Shingles_1_8_in.tar.gz +0 -0
  21. data/lib/files/staged/components/Asphalt_Shingles_1_8_in/component.xml +0 -81
  22. data/lib/files/staged/components/Built_up_Roofing_3_8_in/Built_up_Roofing_3_8_in.tar.gz +0 -0
  23. data/lib/files/staged/components/Built_up_Roofing_3_8_in/component.xml +0 -76
  24. data/lib/files/staged/components/Metal_Surface_1_16_in/Metal_Surface_1_16_in.tar.gz +0 -0
  25. data/lib/files/staged/components/Metal_Surface_1_16_in/component.xml +0 -76
  26. data/lib/files/staged/components/Shingle_Backer_1_4_in/Shingle_Backer_1_4_in.tar.gz +0 -0
  27. data/lib/files/staged/components/Shingle_Backer_1_4_in/component.xml +0 -81
  28. data/lib/files/staged/components/Shingle_Backer_3_8_in/Shingle_Backer_3_8_in.tar.gz +0 -0
  29. data/lib/files/staged/components/Shingle_Backer_3_8_in/component.xml +0 -81
  30. data/lib/files/staged/components/Wood_Shingles_1_4_in/Wood_Shingles_1_4_in.tar.gz +0 -0
  31. data/lib/files/staged/components/Wood_Shingles_1_4_in/component.xml +0 -81
  32. data/lib/files/staged/gather/1/Asphalt_Shingles_1_8_in.tar.gz +0 -0
  33. data/lib/files/staged/gather/1/Built_up_Roofing_3_8_in.tar.gz +0 -0
  34. data/lib/files/staged/gather/1/Metal_Surface_1_16_in.tar.gz +0 -0
  35. data/lib/files/staged/gather/1/Shingle_Backer_1_4_in.tar.gz +0 -0
  36. data/lib/files/staged/gather/1/Shingle_Backer_3_8_in.tar.gz +0 -0
  37. data/lib/files/staged/gather/1/Wood_Shingles_1_4_in.tar.gz +0 -0
  38. data/lib/files/staged/gather/components_1.tar.gz +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Macumber
@@ -9,158 +9,166 @@ authors:
9
9
  - Andrew Parker
10
10
  - Katherine Fleming
11
11
  autorequire:
12
- bindir: bin
12
+ bindir: exe
13
13
  cert_chain: []
14
- date: 2020-04-28 00:00:00.000000000 Z
14
+ date: 2020-04-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
- name: archive-tar-minitar
17
+ name: builder
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - ">="
20
+ - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: '0'
22
+ version: 3.2.4
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ">="
27
+ - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: '0'
29
+ version: 3.2.4
30
30
  - !ruby/object:Gem::Dependency
31
- name: builder
31
+ name: faraday
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ">="
34
+ - - "~>"
35
35
  - !ruby/object:Gem::Version
36
- version: '0'
36
+ version: 1.0.1
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ">="
41
+ - - "~>"
42
42
  - !ruby/object:Gem::Version
43
- version: '0'
43
+ version: 1.0.1
44
44
  - !ruby/object:Gem::Dependency
45
- name: faraday
45
+ name: minitar
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - ">="
48
+ - - "~>"
49
49
  - !ruby/object:Gem::Version
50
- version: '0'
50
+ version: '0.9'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - ">="
55
+ - - "~>"
56
56
  - !ruby/object:Gem::Version
57
- version: '0'
57
+ version: '0.9'
58
58
  - !ruby/object:Gem::Dependency
59
- name: multi_json
59
+ name: openstudio_measure_tester
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - ">="
62
+ - - "~>"
63
63
  - !ruby/object:Gem::Version
64
- version: '0'
64
+ version: 0.2.2
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - ">="
69
+ - - "~>"
70
70
  - !ruby/object:Gem::Version
71
- version: '0'
71
+ version: 0.2.2
72
72
  - !ruby/object:Gem::Dependency
73
- name: rubyzip
73
+ name: rexml
74
74
  requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - ">="
76
+ - - '='
77
77
  - !ruby/object:Gem::Version
78
- version: '0'
78
+ version: 3.2.4
79
79
  type: :runtime
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - ">="
83
+ - - '='
84
84
  - !ruby/object:Gem::Version
85
- version: '0'
85
+ version: 3.2.4
86
86
  - !ruby/object:Gem::Dependency
87
- name: uuid
87
+ name: rubyzip
88
88
  requirement: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - ">="
90
+ - - "~>"
91
91
  - !ruby/object:Gem::Version
92
- version: '0'
92
+ version: 2.3.0
93
93
  type: :runtime
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - ">="
97
+ - - "~>"
98
98
  - !ruby/object:Gem::Version
99
- version: '0'
99
+ version: 2.3.0
100
100
  - !ruby/object:Gem::Dependency
101
- name: yamler
101
+ name: spreadsheet
102
102
  requirement: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - ">="
104
+ - - '='
105
105
  - !ruby/object:Gem::Version
106
- version: '0'
106
+ version: 1.2.6
107
107
  type: :runtime
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
110
110
  requirements:
111
- - - ">="
111
+ - - '='
112
112
  - !ruby/object:Gem::Version
113
- version: '0'
113
+ version: 1.2.6
114
114
  - !ruby/object:Gem::Dependency
115
- name: zliby
115
+ name: uuid
116
116
  requirement: !ruby/object:Gem::Requirement
117
117
  requirements:
118
- - - ">="
118
+ - - "~>"
119
119
  - !ruby/object:Gem::Version
120
- version: '0'
120
+ version: 2.3.9
121
121
  type: :runtime
122
122
  prerelease: false
123
123
  version_requirements: !ruby/object:Gem::Requirement
124
124
  requirements:
125
- - - ">="
125
+ - - "~>"
126
126
  - !ruby/object:Gem::Version
127
- version: '0'
127
+ version: 2.3.9
128
128
  - !ruby/object:Gem::Dependency
129
- name: rexml
129
+ name: yamler
130
130
  requirement: !ruby/object:Gem::Requirement
131
131
  requirements:
132
- - - ">="
132
+ - - '='
133
133
  - !ruby/object:Gem::Version
134
- version: '0'
134
+ version: 0.1.0
135
135
  type: :runtime
136
136
  prerelease: false
137
137
  version_requirements: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - ">="
139
+ - - '='
140
140
  - !ruby/object:Gem::Version
141
- version: '0'
141
+ version: 0.1.0
142
142
  - !ruby/object:Gem::Dependency
143
- name: spreadsheet
143
+ name: zliby
144
144
  requirement: !ruby/object:Gem::Requirement
145
145
  requirements:
146
- - - ">="
146
+ - - '='
147
147
  - !ruby/object:Gem::Version
148
- version: '0'
148
+ version: 0.0.5
149
149
  type: :runtime
150
150
  prerelease: false
151
151
  version_requirements: !ruby/object:Gem::Requirement
152
152
  requirements:
153
- - - ">="
153
+ - - '='
154
154
  - !ruby/object:Gem::Version
155
- version: '0'
155
+ version: 0.0.5
156
156
  description: This gem contains helper methods for generating the Component XML file
157
157
  needed to upload files to the Building Component Library. It also contains the classes
158
- needed for logging in via the api and uploading generating components
158
+ needed for logging in via the api and uploading generating components and measures.
159
159
  email: Nicholas.Long@nrel.gov
160
160
  executables: []
161
161
  extensions: []
162
162
  extra_rdoc_files: []
163
163
  files:
164
+ - ".gitignore"
165
+ - ".rubocop.yml"
166
+ - CHANGELOG.md
167
+ - Gemfile
168
+ - License.txt
169
+ - README.md
170
+ - Rakefile
171
+ - bcl.gemspec
164
172
  - lib/bcl.rb
165
173
  - lib/bcl/base_xml.rb
166
174
  - lib/bcl/component.rb
@@ -174,26 +182,11 @@ files:
174
182
  - lib/bcl/tar_ball.rb
175
183
  - lib/bcl/version.rb
176
184
  - lib/files/Components.xls
177
- - lib/files/downloads/40237ee0-5ea7-0130-ad9b-14109fdf0b37.tar.gz
178
- - lib/files/staged/components/Asphalt_Shingles_1_8_in/Asphalt_Shingles_1_8_in.tar.gz
179
- - lib/files/staged/components/Asphalt_Shingles_1_8_in/component.xml
180
- - lib/files/staged/components/Built_up_Roofing_3_8_in/Built_up_Roofing_3_8_in.tar.gz
181
- - lib/files/staged/components/Built_up_Roofing_3_8_in/component.xml
182
- - lib/files/staged/components/Metal_Surface_1_16_in/Metal_Surface_1_16_in.tar.gz
183
- - lib/files/staged/components/Metal_Surface_1_16_in/component.xml
184
- - lib/files/staged/components/Shingle_Backer_1_4_in/Shingle_Backer_1_4_in.tar.gz
185
- - lib/files/staged/components/Shingle_Backer_1_4_in/component.xml
186
- - lib/files/staged/components/Shingle_Backer_3_8_in/Shingle_Backer_3_8_in.tar.gz
187
- - lib/files/staged/components/Shingle_Backer_3_8_in/component.xml
188
- - lib/files/staged/components/Wood_Shingles_1_4_in/Wood_Shingles_1_4_in.tar.gz
189
- - lib/files/staged/components/Wood_Shingles_1_4_in/component.xml
190
- - lib/files/staged/gather/1/Asphalt_Shingles_1_8_in.tar.gz
191
- - lib/files/staged/gather/1/Built_up_Roofing_3_8_in.tar.gz
192
- - lib/files/staged/gather/1/Metal_Surface_1_16_in.tar.gz
193
- - lib/files/staged/gather/1/Shingle_Backer_1_4_in.tar.gz
194
- - lib/files/staged/gather/1/Shingle_Backer_3_8_in.tar.gz
195
- - lib/files/staged/gather/1/Wood_Shingles_1_4_in.tar.gz
196
- - lib/files/staged/gather/components_1.tar.gz
185
+ - schemas/v2/component_2012_11_08.xsd
186
+ - schemas/v2/measure_2013_3_26.xsd
187
+ - schemas/v3/common_bcl_v3.xsd
188
+ - schemas/v3/component_v3.xsd
189
+ - schemas/v3/measure_v3.xsd
197
190
  homepage: http://bcl.nrel.gov
198
191
  licenses:
199
192
  - LGPL
@@ -206,7 +199,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
206
199
  requirements:
207
200
  - - ">="
208
201
  - !ruby/object:Gem::Version
209
- version: 1.9.3
202
+ version: 2.5.0
210
203
  required_rubygems_version: !ruby/object:Gem::Requirement
211
204
  requirements:
212
205
  - - ">="
@@ -214,8 +207,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
207
  version: '0'
215
208
  requirements: []
216
209
  rubyforge_project:
217
- rubygems_version: 2.4.5.1
210
+ rubygems_version: 2.7.6.2
218
211
  signing_key:
219
212
  specification_version: 4
220
- summary: Classes for creating component XML files for the BCL
213
+ summary: Classes for creating component XML files and manageing measures for the BCL
221
214
  test_files: []
@@ -1,81 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema.xsd">
3
- <name>Asphalt Shingles - 1/8 in.</name>
4
- <uid>c32e4780-c88c-012f-b24b-0026b9d40ccf</uid>
5
- <version_id>65bae990-7926-0130-b658-0026b9d40ccf</version_id>
6
- <description>Material from a data set created from ASHRAE HOF 2005 and ASHRAE 90.1-2004 Appendix A</description>
7
- <modeler_description>3.0</modeler_description>
8
- <provenances>
9
- <provenance>
10
- <author>aparker</author>
11
- <datetime>2012-09-26</datetime>
12
- <comment>From EnergyPlus 7.1 DataSet ASHRAE_2005_HOF_Materials.idf; Dataset was created from ASHRAE Handbook of Fundamentals, 2005, Chapter 25, Table 4.</comment>
13
- </provenance>
14
- </provenances>
15
- <tags>
16
- <tag>Material.Opaque.Roofing</tag>
17
- </tags>
18
- <attributes>
19
- <attribute>
20
- <name>Category</name>
21
- <value>Shingles</value>
22
- <datatype>string</datatype>
23
- </attribute>
24
- <attribute>
25
- <name>Thickness</name>
26
- <value>3.175</value>
27
- <datatype>float</datatype>
28
- <units>mm</units>
29
- </attribute>
30
- <attribute>
31
- <name>Conductivity</name>
32
- <value>0.04</value>
33
- <datatype>float</datatype>
34
- <units>W/m*K</units>
35
- </attribute>
36
- <attribute>
37
- <name>Resistance</name>
38
- <value>0.07937499999999999</value>
39
- <datatype>float</datatype>
40
- <units>m^2*K/W</units>
41
- </attribute>
42
- <attribute>
43
- <name>Density</name>
44
- <value>1120.0</value>
45
- <datatype>float</datatype>
46
- <units>kg/m^3</units>
47
- </attribute>
48
- <attribute>
49
- <name>Specific Heat</name>
50
- <value>1260.0</value>
51
- <datatype>float</datatype>
52
- <units>J/kg*K</units>
53
- </attribute>
54
- <attribute>
55
- <name>Typical Application</name>
56
- <value>Exterior Wall</value>
57
- <datatype>string</datatype>
58
- </attribute>
59
- <attribute>
60
- <name>Typical Application</name>
61
- <value>Exterior Roof</value>
62
- <datatype>string</datatype>
63
- </attribute>
64
- <attribute>
65
- <name>Typical Application</name>
66
- <value>Attic Roof</value>
67
- <datatype>string</datatype>
68
- </attribute>
69
- <attribute>
70
- <name>OpenStudio Type</name>
71
- <value>OS:Material</value>
72
- <datatype>string</datatype>
73
- </attribute>
74
- </attributes>
75
- <source>
76
- </source>
77
- <files>
78
- </files>
79
- <costs>
80
- </costs>
81
- </component>
@@ -1,76 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema.xsd">
3
- <name>Built-up Roofing - 3/8 in.</name>
4
- <uid>c32853e0-c88c-012f-b247-0026b9d40ccf</uid>
5
- <version_id>65b7dc50-7926-0130-b654-0026b9d40ccf</version_id>
6
- <description>Material from a data set created from ASHRAE HOF 2005 and ASHRAE 90.1-2004 Appendix A</description>
7
- <modeler_description>3.0</modeler_description>
8
- <provenances>
9
- <provenance>
10
- <author>aparker</author>
11
- <datetime>2012-09-26</datetime>
12
- <comment>From EnergyPlus 7.1 DataSet ASHRAE_2005_HOF_Materials.idf; Dataset was created from ASHRAE Handbook of Fundamentals, 2005, Chapter 25, Table 4.</comment>
13
- </provenance>
14
- </provenances>
15
- <tags>
16
- <tag>Material.Opaque.Roofing</tag>
17
- </tags>
18
- <attributes>
19
- <attribute>
20
- <name>Category</name>
21
- <value>Built-Up Roofing</value>
22
- <datatype>string</datatype>
23
- </attribute>
24
- <attribute>
25
- <name>Thickness</name>
26
- <value>9.524999999999999</value>
27
- <datatype>float</datatype>
28
- <units>mm</units>
29
- </attribute>
30
- <attribute>
31
- <name>Conductivity</name>
32
- <value>0.16</value>
33
- <datatype>float</datatype>
34
- <units>W/m*K</units>
35
- </attribute>
36
- <attribute>
37
- <name>Resistance</name>
38
- <value>0.05953125000000001</value>
39
- <datatype>float</datatype>
40
- <units>m^2*K/W</units>
41
- </attribute>
42
- <attribute>
43
- <name>Density</name>
44
- <value>1120.0</value>
45
- <datatype>float</datatype>
46
- <units>kg/m^3</units>
47
- </attribute>
48
- <attribute>
49
- <name>Specific Heat</name>
50
- <value>1459.9999999999998</value>
51
- <datatype>float</datatype>
52
- <units>J/kg*K</units>
53
- </attribute>
54
- <attribute>
55
- <name>Typical Application</name>
56
- <value>Exterior Roof</value>
57
- <datatype>string</datatype>
58
- </attribute>
59
- <attribute>
60
- <name>Typical Application</name>
61
- <value>Attic Roof</value>
62
- <datatype>string</datatype>
63
- </attribute>
64
- <attribute>
65
- <name>OpenStudio Type</name>
66
- <value>OS:Material</value>
67
- <datatype>string</datatype>
68
- </attribute>
69
- </attributes>
70
- <source>
71
- </source>
72
- <files>
73
- </files>
74
- <costs>
75
- </costs>
76
- </component>
@@ -1,76 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema.xsd">
3
- <name>Metal Surface - 1/16 in.</name>
4
- <uid>c32baf60-c88c-012f-b249-0026b9d40ccf</uid>
5
- <version_id>65b962f0-7926-0130-b656-0026b9d40ccf</version_id>
6
- <description>Material from a data set created from ASHRAE HOF 2005 and ASHRAE 90.1-2004 Appendix A</description>
7
- <modeler_description>3.0</modeler_description>
8
- <provenances>
9
- <provenance>
10
- <author>aparker</author>
11
- <datetime>2012-09-26</datetime>
12
- <comment>From EnergyPlus 7.1 DataSet ASHRAE_2005_HOF_Materials.idf; Dataset was created from ASHRAE Handbook of Fundamentals, 2005, Chapter 25, Table 4.</comment>
13
- </provenance>
14
- </provenances>
15
- <tags>
16
- <tag>Material.Opaque.Roofing</tag>
17
- </tags>
18
- <attributes>
19
- <attribute>
20
- <name>Category</name>
21
- <value>Metal Roofing</value>
22
- <datatype>string</datatype>
23
- </attribute>
24
- <attribute>
25
- <name>Thickness</name>
26
- <value>1.5875</value>
27
- <datatype>float</datatype>
28
- <units>mm</units>
29
- </attribute>
30
- <attribute>
31
- <name>Conductivity</name>
32
- <value>45.28000000000001</value>
33
- <datatype>float</datatype>
34
- <units>W/m*K</units>
35
- </attribute>
36
- <attribute>
37
- <name>Resistance</name>
38
- <value>3.505962897526502e-05</value>
39
- <datatype>float</datatype>
40
- <units>m^2*K/W</units>
41
- </attribute>
42
- <attribute>
43
- <name>Density</name>
44
- <value>7824.0</value>
45
- <datatype>float</datatype>
46
- <units>kg/m^3</units>
47
- </attribute>
48
- <attribute>
49
- <name>Specific Heat</name>
50
- <value>499.99999999999994</value>
51
- <datatype>float</datatype>
52
- <units>J/kg*K</units>
53
- </attribute>
54
- <attribute>
55
- <name>Typical Application</name>
56
- <value>Exterior Roof</value>
57
- <datatype>string</datatype>
58
- </attribute>
59
- <attribute>
60
- <name>Typical Application</name>
61
- <value>Attic Roof</value>
62
- <datatype>string</datatype>
63
- </attribute>
64
- <attribute>
65
- <name>OpenStudio Type</name>
66
- <value>OS:Material</value>
67
- <datatype>string</datatype>
68
- </attribute>
69
- </attributes>
70
- <source>
71
- </source>
72
- <files>
73
- </files>
74
- <costs>
75
- </costs>
76
- </component>