openstudio-analysis 0.1.4 → 0.1.5

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.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +4 -5
  3. data/lib/openstudio/analysis/version.rb +1 -1
  4. data/spec/files/export/analysis/small_seed.json +652 -0
  5. data/spec/files/export/analysis/small_seed.zip +0 -0
  6. data/spec/files/small_list.xlsx +0 -0
  7. data/spec/openstudio/analysis/translator/excel_spec.rb +10 -1
  8. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.0.xml +9 -0
  9. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.1.xml +9 -0
  10. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.2.xml +9 -0
  11. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.3.xml +9 -0
  12. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.4.xml +9 -0
  13. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.xml +9 -0
  14. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.0.xml +9 -0
  15. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.1.xml +9 -0
  16. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.2.xml +9 -0
  17. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.3.xml +9 -0
  18. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.4.xml +9 -0
  19. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.xml +9 -0
  20. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.0.xml +7 -0
  21. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.1.xml +7 -0
  22. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.2.xml +7 -0
  23. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.3.xml +7 -0
  24. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.4.xml +7 -0
  25. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.xml +7 -0
  26. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.0.xml +22 -0
  27. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.1.xml +22 -0
  28. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.2.xml +22 -0
  29. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.3.xml +22 -0
  30. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.4.xml +22 -0
  31. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml +22 -0
  32. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.0.xml +16 -0
  33. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.1.xml +16 -0
  34. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.2.xml +16 -0
  35. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.3.xml +16 -0
  36. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.4.xml +16 -0
  37. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml +16 -0
  38. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.0.xml +15 -0
  39. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.1.xml +15 -0
  40. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.2.xml +15 -0
  41. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.3.xml +15 -0
  42. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.4.xml +15 -0
  43. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml +15 -0
  44. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.0.xml +34 -0
  45. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.1.xml +30 -0
  46. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.2.xml +35 -0
  47. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.3.xml +30 -0
  48. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.4.xml +30 -0
  49. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml +36 -0
  50. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.0.xml +15 -0
  51. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.1.xml +15 -0
  52. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.2.xml +15 -0
  53. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.3.xml +15 -0
  54. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.4.xml +15 -0
  55. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml +15 -0
  56. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.0.xml +7 -0
  57. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.1.xml +7 -0
  58. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.2.xml +7 -0
  59. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.3.xml +7 -0
  60. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.4.xml +7 -0
  61. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml +7 -0
  62. metadata +115 -3
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables" tests="3" time="0.379668" failures="0" errors="0" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a model" time="0.000219">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a weather file" time="0.000142">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should write a json" time="0.104616">
8
+ </testcase>
9
+ <system-out>
10
+ Parsing measure Reduce Lighting Loads by Percentage
11
+ Parsing measure ReduceSpaceInfiltrationByPercentage
12
+ Parsing measure Adjust Thermostat Setpoints by Degrees
13
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
14
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
15
+ Parsing measure Reduce Ventilation By Percentage
16
+ true
17
+ Analysis name is Test Run 1
18
+ Adding measure item 'reduce_lighting_loads_by_percentage'
19
+ Adding measure item 'reducespaceinfiltrationbypercentage'
20
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
21
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
22
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
23
+ Adding measure item 'reduce_ventilation_by_percentage'
24
+ Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
25
+ Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/small_seed.osm
26
+ Adding in other files []
27
+ </system-out>
28
+ <system-err>
29
+ </system-err>
30
+ </testsuite>
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables" tests="3" time="0.375809" failures="0" errors="1" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a model" time="0.00022">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a weather file" time="0.000114">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should write a json" time="0.116046">
8
+ <failure type="JSON::ParserError" message="757: unexpected token at 'spec/files/export/analysis/small_seed.json'">
9
+ 757: unexpected token at 'spec/files/export/analysis/small_seed.json' (JSON::ParserError)
10
+ JSON::ParserError:
11
+ 757: unexpected token at 'spec/files/export/analysis/small_seed.json'
12
+ ./spec/openstudio/analysis/translator/excel_spec.rb:89:in `block (3 levels) in &lt;top (required)&gt;' </failure>
13
+ </testcase>
14
+ <system-out>
15
+ Parsing measure Reduce Lighting Loads by Percentage
16
+ Parsing measure ReduceSpaceInfiltrationByPercentage
17
+ Parsing measure Adjust Thermostat Setpoints by Degrees
18
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
19
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
20
+ Parsing measure Reduce Ventilation By Percentage
21
+ true
22
+ Analysis name is Test Run 1
23
+ Adding measure item 'reduce_lighting_loads_by_percentage'
24
+ Adding measure item 'reducespaceinfiltrationbypercentage'
25
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
26
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
27
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
28
+ Adding measure item 'reduce_ventilation_by_percentage'
29
+ Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
30
+ Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/small_seed.osm
31
+ Adding in other files []
32
+ </system-out>
33
+ <system-err>
34
+ </system-err>
35
+ </testsuite>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables" tests="3" time="0.360707" failures="0" errors="0" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a model" time="0.000219">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a weather file" time="0.000121">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should write a json" time="0.106541">
8
+ </testcase>
9
+ <system-out>
10
+ Parsing measure Reduce Lighting Loads by Percentage
11
+ Parsing measure ReduceSpaceInfiltrationByPercentage
12
+ Parsing measure Adjust Thermostat Setpoints by Degrees
13
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
14
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
15
+ Parsing measure Reduce Ventilation By Percentage
16
+ true
17
+ Analysis name is Test Run 1
18
+ Adding measure item 'reduce_lighting_loads_by_percentage'
19
+ Adding measure item 'reducespaceinfiltrationbypercentage'
20
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
21
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
22
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
23
+ Adding measure item 'reduce_ventilation_by_percentage'
24
+ Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
25
+ Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/small_seed.osm
26
+ Adding in other files []
27
+ </system-out>
28
+ <system-err>
29
+ </system-err>
30
+ </testsuite>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables" tests="3" time="0.376227" failures="0" errors="0" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a model" time="0.000222">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a weather file" time="0.000114">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should write a json" time="0.119823">
8
+ </testcase>
9
+ <system-out>
10
+ Parsing measure Reduce Lighting Loads by Percentage
11
+ Parsing measure ReduceSpaceInfiltrationByPercentage
12
+ Parsing measure Adjust Thermostat Setpoints by Degrees
13
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
14
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
15
+ Parsing measure Reduce Ventilation By Percentage
16
+ true
17
+ Analysis name is Test Run 1
18
+ Adding measure item 'reduce_lighting_loads_by_percentage'
19
+ Adding measure item 'reducespaceinfiltrationbypercentage'
20
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
21
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
22
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
23
+ Adding measure item 'reduce_ventilation_by_percentage'
24
+ Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
25
+ Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/small_seed.osm
26
+ Adding in other files []
27
+ </system-out>
28
+ <system-err>
29
+ </system-err>
30
+ </testsuite>
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables" tests="3" time="0.382901" failures="1" errors="0" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a model" time="0.000245">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a weather file" time="0.000121">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should write a json" time="0.120118">
8
+ <failure type="RSpec::Expectations::ExpectationNotMetError" message="expected: true value...">
9
+ expected: true value
10
+ got: false (RSpec::Expectations::ExpectationNotMetError)
11
+ expected: true value
12
+ got: false
13
+ ./spec/openstudio/analysis/translator/excel_spec.rb:86:in `block (3 levels) in &lt;top (required)&gt;' </failure>
14
+ </testcase>
15
+ <system-out>
16
+ Parsing measure Reduce Lighting Loads by Percentage
17
+ Parsing measure ReduceSpaceInfiltrationByPercentage
18
+ Parsing measure Adjust Thermostat Setpoints by Degrees
19
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
20
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
21
+ Parsing measure Reduce Ventilation By Percentage
22
+ true
23
+ Analysis name is Test Run 1
24
+ Adding measure item 'reduce_lighting_loads_by_percentage'
25
+ Adding measure item 'reducespaceinfiltrationbypercentage'
26
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
27
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
28
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
29
+ Adding measure item 'reduce_ventilation_by_percentage'
30
+ Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
31
+ Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/small_seed.osm
32
+ Adding in other files []
33
+ </system-out>
34
+ <system-err>
35
+ </system-err>
36
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names" tests="1" time="0.248389" failures="0" errors="0" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.189799">
4
+ </testcase>
5
+ <system-out>
6
+ Parsing measure Reduce Lighting Loads by Percentage
7
+ Parsing measure ReduceSpaceInfiltrationByPercentage
8
+ Parsing measure Adjust Thermostat Setpoints by Degrees
9
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
10
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
11
+ Parsing measure Reduce Ventilation By Percentage
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names" tests="1" time="0.254871" failures="0" errors="0" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.196271">
4
+ </testcase>
5
+ <system-out>
6
+ Parsing measure Reduce Lighting Loads by Percentage
7
+ Parsing measure ReduceSpaceInfiltrationByPercentage
8
+ Parsing measure Adjust Thermostat Setpoints by Degrees
9
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
10
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
11
+ Parsing measure Reduce Ventilation By Percentage
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names" tests="1" time="0.251167" failures="0" errors="0" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.196335">
4
+ </testcase>
5
+ <system-out>
6
+ Parsing measure Reduce Lighting Loads by Percentage
7
+ Parsing measure ReduceSpaceInfiltrationByPercentage
8
+ Parsing measure Adjust Thermostat Setpoints by Degrees
9
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
10
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
11
+ Parsing measure Reduce Ventilation By Percentage
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names" tests="1" time="0.247265" failures="0" errors="0" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.193091">
4
+ </testcase>
5
+ <system-out>
6
+ Parsing measure Reduce Lighting Loads by Percentage
7
+ Parsing measure ReduceSpaceInfiltrationByPercentage
8
+ Parsing measure Adjust Thermostat Setpoints by Degrees
9
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
10
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
11
+ Parsing measure Reduce Ventilation By Percentage
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names" tests="1" time="0.249303" failures="0" errors="0" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.191481">
4
+ </testcase>
5
+ <system-out>
6
+ Parsing measure Reduce Lighting Loads by Percentage
7
+ Parsing measure ReduceSpaceInfiltrationByPercentage
8
+ Parsing measure Adjust Thermostat Setpoints by Degrees
9
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
10
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
11
+ Parsing measure Reduce Ventilation By Percentage
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names" tests="1" time="0.260554" failures="0" errors="0" skipped="0">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.194423">
4
+ </testcase>
5
+ <system-out>
6
+ Parsing measure Reduce Lighting Loads by Percentage
7
+ Parsing measure ReduceSpaceInfiltrationByPercentage
8
+ Parsing measure Adjust Thermostat Setpoints by Degrees
9
+ Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
10
+ Parsing measure Set R-value of Insulation for Roofs to a Specific Value
11
+ Parsing measure Reduce Ventilation By Percentage
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel" tests="0" time="0.000124" failures="0" errors="0" skipped="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel" tests="0" time="0.000115" failures="0" errors="0" skipped="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel" tests="0" time="0.000108" failures="0" errors="0" skipped="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel" tests="0" time="9.5e-05" failures="0" errors="0" skipped="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel" tests="0" time="9.5e-05" failures="0" errors="0" skipped="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel" tests="0" time="0.000121" failures="0" errors="0" skipped="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio-analysis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Long
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-11 00:00:00.000000000 Z
11
+ date: 2013-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: json
14
+ name: json_pure
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - '>='
@@ -102,6 +102,8 @@ files:
102
102
  - README.md
103
103
  - CHANGELOG.md
104
104
  - Rakefile
105
+ - spec/files/export/analysis/small_seed.json
106
+ - spec/files/export/analysis/small_seed.zip
105
107
  - spec/files/measures/IncreaseInsulationRValueForRoofs/measure.json
106
108
  - spec/files/measures/IncreaseInsulationRValueForRoofs/measure.rb
107
109
  - spec/files/measures/IncreaseInsulationRValueForRoofs/measure.xml
@@ -114,6 +116,60 @@ files:
114
116
  - spec/files/small_seed.osm
115
117
  - spec/openstudio/analysis/server_api_spec.rb
116
118
  - spec/openstudio/analysis/translator/excel_spec.rb
119
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.0.xml
120
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.1.xml
121
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.2.xml
122
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.3.xml
123
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.4.xml
124
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.xml
125
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.0.xml
126
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.1.xml
127
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.2.xml
128
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.3.xml
129
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.4.xml
130
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.xml
131
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.0.xml
132
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.1.xml
133
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.2.xml
134
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.3.xml
135
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.4.xml
136
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.xml
137
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.0.xml
138
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.1.xml
139
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.2.xml
140
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.3.xml
141
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.4.xml
142
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml
143
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.0.xml
144
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.1.xml
145
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.2.xml
146
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.3.xml
147
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.4.xml
148
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml
149
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.0.xml
150
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.1.xml
151
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.2.xml
152
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.3.xml
153
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.4.xml
154
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml
155
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.0.xml
156
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.1.xml
157
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.2.xml
158
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.3.xml
159
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.4.xml
160
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml
161
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.0.xml
162
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.1.xml
163
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.2.xml
164
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.3.xml
165
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.4.xml
166
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml
167
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.0.xml
168
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.1.xml
169
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.2.xml
170
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.3.xml
171
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.4.xml
172
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml
117
173
  - spec/spec_helper.rb
