openstudio-analysis 1.3.4 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/openstudio-analysis.yml +40 -40
- data/.gitignore +21 -21
- data/.rubocop.yml +9 -9
- data/CHANGELOG.md +269 -261
- data/Gemfile +14 -14
- data/README.md +102 -102
- data/Rakefile +40 -40
- data/lib/openstudio/analysis/algorithm_attributes.rb +47 -47
- data/lib/openstudio/analysis/formulation.rb +857 -857
- data/lib/openstudio/analysis/server_api.rb +862 -846
- data/lib/openstudio/analysis/server_scripts.rb +108 -108
- data/lib/openstudio/analysis/support_files.rb +104 -104
- data/lib/openstudio/analysis/translator/datapoints.rb +454 -454
- data/lib/openstudio/analysis/translator/excel.rb +893 -893
- data/lib/openstudio/analysis/translator/workflow.rb +143 -143
- data/lib/openstudio/analysis/version.rb +12 -12
- data/lib/openstudio/analysis/workflow.rb +279 -279
- data/lib/openstudio/analysis/workflow_step.rb +523 -523
- data/lib/openstudio/analysis.rb +144 -144
- data/lib/openstudio/helpers/hash.rb +10 -10
- data/lib/openstudio/helpers/string.rb +36 -36
- data/lib/openstudio/helpers/utils.rb +36 -36
- data/lib/openstudio/weather/epw.rb +178 -178
- data/lib/openstudio-analysis.rb +47 -47
- data/openstudio-analysis.gemspec +38 -38
- data/update_license.rb +60 -60
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41d76f2c628fc69a0ed1cad8e54830e54dc11c4423baef6bf541333f285d87ba
|
4
|
+
data.tar.gz: 51b9c50cd6ae845ea4995ed152164e9c01d16ea96b0a32972f21bf08bbcf4abd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74614d2b7fe2ed8b68d41ed9c3f886239c502a0b1f872abd6b572684afbedf085f6cb572b083577623aac734fcaa85463233caca5480cc74aea781ac2aa49fe4
|
7
|
+
data.tar.gz: abaf7b8ed7cd54cdc1511f7a9d936523560d39b3626a022d1536e68990a27965aa8a14b0ba1a53b29aa4edde9d1d963fe451f3c2b9295e2b0bac728c15f123c4
|
@@ -1,40 +1,40 @@
|
|
1
|
-
name: openstudio-analysis-gem
|
2
|
-
|
3
|
-
on: [push, pull_request]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
ubuntu-1804: # ruby 2.5 workflow
|
7
|
-
if: github.event.pull_request.base.ref == '1.1.X-LTS' # check target branch of pr
|
8
|
-
runs-on: ubuntu-18.04
|
9
|
-
steps:
|
10
|
-
- name: Check out repository
|
11
|
-
uses: actions/checkout@v2
|
12
|
-
- name: ruby-install
|
13
|
-
shell: bash
|
14
|
-
run: "sudo apt install -y ruby && ruby -v" # ruby anye tests here when ready
|
15
|
-
ubuntu-2004: # ruby 2.7 workflow
|
16
|
-
if: github.event.pull_request.base.ref != '1.1.X-LTS' # check target branch of pr
|
17
|
-
runs-on: ubuntu-20.04
|
18
|
-
steps:
|
19
|
-
-
|
20
|
-
name: Check out repository
|
21
|
-
uses: actions/checkout@v2
|
22
|
-
-
|
23
|
-
name: Display system info
|
24
|
-
run: |
|
25
|
-
ruby --version
|
26
|
-
docker --version
|
27
|
-
docker-compose --version
|
28
|
-
-
|
29
|
-
name: Start OpenStudio for testing Server API
|
30
|
-
run: |
|
31
|
-
echo "Not yet implemented"
|
32
|
-
-
|
33
|
-
name: Run tests in Docker
|
34
|
-
env:
|
35
|
-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
36
|
-
run: |
|
37
|
-
docker run -e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
|
38
|
-
-v $(pwd):/var/simdata/openstudio \
|
39
|
-
nrel/openstudio:develop \
|
40
|
-
/bin/bash -c "bundle install && bundle exec rake"
|
1
|
+
name: openstudio-analysis-gem
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
ubuntu-1804: # ruby 2.5 workflow
|
7
|
+
if: github.event.pull_request.base.ref == '1.1.X-LTS' # check target branch of pr
|
8
|
+
runs-on: ubuntu-18.04
|
9
|
+
steps:
|
10
|
+
- name: Check out repository
|
11
|
+
uses: actions/checkout@v2
|
12
|
+
- name: ruby-install
|
13
|
+
shell: bash
|
14
|
+
run: "sudo apt install -y ruby && ruby -v" # ruby anye tests here when ready
|
15
|
+
ubuntu-2004: # ruby 2.7 workflow
|
16
|
+
if: github.event.pull_request.base.ref != '1.1.X-LTS' # check target branch of pr
|
17
|
+
runs-on: ubuntu-20.04
|
18
|
+
steps:
|
19
|
+
-
|
20
|
+
name: Check out repository
|
21
|
+
uses: actions/checkout@v2
|
22
|
+
-
|
23
|
+
name: Display system info
|
24
|
+
run: |
|
25
|
+
ruby --version
|
26
|
+
docker --version
|
27
|
+
docker-compose --version
|
28
|
+
-
|
29
|
+
name: Start OpenStudio for testing Server API
|
30
|
+
run: |
|
31
|
+
echo "Not yet implemented"
|
32
|
+
-
|
33
|
+
name: Run tests in Docker
|
34
|
+
env:
|
35
|
+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
36
|
+
run: |
|
37
|
+
docker run -e COVERALLS_REPO_TOKEN=${COVERALLS_REPO_TOKEN} \
|
38
|
+
-v $(pwd):/var/simdata/openstudio \
|
39
|
+
nrel/openstudio:develop \
|
40
|
+
/bin/bash -c "bundle install && bundle exec rake"
|
data/.gitignore
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
.DS_Store
|
2
|
-
.bundle
|
3
|
-
.idea
|
4
|
-
.ruby-version
|
5
|
-
*.swp
|
6
|
-
*.gem
|
7
|
-
~$*
|
8
|
-
.rubocop-http*
|
9
|
-
tmp/*
|
10
|
-
.yardoc
|
11
|
-
doc/
|
12
|
-
Gemfile.lock
|
13
|
-
/spec/files/analysis/*.zip
|
14
|
-
/spec/files/export
|
15
|
-
/spec/reports
|
16
|
-
/spec/files/analysis/*.json
|
17
|
-
/*.log
|
18
|
-
spec/files/measures/ActualMeasureNoJson/measure.json
|
19
|
-
rubocop-results.xml
|
20
|
-
coverage
|
21
|
-
/gems
|
1
|
+
.DS_Store
|
2
|
+
.bundle
|
3
|
+
.idea
|
4
|
+
.ruby-version
|
5
|
+
*.swp
|
6
|
+
*.gem
|
7
|
+
~$*
|
8
|
+
.rubocop-http*
|
9
|
+
tmp/*
|
10
|
+
.yardoc
|
11
|
+
doc/
|
12
|
+
Gemfile.lock
|
13
|
+
/spec/files/analysis/*.zip
|
14
|
+
/spec/files/export
|
15
|
+
/spec/reports
|
16
|
+
/spec/files/analysis/*.json
|
17
|
+
/*.log
|
18
|
+
spec/files/measures/ActualMeasureNoJson/measure.json
|
19
|
+
rubocop-results.xml
|
20
|
+
coverage
|
21
|
+
/gems
|
data/.rubocop.yml
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
AllCops:
|
2
|
-
Exclude:
|
3
|
-
- 'spec/files/measures/**/*'
|
4
|
-
- 'spec/files/measures_second_path/**/*'
|
5
|
-
- 'spec/files/worker_init/*'
|
6
|
-
- 'update_license.rb'
|
7
|
-
|
8
|
-
inherit_from:
|
9
|
-
- http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v3.yml
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- 'spec/files/measures/**/*'
|
4
|
+
- 'spec/files/measures_second_path/**/*'
|
5
|
+
- 'spec/files/worker_init/*'
|
6
|
+
- 'update_license.rb'
|
7
|
+
|
8
|
+
inherit_from:
|
9
|
+
- http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v3.yml
|