openstudio-load-flexibility-measures 0.11.1 → 0.12.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 488367232dead8901e56942cad76938033a058323562009a049296da0c754559
4
- data.tar.gz: 0a01c571fddd04c51e268d1b2e175087624843a7b8e9bc6d30c8958be53f12df
3
+ metadata.gz: 64924f42ac9153a952db079a16347f358b0bc423cd2acd0566761f1ca27cb176
4
+ data.tar.gz: 54814e887234d4ebcaa078dd12874bffc2a57dfbcd2704cf28c59530fd68939a
5
5
  SHA512:
6
- metadata.gz: 8b98da79854c7e9c2c1fa42e239a3dad72f025523ae68a148c24a05d0679fc43db296387468c09392043a5cd4bd914e7d77c2d48993d8d74b4ec9e8befe51134
7
- data.tar.gz: c2ec9e482d698b135d3d1d6d9fc6b9dd433e59414a88e7fa09c58c2fc9c9c61ffb3fc317c1d2fde779b2884aaddb090a2d16ec0030c580c00940b89b6bf0481e
6
+ metadata.gz: 7556e17d8fc0d86d58635168f5f2c6de3d15dae1d493baf20094af4c7e5f4094020b395a6104bf07c1e33d27aef0ffefe4a3cbaaf67826d1e7a709caaeb0c321
7
+ data.tar.gz: 51d5d3ab4319810c6a200fa0543cd16b298c3d945d52e981100971ee26edb190c94948732e86631f60905cf4427f1762dae6507fb2d40da1f9992486193e124f
@@ -1,4 +1,5 @@
1
- name: Test Measure Gems
1
+ # Test with OpenStudio container
2
+ name: test_with_openstudio
2
3
  on: push
3
4
 
4
5
  jobs:
@@ -11,12 +12,12 @@ jobs:
11
12
  S3_BUCKET: ext-gem-dashboard
12
13
 
13
14
  container: # Define the Docker container for the job. All subsequent steps run inside it.
14
- image: nrel/openstudio:3.10.0
15
+ image: nrel/openstudio:dev-3.11.0-rc3
15
16
  options: -u root -e "LANG=en_US.UTF-8" # These options are passed to the 'docker run' command internally
16
17
 
17
18
  steps:
18
19
  - name: Checkout Repository
19
- # The repository will be checked out inside the 'nrel/openstudio:3.10.0' container
20
+ # The repository will be checked out inside the 'nrel/openstudio:3.11.0' container
20
21
  uses: actions/checkout@v4 # Use v4 for better security and features
21
22
  with:
22
23
  submodules: true # Set to true if your repository uses Git submodules
@@ -38,7 +39,7 @@ jobs:
38
39
  apt-get install -y nodejs
39
40
 
40
41
  # Install AWS CLI v2
41
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
42
+ curl --retry 5 --retry-connrefused "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
42
43
  unzip awscliv2.zip
43
44
  ./aws/install
44
45
 
@@ -78,6 +79,7 @@ jobs:
78
79
  ls -al ./test # Verify the output directory exists and contains files
79
80
 
80
81
  - name: Configure AWS Credentials
82
+ if: success() || failure()
81
83
  # This step is crucial for authenticating with AWS S3
82
84
  uses: aws-actions/configure-aws-credentials@v4 # Use v4 for updated features
83
85
  with:
@@ -86,6 +88,7 @@ jobs:
86
88
  aws-region: ${{ secrets.AWS_DEFAULT_REGION }} # Replace with your AWS region, e.g., us-east-1
87
89
 
88
90
  - name: Sync files to S3 with branch and build in path
91
+ if: success() || failure()
89
92
  shell: bash
90
93
  run: |
91
94
  echo "Deploying to s3://${{ env.S3_BUCKET }}/${{ env.DEPLOY_PATH }}/"
@@ -101,7 +104,8 @@ jobs:
101
104
  echo dir_name=$dir_name >> $GITHUB_ENV # Save the directory name to an environment variable for later use
102
105
 
103
106
  - name: Archive static site as artifact
107
+ if: always()
104
108
  uses: actions/upload-artifact@v4
105
109
  with:
106
110
  name: static-html-artifact
107
- path: ${{ env.dir_name }} # Path should be relative to the GitHub workspace, which is shared with the container
111
+ path: ${{ env.dir_name }} # Path should be relative to the GitHub workspace, which is shared with the container
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # OpenStudio Load Flexibility Measures Gem
2
2
 
3
+ ## Version 0.12.0
4
+ - Updated dependency (openstudio-extension gem 0.9.3 to 0.9.7)
5
+ - Updated dependency (openstudio-standards gem 0.8.2 to 0.8.5)
6
+
3
7
  ## Version 0.11.1
4
8
  * Update dependency for extension gem from 0.9.2 to 0.9.3
5
9
 
data/README.md CHANGED
@@ -31,6 +31,7 @@ Detailed instructions for usage are included in each measure's respective README
31
31
 
32
32
  |OpenStudio Load Flexibility Measures Gem|OpenStudio|Ruby|
33
33
  |:--------------:|:----------:|:--------:|
34
+ | 0.12.0| 3.11 | 3.2.2 |
34
35
  | 0.11.1| 3.10 | 3.2.2 |
35
36
  | 0.11.0| 3.10 | 3.2.2 |
36
37
  | 0.10.1| 3.9 | 3.2.2 |
@@ -5,6 +5,6 @@
5
5
 
6
6
  module OpenStudio
7
7
  module LoadFlexibilityMeasures
8
- VERSION = '0.11.1'.freeze
8
+ VERSION = '0.12.0 '.freeze
9
9
  end
10
10
  end
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
24
24
  spec.required_ruby_version = '~> 3.2.2'
25
25
 
26
26
  spec.add_dependency 'bundler', '~> 2.4.10'
27
- spec.add_dependency 'openstudio-extension', '~> 0.9.3'
28
- spec.add_dependency 'openstudio-standards', '0.8.2'
27
+ spec.add_dependency 'openstudio-extension', '~> 0.9.7'
28
+ spec.add_dependency 'openstudio-standards', '0.8.5'
29
29
 
30
30
  # if we need the following dependencies pinned,
31
31
  # let's set them in extension-gem for next release
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio-load-flexibility-measures
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Heine
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2025-08-08 00:00:00.000000000 Z
12
+ date: 2026-06-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -31,28 +31,28 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.9.3
34
+ version: 0.9.7
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.9.3
41
+ version: 0.9.7
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: openstudio-standards
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 0.8.2
48
+ version: 0.8.5
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: 0.8.2
55
+ version: 0.8.5
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: multipart-post
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -159,7 +159,7 @@ executables: []
159
159
  extensions: []
160
160
  extra_rdoc_files: []
161
161
  files:
162
- - ".github/workflows/test-measures.yml"
162
+ - ".github/workflows/test_with_openstudio.yml"
163
163
  - ".gitignore"
164
164
  - ".rubocop.yml"
165
165
  - ".secrets.example"