urbanopt-core 1.0.0 → 1.2.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: 5cd161e310c17d98c30e9dc46f2cec0f84f4f52d42f198e70187a141fe7302c7
4
- data.tar.gz: 2e51a5becf77145b0f5da82a8af0258d2d4c8ea57c20c6db18a1db7dfcc5e6ff
3
+ metadata.gz: fcdd916f6c6a821ae124c8c62e62b9aa018304f6c54b2b9cb13bd98c9f0aa26a
4
+ data.tar.gz: 56cdca2cf1648288400d2bd88ad988caa269f39de5820c56ceb0f5356a792f26
5
5
  SHA512:
6
- metadata.gz: d6d3ff0d274f36e4f70e749d05a826a655b8b99197c0cd3848e3c14180588d4a5837c095775e096c2d4998bd2b865f1d9423681d35b3025a0f6862a8455fc049
7
- data.tar.gz: 11919cbdbf0f303672c574757a95dd76a52ce5187226f77838fbdad036e56f114d56adc8526d43b2774723caa78ff1d7a37258f7de32e2d572223ad3e4952a54
6
+ metadata.gz: 75cd04a4a13a2c6576ec4bdad56c141435fca1d04bd5569c105e10c67ee5ae8b9bd6fde3c72d6dc048ca8be1022df6a384a572cd45cbac692ad66ea4a308b36e
7
+ data.tar.gz: f9c92cb0de22c8be85f60a468c08f7b3b4ce3aa2d17976f74aef91a6f5ccf04c37771631e7266d56851f0bd5bcfca88fcb8c2122729665512fda760661e6cbd4
@@ -17,9 +17,9 @@ jobs:
17
17
  weeknight-tests:
18
18
  runs-on: ubuntu-latest
19
19
  container:
20
- image: docker://nrel/openstudio:3.9.0
20
+ image: docker://nrel/openstudio:3.10.0
21
21
  steps:
22
- - uses: actions/checkout@v4
22
+ - uses: actions/checkout@v5
23
23
  - name: Update gems
24
24
  run: |
25
25
  bundle install
@@ -28,7 +28,7 @@ jobs:
28
28
  run: bundle exec rspec
29
29
  # coveralls action docs: https://github.com/marketplace/actions/coveralls-github-action
30
30
  - name: Coveralls
31
- uses: coverallsapp/github-action@master
31
+ uses: coverallsapp/github-action@v2
32
32
  with:
33
33
  github-token: ${{ secrets.GITHUB_TOKEN }}
34
34
  path-to-lcov: "./coverage/lcov/urbanopt-core-gem.lcov"
data/CHANGELOG.md CHANGED
@@ -1,30 +1,24 @@
1
1
  # URBANopt Core Gem
2
2
 
3
- ## Version 1.0.0
4
-
5
- ## Exciting New Features 🎉
3
+ ## Version 1.2.0
6
4
 
7
- * Use openstudio 3.9.0 by @vtnate in https://github.com/urbanopt/urbanopt-core-gem/pull/60
5
+ * Update license names and dates
6
+ * NLR name change and NatLabRockies github org change
8
7
 
9
- ### Other Changes
10
-
11
- * Used the pinned version of regex-parser in openstudio-extension. by @wenyikuang in https://github.com/urbanopt/urbanopt-core-gem/pull/61
8
+ ## Version 1.1.0
12
9
 
13
- ## New Contributors
10
+ * Use openstudio 3.10.0 by @vtnate in <https://github.com/urbanopt/urbanopt-core-gem/pull/64>
14
11
 
15
- * @wenyikuang made their first contribution in https://github.com/urbanopt/urbanopt-core-gem/pull/61
12
+ ## Version 1.0.0
16
13
 
17
- **Full Changelog**: https://github.com/urbanopt/urbanopt-core-gem/compare/v0.11.0...v1.0.0
14
+ * Use openstudio 3.9.0 by @vtnate in https://github.com/urbanopt/urbanopt-core-gem/pull/60
15
+ * Used the pinned version of regex-parser in openstudio-extension. by @wenyikuang in https://github.com/urbanopt/urbanopt-core-gem/pull/61
18
16
 
19
17
  ## Version 0.11.0
20
18
 
21
- ### Exciting New Features 🎉
22
-
23
19
  * More tests by @vtnate in https://github.com/urbanopt/urbanopt-core-gem/pull/55
24
20
  * Os37 by @vtnate in https://github.com/urbanopt/urbanopt-core-gem/pull/56
25
21
 
26
- ### Other Changes
27
-
28
22
  * remove Jenkinsfile by @vtnate in https://github.com/urbanopt/urbanopt-core-gem/pull/53
