lita-ringcentral 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 38bd014146636fd9c6391b41865c96bb42428a93
4
+ data.tar.gz: f3c693d69c50f0a2ae77782d901e4ae0d00752b5
5
+ SHA512:
6
+ metadata.gz: 5f07d67f3764e8b6083b3b066492ef6fa69ece6943d5fbf82469f5af720be96eed21539741b482b79c0c9c373d17d866e3d2a3f1473687cb36b89d88c5204a21
7
+ data.tar.gz: a196e0fa9929e64e76cf689dcfb4c5ab9527b08b03696dc2c806876dcb3760ec93f212f90439963d80dba348d8e1dc568fbc2e6825c2415b5906c0d81938b553
data/.codeclimate.yml ADDED
@@ -0,0 +1,16 @@
1
+ ---
2
+ languages:
3
+ Ruby: true
4
+ JavaScript: false
5
+ PHP: false
6
+ Python: false
7
+ engines:
8
+ rubocop:
9
+ enabled: true
10
+ ratings:
11
+ paths:
12
+ - "**.rb"
13
+ exclude_paths:
14
+ - docs/**/*
15
+ - scripts/**/*
16
+ - test/**/*
data/.gitignore ADDED
@@ -0,0 +1,18 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ lita_config.rb
data/.simplecov ADDED
@@ -0,0 +1,6 @@
1
+ require 'coveralls'
2
+
3
+ SimpleCov.formatter = Coveralls::SimpleCov::Formatter
4
+ SimpleCov.start do
5
+ add_filter "/test/"
6
+ end
data/.travis.yml ADDED
@@ -0,0 +1,14 @@
1
+ language: ruby
2
+ sudo: false
3
+ cache: bundler
4
+ rvm:
5
+ - 2.3.1
6
+ - 2.2.2
7
+ script: bundle exec rspec
8
+ before_install:
9
+ - gem update --system
10
+ - gem update bundler
11
+ services:
12
+ - redis-server
13
+ notifications:
14
+ email: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,4 @@
1
+ CHANGELOG
2
+ ---------
3
+ - **2016-08-23**: 0.0.1
4
+ - Initial commit
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 John Wang
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,84 @@
1
+ LITA RingCentral Adapter
2
+ ========================
3
+
4
+ [![Gem Version][gem-version-svg]][gem-version-link]
5
+ [![Build Status][build-status-svg]][build-status-link]
6
+ [![Coverage Status][coverage-status-svg]][coverage-status-link]
7
+ [![Dependency Status][dependency-status-svg]][dependency-status-link]
8
+ [![Code Climate][codeclimate-status-svg]][codeclimate-status-link]
9
+ [![Scrutinizer Code Quality][scrutinizer-status-svg]][scrutinizer-status-link]
10
+ [![Downloads][downloads-svg]][downloads-link]
11
+ [![Docs][docs-rubydoc-svg]][docs-rubydoc-link]
12
+ [![License][license-svg]][license-link]
13
+
14
+ `lita-ringcentral` is an adapter for [Lita](https://www.lita.io/) that allows you to use the robot with [RingCentral](https://developers.ringcentral.com/) via SMS.
15
+
16
+ ## Installation
17
+
18
+ Add `lita-ringcentral` to your Lita instance's Gemfile:
19
+
20
+ ``` ruby
21
+ gem "lita-ringcentral"
22
+ ```
23
+
24
+ ### Example
25
+
26
+ ``` ruby
27
+ Lita.configure do |config|
28
+ config.robot.adapter = :ringcentral
29
+
30
+ config.adapters.ringcentral.app_key = 'my_app_key'
31
+ config.adapters.ringcentral.app_secret = 'my_app_secret'
32
+ config.adapters.ringcentral.server = 'my_server'
33
+ config.adapters.ringcentral.username = 'my_username'
34
+ config.adapters.ringcentral.extension = 'my_extension'
35
+ config.adapters.ringcentral.password = 'my_password'
36
+ end
37
+ ```
38
+
39
+ ### Change Log
40
+
41
+ See [CHANGELOG.md](CHANGELOG.md)
42
+
43
+ ## Links
44
+
45
+ Project Repo
46
+
47
+ * https://github.com/grokify/lita-ringcentral
48
+
49
+ Lita
50
+
51
+ * https://www.lita.io/
52
+
53
+ ## Contributing
54
+
55
+ 1. Fork it ( http://github.com/grokify/lita-ringcentral/fork )
56
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
57
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
58
+ 4. Push to the branch (`git push origin my-new-feature`)
59
+ 5. Create new Pull Request
60
+
61
+ ## License
62
+
63
+ LITA RingCentral Adapter is available under the MIT license. See [LICENSE.txt](LICENSE.txt) for details.
64
+
65
+ LITA RingCentral Adapter © 2016 by John Wang
66
+
67
+ [gem-version-svg]: https://badge.fury.io/rb/lita-ringcentral.svg
68
+ [gem-version-link]: http://badge.fury.io/rb/lita-ringcentral
69
+ [downloads-svg]: http://ruby-gem-downloads-badge.herokuapp.com/lita-ringcentral
70
+ [downloads-link]: https://rubygems.org/gems/lita-ringcentral
71
+ [build-status-svg]: https://api.travis-ci.org/grokify/lita-ringcentral.svg?branch=master
72
+ [build-status-link]: https://travis-ci.org/grokify/lita-ringcentral
73
+ [coverage-status-svg]: https://coveralls.io/repos/grokify/lita-ringcentral/badge.svg?branch=master
74
+ [coverage-status-link]: https://coveralls.io/r/grokify/lita-ringcentral?branch=master
75
+ [dependency-status-svg]: https://gemnasium.com/grokify/lita-ringcentral.svg
76
+ [dependency-status-link]: https://gemnasium.com/grokify/lita-ringcentral
77
+ [codeclimate-status-svg]: https://codeclimate.com/github/grokify/lita-ringcentral/badges/gpa.svg
78
+ [codeclimate-status-link]: https://codeclimate.com/github/grokify/lita-ringcentral
79
+ [scrutinizer-status-svg]: https://scrutinizer-ci.com/g/grokify/lita-ringcentral/badges/quality-score.png?b=master
80
+ [scrutinizer-status-link]: https://scrutinizer-ci.com/g/grokify/lita-ringcentral/?branch=master
81
+ [docs-rubydoc-svg]: https://img.shields.io/badge/docs-rubydoc-blue.svg
82
+ [docs-rubydoc-link]: http://www.rubydoc.info/gems/lita-ringcentral/
83
+ [license-svg]: https://img.shields.io/badge/license-MIT-blue.svg
84
+ [license-link]: https://github.com/grokify/lita-ringcentral/blob/master/LICENSE.txt
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -0,0 +1,7 @@
1
+ require 'lita'
2
+
3
+ Lita.load_locales Dir[File.expand_path(
4
+ File.join('..', '..', 'locales', '*.yml'), __FILE__
5
+ )]
6
+
7
+ require 'lita/adapters/ringcentral'
@@ -0,0 +1,55 @@
1
+ require 'lita'
2
+ require 'lita/adapters/ringcentral/connector'
3
+
4
+ module Lita
5
+ module Adapters
6
+ class RingCentral < Adapter
7
+ namespace 'ringcentral'
8
+
9
+ # Required attributes
10
+ config :app_key, type: String, required: true
11
+ config :app_secret, type: String, required: true
12
+ config :sms_number, type: String, required: true
13
+
14
+ # Optional attributes
15
+ config :server, type: String, default: 'platform.devtest.ringcentral.com'
16
+ config :username, type: String
17
+ config :extension, type: String
18
+ config :password, type: String
19
+ config :token, type: String
20
+
21
+ attr_reader :connector
22
+
23
+ def initialize(robot)
24
+ super
25
+ @connector = Connector.new(
26
+ robot,
27
+ config.app_key,
28
+ config.app_secret,
29
+ config.server,
30
+ config.username,
31
+ config.extension,
32
+ config.password,
33
+ config.token,
34
+ config.sms_number)
35
+ end
36
+
37
+ def run
38
+ @connector.connect
39
+ sleep
40
+ rescue Interrupt
41
+ shut_down
42
+ end
43
+
44
+ def send_messages(target, strings)
45
+ Lita.logger.info 'Sending Message'
46
+ @connector.message target.user.id, strings
47
+ end
48
+
49
+ def shut_down
50
+ robot.trigger :disconnected
51
+ end
52
+ end
53
+ Lita.register_adapter :ringcentral, RingCentral
54
+ end
55
+ end
@@ -0,0 +1,28 @@
1
+ module Lita
2
+ module Adapters
3
+ class RingCentral < Adapter
4
+ class Callback
5
+ attr_reader :robot
6
+
7
+ def initialize(robot)
8
+ @robot = robot
9
+ end
10
+
11
+ def create_user(user_data)
12
+ User.create user_data['phoneNumber']
13
+ end
14
+
15
+ def update(message)
16
+ Lita.logger.info 'Processing RingCentral Message'
17
+ user_phone_number = message['body']['from']['phoneNumber']
18
+ user = Lita::User.find_by_name user_phone_number
19
+ user = create_user(message['body']['from']) unless user
20
+ source = Lita::Source.new user: user, room: user_phone_number
21
+ post = message['body']['subject'].to_s
22
+ msg = Lita::Message.new @robot, post, source
23
+ @robot.receive msg
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,53 @@
1
+ require 'lita/adapters/ringcentral/callback'
2
+ require 'ringcentral_sdk'
3
+
4
+ module Lita
5
+ module Adapters
6
+ class RingCentral < Adapter
7
+ class Connector
8
+ attr_reader :robot, :client
9
+
10
+ def initialize(robot, app_key, app_secret, server, username, extension, password, token, sms_number, debug: false)
11
+ @robot = robot
12
+ @client = RingCentralSdk.new app_key, app_secret, server
13
+ @username = username
14
+ @extension = extension
15
+ @password = password
16
+ @token = token
17
+ @sms_number = sms_number
18
+ end
19
+
20
+ def connect
21
+ client_connect
22
+ end
23
+
24
+ def client_connect
25
+ Lita.logger.debug('Authenticating with RingCentral.')
26
+ if @token.nil?
27
+ @client.authorize_password @username, @extension, @password
28
+ else
29
+ @client.set_token @token
30
+ end
31
+
32
+ observer = Lita::Adapters::RingCentral::Callback.new @robot
33
+ @subscription = @client.create_subscription
34
+ @subscription.subscribe([
35
+ '/restapi/v1.0/account/~/extension/~/message-store/instant?type=SMS'
36
+ ])
37
+ @subscription.add_observer observer
38
+ end
39
+
40
+ def message(to_number, strings)
41
+ strings.each do |s|
42
+ @client.messages.sms.create(
43
+ from: @sms_number,
44
+ to: to_number,
45
+ text: s
46
+ )
47
+ end
48
+ end
49
+
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,28 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = 'lita-ringcentral'
3
+ spec.date = '2016-08-23'
4
+ spec.version = '0.0.1'
5
+ spec.authors = ['John Wang']
6
+ spec.email = ["johncwang@gmail.com"]
7
+ spec.description = %q{A RingCentral adapter for Lita.}
8
+ spec.summary = %q{A RingCentral adapter for the Lita chat robot.}
9
+ spec.homepage = 'https://github.com/grokify/lita-ringcentral'
10
+ spec.license = 'MIT'
11
+ spec.metadata = { 'lita_plugin_type' => 'adapter' }
12
+
13
+ spec.files = `git ls-files`.split($/)
14
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
15
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
+ spec.require_paths = ['lib']
17
+
18
+ spec.add_runtime_dependency 'lita', '>= 4.4.3'
19
+ spec.add_runtime_dependency 'ringcentral_sdk', '>= 1.0.0'
20
+
21
+ spec.add_development_dependency 'bundler', '~> 1.3'
22
+ spec.add_development_dependency 'pry-byebug'
23
+ spec.add_development_dependency 'rack-test'
24
+ spec.add_development_dependency 'rake'
25
+ spec.add_development_dependency 'rspec', '>= 3.0.0'
26
+ spec.add_development_dependency 'simplecov', '>= 0.9.2'
27
+ spec.add_development_dependency 'coveralls'
28
+ end
data/locales/en.yml ADDED
@@ -0,0 +1,4 @@
1
+ en:
2
+ lita:
3
+ adapters:
4
+ ringcentralsms:
@@ -0,0 +1,42 @@
1
+ require 'spec_helper'
2
+
3
+ describe Lita::Adapters::RingCentral, lita: true do
4
+ subject { described_class.new(robot) }
5
+
6
+ let(:robot) { Lita::Robot.new(registry) }
7
+ let(:adapter) { instance_double('Lita::Adapters::RingCentral') }
8
+ let(:connection) { instance_double('Lita::Adapters::RingCentral::Connector') }
9
+
10
+ let(:ringcentral_app_key) { 'my_app_key' }
11
+ let(:ringcentral_app_secret) { 'my_app_secret' }
12
+ let(:ringcentral_server) { 'https://platform.devtest.ringcentral.com' }
13
+ let(:ringcentral_username) { 'my_username' }
14
+ let(:ringcentral_extension) { 'my_extension' }
15
+ let(:ringcentral_password) { 'my_password' }
16
+ let(:ringcentral_token) { '{
17
+ "access_token": "my_test_access_token_with_refresh",
18
+ "token_type": "bearer",
19
+ "expires_in": 3599,
20
+ "refresh_token": "my_test_refresh_token",
21
+ "refresh_token_expires_in": 604799,
22
+ "scope": "ReadCallLog DirectRingOut EditCallLog ReadAccounts Contacts EditExtensions ReadContacts SMS EditPresence RingOut EditCustomData ReadPresence EditPaymentInfo Interoperability Accounts NumberLookup InternalMessages ReadCallRecording EditAccounts Faxes EditReportingSettings ReadClientInfo EditMessages VoipCalling ReadMessages",
23
+ "owner_id": "1234567890"
24
+ }' }
25
+
26
+ before do
27
+ registry.register_adapter(:ringcentral, described_class)
28
+ registry.config.adapters.ringcentral.app_key = ringcentral_app_key
29
+ registry.config.adapters.ringcentral.app_secret = ringcentral_app_secret
30
+ registry.config.adapters.ringcentral.server = ringcentral_server
31
+ registry.config.adapters.ringcentral.username = ringcentral_username
32
+ registry.config.adapters.ringcentral.extension = ringcentral_extension
33
+ registry.config.adapters.ringcentral.password = ringcentral_password
34
+ registry.config.adapters.ringcentral.token = JSON.parse ringcentral_token
35
+
36
+ allow(
37
+ described_class::Connector
38
+ ).to receive(:connect).with(robot, subject.config).and_return(connection)
39
+ allow(adapter).to receive(:run)
40
+ end
41
+
42
+ end
@@ -0,0 +1,22 @@
1
+ require 'simplecov'
2
+ require 'coveralls'
3
+ Coveralls.wear!
4
+
5
+ SimpleCov.formatters = [
6
+ SimpleCov::Formatter::HTMLFormatter,
7
+ Coveralls::SimpleCov::Formatter
8
+ ]
9
+ SimpleCov.start { add_filter "/spec/" }
10
+
11
+ require "lita-ringcentral"
12
+ require "lita/rspec"
13
+
14
+ require "pry"
15
+
16
+ Lita.version_3_compatibility_mode = false
17
+
18
+ RSpec.configure do |config|
19
+ config.mock_with :rspec do |mocks|
20
+ mocks.verify_partial_doubles = true
21
+ end
22
+ end
metadata ADDED
@@ -0,0 +1,190 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lita-ringcentral
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - John Wang
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-08-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: lita
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.4.3
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.4.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: ringcentral_sdk
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.3'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry-byebug
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rack-test
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 3.0.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 3.0.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 0.9.2
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 0.9.2
125
+ - !ruby/object:Gem::Dependency
126
+ name: coveralls
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description: A RingCentral adapter for Lita.
140
+ email:
141
+ - johncwang@gmail.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".codeclimate.yml"
147
+ - ".gitignore"
148
+ - ".simplecov"
149
+ - ".travis.yml"
150
+ - CHANGELOG.md
151
+ - Gemfile
152
+ - LICENSE.txt
153
+ - README.md
154
+ - Rakefile
155
+ - lib/lita-ringcentral.rb
156
+ - lib/lita/adapters/ringcentral.rb
157
+ - lib/lita/adapters/ringcentral/callback.rb
158
+ - lib/lita/adapters/ringcentral/connector.rb
159
+ - lita-ringcentral.gemspec
160
+ - locales/en.yml
161
+ - spec/lita/adapters/ringcentral_spec.rb
162
+ - spec/spec_helper.rb
163
+ homepage: https://github.com/grokify/lita-ringcentral
164
+ licenses:
165
+ - MIT
166
+ metadata:
167
+ lita_plugin_type: adapter
168
+ post_install_message:
169
+ rdoc_options: []
170
+ require_paths:
171
+ - lib
172
+ required_ruby_version: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
177
+ required_rubygems_version: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ requirements: []
183
+ rubyforge_project:
184
+ rubygems_version: 2.5.1
185
+ signing_key:
186
+ specification_version: 4
187
+ summary: A RingCentral adapter for the Lita chat robot.
188
+ test_files:
189
+ - spec/lita/adapters/ringcentral_spec.rb
190
+ - spec/spec_helper.rb