openstudio-analysis 1.0.0.rc10 → 1.0.0.rc11
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/CHANGELOG.md +4 -0
- data/lib/openstudio/analysis/server_api.rb +6 -2
- data/lib/openstudio/analysis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 69b6efe3f7d39b16404e283429ad3939f553f940
|
|
4
|
+
data.tar.gz: b53c9ff9fbd921a9a378dee5cc7e942d243111ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa11be16247530bf66ae49746553f8fc333b3a40bf1eb5463b5594223b51180ae2875caa4656a3b0b7d598906f5a952e69148018e47762c5ed1bbfa72607e8e2
|
|
7
|
+
data.tar.gz: 3df5b63325a9e636c5793aca233601ea5c9d2dcb05df88cbdf15d898aae34503cd9493993992381155080261748a182fca360a1dcce323258039024b499d3c8b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
OpenStudio Analysis Gem Change Log
|
|
2
2
|
==================================
|
|
3
3
|
|
|
4
|
+
Version 1.0.0.rc11 (Unreleased)
|
|
5
|
+
------------------
|
|
6
|
+
* Default path to ServerApi logfile to ~/os_server_api.log. This can be overridden by setting the log_path options key in the initializer.
|
|
7
|
+
|
|
4
8
|
Version 1.0.0.rc10
|
|
5
9
|
------------------
|
|
6
10
|
* Fix boolean data type in datapoints translator
|
|
@@ -9,9 +9,13 @@ module OpenStudio
|
|
|
9
9
|
BATCH_RUN_METHODS = %w(lhs preflight single_run repeat_run doe diag baseline_perturbation batch_datapoints).freeze
|
|
10
10
|
|
|
11
11
|
def initialize(options = {})
|
|
12
|
-
defaults = { hostname: 'http://localhost:8080' }
|
|
12
|
+
defaults = { hostname: 'http://localhost:8080', log_path: File.expand_path('~/os_server_api.log') }
|
|
13
13
|
options = defaults.merge(options)
|
|
14
|
-
|
|
14
|
+
if ENV['OS_SERVER_LOG_PATH']
|
|
15
|
+
@logger = ::Logger.new(ENV['OS_SERVER_LOG_PATH'] + '/os_server_api.log')
|
|
16
|
+
else
|
|
17
|
+
@logger = ::Logger.new(options[:log_path])
|
|
18
|
+
end
|
|
15
19
|
|
|
16
20
|
@hostname = options[:hostname]
|
|
17
21
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openstudio-analysis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0.
|
|
4
|
+
version: 1.0.0.rc11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nicholas Long
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|