urbanopt-scenario 0.9.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/nightly_ci_build.yml +36 -0
- data/CHANGELOG.md +19 -0
- data/Gemfile +3 -3
- data/LICENSE.md +16 -11
- data/README.md +6 -2
- data/Rakefile +3 -38
- data/doc_templates/LICENSE.md +16 -11
- data/doc_templates/copyright_erb.txt +45 -39
- data/doc_templates/copyright_js.txt +2 -2
- data/doc_templates/copyright_ruby.txt +2 -37
- data/docs/package-lock.json +4405 -4750
- data/lib/urbanopt/scenario/default_reports.rb +2 -37
- data/lib/urbanopt/scenario/extension.rb +2 -37
- data/lib/urbanopt/scenario/logger.rb +2 -37
- data/lib/urbanopt/scenario/scenario_base.rb +2 -37
- data/lib/urbanopt/scenario/scenario_csv.rb +2 -37
- data/lib/urbanopt/scenario/scenario_datapoint_base.rb +2 -37
- data/lib/urbanopt/scenario/scenario_post_processor_base.rb +2 -37
- data/lib/urbanopt/scenario/scenario_post_processor_default.rb +2 -37
- data/lib/urbanopt/scenario/scenario_post_processor_disco.rb +101 -145
- data/lib/urbanopt/scenario/scenario_post_processor_opendss.rb +28 -51
- data/lib/urbanopt/scenario/scenario_runner_base.rb +2 -37
- data/lib/urbanopt/scenario/scenario_runner_osw.rb +2 -37
- data/lib/urbanopt/scenario/scenario_visualization.rb +2 -37
- data/lib/urbanopt/scenario/simulation_dir_base.rb +2 -37
- data/lib/urbanopt/scenario/simulation_dir_osw.rb +2 -37
- data/lib/urbanopt/scenario/simulation_mapper_base.rb +2 -37
- data/lib/urbanopt/scenario/version.rb +3 -38
- data/lib/urbanopt/scenario.rb +2 -37
- data/lib/urbanopt-scenario.rb +2 -37
- data/urbanopt-scenario-gem.gemspec +5 -9
- metadata +14 -43
- data/.github/workflows/nightly_build.yml +0 -40
- data/Jenkinsfile +0 -10
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.
|
4
|
+
version: 0.11.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:
|
12
|
+
date: 2024-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -31,28 +31,28 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '13.
|
34
|
+
version: '13.1'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '13.
|
41
|
+
version: '13.1'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '3.
|
48
|
+
version: '3.12'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '3.
|
55
|
+
version: '3.12'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: simplecov
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,75 +82,47 @@ dependencies:
|
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: 0.8.0
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - "~>"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '2.3'
|
91
|
-
type: :runtime
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - "~>"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '2.3'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: json-schema
|
85
|
+
name: sqlite3
|
100
86
|
requirement: !ruby/object:Gem::Requirement
|
101
87
|
requirements:
|
102
88
|
- - "~>"
|
103
89
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
90
|
+
version: 1.6.0
|
105
91
|
type: :runtime
|
106
92
|
prerelease: false
|
107
93
|
version_requirements: !ruby/object:Gem::Requirement
|
108
94
|
requirements:
|
109
95
|
- - "~>"
|
110
96
|
- !ruby/object:Gem::Version
|
111
|
-
version:
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: sqlite3
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - '='
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: 1.4.2
|
119
|
-
type: :runtime
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - '='
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: 1.4.2
|
97
|
+
version: 1.6.0
|
126
98
|
- !ruby/object:Gem::Dependency
|
127
99
|
name: urbanopt-core
|
128
100
|
requirement: !ruby/object:Gem::Requirement
|
129
101
|
requirements:
|
130
102
|
- - "~>"
|
131
103
|
- !ruby/object:Gem::Version
|
132
|
-
version: 0.
|
104
|
+
version: 0.11.0
|
133
105
|
type: :runtime
|
134
106
|
prerelease: false
|
135
107
|
version_requirements: !ruby/object:Gem::Requirement
|
136
108
|
requirements:
|
137
109
|
- - "~>"
|
138
110
|
- !ruby/object:Gem::Version
|
139
|
-
version: 0.
|
111
|
+
version: 0.11.0
|
140
112
|
- !ruby/object:Gem::Dependency
|
141
113
|
name: urbanopt-reporting
|
142
114
|
requirement: !ruby/object:Gem::Requirement
|
143
115
|
requirements:
|
144
116
|
- - "~>"
|
145
117
|
- !ruby/object:Gem::Version
|
146
|
-
version: 0.
|
118
|
+
version: 0.9.1
|
147
119
|
type: :runtime
|
148
120
|
prerelease: false
|
149
121
|
version_requirements: !ruby/object:Gem::Requirement
|
150
122
|
requirements:
|
151
123
|
- - "~>"
|
152
124
|
- !ruby/object:Gem::Version
|
153
|
-
version: 0.
|
125
|
+
version: 0.9.1
|
154
126
|
description: Library to export data point OSW files from URBANopt Scenario CSV
|
155
127
|
email:
|
156
128
|
- rawad.elkontar@nrel.gov
|
@@ -161,7 +133,7 @@ files:
|
|
161
133
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
162
134
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
163
135
|
- ".github/pull_request_template.md"
|
164
|
-
- ".github/workflows/
|
136
|
+
- ".github/workflows/nightly_ci_build.yml"
|
165
137
|
- ".gitignore"
|
166
138
|
- ".rdoc_options"
|
167
139
|
- ".rspec"
|
@@ -169,7 +141,6 @@ files:
|
|
169
141
|
- CHANGELOG.md
|
170
142
|
- CONTRIBUTING.md
|
171
143
|
- Gemfile
|
172
|
-
- Jenkinsfile
|
173
144
|
- LICENSE.md
|
174
145
|
- RDOC_MAIN.md
|
175
146
|
- README.md
|
@@ -1,40 +0,0 @@
|
|
1
|
-
|
2
|
-
name: nightly_build
|
3
|
-
|
4
|
-
on:
|
5
|
-
# push:
|
6
|
-
schedule:
|
7
|
-
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
|
8
|
-
# 5 am UTC (11pm MDT the day before) every weekday night in MDT
|
9
|
-
- cron: '21 5 * * 2-6'
|
10
|
-
|
11
|
-
# Cancels an existing job (of the same workflow) if it is still running
|
12
|
-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
|
13
|
-
# concurrency:
|
14
|
-
# group: ${{ github.workflow }}-${{ github.ref }}
|
15
|
-
# cancel-in-progress: true
|
16
|
-
|
17
|
-
env:
|
18
|
-
# This env var should enforce develop branch of all dependencies
|
19
|
-
FAVOR_LOCAL_GEMS: true
|
20
|
-
GEM_DEVELOPER_KEY: ${{ secrets.GEM_DEVELOPER_KEY }}
|
21
|
-
|
22
|
-
jobs:
|
23
|
-
weeknight-tests:
|
24
|
-
# Pinned to `ubuntu-20.04`. When ubuntu-latest adopts 22.04 it would break for us since 22 only supports Ruby 3.1
|
25
|
-
# https://github.com/ruby/setup-ruby#supported-platforms
|
26
|
-
runs-on: ubuntu-20.04
|
27
|
-
container:
|
28
|
-
image: docker://nrel/openstudio:3.4.0
|
29
|
-
steps:
|
30
|
-
- uses: actions/checkout@v3
|
31
|
-
- name: Update gems
|
32
|
-
run: bundle update
|
33
|
-
- name: Run Rspec
|
34
|
-
run: bundle exec rspec
|
35
|
-
# coveralls action docs: https://github.com/marketplace/actions/coveralls-github-action
|
36
|
-
- name: Coveralls
|
37
|
-
uses: coverallsapp/github-action@master
|
38
|
-
with:
|
39
|
-
github-token: ${{ secrets.GITHUB_TOKEN }}
|
40
|
-
path-to-lcov: "./coverage/lcov/urbanopt-scenario-gem.lcov"
|
data/Jenkinsfile
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
//Jenkins pipelines are stored in shared libraries. Please see: https://github.com/NREL/cbci_jenkins_libs
|
2
|
-
|
3
|
-
@Library('cbci_shared_libs') _
|
4
|
-
|
5
|
-
// Build for PR to develop branch only.
|
6
|
-
if ((env.CHANGE_ID) && (env.CHANGE_TARGET) ) { // check if set
|
7
|
-
|
8
|
-
urbanopt_scenario_gem()
|
9
|
-
|
10
|
-
}
|