29
23
  * also run CI when a PR gets a review request by @vtnate in https://github.com/urbanopt/urbanopt-core-gem/pull/54
30
24
 
data/CONTRIBUTING.md CHANGED
@@ -10,7 +10,7 @@ The contribution process for URBANopt is composed of three steps:
10
10
 
11
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
- *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.*
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 Energy Innovation, 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
 
15
15
  Once we have your consent on file, you’ll only need to redo it if conditions change (e.g. a change of employer).
16
16
 
@@ -53,6 +53,6 @@ URBANopt Project Management\
53
53
  ben.polly@nrel.gov\
54
54
  (303) 384-7429
55
55
 
56
- URBANopt is funded by the U.S. Department of Energy (DOE) and managed by the National Renewable Energy Laboratory (NREL).
56
+ URBANopt is funded by the U.S. Department of Energy (DOE) and managed by the National Laboratory of the Rockies (NLR).
57
57
 
58
- URBANopt is developed in collaboration with NREL, LBNL, and private firms.
58
+ URBANopt is developed in collaboration with NLR, LBNL, and private firms.
data/Gemfile CHANGED
@@ -14,5 +14,5 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
14
14
  # if allow_local && File.exist?('../OpenStudio-extension-gem')
15
15
  # gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
16
16
  # elsif allow_local
17
- # gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
17
+ # gem 'openstudio-extension', github: 'NatLabRockies/OpenStudio-extension-gem', branch: 'develop'
18
18
  # end
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- URBANopt (tm), Copyright (c) 2019-2025, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2026, Alliance for Energy Innovation, 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/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  # *********************************************************************************
2
- # URBANopt™, Copyright © Alliance for Sustainable Energy, LLC.
2
+ # URBANopt™, Copyright © Alliance for Energy Innovation, LLC.
3
3
  # See also https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md
4
4
  # *********************************************************************************
5
5
 
@@ -1,4 +1,4 @@
1
- URBANopt (tm), Copyright (c) 2019-2025, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2026, Alliance for Energy Innovation, 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-2025, Alliance for Sustainable Energy, LLC, and other
3
+ # URBANopt (tm), Copyright (c) 2019-2026, Alliance for Energy Innovation, 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,
@@ -1,4 +1,4 @@
1
1
  /* @preserve
2
- * URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
2
+ * URBANopt (tm), Copyright (c) Alliance for Energy Innovation, LLC.
3
3
  * See also https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md
4
4
  */
@@ -1,4 +1,4 @@
1
1
  # *********************************************************************************
2
- # URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
2
+ # URBANopt (tm), Copyright (c) Alliance for Energy Innovation, LLC.
3
3
  # See also https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md
4
4
  # *********************************************************************************
@@ -1,4 +1,4 @@
1
- URBANopt (tm), Copyright (c) 2019-2025, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2026, Alliance for Energy Innovation, 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,13 +1,11 @@
1
1
  # *********************************************************************************
2
- # URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
2
+ # URBANopt (tm), Copyright (c) Alliance for Energy Innovation, LLC.
3
3
  # See also https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md
4
4
  # *********************************************************************************
5
5
 
6
6
  # see the URL below for information on how to write OpenStudio measures
7
- # http://openstudio.nrel.gov/openstudio-measure-writing-guide
7
+ # https://natlabrockies.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/
8
8
 
9
- # see the URL below for access to C++ documentation on mondel objects (click on "model" in the main window to view model objects)
10
- # http://openstudio.nrel.gov/sites/openstudio.nrel.gov/files/nv_data/cpp_documentation_it/model/html/namespaces.html
11
9
 
12
10
  # start the measure
13
11
  class UrbanoptCoreTestMeasure < OpenStudio::Measure::ModelMeasure
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.1</schema_version>
4
4
  <name>urbanopt_core_test_measure</name>
5
5
  <uid>3e11f20d-88a8-44eb-a951-4f8cf8a09ccd</uid>
6
- <version_id>a8297a21-bb02-432c-910e-69222d8fa0f6</version_id>
7
- <version_modified>2024-11-08T17:31:22Z</version_modified>
6
+ <version_id>a836acdc-a970-4d32-b8f8-0d14bd569005</version_id>
7
+ <version_modified>2025-08-04T18:42:05Z</version_modified>
8
8
  <xml_checksum>0CA4D54C</xml_checksum>
9
9
  <class_name>UrbanoptCoreTestMeasure</class_name>
10
10
  <display_name>URBANopt Core Test Measure</display_name>
@@ -82,7 +82,7 @@
82
82
  <filename>LICENSE.md</filename>
83
83
  <filetype>md</filetype>
84
84
  <usage_type>license</usage_type>
85
- <checksum>D2F2365A</checksum>
85
+ <checksum>27D48EF2</checksum>
86
86
  </file>
87
87
  <file>
88
88
  <filename>README.md</filename>
@@ -1,5 +1,5 @@
1
1
  # *********************************************************************************
2
- # URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
2
+ # URBANopt (tm), Copyright (c) Alliance for Energy Innovation, LLC.
3
3
  # See also https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md
4
4
  # *********************************************************************************
5
5
 
@@ -1,5 +1,5 @@
1
1
  # *********************************************************************************
2
- # URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
2
+ # URBANopt (tm), Copyright (c) Alliance for Energy Innovation, LLC.
3
3
  # See also https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md
4
4
  # *********************************************************************************
5
5
 
@@ -1,5 +1,5 @@
1
1
  # *********************************************************************************
2
- # URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
2
+ # URBANopt (tm), Copyright (c) Alliance for Energy Innovation, LLC.
3
3
  # See also https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md
4
4
  # *********************************************************************************
5
5
 
@@ -1,5 +1,5 @@
1
1
  # *********************************************************************************
2
- # URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
2
+ # URBANopt (tm), Copyright (c) Alliance for Energy Innovation, LLC.
3
3
  # See also https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md
4
4
  # *********************************************************************************
5
5
 
@@ -1,10 +1,10 @@
1
1
  # *********************************************************************************
2
- # URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
2
+ # URBANopt (tm), Copyright (c) Alliance for Energy Innovation, LLC.
3
3
  # See also https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md
4
4
  # *********************************************************************************
5
5
 
6
6
  module URBANopt
7
7
  module Core
8
- VERSION = '1.0.0'.freeze
8
+ VERSION = '1.2.0'.freeze
9
9
  end
10
10
  end
data/lib/urbanopt/core.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # *********************************************************************************
2
- # URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
2
+ # URBANopt (tm), Copyright (c) Alliance for Energy Innovation, LLC.
3
3
  # See also https://github.com/urbanopt/urbanopt-core-gem/blob/develop/LICENSE.md
4
4
  # *********************************************************************************
5
5
 
@@ -23,9 +23,12 @@ Gem::Specification.new do |spec|
23
23
  # It would be nice to be able to use newer patches of Ruby 3.2, which would require os-extension to relax its dependency on bundler.
24
24
  spec.required_ruby_version = '3.2.2'
25
25
 
26
+ spec.add_development_dependency 'rake', '~> 13.0'
26
27
  spec.add_development_dependency 'rspec', '~> 3.13'
28
+ spec.add_development_dependency 'rubocop', '~> 1.50'
29
+ spec.add_development_dependency 'rubocop-performance', '~> 1.20'
27
30
  spec.add_development_dependency 'simplecov', '0.22.0'
28
31
  spec.add_development_dependency 'simplecov-lcov', '0.8.0'
29
32
 
30
- spec.add_dependency 'openstudio-extension', '~> 0.8.3'
33
+ spec.add_dependency 'openstudio-extension', '~> 0.9.4'
31
34
  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: 1.0.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Macumber
@@ -9,8 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2025-01-22 00:00:00.000000000 Z
12
+ date: 2026-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '13.0'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '13.0'
14
28
  - !ruby/object:Gem::Dependency
15
29
  name: rspec
16
30
  requirement: !ruby/object:Gem::Requirement
@@ -25,6 +39,34 @@ dependencies:
25
39
  - - "~>"
26
40
  - !ruby/object:Gem::Version
27
41
  version: '3.13'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rubocop
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.50'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.50'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rubocop-performance
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '1.20'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.20'
28
70
  - !ruby/object:Gem::Dependency
29
71
  name: simplecov
30
72
  requirement: !ruby/object:Gem::Requirement
@@ -59,14 +101,14 @@ dependencies:
59
101
  requirements:
60
102
  - - "~>"
61
103
  - !ruby/object:Gem::Version
62
- version: 0.8.3
104
+ version: 0.9.4
63
105
  type: :runtime
64
106
  prerelease: false
65
107
  version_requirements: !ruby/object:Gem::Requirement
66
108
  requirements:
67
109
  - - "~>"
68
110
  - !ruby/object:Gem::Version
69
- version: 0.8.3
111
+ version: 0.9.4
70
112
  description: URBANopt core library and measures
71
113
  email:
72
114
  - nicholas.long@nrel.gov