urbanopt-reopt 1.0.0 → 1.1.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 +4 -4
- data/.github/workflows/nightly_ci_build.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +19 -21
- data/lib/urbanopt/reopt/version.rb +1 -1
- data/urbanopt-reopt.gemspec +6 -3
- metadata +50 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08720d2d382b148c63ee68975a27430291e55874404f84b9a41e6ae24b2f7243'
|
4
|
+
data.tar.gz: 288f60fd246337f62e770197e452237ccef0519ce36d16b60503b454397f9ae2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe5c4c30111deb10c1a5b7e3a804ecb3d666feb3c3f8e40705046a531c765c6fbea4e47f725b4e9b7cfa7dff716c9a12b1250058bc1b5d6a57faa4bb4f0b0f1c
|
7
|
+
data.tar.gz: 034bf2e923102c9c30cc7f1aee476c3c580e9d27750988bf38ea654db2b8f285c4e9dbe12f8993562f53bb1a467bab38c85555f7ad63e7f93dd376f22c0983b2
|
@@ -19,7 +19,7 @@ jobs:
|
|
19
19
|
# https://github.com/rbenv/ruby-build/discussions/1940
|
20
20
|
runs-on: ubuntu-latest
|
21
21
|
container:
|
22
|
-
image: docker://nrel/openstudio:3.
|
22
|
+
image: docker://nrel/openstudio:3.10.0
|
23
23
|
steps:
|
24
24
|
- uses: actions/checkout@v4
|
25
25
|
- name: set git config options
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -13,47 +13,45 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
|
|
13
13
|
|
14
14
|
# Uncomment the extension, common measures, core gems if you need to test local development versions. Otherwise
|
15
15
|
# these are included in the model articulation and urbanopt gems
|
16
|
-
|
16
|
+
|
17
17
|
# if allow_local && File.exist?('../OpenStudio-extension-gem')
|
18
18
|
# gem 'openstudio-extension', path: '../OpenStudio-extension-gem'
|
19
19
|
# elsif allow_local
|
20
|
-
#
|
20
|
+
# gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'faraday'
|
21
21
|
# else
|
22
|
-
#
|
22
|
+
# gem 'openstudio-extension', '~> 0.8.1'
|
23
23
|
# end
|
24
24
|
#
|
25
25
|
# if allow_local && File.exist?('../openstudio-common-measures-gem')
|
26
26
|
# gem 'openstudio-common-measures', path: '../openstudio-common-measures-gem'
|
27
27
|
# elsif allow_local
|
28
|
-
# gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: '
|
28
|
+
# gem 'openstudio-common-measures', github: 'NREL/openstudio-common-measures-gem', branch: 'faraday'
|
29
|
+
# else
|
30
|
+
# gem 'openstudio-common-measures', '0.12.3'
|
29
31
|
# end
|
30
32
|
#
|
31
33
|
# if allow_local && File.exist?('../urbanopt-core-gem')
|
32
34
|
# gem 'urbanopt-core', path: '../urbanopt-core-gem'
|
33
35
|
# elsif allow_local
|
34
|
-
# gem 'urbanopt-core', github: 'URBANopt/urbanopt-core-gem', branch: '
|
36
|
+
# gem 'urbanopt-core', github: 'URBANopt/urbanopt-core-gem', branch: 'faraday'
|
35
37
|
# end
|
36
38
|
#
|
37
39
|
# if allow_local && File.exist?('../openstudio-model-articulation-gem')
|
38
|
-
# # gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: 'develop'
|
39
40
|
# gem 'openstudio-model-articulation', path: '../openstudio-model-articulation-gem'
|
40
41
|
# elsif allow_local
|
41
|
-
# gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: '
|
42
|
+
# gem 'openstudio-model-articulation', github: 'NREL/openstudio-model-articulation-gem', branch: 'faraday'
|
42
43
|
# else
|
43
|
-
#
|
44
|
+
# gem 'openstudio-model-articulation', '0.12.2'
|
44
45
|
# end
|
45
46
|
|
46
|
-
if allow_local && File.exist?('../urbanopt-scenario-gem')
|
47
|
-
|
48
|
-
elsif allow_local
|
49
|
-
|
50
|
-
end
|
51
|
-
|
52
|
-
# Temporary! Remove this once reporting-gem is merged/released
|
53
|
-
# gem 'urbanopt-reporting', github: 'URBANopt/urbanopt-reporting-gem', branch: 'develop'
|
47
|
+
# if allow_local && File.exist?('../urbanopt-scenario-gem')
|
48
|
+
# gem 'urbanopt-scenario', path: '../urbanopt-scenario-gem'
|
49
|
+
# elsif allow_local
|
50
|
+
# gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'faraday'
|
51
|
+
# end
|
54
52
|
|
55
|
-
if allow_local && File.exist?('../urbanopt-geojson-gem')
|
56
|
-
|
57
|
-
elsif allow_local
|
58
|
-
|
59
|
-
end
|
53
|
+
# if allow_local && File.exist?('../urbanopt-geojson-gem')
|
54
|
+
# gem 'urbanopt-geojson', path: '../urbanopt-geojson-gem'
|
55
|
+
# elsif allow_local
|
56
|
+
# gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'faraday'
|
57
|
+
# end
|
data/urbanopt-reopt.gemspec
CHANGED
@@ -25,12 +25,15 @@ Gem::Specification.new do |spec|
|
|
25
25
|
# 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.
|
26
26
|
spec.required_ruby_version = '3.2.2'
|
27
27
|
|
28
|
-
spec.add_dependency 'openstudio-extension', '~> 0.
|
28
|
+
spec.add_dependency 'openstudio-extension', '~> 0.9.4'
|
29
29
|
# Matrix is in stdlib, but needs to be specifically added here for compatibility with Ruby 3.2
|
30
30
|
spec.add_dependency 'matrix', '~> 0.4.2'
|
31
|
-
spec.add_dependency 'urbanopt-scenario', '~> 1.
|
31
|
+
spec.add_dependency 'urbanopt-scenario', '~> 1.1.0'
|
32
32
|
|
33
|
-
spec.add_development_dependency '
|
33
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
34
|
+
spec.add_development_dependency 'rspec', '~> 3.9'
|
35
|
+
spec.add_development_dependency 'rubocop', '~> 1.50'
|
36
|
+
spec.add_development_dependency 'rubocop-performance', '~> 1.20'
|
34
37
|
spec.add_development_dependency 'simplecov', '~> 0.22.0'
|
35
38
|
spec.add_development_dependency 'simplecov-lcov', '~> 0.8.0'
|
36
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: urbanopt-reopt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: openstudio-extension
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.9.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.9.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: matrix
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,28 +44,70 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.1.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.1.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '13.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '13.0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rspec
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
75
|
+
version: '3.9'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.9'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.50'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.50'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-performance
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.20'
|
62
104
|
type: :development
|
63
105
|
prerelease: false
|
64
106
|
version_requirements: !ruby/object:Gem::Requirement
|
65
107
|
requirements:
|
66
108
|
- - "~>"
|
67
109
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
110
|
+
version: '1.20'
|
69
111
|
- !ruby/object:Gem::Dependency
|
70
112
|
name: simplecov
|
71
113
|
requirement: !ruby/object:Gem::Requirement
|