Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Bump to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hamchapman committed Oct 30, 2018
1 parent f7843d1 commit 3efaaba
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
19 changes: 12 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased](/~https://github.com/pusher/chatkit-server-ruby/compare/0.7.2...HEAD)
## [Unreleased](/~https://github.com/pusher/chatkit-server-ruby/compare/1.0.0...HEAD)

## [1.0.0](/~https://github.com/pusher/chatkit-server-ruby/compare/0.7.2...1.0.0) - 2018-10-30

### Changes

- *Breaking* Room IDs are now strings throughout.
- *Breaking:* All functions now take a single hash as their sole parameter
- *Breaking:* `get_users_by_ids` has been renamed to `get_users_by_id`
- *Breaking:* `generate_su_token` now returns a hash with the keys `token` and `expires_in`, to match the return value of `generate_access_token`
- *Breaking*: All functions that interact with the API (i.e. everything but authentication methods) either raise a `PusherPlatform::ErrorResponse` or return a hash of the form:
#### Breaking

- Room IDs are now strings throughout.
- All functions now take a single hash as their sole parameter
- `get_users_by_ids` has been renamed to `get_users_by_id`
- `generate_su_token` now returns a hash with the keys `token` and `expires_in`, to match the return value of `generate_access_token`
- All functions that interact with the API (i.e. everything but authentication methods) either raise a `PusherPlatform::ErrorResponse` or return a hash of the form:

```ruby
{
Expand All @@ -27,7 +30,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
}
```

- Bump pusher-platform dependency to 0.11.1
#### Non-breaking

- Bump pusher-platform dependency to 0.11.2
- Unified all errors under a `Chatkit::Error` type

### Additions
Expand Down
10 changes: 4 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
PATH
remote: .
specs:
pusher-chatkit-server (0.7.2)
pusher-platform (~> 0.11.1)
pusher-chatkit-server (1.0.0)
pusher-platform (~> 0.11.2)

GEM
remote: https://rubygems.org/
specs:
diff-lcs (1.3)
excon (0.62.0)
jwt (2.1.0)
pusher-platform (0.11.1)
pusher-platform (0.11.2)
excon (~> 0.62.0)
jwt (~> 2.1)
rack (~> 2.0.5)
rack (2.0.5)
rake (12.3.1)
rspec (3.8.0)
rspec-core (~> 3.8.0)
Expand All @@ -39,4 +37,4 @@ DEPENDENCIES
rspec

BUNDLED WITH
1.16.2
1.16.6
4 changes: 2 additions & 2 deletions chatkit.gemspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Gem::Specification.new do |s|
s.name = 'pusher-chatkit-server'
s.version = '0.7.2'
s.version = '1.0.0'
s.licenses = ['MIT']
s.summary = 'Pusher Chatkit Ruby SDK'
s.authors = ['Pusher']
s.email = 'support@pusher.com'
s.files = `git ls-files -- lib/*`.split("\n")

s.add_dependency 'pusher-platform', '~> 0.11.1'
s.add_dependency 'pusher-platform', '~> 0.11.2'
end

0 comments on commit 3efaaba

Please sign in to comment.