urbanopt-scenario 0.10.0 → 0.11.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17d3c66b7444d1685977b518d8b847c23e1bbf929e7502f11c275281f13251ed
4
- data.tar.gz: 3d3b44bf2be37d0bfa336da74a748e9b2a50304347323b973ed7f1f2ef2da8cb
3
+ metadata.gz: 59ba663ba32d20b1d7ff6edb4dd728dd076a69c22eeb9bcd0a66516a54889dc9
4
+ data.tar.gz: cecd15318ea0e0522ee3e2cbfd46b0f703cdf6cee9175c37fd38563d5c05816d
5
5
  SHA512:
6
- metadata.gz: 270c29a556ff1aad7943637b4b075ab757ce450ddb479139eb7301543525018bf396be651b0d4676f9259945efcb5de8805fe980ea73c31a522af1ca4f4a7774
7
- data.tar.gz: 596fd345d89d0214a83cf1e5563aeac84e01e0dda25110d19f263e53cb224ad56fd527871a9cfeca5264289004f6c803fcb69e7cfc05be8dd90a46422193e74b
6
+ metadata.gz: 80104608586a99d316d8513b38d9c4cac5cf329c724fd7f87dd27cc4d66b9cd7c317356fc5eb35e1a4082bac10640879e9403f939da2b721ac92976bc1ac2bdc
7
+ data.tar.gz: cb7b53a4f742f9d642431b886d2d278954dda274a59e6292423e59b85d1b04b520296d78cba75921c4dab0308487bf391cd051821faf96ac4e50ee5e03624e04
@@ -1,5 +1,5 @@
1
1
 
2
- name: nightly_build
2
+ name: Scenario-gem CI
3
3
 
4
4
  on:
5
5
  # push:
@@ -7,6 +7,8 @@ on:
7
7
  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
8
8
  # 5 am UTC (11pm MDT the day before) every weekday night in MDT
9
9
  - cron: '21 5 * * 2-6'
10
+ pull_request:
11
+ types: [review_requested]
10
12
 
11
13
  env:
12
14
  # This env var should enforce develop branch of all dependencies
@@ -19,9 +21,9 @@ jobs:
19
21
  # https://github.com/rbenv/ruby-build/discussions/1940
20
22
  runs-on: ubuntu-latest
21
23
  container:
22
- image: docker://nrel/openstudio:3.6.1
24
+ image: docker://nrel/openstudio:3.7.0
23
25
  steps:
24
- - uses: actions/checkout@v3
26
+ - uses: actions/checkout@v4
25
27
  - name: Update gems
26
28
  run: bundle update
27
29
  - name: Run Rspec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # URBANopt Scenario Gem
2
2
 
3
+ ## Version 0.11.0
4
+ Date Range: 07/06/23 - 01/10/24
5
+
6
+ * Add transformer in- and out-going voltages to reporting by @vtnate in https://github.com/urbanopt/urbanopt-scenario-gem/pull/265
7
+ * Remove jenkins by @vtnate in https://github.com/urbanopt/urbanopt-scenario-gem/pull/264
8
+ * also run CI when a PR gets a review request by @vtnate in https://github.com/urbanopt/urbanopt-scenario-gem/pull/266
9
+ * enforce using sqlite3 v1.6 because 1.7 requires ruby3 by @vtnate in https://github.com/urbanopt/urbanopt-scenario-gem/pull/269
10
+ * Support os37 for testing by @vtnate in https://github.com/urbanopt/urbanopt-scenario-gem/pull/267
11
+
12
+ **Full Changelog**: https://github.com/urbanopt/urbanopt-scenario-gem/compare/v0.10.0...v0.11.0
13
+
3
14
  ## Version 0.10.0
4
15
  Date Range: 12/5/22 - 7/6/23
5
16
 
data/Gemfile CHANGED
@@ -23,7 +23,7 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
23
23
  # if allow_local && File.exist?('../urbanopt-core-gem')
24
24
  # gem 'urbanopt-core', path: '../urbanopt-core-gem'
25
25
  # elsif allow_local
26
- # gem 'urbanopt-core', github: 'URBANopt/urbanopt-core-gem', branch: 'develop'
26
+ # gem 'urbanopt-core', github: 'URBANopt/urbanopt-core-gem', branch: 'os37'
27
27
  # end
28
28
 
29
29
  # if allow_local && File.exist?('../openstudio-common-measures-gem')
@@ -39,9 +39,9 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
39
39
  # end
40
40
 
41
41
  # if allow_local && File.exist?('../urbanopt-reporting-gem')
42
- # gem 'urbanopt-reporting', path: '../urbanopt-reporting-gem'
42
+ # gem 'urbanopt-reporting', path: '../urbanopt-reporting-gem'
43
43
  # elsif allow_local
44
- # gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
44
+ # gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'dependency-patch'
45
45
  # end
46
46
 
