urbanopt-rnm-us 0.6.0 → 0.7.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: fd23559d023948d977d7bf3f915fbf91738b1e61423b8f2eb96e236e4e82ceb6
4
- data.tar.gz: 86b716189d9a275481395f23eeb8116c8d1603b1a7703e80003fb04274ad406c
3
+ metadata.gz: bdb06b87fb503d6d05d2f413e69617e062dcbeeeb17f32a2b7b65644c2c99809
4
+ data.tar.gz: 2a1b61684b10e2c788f43fc53efca58ed3f1f2d08c9f2cb7032f673406718428
5
5
  SHA512:
6
- metadata.gz: 77c359fdea59d7d84e4a511136952280ed379dd7398f0c2de38baa769aa5392f030c4aca8f1247989ecfdefc4cadf818ac271a42890b7f2476c714b450315ac2
7
- data.tar.gz: de57f658907d290379408f9ff02c0aa1db12ed2e0dbf36cd21fc8456d639f4f7deec110ca979b4196a59d866ef2f1818c47d137f9d8472c239f62946060579f7
6
+ metadata.gz: 568d07b69a591176e090b6368298d4a19c2f3a75f7f5be9323bedbf41f9e9d40c7072b73871f4349d864bb8e45ab15af357024a819d593dc675ad2aa449a1863
7
+ data.tar.gz: d6282dff725a18daf10fac2620ddd900e42d175cc403d73e05c2748aa49b0a31b7248177f694c516b35d07232cf82adce8ac44e2e7c479b035866d12120e0ece
@@ -1,5 +1,5 @@
1
1
 
2
- name: nightly_build
2
+ name: RNM-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:23 am UTC (11:23pm MDT the day before) every weekday night in MDT
9
9
  - cron: '23 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
@@ -17,20 +19,22 @@ jobs:
17
19
  weeknight-tests:
18
20
  runs-on: ubuntu-latest
19
21
  container:
20
- image: docker://nrel/openstudio:3.6.1
22
+ image: docker://nrel/openstudio:3.7.0
21
23
  steps:
22
- - uses: actions/checkout@v3
24
+ - uses: actions/checkout@v4
25
+ - name: set git config options
26
+ shell: bash
27
+ run: |
28
+ git config --global --add safe.directory '*'
23
29
  - name: Update gems
24
30
  run: |
25
31
  ruby --version
26
32
  bundle update
27
33
  bundle exec certified-update
28
34
  - name: Run Rspec
29
- continue-on-error: true
30
- # Continue to upload step even if a test fails, so we can troubleshoot
31
35
  run: bundle exec rspec
32
36
  - name: Upload artifacts
33
- uses: actions/upload-artifact@v3
37
+ uses: actions/upload-artifact@v4
34
38
  # Only upload if rspec fails
35
39
  if: ${{ failure() }}
36
40
  with:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## Version 0.7.0
4
+ Date Range 06/30/23 - 01/09/24
5
+
6
+ * remove Jenkinsfile by @vtnate in https://github.com/urbanopt/urbanopt-rnm-us-gem/pull/34
7
+ * also run CI when a PR gets a review request by @vtnate in https://github.com/urbanopt/urbanopt-rnm-us-gem/pull/35
8
+ * Support OpenStudio 3.7 by @vtnate in https://github.com/urbanopt/urbanopt-rnm-us-gem/pull/36
9
+
10
+ **Full Changelog**: https://github.com/urbanopt/urbanopt-rnm-us-gem/compare/v0.6.0...v0.7.0
11
+
3
12
  ## Version 0.6.0
4
13
  Date Range: 6/7/23 - 6/30/23
5
14
 
data/Gemfile CHANGED
@@ -6,11 +6,16 @@ gemspec
6
6
  # if you want to use local gems during development, use this environment variable to enable them
7
7
  allow_local = ENV['FAVOR_LOCAL_GEMS']
8
8
 
9
+ # pin this dependency to avoid unicode_normalize error
10
+ gem 'addressable', '2.8.1'
11
+ # pin this dependency to avoid using racc dependency (which has native extensions)
12
+ gem 'parser', '3.2.2.2'
13
+
9
14
  # Below is an example of how to configure the gemfile for developing with local gems
10
15
  # modify as appropriate
11
16
 
12
17
  # if allow_local && File.exists?('../urbanopt-geojson-gem')
