ringcentral_sdk 1.2.3 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -27
- data/Gemfile.lock +76 -39
- data/README.md +2 -12
- data/lib/ringcentral_sdk.rb +1 -1
- data/lib/ringcentral_sdk/rest/client.rb +13 -11
- data/mkdocs.yml +35 -0
- data/ringcentral_sdk.gemspec +40 -0
- data/test/test_base.rb +1 -1
- data/test/test_client.rb +6 -4
- metadata +95 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e86f94a7d493e3b4b86817ff1aec24c89403ea9
|
4
|
+
data.tar.gz: f8943b0a9a385c93ab67d7f4603e54afba43db87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6bdaa8da1d04d5daf0b3b72139c485828959191df63296cd6384883b689e7f267caf9489aea9e8df1294324f9937eed5f4549b3a9deb4e60eb558e836c95133
|
7
|
+
data.tar.gz: 681810981b4120fbf3679ff93c5f5dfa12e0ffbf445ea20ba3f751ff2299a0bb49ad418a8270f6c8340040a43bde22b5c4ca6dbbf6de9790c2e6b2f152daaa14
|
data/Gemfile
CHANGED
@@ -1,29 +1,3 @@
|
|
1
1
|
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
2
2
|
|
3
|
-
|
4
|
-
gem 'dotenv'
|
5
|
-
gem 'faraday', '~> 0.9.0'
|
6
|
-
gem 'faraday_middleware'
|
7
|
-
gem 'faraday_middleware-oauth2_refresh'
|
8
|
-
gem 'jsondoc'
|
9
|
-
gem 'logger'
|
10
|
-
gem 'mime'
|
11
|
-
gem 'mime-types'
|
12
|
-
gem 'mime_builder'
|
13
|
-
gem 'mocha'
|
14
|
-
gem 'multi_json'
|
15
|
-
gem 'oauth2'
|
16
|
-
gem 'pubnub', '~> 3.8.0'
|
17
|
-
gem 'rake'
|
18
|
-
gem 'simplecov'
|
19
|
-
gem 'test-unit'
|
20
|
-
gem 'timers'
|
21
|
-
|
22
|
-
# Ruby 1.8.7 is not currently supported
|
23
|
-
# platforms :ruby_18 do
|
24
|
-
# gem 'mime-types', '~> 1.25'
|
25
|
-
# gem 'rest-client', '~> 1.6.0'
|
26
|
-
# # gem 'mime-types', '~> 2.5'
|
27
|
-
# end
|
28
|
-
|
29
|
-
# vim:ft=ruby
|
3
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,3 +1,21 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
ringcentral_sdk (1.2.3)
|
5
|
+
dotenv (~> 2.1, >= 2.1.0)
|
6
|
+
faraday (~> 0.9, >= 0.9)
|
7
|
+
faraday_middleware (~> 0, >= 0)
|
8
|
+
faraday_middleware-oauth2_refresh (~> 0)
|
9
|
+
jsondoc (~> 0.1, >= 0.1.0)
|
10
|
+
logger
|
11
|
+
mime (~> 0.4, >= 0.4.3)
|
12
|
+
mime-types (~> 3.1)
|
13
|
+
mime_builder (~> 0)
|
14
|
+
multi_json (~> 1.3)
|
15
|
+
oauth2 (~> 1.0, >= 1.0.0)
|
16
|
+
pubnub (~> 4.0, >= 4.0.0)
|
17
|
+
timers (~> 4.1)
|
18
|
+
|
1
19
|
GEM
|
2
20
|
remote: https://rubygems.org/
|
3
21
|
specs:
|
@@ -16,91 +34,110 @@ GEM
|
|
16
34
|
timers (>= 4.1.1)
|
17
35
|
celluloid-pool (0.20.5)
|
18
36
|
timers (>= 4.1.1)
|
19
|
-
celluloid-supervision (0.20.
|
37
|
+
celluloid-supervision (0.20.6)
|
20
38
|
timers (>= 4.1.1)
|
21
|
-
|
22
|
-
|
23
|
-
|
39
|
+
concurrent-ruby (1.0.2)
|
40
|
+
coveralls (0.8.15)
|
41
|
+
json (>= 1.8, < 3)
|
42
|
+
simplecov (~> 0.12.0)
|
24
43
|
term-ansicolor (~> 1.3)
|
25
44
|
thor (~> 0.19.1)
|
26
|
-
tins (
|
45
|
+
tins (>= 1.6.0, < 2)
|
27
46
|
docile (1.1.5)
|
28
|
-
dotenv (2.1.
|
47
|
+
dotenv (2.1.1)
|
48
|
+
dry-configurable (0.1.7)
|
49
|
+
concurrent-ruby (~> 1.0)
|
50
|
+
dry-container (0.4.0)
|
51
|
+
concurrent-ruby (~> 1.0)
|
52
|
+
dry-configurable (~> 0.1, >= 0.1.3)
|
53
|
+
dry-equalizer (0.2.0)
|
54
|
+
dry-logic (0.3.0)
|
55
|
+
dry-container (~> 0.2, >= 0.2.6)
|
56
|
+
dry-equalizer (~> 0.2)
|
57
|
+
dry-monads (0.1.0)
|
58
|
+
dry-equalizer
|
59
|
+
dry-types (0.8.1)
|
60
|
+
concurrent-ruby (~> 1.0)
|
61
|
+
dry-configurable (~> 0.1)
|
62
|
+
dry-container (~> 0.3)
|
63
|
+
dry-equalizer (~> 0.2)
|
64
|
+
dry-logic (~> 0.3, >= 0.3.0)
|
65
|
+
dry-monads (>= 0.0.1)
|
66
|
+
ice_nine (~> 0.11)
|
67
|
+
inflecto (~> 0.0.0, >= 0.0.2)
|
68
|
+
dry-validation (0.9.5)
|
69
|
+
concurrent-ruby (~> 1.0)
|
70
|
+
dry-configurable (~> 0.1, >= 0.1.3)
|
71
|
+
dry-container (~> 0.2, >= 0.2.8)
|
72
|
+
dry-equalizer (~> 0.2)
|
73
|
+
dry-logic (~> 0.3, >= 0.3.0)
|
74
|
+
dry-types (~> 0.8, >= 0.8.1)
|
29
75
|
faraday (0.9.2)
|
30
76
|
multipart-post (>= 1.2, < 3)
|
31
77
|
faraday_middleware (0.10.0)
|
32
78
|
faraday (>= 0.7.4, < 0.10)
|
33
|
-
faraday_middleware-oauth2_refresh (0.0.
|
79
|
+
faraday_middleware-oauth2_refresh (0.0.3)
|
34
80
|
faraday (~> 0.9, >= 0.9)
|
35
81
|
faraday_middleware (~> 0, >= 0)
|
36
|
-
hitimes (1.2.
|
37
|
-
httpclient (2.
|
82
|
+
hitimes (1.2.4)
|
83
|
+
httpclient (2.8.2.2)
|
84
|
+
ice_nine (0.11.2)
|
85
|
+
inflecto (0.0.2)
|
38
86
|
json (1.8.3)
|
39
87
|
jsondoc (0.1.2)
|
40
|
-
jwt (1.5.
|
88
|
+
jwt (1.5.4)
|
41
89
|
logger (1.2.8)
|
42
90
|
metaclass (0.0.4)
|
43
91
|
mime (0.4.3)
|
44
|
-
mime-types (3.
|
92
|
+
mime-types (3.1)
|
45
93
|
mime-types-data (~> 3.2015)
|
46
|
-
mime-types-data (3.2016.
|
47
|
-
mime_builder (0.0.
|
94
|
+
mime-types-data (3.2016.0521)
|
95
|
+
mime_builder (0.0.3)
|
48
96
|
mime
|
49
97
|
mime-types (>= 1.25)
|
50
98
|
mocha (1.1.0)
|
51
99
|
metaclass (~> 0.0.1)
|
52
|
-
multi_json (1.
|
100
|
+
multi_json (1.12.1)
|
53
101
|
multi_xml (0.5.5)
|
54
102
|
multipart-post (2.0.0)
|
55
|
-
oauth2 (1.
|
103
|
+
oauth2 (1.2.0)
|
56
104
|
faraday (>= 0.8, < 0.10)
|
57
|
-
jwt (~> 1.0
|
105
|
+
jwt (~> 1.0)
|
58
106
|
multi_json (~> 1.3)
|
59
107
|
multi_xml (~> 0.5)
|
60
108
|
rack (>= 1.2, < 3)
|
61
|
-
power_assert (0.
|
62
|
-
pubnub (
|
63
|
-
celluloid (~> 0.
|
64
|
-
|
109
|
+
power_assert (0.3.0)
|
110
|
+
pubnub (4.0.7)
|
111
|
+
celluloid (~> 0.17)
|
112
|
+
dry-validation (~> 0.8)
|
113
|
+
httpclient (~> 2.8)
|
65
114
|
json (~> 1.8)
|
66
|
-
rack (
|
67
|
-
rake (11.
|
68
|
-
simplecov (0.
|
115
|
+
rack (2.0.1)
|
116
|
+
rake (11.2.2)
|
117
|
+
simplecov (0.12.0)
|
69
118
|
docile (~> 1.1.0)
|
70
|
-
json (
|
119
|
+
json (>= 1.8, < 3)
|
71
120
|
simplecov-html (~> 0.10.0)
|
72
121
|
simplecov-html (0.10.0)
|
73
122
|
term-ansicolor (1.3.2)
|
74
123
|
tins (~> 1.0)
|
75
|
-
test-unit (3.1
|
124
|
+
test-unit (3.2.1)
|
76
125
|
power_assert
|
77
126
|
thor (0.19.1)
|
78
127
|
timers (4.1.1)
|
79
128
|
hitimes
|
80
|
-
tins (1.
|
129
|
+
tins (1.12.0)
|
81
130
|
|
82
131
|
PLATFORMS
|
83
132
|
ruby
|
84
133
|
|
85
134
|
DEPENDENCIES
|
86
135
|
coveralls
|
87
|
-
dotenv
|
88
|
-
faraday (~> 0.9.0)
|
89
|
-
faraday_middleware
|
90
|
-
faraday_middleware-oauth2_refresh
|
91
|
-
jsondoc
|
92
|
-
logger
|
93
|
-
mime
|
94
|
-
mime-types
|
95
|
-
mime_builder
|
96
136
|
mocha
|
97
|
-
multi_json
|
98
|
-
oauth2
|
99
|
-
pubnub (~> 3.8.0)
|
100
137
|
rake
|
138
|
+
ringcentral_sdk!
|
101
139
|
simplecov
|
102
140
|
test-unit
|
103
|
-
timers
|
104
141
|
|
105
142
|
BUNDLED WITH
|
106
143
|
1.11.2
|
data/README.md
CHANGED
@@ -116,7 +116,7 @@ client = RingCentralSdk::REST::Client.new(
|
|
116
116
|
'myAppKey',
|
117
117
|
'myAppSecret',
|
118
118
|
RingCentralSdk::RC_SERVER_SANDBOX,
|
119
|
-
|
119
|
+
redirect_uri: 'http://example.com/oauth'
|
120
120
|
)
|
121
121
|
|
122
122
|
# Retrieve OAuth authorize url using default redirect URL
|
@@ -232,17 +232,7 @@ sub.destroy()
|
|
232
232
|
|
233
233
|
## Supported Ruby Versions
|
234
234
|
|
235
|
-
This library
|
236
|
-
|
237
|
-
1. Ruby 2.3.0
|
238
|
-
2. Ruby 2.2.0
|
239
|
-
3. Ruby 2.1.0
|
240
|
-
4. Ruby 2.0.0
|
241
|
-
5. Ruby 1.9.3
|
242
|
-
6. [JRuby](http://jruby.org/)
|
243
|
-
7. [Rubinius](http://rubinius.com/)
|
244
|
-
|
245
|
-
Note: Ruby 1.8.7 works except for subscription support which relies on the `pubnub` gem. If there is a need for 1.8.7 support, consider creating a GitHub issue so we can evalute creating a separate library for subscription handling.
|
235
|
+
This library is tested against [this list of Ruby implementations](https://travis-ci.org/grokify/ringcentral-sdk-ruby).
|
246
236
|
|
247
237
|
## Releases
|
248
238
|
|
data/lib/ringcentral_sdk.rb
CHANGED
@@ -4,6 +4,8 @@ require 'faraday_middleware'
|
|
4
4
|
require 'faraday_middleware/oauth2_refresh'
|
5
5
|
require 'oauth2'
|
6
6
|
|
7
|
+
require 'pp'
|
8
|
+
|
7
9
|
module RingCentralSdk::REST
|
8
10
|
class Client
|
9
11
|
ACCESS_TOKEN_TTL = 600 # 10 minutes
|
@@ -21,7 +23,6 @@ module RingCentralSdk::REST
|
|
21
23
|
attr_reader :app_config
|
22
24
|
attr_reader :http
|
23
25
|
attr_reader :oauth2client
|
24
|
-
attr_reader :token
|
25
26
|
attr_reader :user_agent
|
26
27
|
attr_reader :messages
|
27
28
|
|
@@ -48,7 +49,6 @@ module RingCentralSdk::REST
|
|
48
49
|
end
|
49
50
|
|
50
51
|
def init_attributes()
|
51
|
-
@token = nil
|
52
52
|
@http = nil
|
53
53
|
@user_agent = get_user_agent()
|
54
54
|
end
|
@@ -101,8 +101,8 @@ module RingCentralSdk::REST
|
|
101
101
|
@oauth2client.auth_code.authorize_url(_add_redirect_uri(opts))
|
102
102
|
end
|
103
103
|
|
104
|
-
def authorize_code(code,
|
105
|
-
token = @oauth2client.auth_code.get_token(code, _add_redirect_uri(
|
104
|
+
def authorize_code(code, params = {})
|
105
|
+
token = @oauth2client.auth_code.get_token(code, _add_redirect_uri(params))
|
106
106
|
set_token(token)
|
107
107
|
return token
|
108
108
|
end
|
@@ -114,16 +114,20 @@ module RingCentralSdk::REST
|
|
114
114
|
return opts
|
115
115
|
end
|
116
116
|
|
117
|
-
def authorize_password(username, extension = '', password = '',
|
117
|
+
def authorize_password(username, extension = '', password = '', params = {})
|
118
118
|
token = @oauth2client.password.get_token(username, password, {
|
119
119
|
extension: extension,
|
120
|
-
headers: {'Authorization' => 'Basic ' + get_api_key()}})
|
120
|
+
headers: {'Authorization' => 'Basic ' + get_api_key()}}.merge(params))
|
121
121
|
set_token(token)
|
122
122
|
return token
|
123
123
|
end
|
124
124
|
|
125
|
-
def authorize_user(user,
|
126
|
-
authorize_password(user.username, user.extension, user.password)
|
125
|
+
def authorize_user(user, params = {})
|
126
|
+
authorize_password(user.username, user.extension, user.password, params)
|
127
|
+
end
|
128
|
+
|
129
|
+
def token
|
130
|
+
return @http ? @http.builder.app.oauth2_token : nil
|
127
131
|
end
|
128
132
|
|
129
133
|
def set_token(token)
|
@@ -135,10 +139,8 @@ module RingCentralSdk::REST
|
|
135
139
|
raise "Token is not a OAuth2::AccessToken"
|
136
140
|
end
|
137
141
|
|
138
|
-
@token = token
|
139
|
-
|
140
142
|
@http = Faraday.new(url: api_version_url()) do |conn|
|
141
|
-
conn.request :oauth2_refresh,
|
143
|
+
conn.request :oauth2_refresh, token
|
142
144
|
conn.request :multipart
|
143
145
|
conn.request :url_encoded
|
144
146
|
conn.request :json
|
data/mkdocs.yml
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
site_name: RingCentral SDK for Ruby
|
2
|
+
site_url: https://github.com/grokify/ringcentral-sdk-ruby
|
3
|
+
repo_url: https://github.com/grokify/ringcentral-sdk-ruby.git
|
4
|
+
docs_dir: docs
|
5
|
+
theme: readthedocs
|
6
|
+
pages:
|
7
|
+
# Introduction:
|
8
|
+
- ['index.md', 'About', 'RingCentral SDK']
|
9
|
+
- ['quickstart.md', 'About', 'Quickstart']
|
10
|
+
|
11
|
+
## Authorization:
|
12
|
+
- ['usage/authorization/Authorization.md', 'Authorization', 'Authorization']
|
13
|
+
|
14
|
+
## Generic HTTP
|
15
|
+
- ['usage/http-client.md', 'Generic Requests', 'HTTP Client']
|
16
|
+
|
17
|
+
## Messaging:
|
18
|
+
- ['usage/messages/SMS-Messages.md', 'Messaging', 'SMS Messages']
|
19
|
+
- ['usage/messages/Fax-Messages.md', 'Messaging', 'Fax Messages']
|
20
|
+
|
21
|
+
## Voice:
|
22
|
+
- ['usage/voice/Click-To-Call.md', 'Voice', 'Click-To-Call']
|
23
|
+
- ['usage/messages/Call-Recordings.md', 'Voice', 'Call Recordings']
|
24
|
+
|
25
|
+
## Answering Rules:
|
26
|
+
- ['usage/answering-rules/Answering-Rules-Call-Forwarding.md', 'Answering Rules', 'Call Forwarding']
|
27
|
+
|
28
|
+
## Call Queues:
|
29
|
+
- ['usage/callqueues/Adding-Removing-Users.md', 'Call Queues', 'Adding and Removing Users']
|
30
|
+
- ['usage/callqueues/Member-Status.md', 'Call Queues', 'Member Status']
|
31
|
+
|
32
|
+
## Notifications:
|
33
|
+
- ['usage/notifications/Subscriptions.md', 'Notifications', 'Subscriptions']
|
34
|
+
- ['usage/notifications/Subscribe_to_All_Extensions.md', 'Notifications', 'Subscribe to All Extensions']
|
35
|
+
- ['usage/notifications/Subscribe_for_New_SMS.md', 'Notifications', 'Subscribe for New SMS']
|
@@ -0,0 +1,40 @@
|
|
1
|
+
lib = 'ringcentral_sdk'
|
2
|
+
lib_file = File.expand_path("../lib/#{lib}.rb", __FILE__)
|
3
|
+
File.read(lib_file) =~ /\bVERSION\s*=\s*["'](.+?)["']/
|
4
|
+
version = $1
|
5
|
+
#require File.expand_path('../lib/ringcentral_sdk/version', __FILE__)
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = 'ringcentral_sdk'
|
9
|
+
s.version = version
|
10
|
+
s.date = '2016-08-23'
|
11
|
+
s.summary = 'RingCentral SDK - Ruby SDK for the RingCentral Connect Platform API'
|
12
|
+
s.description = 'A Ruby SDK for the RingCentral Connect Platform API'
|
13
|
+
s.authors = ['John Wang']
|
14
|
+
s.email = 'johncwang@gmail.com'
|
15
|
+
s.homepage = 'https://github.com/grokify/'
|
16
|
+
s.licenses = ['MIT']
|
17
|
+
s.files = Dir['lib/**/**/*']
|
18
|
+
s.files += Dir['[A-Z]*'] + Dir['test/**/*']
|
19
|
+
# s.files.reject! { |fn| fn.include? "CVS" }
|
20
|
+
# s.required_ruby_version = '>= 1.8.7' # 1.8.7+ is tested
|
21
|
+
s.add_dependency 'dotenv', '~> 2.1', '>= 2.1.0'
|
22
|
+
s.add_dependency 'faraday', '~> 0.9', '>= 0.9'
|
23
|
+
s.add_dependency 'faraday_middleware', '~> 0', '>= 0'
|
24
|
+
s.add_dependency 'faraday_middleware-oauth2_refresh', '~> 0'
|
25
|
+
s.add_dependency 'jsondoc', '~> 0.1', '>= 0.1.0'
|
26
|
+
s.add_dependency 'logger'
|
27
|
+
s.add_dependency 'mime', '~> 0.4', '>= 0.4.3'
|
28
|
+
s.add_dependency 'mime-types', '~> 3.1' # >= 1.9 '~> 2.5', '>= 2.5'
|
29
|
+
s.add_dependency 'mime_builder', '~> 0'
|
30
|
+
s.add_dependency 'multi_json', '~> 1.3'
|
31
|
+
s.add_dependency 'oauth2', '~> 1.0', '>= 1.0.0'
|
32
|
+
s.add_dependency 'pubnub', '~> 4.0', '>= 4.0.0'
|
33
|
+
s.add_dependency 'timers', '~> 4.1'
|
34
|
+
|
35
|
+
s.add_development_dependency 'coveralls'
|
36
|
+
s.add_development_dependency 'mocha'
|
37
|
+
s.add_development_dependency 'rake'
|
38
|
+
s.add_development_dependency 'simplecov'
|
39
|
+
s.add_development_dependency 'test-unit'
|
40
|
+
end
|
data/test/test_base.rb
CHANGED
data/test/test_client.rb
CHANGED
@@ -40,8 +40,8 @@ class RingCentralSdkPlatformTest < Test::Unit::TestCase
|
|
40
40
|
oauth2client = OAuth2::Client.new(
|
41
41
|
'my_app_key',
|
42
42
|
'my_app_secret',
|
43
|
-
:
|
44
|
-
:
|
43
|
+
site: RingCentralSdk::RC_SERVER_SANDBOX,
|
44
|
+
token_url: rcsdk.class::TOKEN_ENDPOINT)
|
45
45
|
rcsdk.set_oauth2_client(oauth2client)
|
46
46
|
assert_equal true, rcsdk.oauth2client.is_a?(OAuth2::Client)
|
47
47
|
|
@@ -51,11 +51,13 @@ class RingCentralSdkPlatformTest < Test::Unit::TestCase
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def test_set_token
|
54
|
-
token_data = {:
|
54
|
+
token_data = {access_token: 'test_token'}
|
55
55
|
|
56
56
|
@rcsdk.set_token(token_data)
|
57
57
|
|
58
|
-
|
58
|
+
token = @rcsdk.token
|
59
|
+
|
60
|
+
assert_equal 'OAuth2::AccessToken', token.class.name
|
59
61
|
assert_equal 'Faraday::Connection', @rcsdk.http.class.name
|
60
62
|
|
61
63
|
assert_raise do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ringcentral_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Wang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|
@@ -104,6 +104,20 @@ dependencies:
|
|
104
104
|
- - ">="
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: 0.1.0
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
name: logger
|
109
|
+
requirement: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
114
|
+
type: :runtime
|
115
|
+
prerelease: false
|
116
|
+
version_requirements: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
107
121
|
- !ruby/object:Gem::Dependency
|
108
122
|
name: mime
|
109
123
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,14 +144,14 @@ dependencies:
|
|
130
144
|
requirements:
|
131
145
|
- - "~>"
|
132
146
|
- !ruby/object:Gem::Version
|
133
|
-
version: '1
|
147
|
+
version: '3.1'
|
134
148
|
type: :runtime
|
135
149
|
prerelease: false
|
136
150
|
version_requirements: !ruby/object:Gem::Requirement
|
137
151
|
requirements:
|
138
152
|
- - "~>"
|
139
153
|
- !ruby/object:Gem::Version
|
140
|
-
version: '1
|
154
|
+
version: '3.1'
|
141
155
|
- !ruby/object:Gem::Dependency
|
142
156
|
name: mime_builder
|
143
157
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,20 +206,20 @@ dependencies:
|
|
192
206
|
requirements:
|
193
207
|
- - "~>"
|
194
208
|
- !ruby/object:Gem::Version
|
195
|
-
version: '
|
209
|
+
version: '4.0'
|
196
210
|
- - ">="
|
197
211
|
- !ruby/object:Gem::Version
|
198
|
-
version:
|
212
|
+
version: 4.0.0
|
199
213
|
type: :runtime
|
200
214
|
prerelease: false
|
201
215
|
version_requirements: !ruby/object:Gem::Requirement
|
202
216
|
requirements:
|
203
217
|
- - "~>"
|
204
218
|
- !ruby/object:Gem::Version
|
205
|
-
version: '
|
219
|
+
version: '4.0'
|
206
220
|
- - ">="
|
207
221
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
222
|
+
version: 4.0.0
|
209
223
|
- !ruby/object:Gem::Dependency
|
210
224
|
name: timers
|
211
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,6 +234,76 @@ dependencies:
|
|
220
234
|
- - "~>"
|
221
235
|
- !ruby/object:Gem::Version
|
222
236
|
version: '4.1'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: coveralls
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: mocha
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: rake
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: simplecov
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: test-unit
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ">="
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0'
|
300
|
+
type: :development
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0'
|
223
307
|
description: A Ruby SDK for the RingCentral Connect Platform API
|
224
308
|
email: johncwang@gmail.com
|
225
309
|
executables: []
|
@@ -251,6 +335,8 @@ files:
|
|
251
335
|
- lib/ringcentral_sdk/rest/request/simple.rb
|
252
336
|
- lib/ringcentral_sdk/rest/simple_client.rb
|
253
337
|
- lib/ringcentral_sdk/rest/subscription.rb
|
338
|
+
- mkdocs.yml
|
339
|
+
- ringcentral_sdk.gemspec
|
254
340
|
- test/test_base.rb
|
255
341
|
- test/test_client.rb
|
256
342
|
- test/test_config.rb
|
@@ -281,7 +367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
367
|
version: '0'
|
282
368
|
requirements: []
|
283
369
|
rubyforge_project:
|
284
|
-
rubygems_version: 2.
|
370
|
+
rubygems_version: 2.4.8
|
285
371
|
signing_key:
|
286
372
|
specification_version: 4
|
287
373
|
summary: RingCentral SDK - Ruby SDK for the RingCentral Connect Platform API
|