Skip to content

Commit

Permalink
Merge pull request #3 from grokify/master
Browse files Browse the repository at this point in the history
rcsdk 2.0.3 bugfixes
  • Loading branch information
grokify committed Jan 1, 2017
2 parents 5805373 + 02e8955 commit 3e142df
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
language: ruby
sudo: false
cache: bundler

rvm:
- 2.3.1
- 2.3.3
- 2.2.2

script: bundle exec rspec

before_install:
- gem update --system
- gem update bundler

services:
- redis-server

notifications:
email: false
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CHANGELOG
---------
- **2016-12-20**: 0.1.0
- Update to RingCentralSdk 2.0.0
- **2016-12-31**: 0.1.0
- Update to RingCentralSdk 2.0.3
- Use `Lita.logger` in RingCentralSdk
- **2016-09-05**: 0.0.3
- Add message filtering to ensure we are processing the correct events
Expand Down
3 changes: 1 addition & 2 deletions lib/lita/adapters/ringcentral/connector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Connector

def initialize(robot, app_key, app_secret, server, username, extension, password, token, sms_number, debug: false)
@robot = robot
@client = RingCentral::Sdk::REST::Client new do |config|
@client = RingCentralSdk::REST::Client.new do |config|
config.server_url = server
config.app_key = app_key
config.app_secret = app_secret
Expand Down Expand Up @@ -55,7 +55,6 @@ def message(to_number, strings)
)
end
end

end
end
end
Expand Down
4 changes: 2 additions & 2 deletions lita-ringcentral.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'lita-ringcentral'
spec.date = '2016-12-28'
spec.date = '2016-12-31'
spec.version = '0.1.0'
spec.authors = ['John Wang']
spec.email = ["johncwang@gmail.com"]
Expand All @@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']

spec.add_runtime_dependency 'lita', '~> 4.4', '>= 4.4.3'
spec.add_runtime_dependency 'ringcentral_sdk', '~> 2.0', '>= 2.0.2'
spec.add_runtime_dependency 'ringcentral_sdk', '~> 2.0', '>= 2.0.3'

spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'pry-byebug', '~> 3', '>= 3.4.2'
Expand Down

0 comments on commit 3e142df

Please sign in to comment.