47
47
  # if allow_local && File.exist?('../openstudio-load-flexibility-measures-gem')
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- URBANopt (tm), Copyright (c) 2019-2023, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2024, Alliance for Sustainable Energy, LLC, and other
2
2
  contributors. All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification,
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # URBANopt Scenario Gem
2
2
 
3
3
  [![Coverage Status](https://coveralls.io/repos/github/urbanopt/urbanopt-scenario-gem/badge.svg?branch=develop)](https://coveralls.io/github/urbanopt/urbanopt-scenario-gem?branch=develop)
4
- [![nightly_build](https://github.com/urbanopt/urbanopt-scenario-gem/actions/workflows/nightly_build.yml/badge.svg)](https://github.com/urbanopt/urbanopt-scenario-gem/actions/workflows/nightly_build.yml)
4
+ [![nightly_build](https://github.com/urbanopt/urbanopt-scenario-gem/actions/workflows/nightly_ci_build.yml/badge.svg)](https://github.com/urbanopt/urbanopt-scenario-gem/actions/workflows/nightly_ci_build.yml)
5
5
 
6
6
  The URBANopt™ Scenario Gem includes functionality for defining scenarios, running simulations, and post-processing results. User defined SimulationMapper classes translate each Feature to a SimulationDir which is a directory containing simulation input files. The ScenarioRunner is used to perform simulations for each SimulationDir. Finally, a ScenarioPostProcessor can run on a Scenario to generate scenario level results.
7
7
 
@@ -34,9 +34,12 @@ Check out the repository and then execute:
34
34
 
35
35
  ## Releasing
36
36
 
37
- * Update CHANGELOG.md
38
37
  * Run `rake rubocop:auto_correct`
39
38
  * Update version in `/lib/urbanopt/scenario/version.rb`
39
+ * On GitHub, go to the releases page and update the latest release tag (from develop). Name it “Version x.y.z”, set the previous tag to the appropriate value, and click the `Generate release notes` button
40
+ * Copy the text generated, which is sorted according to PR labels
41
+ * Discard the release or save as draft
42
+ * Update CHANGELOG.md appropriately, with dates and the content copied from GitHub
40
43
  * Create PR to master, after tests and reviews complete, then merge
44
+ * In GitHub, make a new release or complete the previous one, basing off master/main
41
45
  * Locally - from the master branch, run `rake release`
42
- * On GitHub, go to the releases page and update the latest release tag. Name it “Version x.y.z” and copy the CHANGELOG entry into the description box.
data/Rakefile CHANGED
@@ -1,43 +1,8 @@
1
1
  # *********************************************************************************
2
- # URBANopt™, Copyright (c) 2019-2021, Alliance for Sustainable Energy, LLC, and other
3
- # contributors. All rights reserved.
4
-
5
- # Redistribution and use in source and binary forms, with or without modification,
6
- # are permitted provided that the following conditions are met:
7
-
8
- # Redistributions of source code must retain the above copyright notice, this list
9
- # of conditions and the following disclaimer.
10
-
11
- # Redistributions in binary form must reproduce the above copyright notice, this
12
- # list of conditions and the following disclaimer in the documentation and/or other
13
- # materials provided with the distribution.
14
-
15
- # Neither the name of the copyright holder nor the names of its contributors may be
16
- # used to endorse or promote products derived from this software without specific
17
- # prior written permission.
18
-
19
- # Redistribution of this software, without modification, must refer to the software
20
- # by the same designation. Redistribution of a modified version of this software
21
- # (i) may not refer to the modified version by the same designation, or by any
22
- # confusingly similar designation, and (ii) must refer to the underlying software
23
- # originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
24
- # the term “URBANopt”, or any confusingly similar designation may not be used to
25
- # refer to any modified version of this software or any modified version of the
26
- # underlying software originally provided by Alliance without the prior written
27
- # consent of Alliance.
28
-
29
- # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
30
- # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
31
- # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
32
- # IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
33
- # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
34
- # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35
- # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
36
- # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
37
- # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
38
- # OF THE POSSIBILITY OF SUCH DAMAGE.
2
+ # URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
3
+ # See also https://github.com/urbanopt/urbanopt-scenario-gem/blob/develop/LICENSE.md
39
4
  # *********************************************************************************
40
- #
5
+
41
6
  require 'bundler/gem_tasks'
42
7
  require 'rspec/core/rake_task'
43
8
 
@@ -1,4 +1,4 @@
1
- URBANopt (tm), Copyright (c) 2019-2023, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2024, Alliance for Sustainable Energy, LLC, and other
2
2
  contributors. All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification,
@@ -1,6 +1,6 @@
1
1
  <%
2
2
  # *********************************************************************************
3
- # URBANopt (tm), Copyright (c) 2019-2023, Alliance for Sustainable Energy, LLC, and other
3
+ # URBANopt (tm), Copyright (c) 2019-2024, Alliance for Sustainable Energy, LLC, and other
4
4
  # contributors. All rights reserved.
5
5
 
6
6
  # Redistribution and use in source and binary forms, with or without modification,