urbanopt-reopt 0.2.1 → 0.3.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rdoc_options +1 -1
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +6 -0
- data/CONTRIBUTING.md +2 -2
- data/Gemfile +12 -19
- data/Rakefile +1 -1
- data/lib/urbanopt/reopt/version.rb +1 -1
- data/urbanopt-reopt.gemspec +6 -4
- metadata +29 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 18530958bd9e589d67a0f051caf476e70d89989eace4c3e625ac2ba2afd0c4d9
|
4
|
+
data.tar.gz: 49f4faffdb2e8057396ce99cf4e069f7b204000a50a3e69da0dc0a995d957988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4505a5ccf2a97b111940928511f0dbf7bd7a5766f461da91a81eb8b69137c46fe38cebface0513e87f08764ee390aba56a9dfb58596f317f7c32edaed91ee409
|
7
|
+
data.tar.gz: d1b7a67d4db5fef1e0f1948509c396c619c8d7b2441900da48e8d6462c4fd10117b12841df44b35d94eaff26cfcf2dd250a50db324a0dd9adef603811c497ce5
|
data/.rdoc_options
CHANGED
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# URBANopt REopt Gem
|
2
2
|
|
3
|
+
## Version 0.3.0.pre1
|
4
|
+
|
5
|
+
05/18/20
|
6
|
+
|
7
|
+
Updating to support OpenStudio 3.0 and Ruby 2.5
|
8
|
+
|
3
9
|
## Version 0.2.1
|
4
10
|
* Corrects code checking PV size that fails on multi PV
|
5
11
|
* Corrects parsing of site energy at timesteps other than 1 per hour
|
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-
|
11
|
+
In order for us to distribute your code as part of URBANopt under the URBANopt SDK [license](https://github.com/urbanopt/urbanopt-reopt-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-
|
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-reopt-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/Gemfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in urbanopt-
|
3
|
+
# Specify your gem's dependencies in urbanopt-reopt-gem.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
6
|
# Local gems are useful when developing and integrating the various dependencies.
|
@@ -41,26 +41,19 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
|
|
41
41
|
# gem 'openstudio-model-articulation', '0.1.0'
|
42
42
|
# end
|
43
43
|
|
44
|
-
if allow_local && File.exist?('../urbanopt-scenario-gem')
|
45
|
-
|
46
|
-
elsif allow_local
|
47
|
-
|
48
|
-
|
49
|
-
gem 'urbanopt-scenario', '0.2.0'
|
50
|
-
end
|
51
|
-
|
52
|
-
if allow_local && File.exists?('../urbanopt-geojson-gem')
|
53
|
-
gem 'urbanopt-geojson', path: '../urbanopt-geojson-gem'
|
54
|
-
elsif allow_local
|
55
|
-
gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
|
56
|
-
else
|
57
|
-
gem 'urbanopt-geojson', '0.2.0'
|
58
|
-
end
|
44
|
+
# if allow_local && File.exist?('../urbanopt-scenario-gem')
|
45
|
+
# gem 'urbanopt-scenario', path: '../urbanopt-scenario-gem'
|
46
|
+
# elsif allow_local
|
47
|
+
# gem 'urbanopt-scenario', github: 'URBANopt/urbanopt-scenario-gem', branch: 'develop'
|
48
|
+
# end
|
59
49
|
|
60
|
-
#
|
61
|
-
gem '
|
50
|
+
# if allow_local && File.exists?('../urbanopt-geojson-gem')
|
51
|
+
# gem 'urbanopt-geojson', path: '../urbanopt-geojson-gem'
|
52
|
+
# elsif allow_local
|
53
|
+
# gem 'urbanopt-geojson', github: 'URBANopt/urbanopt-geojson-gem', branch: 'develop'
|
54
|
+
# end
|
62
55
|
|
63
56
|
# Support requests in windows
|
64
|
-
gem 'certified'
|
57
|
+
# gem 'certified'
|
65
58
|
|
66
59
|
gem 'rdoc', '4.3.0'
|
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ RuboCop::RakeTask.new
|
|
10
10
|
require 'openstudio/extension/rake_task'
|
11
11
|
require 'urbanopt/reopt/extension'
|
12
12
|
os_extension = OpenStudio::Extension::RakeTask.new
|
13
|
-
os_extension.set_extension_class(URBANopt::REopt::Extension)
|
13
|
+
os_extension.set_extension_class(URBANopt::REopt::Extension, 'urbanopt/urbanopt-reopt-gem')
|
14
14
|
|
15
15
|
desc 'CLI OpenSSL test'
|
16
16
|
task :cli_openssl_test do
|
data/urbanopt-reopt.gemspec
CHANGED
@@ -22,12 +22,14 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
|
-
spec.add_development_dependency 'bundler', '~> 1
|
26
|
-
spec.add_development_dependency 'rake', '
|
27
|
-
spec.add_development_dependency 'rspec', '3.7
|
25
|
+
spec.add_development_dependency 'bundler', '~> 2.1'
|
26
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
27
|
+
spec.add_development_dependency 'rspec', '~> 3.7'
|
28
|
+
|
28
29
|
spec.add_development_dependency 'rubocop', '~> 0.54.0'
|
29
30
|
|
30
31
|
spec.add_dependency 'certified'
|
31
32
|
spec.add_dependency 'json_pure'
|
32
|
-
|
33
|
+
spec.add_dependency 'urbanopt-scenario', '~> 0.3.0.pre1'
|
34
|
+
|
33
35
|
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: 0.
|
4
|
+
version: 0.3.0.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1
|
19
|
+
version: '2.1'
|
20
20
|
type: :development
|
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: '1
|
26
|
+
version: '2.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '13.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.7
|
47
|
+
version: '3.7'
|
48
48
|
type: :development
|
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: 3.7
|
54
|
+
version: '3.7'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: urbanopt-scenario
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.3.0.pre1
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.3.0.pre1
|
97
111
|
description: Classes and measures for utilizing the REopt Lite API within OpenStudio
|
98
112
|
workflows.
|
99
113
|
email:
|
@@ -172,12 +186,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
186
|
version: '0'
|
173
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
188
|
requirements:
|
175
|
-
- - "
|
189
|
+
- - ">"
|
176
190
|
- !ruby/object:Gem::Version
|
177
|
-
version:
|
191
|
+
version: 1.3.1
|
178
192
|
requirements: []
|
179
|
-
|
180
|
-
rubygems_version: 2.4.5.1
|
193
|
+
rubygems_version: 3.1.2
|
181
194
|
signing_key:
|
182
195
|
specification_version: 4
|
183
196
|
summary: Classes and measures for utilizing the REopt Lite API within OpenStudio workflows.
|