urbanopt-scenario 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/nightly_build.yml +40 -0
  3. data/CHANGELOG.md +31 -1
  4. data/Gemfile +2 -2
  5. data/LICENSE.md +1 -3
  6. data/README.md +5 -3
  7. data/doc_templates/LICENSE.md +37 -0
  8. data/doc_templates/README.md.erb +42 -0
  9. data/doc_templates/copyright_erb.txt +41 -0
  10. data/doc_templates/copyright_js.txt +4 -0
  11. data/doc_templates/copyright_ruby.txt +39 -0
  12. data/docs/package-lock.json +4712 -3863
  13. data/docs/package.json +1 -1
  14. data/lib/urbanopt/scenario/default_reports.rb +1 -1
  15. data/lib/urbanopt/scenario/extension.rb +1 -1
  16. data/lib/urbanopt/scenario/logger.rb +1 -1
  17. data/lib/urbanopt/scenario/scenario_base.rb +1 -1
  18. data/lib/urbanopt/scenario/scenario_csv.rb +1 -1
  19. data/lib/urbanopt/scenario/scenario_datapoint_base.rb +1 -1
  20. data/lib/urbanopt/scenario/scenario_post_processor_base.rb +1 -1
  21. data/lib/urbanopt/scenario/scenario_post_processor_default.rb +1 -1
  22. data/lib/urbanopt/scenario/scenario_post_processor_disco.rb +159 -0
  23. data/lib/urbanopt/scenario/scenario_post_processor_opendss.rb +159 -4
  24. data/lib/urbanopt/scenario/scenario_runner_base.rb +1 -1
  25. data/lib/urbanopt/scenario/scenario_runner_osw.rb +1 -1
  26. data/lib/urbanopt/scenario/scenario_visualization.rb +24 -7
  27. data/lib/urbanopt/scenario/simulation_dir_base.rb +1 -1
  28. data/lib/urbanopt/scenario/simulation_dir_osw.rb +1 -4
  29. data/lib/urbanopt/scenario/simulation_mapper_base.rb +1 -1
  30. data/lib/urbanopt/scenario/version.rb +2 -2
  31. data/lib/urbanopt/scenario.rb +2 -1
  32. data/lib/urbanopt-scenario.rb +1 -1
  33. data/urbanopt-scenario-gem.gemspec +4 -11
  34. metadata +41 -6
@@ -26,20 +26,13 @@ Gem::Specification.new do |spec|
26
26
  spec.add_development_dependency 'bundler', '~> 2.1'
27
27
  spec.add_development_dependency 'rake', '~> 13.0'
28
28
  spec.add_development_dependency 'rspec', '~> 3.9'
29
+ spec.add_development_dependency 'simplecov', '~> 0.18.2'
30
+ spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
29
31
 
30
32
  spec.add_runtime_dependency 'json_pure', '~> 2.3'
31
33
  spec.add_runtime_dependency 'json-schema', '~> 2.8'
32
34
 
33
35
  spec.add_runtime_dependency 'sqlite3', '1.4.2'
34
- spec.add_runtime_dependency 'urbanopt-core', '~> 0.7.0'
35
- spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.5.0'
36
-
37
- # no longer need the below
38
- # need to include all measure gems listed in mappers in project gemfiles
39
- # scenario_csv loads the mappers and need access to the extension gems when they are added to a mapper
40
- # spec.add_runtime_dependency 'openstudio-calibration', '~> 0.3.1'
41
- # spec.add_runtime_dependency 'openstudio-common-measures', '~> 0.3.2'
42
- # spec.add_runtime_dependency 'openstudio-ee', '~> 0.3.2'
43
- # spec.add_runtime_dependency 'openstudio-load-flexibility-measures', '~> 0.2.1'
44
- # spec.add_runtime_dependency 'openstudio-model-articulation', '~> 0.3.1'
36
+ spec.add_runtime_dependency 'urbanopt-core', '~> 0.9.0'
37
+ spec.add_runtime_dependency 'urbanopt-reporting', '~> 0.7.0'
45
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanopt-scenario
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rawad El Kontar
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-12-07 00:00:00.000000000 Z
12
+ date: 2022-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -53,6 +53,34 @@ dependencies:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
55
  version: '3.9'
56
+ - !ruby/object:Gem::Dependency
57
+ name: simplecov
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 0.18.2
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: 0.18.2
70
+ - !ruby/object:Gem::Dependency
71
+ name: simplecov-lcov
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: 0.8.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: 0.8.0
56
84
  - !ruby/object:Gem::Dependency
57
85
  name: json_pure
58
86
  requirement: !ruby/object:Gem::Requirement
@@ -101,28 +129,28 @@ dependencies:
101
129
  requirements:
102
130
  - - "~>"
103
131
  - !ruby/object:Gem::Version
104
- version: 0.7.0
132
+ version: 0.9.0
105
133
  type: :runtime
106
134
  prerelease: false
107
135
  version_requirements: !ruby/object:Gem::Requirement
108
136
  requirements:
109
137
  - - "~>"
110
138
  - !ruby/object:Gem::Version
111
- version: 0.7.0
139
+ version: 0.9.0
112
140
  - !ruby/object:Gem::Dependency
113
141
  name: urbanopt-reporting
114
142
  requirement: !ruby/object:Gem::Requirement
115
143
  requirements:
116
144
  - - "~>"
117
145
  - !ruby/object:Gem::Version
118
- version: 0.5.0
146
+ version: 0.7.0
119
147
  type: :runtime
120
148
  prerelease: false
121
149
  version_requirements: !ruby/object:Gem::Requirement
122
150
  requirements:
123
151
  - - "~>"
124
152
  - !ruby/object:Gem::Version
125
- version: 0.5.0
153
+ version: 0.7.0
126
154
  description: Library to export data point OSW files from URBANopt Scenario CSV
127
155
  email:
128
156
  - rawad.elkontar@nrel.gov
@@ -133,6 +161,7 @@ files:
133
161
  - ".github/ISSUE_TEMPLATE/bug_report.md"
134
162
  - ".github/ISSUE_TEMPLATE/feature_request.md"
135
163
  - ".github/pull_request_template.md"
164
+ - ".github/workflows/nightly_build.yml"
136
165
  - ".gitignore"
137
166
  - ".rdoc_options"
138
167
  - ".rspec"
@@ -146,6 +175,11 @@ files:
146
175
  - README.md
147
176
  - Rakefile
148
177
  - deploy_docs.sh
178
+ - doc_templates/LICENSE.md
179
+ - doc_templates/README.md.erb
180
+ - doc_templates/copyright_erb.txt
181
+ - doc_templates/copyright_js.txt
182
+ - doc_templates/copyright_ruby.txt
149
183
  - docs/.gitignore
150
184
  - docs/.vuepress/components/InnerJsonSchema.vue
151
185
  - docs/.vuepress/components/JsonSchema.vue
@@ -168,6 +202,7 @@ files:
168
202
  - lib/urbanopt/scenario/scenario_datapoint_base.rb
169
203
  - lib/urbanopt/scenario/scenario_post_processor_base.rb
170
204
  - lib/urbanopt/scenario/scenario_post_processor_default.rb
205
+ - lib/urbanopt/scenario/scenario_post_processor_disco.rb
171
206
  - lib/urbanopt/scenario/scenario_post_processor_opendss.rb
172
207
  - lib/urbanopt/scenario/scenario_runner_base.rb
173
208
  - lib/urbanopt/scenario/scenario_runner_osw.rb