honeybee-openstudio 2.20.5 → 2.20.9

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: d9366738c4b20407224bc1d89aa24c281e7fa1048af90a33f1859cec06103410
4
- data.tar.gz: 79bf79c2b6b08d35f3265c4078fae99dc411c6e5cc71769c779a9f34152c92c7
3
+ metadata.gz: 8580a9274b05981efb9db82502b63cb06f5dc209978e596b0a4b8310cf443f1f
4
+ data.tar.gz: c8e725c20ddc4f426e28aeec6c42569b5f123aac331c4b6f7861d669c1d1119a
5
5
  SHA512:
6
- metadata.gz: 8a3b29719185b64f18697b8deadc90032b81ae43e11e0bafa434a890d023a46bb80450e042cf78caefa9310b1b8c25baa57a74339595ab70b62e3eb602ebb951
7
- data.tar.gz: d54a8cf426d90a4d472553bdad1173d605205316b48a04fcd47cf24e1b4aa221d2756ac9e218cac46afc540f90f822232fdac346f8b838215c07984c8147874b
6
+ metadata.gz: 7e059fec344c7dca80af81c3819623e341e90c90dcc34f36c6afb67f99045a6efebc2a1588b0367afa5f273db8f8ddcf6e0538c67bc7b64446f5ae3ba9f19ca7
7
+ data.tar.gz: d95a9372ca7110801ff2d673346fe43e78168900424ed9d7c9695f612bee4c6ed8f00c83981d16006b87e82d6ef84936efa471f09212870507649cc714f8fed1
@@ -58,10 +58,10 @@ jobs:
58
58
  if: steps.semantic.outputs.new_release_published == 'true'
59
59
  env:
60
60
  RELEASE_TAG: ${{ steps.semantic.outputs.new_release_version }}
61
- DISPATCH_URL: https://api.github.com/repos/ladybug-tools/lbt-grasshopper/dispatches
61
+ DISPATCH_REPO: ladybug-tools/lbt-grasshopper
62
62
  DEPS_TOKEN: ${{ secrets.DEPS_UPDATING }}
63
63
  run: |
64
- curl -X POST $DISPATCH_URL \
64
+ curl -X POST https://api.github.com/repos/$DISPATCH_REPO/dispatches \
65
65
  -H "Accept: application/vnd.github.everest-preview+json" \
66
66
  -d '{
67
67
  "event_type": "honeybee_openstudio_gem_release",
@@ -69,4 +69,14 @@ jobs:
69
69
  "version" : "'$RELEASE_TAG'"
70
70
  }
71
71
  }' \
72
- -u chriswmackey:$DEPS_TOKEN
72
+ -u ladybugbot:$DEPS_TOKEN
73
+ - name: Update honeybee-energy
74
+ if: contains(steps.new_release.outputs.tag, '.')
75
+ env:
76
+ DISPATCH_REPO: ladybug-tools/honeybee-energy
77
+ DEPS_TOKEN: ${{ secrets.DEPS_UPDATING }}
78
+ run: |
79
+ curl -X POST https://api.github.com/repos/$DISPATCH_REPO/dispatches \
80
+ -H "Accept: application/vnd.github.everest-preview+json" \
81
+ -d '{"event_type": "honeybee_openstudio_gem_release", "client_payload": {"version": "${{ steps.new_release.outputs.tag }}"}}' \
82
+ -u ladybugbot:$DEPS_TOKEN
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  [![Build Status](https://github.com/ladybug-tools/honeybee-openstudio-gem/workflows/CI/badge.svg)](https://github.com/ladybug-tools/honeybee-openstudio-gem/actions)
2
- [![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/honeybee-openstudio-gem/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools/honeybee-openstudio-gem)
3
2
 
4
- ![Ruby 2.5](https://img.shields.io/badge/ruby-2.5-blue.svg)
3
+ ![Ruby 2.7](https://img.shields.io/badge/ruby-2.7-blue.svg)
5
4
 
6
5
  # honeybee-openstudio-gem
7
6
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'honeybee-openstudio'
7
- spec.version = '2.20.5'
7
+ spec.version = '2.20.9'
8
8
  spec.authors = ['Tanushree Charan', 'Dan Macumber', 'Chris Mackey', 'Mostapha Sadeghipour Roudsari']
9
9
  spec.email = ['tanushree.charan@nrel.gov', 'chris@ladybug.tools']
10
10
 
@@ -100,7 +100,7 @@ module Honeybee
100
100
 
101
101
  # remove illegal characters in identifier
102
102
  def self.clean_identifier(str)
103
- str.gsub(/[^.A-Za-z0-9_-] /, '_').gsub(' ', '_')
103
+ str.gsub(/[^.A-Za-z0-9_-] /, '_').gsub(' ', '_').gsub('{', '').gsub('}', '')
104
104
  end
105
105
 
106
106
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybee-openstudio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.20.5
4
+ version: 2.20.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2021-07-20 00:00:00.000000000 Z
14
+ date: 2021-07-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler