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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e2f52abc3c11fa018c717d44b3b1d78c591b88a6f0fe0490165330b56b06382
4
- data.tar.gz: 781bda02244f384013108284233db56037a9e37609b084ba74d911de768a3985
3
+ metadata.gz: eec478250ecf8bdec94ae33f558aad94f9b3e5d4ef6cbbfdf5dd647e9f64c656
4
+ data.tar.gz: a559e82e18a49edaf0a988ee59633322fe824f51d5f93fd1395b86035460b038
5
5
  SHA512:
6
- metadata.gz: 4b0664ffc42f19b75dab58f91ea92b90701d5c0912c17925b5407fd7a7b56f0bc46da92b6e5f3313958c0dc8a4c18fb64b7824fb93320ae2ec538d231fa3a97c
7
- data.tar.gz: 11ae64c9820218d8e026cdf502652a02e495f756b1557d3dda4beb044cb1b1089b0ff2184e48f7023a9c4f7fed60a69164fb39a8caf35d9d21105970bed2d094
6
+ metadata.gz: 2ebc15e53c0f7d856df920bb201c385f0816a4501cfd5f527324c3d33a0bc750b6153514da7f1ec0594925c2537648afb88294e77c56a54c603fcea27b971d57
7
+ data.tar.gz: 9e3862abfff7a0ed47ec3c65e11140f505cc43643f1a3c55360083e634262e714b0094502ecae536307b2218515a0ca09451192146400d1964fa567b44955611
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # URBANopt REopt Gem
2
2
 
3
+ ## Version 0.7.0
4
+
5
+ Date Range: 10/16/21 - 11/22/21:
6
+
7
+ * Updated dependencies for OpenStudio 3.3
8
+
3
9
  ## Version 0.6.2
4
10
 
5
11
  Date Range: 06/30/21 - 10/15/21:
@@ -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) & (response.code == '404')
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
@@ -40,6 +40,6 @@
40
40
 
41
41
  module URBANopt # :nodoc:
42
42
  module REopt # :nodoc:
43
- VERSION = '0.6.2'.freeze
43
+ VERSION = '0.7.0'.freeze
44
44
  end
45
45
  end
@@ -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.7'
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.6.3'
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.6.2
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-10-21 00:00:00.000000000 Z
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.7'
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.7'
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.6.3
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.6.3
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: []