openvidu-ruby-client 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.env.sample +4 -0
- data/.gitignore +1 -0
- data/lib/open_vidu/requestor.rb +2 -3
- data/lib/open_vidu/version.rb +1 -1
- data/openvidu-ruby-client.gemspec +2 -3
- metadata +9 -25
- data/.DS_Store +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/open_vidu/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85f0e2619b4d0f8839a9206313e354dbbdbb45a5
|
4
|
+
data.tar.gz: c95a078256792a238939ed77aebb295c406737f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 535cb7ca973eb2a2f51c4a400320534c7b9284f6f525cddcf5aee133614d790f036f5a22ebbd4739be3c75b960f85f03f16a134d6702213266944b471e028323
|
7
|
+
data.tar.gz: 50da5c6763ffc40148313ea6ee923d7e7f8c873f8256e91cddfa161f9a2dbd5551f36ce05f41762d1d08205114bd55fb9d6a24bdfbebdd5c9dee79149a6470b7
|
data/.env.sample
ADDED
data/.gitignore
CHANGED
data/lib/open_vidu/requestor.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'dotenv/load'
|
2
1
|
require 'httparty'
|
3
2
|
require 'json'
|
4
3
|
|
@@ -9,7 +8,7 @@ module OpenVidu
|
|
9
8
|
|
10
9
|
BASE_URL = ENV['OPENVIDU_URL']
|
11
10
|
TOKEN = "#{ENV['OPENVIDU_USERNAME']}:#{ENV['OPENVIDU_PASSWORD']}".freeze
|
12
|
-
|
11
|
+
VERIFY_PEER = ENV['OPENVIDU_VERIFY_PEER']
|
13
12
|
|
14
13
|
def initialize(method, endpoint, params = {})
|
15
14
|
@method = method
|
@@ -33,7 +32,7 @@ module OpenVidu
|
|
33
32
|
'Authorization' => "Basic #{Base64.strict_encode64(TOKEN)}",
|
34
33
|
'Content-Type' => 'application/json'
|
35
34
|
},
|
36
|
-
verify:
|
35
|
+
verify: VERIFY_PEER != 'false',
|
37
36
|
body: params.to_json
|
38
37
|
}
|
39
38
|
end
|
data/lib/open_vidu/version.rb
CHANGED
@@ -32,12 +32,11 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
33
33
|
spec.require_paths = ['lib']
|
34
34
|
|
35
|
-
spec.add_development_dependency 'bundler', '~> 1.16'
|
36
35
|
spec.add_development_dependency 'byebug', '~> 9.0', '>= 9.0.6'
|
37
36
|
spec.add_development_dependency 'minitest', '~> 5.0'
|
38
37
|
spec.add_development_dependency 'rake', '~> 10.0'
|
39
38
|
spec.add_development_dependency 'test-unit', '~> 3.3', '>= 3.3.4'
|
40
39
|
|
41
|
-
spec.
|
42
|
-
spec.add_runtime_dependency 'httparty', '
|
40
|
+
spec.add_development_dependency 'dotenv', '~> 2.7', '>= 2.7.5'
|
41
|
+
spec.add_runtime_dependency 'httparty', '>= 0.13'
|
43
42
|
end
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openvidu-ruby-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Saxon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.16'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.16'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: byebug
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -102,7 +88,7 @@ dependencies:
|
|
102
88
|
- - ">="
|
103
89
|
- !ruby/object:Gem::Version
|
104
90
|
version: 2.7.5
|
105
|
-
type: :
|
91
|
+
type: :development
|
106
92
|
prerelease: false
|
107
93
|
version_requirements: !ruby/object:Gem::Requirement
|
108
94
|
requirements:
|
@@ -116,16 +102,16 @@ dependencies:
|
|
116
102
|
name: httparty
|
117
103
|
requirement: !ruby/object:Gem::Requirement
|
118
104
|
requirements:
|
119
|
-
- - "
|
105
|
+
- - ">="
|
120
106
|
- !ruby/object:Gem::Version
|
121
|
-
version: 0.13
|
107
|
+
version: '0.13'
|
122
108
|
type: :runtime
|
123
109
|
prerelease: false
|
124
110
|
version_requirements: !ruby/object:Gem::Requirement
|
125
111
|
requirements:
|
126
|
-
- - "
|
112
|
+
- - ">="
|
127
113
|
- !ruby/object:Gem::Version
|
128
|
-
version: 0.13
|
114
|
+
version: '0.13'
|
129
115
|
description: Ruby client built around OpenVidu's REST API.
|
130
116
|
email:
|
131
117
|
- emailBryanSaxon@gmail.com
|
@@ -133,7 +119,7 @@ executables: []
|
|
133
119
|
extensions: []
|
134
120
|
extra_rdoc_files: []
|
135
121
|
files:
|
136
|
-
- ".
|
122
|
+
- ".env.sample"
|
137
123
|
- ".gitignore"
|
138
124
|
- ".travis.yml"
|
139
125
|
- CODE_OF_CONDUCT.md
|
@@ -143,9 +129,7 @@ files:
|
|
143
129
|
- Rakefile
|
144
130
|
- bin/console
|
145
131
|
- bin/setup
|
146
|
-
- lib/.DS_Store
|
147
132
|
- lib/open_vidu.rb
|
148
|
-
- lib/open_vidu/.DS_Store
|
149
133
|
- lib/open_vidu/base.rb
|
150
134
|
- lib/open_vidu/command.rb
|
151
135
|
- lib/open_vidu/config.rb
|
@@ -179,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
163
|
version: '0'
|
180
164
|
requirements: []
|
181
165
|
rubyforge_project:
|
182
|
-
rubygems_version: 2.
|
166
|
+
rubygems_version: 2.5.2.2
|
183
167
|
signing_key:
|
184
168
|
specification_version: 4
|
185
169
|
summary: OpenVidu Ruby client.
|
data/.DS_Store
DELETED
Binary file
|
data/lib/.DS_Store
DELETED
Binary file
|
data/lib/open_vidu/.DS_Store
DELETED
Binary file
|