urbanopt-reopt 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/urbanopt/reopt/reopt_lite_api.rb +2 -2
- data/lib/urbanopt/reopt/version.rb +1 -1
- data/urbanopt-reopt.gemspec +2 -2
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eec478250ecf8bdec94ae33f558aad94f9b3e5d4ef6cbbfdf5dd647e9f64c656
|
4
|
+
data.tar.gz: a559e82e18a49edaf0a988ee59633322fe824f51d5f93fd1395b86035460b038
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ebc15e53c0f7d856df920bb201c385f0816a4501cfd5f527324c3d33a0bc750b6153514da7f1ec0594925c2537648afb88294e77c56a54c603fcea27b971d57
|
7
|
+
data.tar.gz: 9e3862abfff7a0ed47ec3c65e11140f505cc43643f1a3c55360083e634262e714b0094502ecae536307b2218515a0ca09451192146400d1964fa567b44955611
|
data/CHANGELOG.md
CHANGED
@@ -148,7 +148,7 @@ module URBANopt # :nodoc:
|
|
148
148
|
@@logger.debug('trying again...')
|
149
149
|
else
|
150
150
|
@@logger.debug('max tries reached!')
|
151
|
-
return
|
151
|
+
return result
|
152
152
|
end
|
153
153
|
tries += 1
|
154
154
|
end
|
@@ -240,7 +240,7 @@ module URBANopt # :nodoc:
|
|
240
240
|
max_elapsed_time = 60 * 5
|
241
241
|
|
242
242
|
# If database still hasn't updated, wait a little longer and try again
|
243
|
-
while (elapsed_time < max_elapsed_time)
|
243
|
+
while (elapsed_time < max_elapsed_time) && (response && response.code == '404')
|
244
244
|
response = make_request(http, get_request)
|
245
245
|
@@logger.warn('GET request was too fast for REOpt-Lite API. Retrying...')
|
246
246
|
elapsed_time += 5
|
data/urbanopt-reopt.gemspec
CHANGED
@@ -27,9 +27,9 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_development_dependency 'bundler', '>= 2.1.0'
|
28
28
|
spec.add_development_dependency 'rake', '~> 13.0'
|
29
29
|
spec.add_development_dependency 'rdoc', '~> 4.3.0'
|
30
|
-
spec.add_development_dependency 'rspec', '~> 3.
|
30
|
+
spec.add_development_dependency 'rspec', '~> 3.9'
|
31
31
|
|
32
32
|
spec.add_dependency 'certified', '~> 1'
|
33
33
|
spec.add_dependency 'json_pure', '~> 2'
|
34
|
-
spec.add_dependency 'urbanopt-scenario', '~> 0.
|
34
|
+
spec.add_dependency 'urbanopt-scenario', '~> 0.7.0'
|
35
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.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
61
|
+
version: '3.9'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
68
|
+
version: '3.9'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: certified
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
103
|
+
version: 0.7.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
110
|
+
version: 0.7.0
|
111
111
|
description: Classes and measures for utilizing the REopt Lite API within OpenStudio
|
112
112
|
workflows.
|
113
113
|
email:
|
@@ -176,7 +176,7 @@ homepage: https://github.com/urbanopt/urbanopt-reopt-gem
|
|
176
176
|
licenses:
|
177
177
|
- Nonstandard
|
178
178
|
metadata: {}
|
179
|
-
post_install_message:
|
179
|
+
post_install_message:
|
180
180
|
rdoc_options: []
|
181
181
|
require_paths:
|
182
182
|
- lib
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
version: '0'
|
193
193
|
requirements: []
|
194
194
|
rubygems_version: 3.1.4
|
195
|
-
signing_key:
|
195
|
+
signing_key:
|
196
196
|
specification_version: 4
|
197
197
|
summary: Accessing the REopt Lite API within OpenStudio workflows.
|
198
198
|
test_files: []
|