urbanopt-core 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0109646e0976bbe44dd2058f9df4de72caf8e7fd48af527539dde9f66aeccb32'
4
- data.tar.gz: d5df588b0c061bfbbc09c220d1d9dfae89c739a0b8f1ddab29d6b547946d2594
3
+ metadata.gz: 04e8fc835d4d909cdd2d98231dc2f37e4b93c453adc4063861926c88a8801c2f
4
+ data.tar.gz: 4cfd41bcd04a8c44bc90ccb6169377320dfcb127fa5eb14bf39ac2baba78d949
5
5
  SHA512:
6
- metadata.gz: baf9fce97f0ccd376d6ca0f97f543b16d7bf21a53905a48c12ba8ebefca184a36d389d0f77742f371c462bf655ac0907e6c341cd1e6c4efd90cf79c6cce7bd7a
7
- data.tar.gz: 5713603d6916c4203536b277c317d3f3690c89274b8675e039a2e980ee6fe71d5db3bf2f1175ed37d22a08329309199a01b8db16867b0e793d232f04f02f9f26
6
+ metadata.gz: 58f27fd266418977bab100dc9b0b5b4d3b3f235d47298acf8acb8c3f863a601c96b7dc8b967286f24657cc812c5948161feef4379b2310f703aaf168df79aedf
7
+ data.tar.gz: b1039dd9b3e43c580af2c3f9d6c415750d710e4eaeac1a9e7a07ca274af339d1ef3c58d6b4a4a65d9ebe90e0ebeef36d63587c5a3ca4754e43962259aba6dd3e
@@ -0,0 +1,26 @@
1
+ # https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuration-options
2
+
3
+ changelog:
4
+ exclude:
5
+ labels:
6
+ - ignore-for-release
7
+ - DO NOT MERGE
8
+ - invalid
9
+ - dependencies
10
+ - tests
11
+ authors:
12
+ - octocat
13
+ - dependabot
14
+ categories:
15
+ - title: Breaking Changes 🛠
16
+ labels:
17
+ - Semver-Major
18
+ - breaking-change
19
+ - title: Exciting New Features 🎉
20
+ labels:
21
+ - Semver-Minor
22
+ - enhancement
23
+ - Feature
24
+ - title: Other Changes
25
+ labels:
26
+ - "*"
@@ -1,4 +1,4 @@
1
- name: nightly_build
1
+ name: Core-gem CI
2
2
 
3
3
  on:
4
4
  # push:
@@ -6,6 +6,8 @@ on:
6
6
  # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
7
7
  # 5 am UTC (11pm MDT the day before) every weekday night in MDT
8
8
  - cron: '25 5 * * 2-6'
9
+ pull_request:
10
+ types: [review_requested]
9
11
 
10
12
  env:
11
13
  # This env var should enforce develop branch of all dependencies
@@ -14,13 +16,11 @@ env:
14
16
 
15
17
  jobs:
16
18
  weeknight-tests:
17
- # ubuntu-latest works since https://github.com/rbenv/ruby-build/releases/tag/v20220710 (July 10, 2022)
18
- # https://github.com/rbenv/ruby-build/discussions/1940
19
19
  runs-on: ubuntu-latest
20
20
  container:
21
- image: docker://nrel/openstudio:3.6.1
21
+ image: docker://nrel/openstudio:3.7.0
22
22
  steps:
23
- - uses: actions/checkout@v3
23
+ - uses: actions/checkout@v4
24
24
  - name: Update gems
25
25
  run: bundle update
26
26
  - name: Run Rspec
data/.gitignore CHANGED
@@ -21,3 +21,6 @@ Gemfile.lock
21
21
 
22
22
  # Ignore IDE files
23
23
  /.idea
24
+
25
+ # Mac OS X
26
+ *.DS_Store
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # URBANopt Core Gem
2
2
 
3
+ ## Version 0.11.0
4
+
5
+ ## What's Changed
6
+ ### Exciting New Features 🎉
7
+ * More tests by @vtnate in https://github.com/urbanopt/urbanopt-core-gem/pull/55
8
+ * Os37 by @vtnate in https://github.com/urbanopt/urbanopt-core-gem/pull/56
9
+ ### Other Changes
10
+ * remove Jenkinsfile by @vtnate in https://github.com/urbanopt/urbanopt-core-gem/pull/53
11
+ * also run CI when a PR gets a review request by @vtnate in https://github.com/urbanopt/urbanopt-core-gem/pull/54
12
+
13
+
14
+ **Full Changelog**: https://github.com/urbanopt/urbanopt-core-gem/compare/v0.10.0...v0.11.0
15
+
3
16
  ## Version 0.10.0
4
17
  Date Range: 12/12/22 - 07/19/23
5
18
 
data/CONTRIBUTING.md CHANGED
@@ -8,7 +8,7 @@ The contribution process for URBANopt is composed of three steps:
8
8
 
9
9
  ## 1. Send consent email
10
10
 
