openstudio-extension 0.4.3 → 0.4.4
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 +5 -0
- data/README.md +12 -10
- data/lib/openstudio/extension/version.rb +1 -1
- data/openstudio-extension.gemspec +3 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07fb8e05dbcb58025bd9f81eece27010cefe13ec967b48bdd307ccfe30bda2d0
|
|
4
|
+
data.tar.gz: cec559244c8d8897765a220883af3249decd5faeca6feae5163708ff8f883a80
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3e437dec7e77dbcfd30853384b16cc7791165a498f75ca96a016a24bf0cc01e83b5872aa1b2e95d062a082cdf9bf8aeed3a91fd7cb19be56e8113f37abd8a2cd
|
|
7
|
+
data.tar.gz: 6234de082434647a2910623c9a1ae732088eb6706fc447883da09332dbd8704661583d23a8e02769bf90d5470bccf244ecde93a8411a1b1c2963c71e32f5ad7e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# OpenStudio Extension Gem
|
|
2
2
|
|
|
3
|
+
## Version 0.4.4
|
|
4
|
+
|
|
5
|
+
* Update BCL gem to version 0.7.1 which upgrades REXML and Spreadsheet with security patches
|
|
6
|
+
* Minor updates to documentation
|
|
7
|
+
|
|
3
8
|
## Version 0.4.3
|
|
4
9
|
|
|
5
10
|
* Update measure tester gem which upgrades Rubocop to 1.15
|
data/README.md
CHANGED
|
@@ -31,14 +31,15 @@ Each OpenStudio extension gem should define its own module name to ensure that t
|
|
|
31
31
|
|
|
32
32
|
## Installation
|
|
33
33
|
|
|
34
|
-
To use this and other extension gems, you will need Ruby 2.
|
|
34
|
+
To use the latest version of this and other extension gems, you will need Ruby 2.7.x and OpenStudio 3.1.0 or greater.
|
|
35
35
|
|
|
36
36
|
### Windows Installation
|
|
37
|
-
Install Ruby using the [RubyInstaller](https://rubyinstaller.org/downloads/archives/) for [Ruby 2.
|
|
37
|
+
Install Ruby with Devkit using the [RubyInstaller](https://rubyinstaller.org/downloads/archives/) for [Ruby 2.7.2 (x64)](
|
|
38
|
+
https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.7.2-1/rubyinstaller-devkit-2.7.2-1-x64.exe).
|
|
38
39
|
|
|
39
|
-
|
|
40
|
+
Make sure that you select **option 3: MSYS2 and MINGW development toolchain** during the installation process.
|
|
40
41
|
|
|
41
|
-
Check the ruby installation returns the correct Ruby version (2.
|
|
42
|
+
Check the ruby installation returns the correct Ruby version (2.7.x):
|
|
42
43
|
```
|
|
43
44
|
ruby -v
|
|
44
45
|
```
|
|
@@ -48,10 +49,10 @@ Install bundler from the command line
|
|
|
48
49
|
gem install bundler -v 2.1
|
|
49
50
|
```
|
|
50
51
|
|
|
51
|
-
Install OpenStudio. Create a file ```C:\ruby-2.
|
|
52
|
+
Install OpenStudio. Create a file ```C:\ruby-2.7.2-1-x64-mingw32\lib\ruby\site_ruby\openstudio.rb``` and point it to your OpenStudio installation by editing the contents. E.g.:
|
|
52
53
|
|
|
53
54
|
```ruby
|
|
54
|
-
require 'C:\openstudio-3.
|
|
55
|
+
require 'C:\openstudio-3.1.0\Ruby\openstudio.rb'
|
|
55
56
|
```
|
|
56
57
|
|
|
57
58
|
Verify your OpenStudio and Ruby configuration:
|
|
@@ -65,7 +66,7 @@ rbenv can be installed via [Homebrew](https://brew.sh/):
|
|
|
65
66
|
```
|
|
66
67
|
brew install rbenv
|
|
67
68
|
rbenv init
|
|
68
|
-
rbenv install 2.
|
|
69
|
+
rbenv install 2.7.2
|
|
69
70
|
```
|
|
70
71
|
|
|
71
72
|
Also install bundler
|
|
@@ -76,9 +77,9 @@ gem install bundler -v 2.1
|
|
|
76
77
|
Install [OpenStudio](https://www.openstudio.net/downloads).
|
|
77
78
|
|
|
78
79
|
Add the RUBYLIB environment variable to your `bash_profile` (or similar) file. It should point to the Ruby folder within
|
|
79
|
-
the OpenStudio Application you just downloaded (replace 3.
|
|
80
|
+
the OpenStudio Application you just downloaded (replace 3.1.0 with the version you are using):
|
|
80
81
|
```
|
|
81
|
-
export RUBYLIB=/Applications/OpenStudio-3.
|
|
82
|
+
export RUBYLIB=/Applications/OpenStudio-3.1.0/Ruby
|
|
82
83
|
```
|
|
83
84
|
|
|
84
85
|
|
|
@@ -182,9 +183,10 @@ The following table contains all current extension gems.
|
|
|
182
183
|
| OpenStudio Calibration Gem | openstudio-calibration | https://github.com/NREL/openstudio-calibration-gem |
|
|
183
184
|
| OpenStudio EE Gem | openstudio-ee | https://github.com/NREL/openstudio-ee-gem |
|
|
184
185
|
| OpenStudio District Systems Gem | openstudio-district-systems | https://github.com/NREL/openstudio-district-systems-gem |
|
|
186
|
+
| OpenStudio Load Flexibility Measures Gem | openstudio-load-flexibility-measures | https://github.com/NREL/openstudio-load-flexibility-measures-gem |
|
|
185
187
|
| URBANopt Core Gem | urbanopt-core | https://github.com/urbanopt/urbanopt-core-gem |
|
|
186
188
|
| URBANopt GeoJSON Gem | urbanopt-geojson | https://github.com/urbanopt/urbanopt-geojson-gem |
|
|
187
|
-
| URBANopt
|
|
189
|
+
| URBANopt Reporting Gem | urbanopt-reporting | https://github.com/urbanopt/urbanopt-reporting-gem |
|
|
188
190
|
| BuildingSync Gem | buildingsync | https://github.com/BuildingSync/BuildingSync-gem |
|
|
189
191
|
|
|
190
192
|
### Initializing a new Extension Gem
|
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
|
|
29
29
|
spec.required_ruby_version = '~> 2.7.0'
|
|
30
30
|
|
|
31
|
-
spec.add_dependency 'bcl', '~> 0.7.
|
|
31
|
+
spec.add_dependency 'bcl', '~> 0.7.1'
|
|
32
32
|
spec.add_dependency 'bundler', '>= 2.1.0'
|
|
33
33
|
spec.add_dependency 'octokit', '~> 4.18.0' # for change logs
|
|
34
34
|
spec.add_dependency 'openstudio_measure_tester', '~> 0.3.1'
|
|
@@ -38,4 +38,6 @@ Gem::Specification.new do |spec|
|
|
|
38
38
|
spec.add_development_dependency 'openstudio-standards', '~> 0.2.13' # for os_lib unit tests
|
|
39
39
|
spec.add_development_dependency 'rake', '~> 13.0'
|
|
40
40
|
spec.add_development_dependency 'rspec', '~> 3.9'
|
|
41
|
+
|
|
42
|
+
|
|
41
43
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openstudio-extension
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Katherine Fleming
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: exe
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2021-
|
|
14
|
+
date: 2021-09-03 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bcl
|
|
@@ -19,14 +19,14 @@ dependencies:
|
|
|
19
19
|
requirements:
|
|
20
20
|
- - "~>"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 0.7.
|
|
22
|
+
version: 0.7.1
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
26
|
requirements:
|
|
27
27
|
- - "~>"
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.7.
|
|
29
|
+
version: 0.7.1
|
|
30
30
|
- !ruby/object:Gem::Dependency
|
|
31
31
|
name: bundler
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -233,7 +233,7 @@ licenses: []
|
|
|
233
233
|
metadata:
|
|
234
234
|
bug_tracker_uri: https://github.com/NREL/openstudio-extension-gem/issues
|
|
235
235
|
changelog_uri: https://github.com/NREL/openstudio-extension-gem/blob/develop/CHANGELOG.md
|
|
236
|
-
source_code_uri: https://github.com/NREL/openstudio-extension-gem/tree/v0.4.
|
|
236
|
+
source_code_uri: https://github.com/NREL/openstudio-extension-gem/tree/v0.4.4
|
|
237
237
|
post_install_message:
|
|
238
238
|
rdoc_options: []
|
|
239
239
|
require_paths:
|