13
- # gem 'urbanopt-geojson', path: '../urbanopt-geojson-gem'
18
+ # gem 'urbanopt-geojson', path: '../urbanopt-geojson-gem'
14
19
  # elsif allow_local
15
- # gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'os361'
16
- # end
20
+ # gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'os37'
21
+ # end
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,4 +1,5 @@
1
1
  [![Coverage Status](https://coveralls.io/repos/github/urbanopt/urbanopt-rnm-us-gem/badge.svg?branch=develop)](https://coveralls.io/github/urbanopt/urbanopt-rnm-us-gem?branch=develop)
2
+ [![RNM-gem CI](https://github.com/urbanopt/urbanopt-rnm-us-gem/actions/workflows/nightly_ci_build.yml/badge.svg)](https://github.com/urbanopt/urbanopt-rnm-us-gem/actions/workflows/nightly_ci_build.yml)
2
3
 
3
4
  # URBANopt RNM-US Gem
4
5
 
@@ -47,16 +48,16 @@ bundle exec rake create_opendss_catalog[/desired/path/to/opendss_catalog.json]
47
48
  ## RNM-US API compatibility
48
49
 
49
50
  | API Version | RNM-US Gem Version | RNM-US exe Version |
50
- | ----------- | ----------- | ---------------- |
51
- | v1 | 0.3.0 and earlier | RNM-US_20220819 |
52
- | v2 | 0.4.0 | RNM-US_20221018 |
51
+ | ----------- | ------------------ | ------------------ |
52
+ | v1 | 0.3.0 and earlier | RNM-US_20220819 |
53
+ | v2 | 0.4.0 | RNM-US_20221018 |
53
54
 
54
55
 
55
56
  ## Validation Functionality
56
57
 
57
58
  The validation and results visualization functionality is written in python. Follow these steps if you would like to use it.
58
59
 
59
- 1. Install python (3.10) if you do not already have it installed
60
+ 1. Install python (>=3.10) if you do not already have it installed
60
61
  1. Clone the repo to your computer
61
62
  1. cd into the repo directory
62
63
  1. run `bundle install` to install the required ruby dependencies
@@ -5,6 +5,6 @@
5
5
 
6
6
  module URBANopt
7
7
  module RNM
8
- VERSION = '0.6.0'.freeze
8
+ VERSION = '0.7.0'.freeze
9
9
  end
10
10
  end
@@ -27,11 +27,11 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'faraday', '~> 1.0.1'
28
28
  spec.add_dependency 'geoutm', '~> 1.0.2'
29
29
  spec.add_dependency 'rubyzip', '~> 2.3.2'
30
- spec.add_dependency 'urbanopt-geojson', '~> 0.10.0'
30
+ spec.add_dependency 'urbanopt-geojson', '~> 0.11.1'
31
31
 
32
32
  spec.add_development_dependency 'bundler', '~> 2.1'
33
- spec.add_development_dependency 'rake', '~> 13.0'
34
- spec.add_development_dependency 'rspec', '~> 3.7'
33
+ spec.add_development_dependency 'rake', '~> 13.1'
34
+ spec.add_development_dependency 'rspec', '~> 3.12'
35
35
  # pin this dependency:
36
36
  spec.add_development_dependency 'parallel', '~> 1.19.1'
37
37
  spec.add_development_dependency 'rubocop-checkstyle_formatter', '~> 0.4.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanopt-rnm-us
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katherine Fleming
@@ -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-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: certified
@@ -73,14 +73,14 @@ dependencies:
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: 0.10.0
76
+ version: 0.11.1
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: 0.10.0
83
+ version: 0.11.1
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: bundler
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -101,28 +101,28 @@ dependencies:
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '13.0'
104
+ version: '13.1'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '13.0'
111
+ version: '13.1'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: rspec
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: '3.7'
118
+ version: '3.12'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - "~>"
124
124
  - !ruby/object:Gem::Version
125
- version: '3.7'
125
+ version: '3.12'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: parallel
128
128
  requirement: !ruby/object:Gem::Requirement
@@ -207,7 +207,6 @@ files:
207
207
  - CHANGELOG.md
208
208
  - CONTRIBUTING.md
209
209
  - Gemfile
210
- - Jenkinsfile
211
210
  - LICENSE.md
212
211
  - README.md
213
212
  - Rakefile
data/Jenkinsfile DELETED
@@ -1,10 +0,0 @@
1
- //Jenkins pipelines are stored in shared libaries. Please see: https://github.com/tijcolem/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_rnm_us()
9
-
10
- }