118
174
  homepage: http://openstudio.nrel.gov
119
175
  licenses:
@@ -141,6 +197,8 @@ specification_version: 4
141
197
  summary: Create JSON, ZIP to communicate with OpenStudio Distributed Analysis in the
142
198
  Cloud
143
199
  test_files:
200
+ - spec/files/export/analysis/small_seed.json
201
+ - spec/files/export/analysis/small_seed.zip
144
202
  - spec/files/measures/IncreaseInsulationRValueForRoofs/measure.json
145
203
  - spec/files/measures/IncreaseInsulationRValueForRoofs/measure.rb
146
204
  - spec/files/measures/IncreaseInsulationRValueForRoofs/measure.xml
@@ -153,4 +211,58 @@ test_files:
153
211
  - spec/files/small_seed.osm
154
212
  - spec/openstudio/analysis/server_api_spec.rb
155
213
  - spec/openstudio/analysis/translator/excel_spec.rb
214
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.0.xml
215
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.1.xml
216
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.2.xml
217
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.3.xml
218
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.4.xml
219
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.xml
220
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.0.xml
221
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.1.xml
222
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.2.xml
223
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.3.xml
224
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.4.xml
225
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.xml
226
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.0.xml
227
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.1.xml
228
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.2.xml
229
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.3.xml
230
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.4.xml
231
+ - spec/reports/SPEC-OpenStudio-Analysis-ServerApi.xml
232
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.0.xml
233
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.1.xml
234
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.2.xml
235
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.3.xml
236
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.4.xml
237
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml
238
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.0.xml
239
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.1.xml
240
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.2.xml
241
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.3.xml
242
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.4.xml
243
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml
244
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.0.xml
245
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.1.xml
246
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.2.xml
247
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.3.xml
248
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.4.xml
249
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml
250
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.0.xml
251
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.1.xml
252
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.2.xml
253
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.3.xml
254
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.4.xml
255
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml
256
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.0.xml
257
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.1.xml
258
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.2.xml
259
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.3.xml
260
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.4.xml
261
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml
262
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.0.xml
263
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.1.xml
264
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.2.xml
265
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.3.xml
266
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.4.xml
267
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml
156
268
  - spec/spec_helper.rb