Skip to content

Commit

Permalink
Fix get_message_actions response (#141)
Browse files Browse the repository at this point in the history
fix: fix `get_message_actions` response

Fix format which is used to return server data from `get_message_actions` method call.

build(github-actions): update command processor target

Update name of account to which commands should be sent.
  • Loading branch information
parfeon authored Dec 13, 2022
1 parent 713ddb0 commit 25e747d
Show file tree
Hide file tree
Showing 18 changed files with 1,726 additions and 1,113 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commands-handler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
process:
name: Process command
if: ${{ github.event.issue.pull_request && endsWith(github.repository, '-private') != true && startsWith(github.event.comment.body, '@client-engineering-bot ') }}
if: ${{ github.event.issue.pull_request && endsWith(github.repository, '-private') != true && startsWith(github.event.comment.body, format('@{0} ', ${{ secrets.CLEN_BOT }})) }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -23,5 +23,5 @@ jobs:
uses: ./.github/.release/actions/actions/commands
with:
token: ${{ secrets.GH_TOKEN }}
listener: client-engineering-bot
listener: ${{ secrets.CLEN_BOT }}
jira-api-key: ${{ secrets.JIRA_API_KEY }}
11 changes: 6 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: Tests
on:
push:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash


jobs:
Expand Down Expand Up @@ -35,11 +41,6 @@ jobs:
bundler-cache: true
- name: Build and run tests for Ruby 2.7.1
run: bundle exec rspec
- name: Setup JRuby
uses: ruby/setup-ruby@v1
with:
ruby-version: jruby
bundler-cache: true
acceptance:
name: Acceptance tests
runs-on: ubuntu-latest
Expand Down
13 changes: 9 additions & 4 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
version: "5.2.0"
version: "5.2.1"
changelog:
- date: 2022-12-13
version: v5.2.1
changes:
- type: bug
text: "Fix format which is used to return server data from `get_message_actions` method call."
- date: 2022-12-12
version: v5.2.0
changes:
Expand Down Expand Up @@ -649,7 +654,7 @@ sdks:
- x86-64
- distribution-type: package
distribution-repository: RubyGems
package-name: pubnub-5.2.0.gem
package-name: pubnub-5.2.1.gem
location: https://rubygems.org/gems/pubnub
requires:
- name: addressable
Expand Down Expand Up @@ -754,8 +759,8 @@ sdks:
- x86-64
- distribution-type: library
distribution-repository: GitHub release
package-name: pubnub-5.2.0.gem
location: https://github.com/pubnub/ruby/releases/download/v5.2.0/pubnub-5.2.0.gem
package-name: pubnub-5.2.1.gem
location: https://github.com/pubnub/ruby/releases/download/v5.2.1/pubnub-5.2.1.gem
requires:
- name: addressable
min-version: 2.0.0
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v5.2.1
December 13 2022

#### Fixed
- Fix format which is used to return server data from `get_message_actions` method call.

## v5.2.0
December 12 2022

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
pubnub (5.2.0)
pubnub (5.2.1)
addressable (>= 2.0.0)
concurrent-ruby (~> 1.1.5)
concurrent-ruby-edge (~> 0.5.0)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.0
5.2.1
Loading

0 comments on commit 25e747d

Please sign in to comment.