Skip to content

Commit

Permalink
Bump version to 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
abrom committed Apr 21, 2023
1 parent 7201c8e commit 2e2bb0f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
## Unreleased
- None

## [0.2.2](releases/tag/v0.2.2) - 2023-04-21
### Added
- [#43] Add Ruby 3.2 support ([@MrRTI][])
- [#44] Add support for thread messages ([@MrRTI][])

### Fixed
- [#45] Fixed some rubocop lints ([@abrom][])


## [0.2.1](releases/tag/v0.2.1) - 2022-12-19
### Fixed
- [#41] URL-encode param values in GET query strings ([@nmagedman][])
Expand Down Expand Up @@ -131,3 +140,4 @@
[@christianmoretti]: https://github.com/christianmoretti
[@alinavancea]: https://github.com/alinavancea
[@nmagedman]: https://github.com/nmagedman
[@MrRTI]: https://github.com/MrRTi
12 changes: 12 additions & 0 deletions docs/chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ message = session.chat.post_message(room_id: 'some_message_id',
text: 'hello, rocket.chat')
```

Post a message in a thread.

```ruby
require 'rocketchat'

rocket_server = RocketChat::Server.new('http://your.server.address/')
session = rocket_server.login('username', 'password')
message = session.chat.post_message(room_id: 'some_message_id',
text: 'hello, rocket.chat',
tmid: 'gcGai9bRREqokjyPc')
```

#### chat.update

Update an existing message.
Expand Down
2 changes: 1 addition & 1 deletion lib/rocket_chat/gem_version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module RocketChat
VERSION = '0.2.1'
VERSION = '0.2.2'
end

0 comments on commit 2e2bb0f

Please sign in to comment.