11
- In order for us to distribute your code as part of URBANopt under the URBANopt SDK [license](https://github.com/urbanopt/urbanopt-scenario-gem/blob/develop/LICENSE.md), we’ll need your consent. An email acknowledging your understanding of these terms and agreeing to them is all that will be asked of any contributor. Send an email to the URBANopt project manager ([see below](#documentation) for the address) including the following text and a list of co-contributors (if any):
11
+ In order for us to distribute your code as part of URBANopt under the URBANopt SDK [license](https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md), we’ll need your consent. An email acknowledging your understanding of these terms and agreeing to them is all that will be asked of any contributor. Send an email to the URBANopt project manager ([see below](#documentation) for the address) including the following text and a list of co-contributors (if any):
12
12
 
13
13
  *I agree to contribute to the URBANopt SDK. I agree to the following terms and conditions for my contributions: First, I agree that I am licensing the copyright to my contributions under the terms of the current URBANopt SDK license. Second, I hereby grant to Alliance for Sustainable Energy, LLC, to any successor manager and distributor of URBANopt SDK appointed by the U.S. Department of Energy, and to all recipients of a version of URBANopt SDK that includes my contributions, a non-exclusive, worldwide, royalty-free, irrevocable patent license under any patent claims owned by me, or owned by my employer and known to me, that are or will be,necessarily infringed upon by my contributions alone, or by combination of my contributions with the version of URBANopt SDK to which they are contributed, to make, have made, use, offer to sell, sell, import, and otherwise transfer any version of URBANopt SDK that includes my contributions, in source code and object code form. Third, I represent and warrant that I am authorized to make the contributions and grant the foregoing license(s). Additionally, if, to my knowledge, my employer has rights to intellectual property that covers my contributions, I represent and warrant that I have received permission to make these contributions and grant the foregoing license(s) on behalf of my employer.*
14
14
 
@@ -16,7 +16,7 @@ Once we have your consent on file, you’ll only need to redo it if conditions c
16
16
 
17
17
  ## 2. Scope agreement and timeline commitment
18
18
 
19
- If your contribution is small (e.g. a bug fix), simply submit your contribution via GitHub. If you find a bug, first make sure it is not an already known issue, then report it in the GitHub [issue tracker](https://github.com/urbanopt/urbanopt-scenario-gem/issues) for this repository. If your contribution is larger (e.g. a new feature or new functionality/capability), we’ll need to evaluate your proposed contribution first. We may ask you to revise your materials and make changes to it, which we will then re-review.
19
+ If your contribution is small (e.g. a bug fix), simply submit your contribution via GitHub. If you find a bug, first make sure it is not an already known issue, then report it in the GitHub [issue tracker](https://github.com/urbanopt/urbanopt-core-gem/issues) for this repository. If your contribution is larger (e.g. a new feature or new functionality/capability), we’ll need to evaluate your proposed contribution first. We may ask you to revise your materials and make changes to it, which we will then re-review.
20
20
 
21
21
  ## 3. Technical contribution process
22
22
 
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,
@@ -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,
@@ -0,0 +1,6 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'spec/test_measures/**/*'
4
+ require: rubocop-performance
5
+ inherit_from:
6
+ - http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v4.yml
@@ -5,6 +5,6 @@
5
5
 
6
6
  module URBANopt
7
7
  module Core
8
- VERSION = '0.10.0'.freeze
8
+ VERSION = '0.11.0'.freeze
9
9
  end
10
10
  end
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.add_development_dependency 'simplecov', '~> 0.18.2'
28
28
  spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
29
29
 
30
- spec.add_dependency 'openstudio-extension', '~> 0.6.1'
30
+ spec.add_dependency 'openstudio-extension', '~> 0.7.1'
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanopt-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Macumber
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2023-07-20 00:00:00.000000000 Z
12
+ date: 2024-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -87,14 +87,14 @@ dependencies:
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: 0.6.1
90
+ version: 0.7.1
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: 0.6.1
97
+ version: 0.7.1
98
98
  description: URBANopt core library and measures
99
99
  email:
100
100
  - nicholas.long@nrel.gov
@@ -102,6 +102,7 @@ executables: []
102
102
  extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
+ - ".github/release.yml"
105
106
  - ".github/workflows/nightly_build.yml"
106
107
  - ".gitignore"
107
108
  - ".rspec"
@@ -109,7 +110,6 @@ files:
109
110
  - CHANGELOG.md
110
111
  - CONTRIBUTING.md
111
112
  - Gemfile
112
- - Jenkinsfile
113
113
  - LICENSE.md
114
114
  - README.md
115
115
  - Rakefile
@@ -119,6 +119,7 @@ files:
119
119
  - doc_templates/copyright_js.txt
120
120
  - doc_templates/copyright_ruby.txt
121
121
  - lib/measures/.gitkeep
122
+ - lib/measures/.rubocop.yml
122
123
  - lib/urbanopt/core.rb
123
124
  - lib/urbanopt/core/extension.rb
124
125
  - lib/urbanopt/core/feature.rb
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
- openstudio_urbanopt_extension_gems()
9
-
10
- }