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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6816d2ce00a5d853de33612fca8b893d9d4f76d2
4
- data.tar.gz: 417436d1f059a6688a7ee77355c8c73b89156e57
3
+ metadata.gz: 85f0e2619b4d0f8839a9206313e354dbbdbb45a5
4
+ data.tar.gz: c95a078256792a238939ed77aebb295c406737f8
5
5
  SHA512:
6
- metadata.gz: b51fcf9e220816e1ee32a7b0fce6147f0c96a9ab5286a9560f5b05c68ef0144c472900696d278efb27b8134f3af01f7df3543cb8446c2b3831fd23233e47eb49
7
- data.tar.gz: c41aa3bcc46633072358561daf62080a1794f833aa5ed6409a04446b29a5d542848bc8a0d7e03af4ba88a54d65f3e4a2bd986dda1b1a5a62bba7101976e06414
6
+ metadata.gz: 535cb7ca973eb2a2f51c4a400320534c7b9284f6f525cddcf5aee133614d790f036f5a22ebbd4739be3c75b960f85f03f16a134d6702213266944b471e028323
7
+ data.tar.gz: 50da5c6763ffc40148313ea6ee923d7e7f8c873f8256e91cddfa161f9a2dbd5551f36ce05f41762d1d08205114bd55fb9d6a24bdfbebdd5c9dee79149a6470b7
@@ -0,0 +1,4 @@
1
+ OPENVIDU_URL=https://localhost:4443
2
+ OPENVIDU_USERNAME=openviduapp
3
+ OPENVIDU_PASSWORD=MY_SECRET
4
+ OPENVIDU_VERIFY_PEER=false
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
  /spec/reports/
10
10
  /tmp/
11
11
  /vendor/
12
+ .DS_Store
@@ -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
- MODE = ENV['MODE']
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: MODE != 'DEV',
35
+ verify: VERIFY_PEER != 'false',
37
36
  body: params.to_json
38
37
  }
39
38
  end
@@ -1,3 +1,3 @@
1
1
  module OpenVidu
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -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.add_runtime_dependency 'dotenv', '~> 2.7', '>= 2.7.5'
42
- spec.add_runtime_dependency 'httparty', '~> 0.13.7'
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.0
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-09 00:00:00.000000000 Z
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: :runtime
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.7
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.7
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
- - ".DS_Store"
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.6.14.3
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
Binary file
Binary file