urbanopt-reopt 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
data/docs/package.json CHANGED
@@ -10,17 +10,21 @@
10
10
  },
11
11
  "author": "NREL",
12
12
  "dependencies": {
13
- "braces": "^3.0.2",
14
13
  "highlight.js": "^10.4.1",
15
14
  "json-schema-ref-parser": "^6.1.0",
16
15
  "json-schema-view-js": "git+https://git@github.com/bgschiller/json-schema-view-js.git",
17
- "serialize-javascript": "^5.0.1",
18
- "vuepress": "^1.6.0",
19
- "webpack-dev-middleware": "^3.6.0",
20
- "yargs-parser": "^18.1.1"
16
+ "vuepress": "^1.8.2",
17
+ "webpack-dev-middleware": "^3.6.0"
21
18
  },
22
19
  "devDependencies": {
20
+ "braces": "^3.0.2",
21
+ "chokidar": ">=3.5.1",
22
+ "fsevents": ">=2.3.2",
23
23
  "gh-pages": "^2.0.1",
24
- "ini": "^2.0.0"
24
+ "ini": "^2.0.0",
25
+ "is-svg": "4.3.1",
26
+ "serialize-javascript": "^5.0.1",
27
+ "ssri": "8.0.1",
28
+ "yargs-parser": "^18.1.1"
25
29
  }
26
30
  }
@@ -150,8 +150,7 @@ module URBANopt # :nodoc:
150
150
  end
151
151
  result = adapter.update_feature_report(feature_report, reopt_output, timeseries_csv_path, resilience_stats)
152
152
  if !save_name.nil?
153
- #result.save_feature_report save_name
154
- result.save_json_report(save_name)
153
+ result.save save_name
155
154
  end
156
155
  return result
157
156
  end
@@ -261,8 +260,7 @@ module URBANopt # :nodoc:
261
260
  new_feature_reports.push(new_feature_report)
262
261
  if !save_names.nil?
263
262
  if save_names.length == feature_reports.length
264
- #new_feature_report.save_feature_report save_names[idx]
265
- new_feature_report.save_json_report save_names[idx]
263
+ new_feature_report.save save_names[idx]
266
264
  else
267
265
  warn "Could not save feature reports - the number of save names provided did not match the number of feature reports"
268
266
  end
@@ -40,6 +40,6 @@
40
40
 
41
41
  module URBANopt # :nodoc:
42
42
  module REopt # :nodoc:
43
- VERSION = '0.5.6'.freeze
43
+ VERSION = '0.5.7'.freeze
44
44
  end
45
45
  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.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-09 00:00:00.000000000 Z
11
+ date: 2021-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler