urbanopt-scenario 0.6.0 → 0.6.1

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: 6806b8d26475423d39fb4de3b5e3f51b1db8b1caf7f4ce17feca438b8f482315
4
- data.tar.gz: 8a565d268d69710c0e58799cac2bef11a29cc5286756a8e9da00f618ca4cbe33
3
+ metadata.gz: 42853feb93cde288a5b5a2951752d34a9c4bf0417cc67655fb7b1593f7189e37
4
+ data.tar.gz: f16a9afda1f180fcd44f4e022b5eff21aedb5a194aced8e025d05d948d189ddb
5
5
  SHA512:
6
- metadata.gz: a99e381e8803d2e5428877fe963de5cba17826cc97256cdc434da1bb10e41972e9d51d5f4001f3915fb0881c766347eb02068027e7f096d4b8215190aebd3a31
7
- data.tar.gz: 752857f0afd9ce62e9e9462837657a5bf827518a989b1375f2a052ae0dbb8f52c0a94f18bb54fcbd0d273da7d3563fd19d4c9f54536745f3678434c9fa75fbee
6
+ metadata.gz: 94383f70166f6bc7be7ce0191ac1de72e6d5e7935a2fc812d4e9d8e666be1fc8a6d6ec770be068108154f9093aabe33b5cddad04bbb3f846999c1e6f19720cfb
7
+ data.tar.gz: ada9964c4a820e03bdc2c87896acb79eb42679f1b2b3849bf5c7b6f5910dd2b72df0e7f90b722f908e45ff1595a9861da2c0303b262edb162cac5896b468b5f3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # URBANopt Scenario Gem
2
2
 
3
+ ## Version 0.6.1
4
+ Date Range: 04-30-21 - 05/14/21
5
+
6
+ - Fixed [#227]( https://github.com/urbanopt/urbanopt-cli/issues/227 ), Runtime error when running urbanopt cli example project
7
+
3
8
  ## Version 0.6.0
4
9
  Date Range: 02/05/21 - 04/29/21
5
10
 
@@ -5687,9 +5687,9 @@
5687
5687
  }
5688
5688
  },
5689
5689
  "lodash": {
5690
- "version": "4.17.20",
5691
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
5692
- "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA=="
5690
+ "version": "4.17.21",
5691
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
5692
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
5693
5693
  },
5694
5694
  "lodash._reinterpolate": {
5695
5695
  "version": "3.0.0",
@@ -9291,9 +9291,9 @@
9291
9291
  }
9292
9292
  },
9293
9293
  "url-parse": {
9294
- "version": "1.4.7",
9295
- "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.7.tgz",
9296
- "integrity": "sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg==",
9294
+ "version": "1.5.1",
9295
+ "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.1.tgz",
9296
+ "integrity": "sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==",
9297
9297
  "requires": {
9298
9298
  "querystringify": "^2.1.1",
9299
9299
  "requires-port": "^1.0.0"
@@ -105,7 +105,9 @@ module URBANopt
105
105
  lib_dirs = Dir.glob(File.join(bundle_path, '/**/lib'))
106
106
  lib_dirs.each do |ld|
107
107
  # for now only add openstudio and urbanopt gems to the load path
108
- if ld.include? 'urbanopt' or ld.include? 'openstudio'
108
+ # and only those with 'urbanopt' or 'openstudio' in the before-last path position
109
+ tmp_path_arr = Pathname(ld).each_filename.to_a
110
+ if tmp_path_arr[-2].include? 'urbanopt' or tmp_path_arr[-2].include? 'openstudio'
109
111
  puts "adding DIR to load path: #{ld}"
110
112
  $LOAD_PATH.unshift(ld)
111
113
  end
@@ -40,6 +40,6 @@
40
40
 
41
41
  module URBANopt
42
42
  module Scenario
43
- VERSION = '0.6.0'.freeze
43
+ VERSION = '0.6.1'.freeze
44
44
  end
45
45
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanopt-scenario
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rawad El Kontar
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-04-29 00:00:00.000000000 Z
12
+ date: 2021-05-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler