openvidu-ruby-client 0.1.0

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: 5c2a1829a3d917f2a01e0d15bf7aa6423a69b599
4
+ data.tar.gz: 2f9c3789d1d9a2ef02efce9162e1f58e0b17f611
5
+ SHA512:
6
+ metadata.gz: b37f10c716f1ecef359a1cb4a8e84eb04a59b88a0469f39828c1dbbf79c6f7947e7402f428ea85d1d60c8c3512835b1a00fea1684269d4d130b57e0a5cba831f
7
+ data.tar.gz: a783f0568339cf7342dbd41278339a226c7bd593a70adfbc3405f1be381b172f7c0ec7d7a49bed2df29587925e4628e818e7f764a5066d261901d022dc38ea51
data/.DS_Store ADDED
Binary file
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.byebug_history
3
+ /.env
4
+ /.yardoc
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
11
+ /vendor/
data/.travis.yml ADDED
@@ -0,0 +1,13 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm: 2.4.5
6
+
7
+ services:
8
+ - docker
9
+
10
+ before_install:
11
+ - gem install bundler -v 1.17.3
12
+ - docker pull openvidu/openvidu-server-kms
13
+ - docker run -p 4443:4443 -d --rm -e openvidu.secret=MY_SECRET openvidu/openvidu-server-kms
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at emailBryanSaxon@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in open_vidu.gemspec
6
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Bryan Saxon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # OpenVidu Ruby Client
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/open_vidu`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'open_vidu'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install open_vidu
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ```bash
28
+ OPENVIDU_URL = 'https://localhost:4443'
29
+ OPENVIDU_USERNAME = 'OPENVIDUAPP'
30
+ OPENVIDU_PASSWORD = 'MY_SECRET'
31
+ ```
32
+
33
+ ## Development
34
+
35
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
36
+
37
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
38
+
39
+ ## Contributing
40
+
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/BryanSaxon/open_vidu. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
42
+
43
+ ## License
44
+
45
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
46
+
47
+ ## Code of Conduct
48
+
49
+ Everyone interacting in the OpenVidu project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/open_vidu/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "open_vidu"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/lib/.DS_Store ADDED
Binary file
data/lib/open_vidu.rb ADDED
@@ -0,0 +1,6 @@
1
+ require "open_vidu/version"
2
+
3
+ module OpenVidu
4
+ class Error < StandardError; end
5
+ # Your code goes here...
6
+ end
Binary file
@@ -0,0 +1,25 @@
1
+ require 'open_vidu/command'
2
+
3
+ module OpenVidu
4
+ # Base
5
+ class Base
6
+ ASSIGNABLE_PARAMS = %w[].freeze
7
+ GENERATED_PARAMS = %w[].freeze
8
+ ALL_PARAMS = (ASSIGNABLE_PARAMS + GENERATED_PARAMS).freeze
9
+
10
+ def initialize(params = {})
11
+ self.class::ALL_PARAMS.each do |param|
12
+ instance_variable_set("@#{param}", params[param.to_sym])
13
+ self.class.send(:attr_accessor, param.to_sym)
14
+ end
15
+ end
16
+
17
+ def create_params
18
+ Hash[
19
+ self.class::ASSIGNABLE_PARAMS.map do |param|
20
+ [param, instance_variable_get("@#{param}")]
21
+ end
22
+ ]
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,28 @@
1
+ require 'open_vidu/requestor'
2
+ require 'open_vidu/responder'
3
+
4
+ module OpenVidu
5
+ # Command
6
+ class Command
7
+ attr_reader :object, :method, :endpoint, :params
8
+
9
+ def initialize(object, method, endpoint, params = {})
10
+ @object = object
11
+ @method = method
12
+ @endpoint = endpoint
13
+ @params = params
14
+ end
15
+
16
+ def execute
17
+ response = OpenVidu::Requestor.new(method, endpoint, params).execute
18
+ OpenVidu::Responder.new(object, response).execute if valid?(response)
19
+ end
20
+
21
+ private
22
+
23
+ # TODO: Implement.
24
+ def valid?(response)
25
+ true
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,20 @@
1
+ module OpenVidu
2
+ # Config
3
+ class Config < Base
4
+ ASSIGNABLE_PARAMS = %w[].freeze
5
+ GENERATED_PARAMS = %w[
6
+ version openviduPublicurl openviduCdr maxRecvBandwidth minRecvBandwidth
7
+ maxSendBandwidth minSendBandwidth openviduRecording
8
+ openviduRecordingVersion openviduRecordingPath
9
+ openviduRecordingPublicAccess openviduRecordingNotification
10
+ openviduRecordingCustomLayout openviduRecordingAutostopTimeout
11
+ openviduWebhookEndpoint openviduWebhookHeaders openviduWebhookEvents
12
+ ].freeze
13
+ ALL_PARAMS = (ASSIGNABLE_PARAMS + GENERATED_PARAMS).freeze
14
+
15
+ def self.config
16
+ OpenVidu::Command.new(:config, :get, 'config').execute
17
+ end
18
+ end
19
+ end
20
+
@@ -0,0 +1,47 @@
1
+ module OpenVidu
2
+ # Recording
3
+ class Recording < Base
4
+ ASSIGNABLE_PARAMS = %w[
5
+ session name outputMode hasAudio hasVideo recordingLayout customLayout
6
+ resolution
7
+ ].freeze
8
+ GENERATED_PARAMS = %w[
9
+ id sessionId createdAt size duration url status
10
+ ].freeze
11
+ ALL_PARAMS = (ASSIGNABLE_PARAMS + GENERATED_PARAMS).freeze
12
+
13
+ def self.all
14
+ OpenVidu::Command.new(
15
+ :recording, :get, 'api/recordings'
16
+ ).execute
17
+ end
18
+
19
+ def self.create(params)
20
+ new(params).create
21
+ end
22
+
23
+ def self.find(id)
24
+ OpenVidu::Command.new(
25
+ :recording, :get, "api/recordings/#{id}"
26
+ ).execute
27
+ end
28
+
29
+ def delete
30
+ OpenVidu::Command.new(
31
+ :recording,
32
+ :delete,
33
+ "api/recordings/stop/#{id}"
34
+ ).execute
35
+ end
36
+
37
+ alias_method :stop, :delete
38
+
39
+ def create
40
+ OpenVidu::Command.new(
41
+ :recording, :post, 'api/recordings/start'
42
+ ).execute
43
+ end
44
+
45
+ alias_method :start, :create
46
+ end
47
+ end
@@ -0,0 +1,41 @@
1
+ require 'dotenv/load'
2
+ require 'httparty'
3
+ require 'json'
4
+
5
+ module OpenVidu
6
+ # Requestor
7
+ class Requestor
8
+ attr_reader :method, :endpoint, :params
9
+
10
+ BASE_URL = ENV['OPENVIDU_URL']
11
+ TOKEN = "#{ENV['OPENVIDU_USERNAME']}:#{ENV['OPENVIDU_PASSWORD']}".freeze
12
+ MODE = ENV['MODE']
13
+
14
+ def initialize(method, endpoint, params = {})
15
+ @method = method
16
+ @endpoint = endpoint
17
+ @params = params
18
+ end
19
+
20
+ def execute
21
+ HTTParty.send(method, url, options)&.parsed_response
22
+ end
23
+
24
+ private
25
+
26
+ def url
27
+ "#{BASE_URL}/#{endpoint}"
28
+ end
29
+
30
+ def options
31
+ {
32
+ headers: {
33
+ 'Authorization' => "Basic #{Base64.strict_encode64(TOKEN)}",
34
+ 'Content-Type' => 'application/json'
35
+ },
36
+ verify: MODE != 'DEV',
37
+ body: params.to_json
38
+ }
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,53 @@
1
+ require 'byebug'
2
+
3
+ module OpenVidu
4
+ # Responder
5
+ class Responder
6
+ attr_reader :object, :response
7
+
8
+ def initialize(object, response)
9
+ @object = object
10
+ @response = response
11
+ end
12
+
13
+ def execute
14
+ klass = Object.const_get(klass_name)
15
+
16
+ return true if record_destroyed?
17
+ return klass.new(mapped_params(response)) if complete_record?
18
+ return klass.find(response['id']) if record_lookup?
19
+
20
+ # Else return collection mapping.
21
+ response['content'].map do |hash|
22
+ klass.new(mapped_params(hash))
23
+ end
24
+ end
25
+
26
+ private
27
+
28
+ def klass_name
29
+ "OpenVidu::#{object.to_s.split('_').map(&:capitalize).join('')}"
30
+ end
31
+
32
+ def record_destroyed?
33
+ response.nil?
34
+ end
35
+
36
+ def complete_record?
37
+ # Token response.
38
+ (!response['id'].nil? && !response['role'].nil?) ||
39
+ # Session response.
40
+ !response['sessionId'].nil? ||
41
+ # Config response.
42
+ !response['version'].nil?
43
+ end
44
+
45
+ def record_lookup?
46
+ !response['id'].nil? && !response['createdAt'].nil?
47
+ end
48
+
49
+ def mapped_params(hash)
50
+ Hash[hash.map { |key, value| [key.to_sym, value] }]
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,39 @@
1
+ module OpenVidu
2
+ # Session
3
+ class Session < Base
4
+ ASSIGNABLE_PARAMS = %w[
5
+ mediaMode recordingMode customSessionId defaultOutputMode
6
+ defaultRecordingLayout defaultCustomLayout
7
+ ].freeze
8
+ GENERATED_PARAMS = %w[sessionId createdAt connections recording].freeze
9
+ ALL_PARAMS = (ASSIGNABLE_PARAMS + GENERATED_PARAMS).freeze
10
+
11
+ def self.all
12
+ OpenVidu::Command.new(
13
+ :session, :get, 'api/sessions'
14
+ ).execute
15
+ end
16
+
17
+ def self.create(params)
18
+ new(params).create
19
+ end
20
+
21
+ def self.find(id)
22
+ OpenVidu::Command.new(
23
+ :session, :get, "api/sessions/#{id}"
24
+ ).execute
25
+ end
26
+
27
+ def create
28
+ OpenVidu::Command.new(
29
+ :session, :post, 'api/sessions', create_params
30
+ ).execute
31
+ end
32
+
33
+ def delete
34
+ OpenVidu::Command.new(
35
+ :session, :delete, "api/sessions/#{sessionId}"
36
+ ).execute
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,18 @@
1
+ module OpenVidu
2
+ # Token
3
+ class Token < Base
4
+ ASSIGNABLE_PARAMS = %w[session role data kurentoOptions].freeze
5
+ GENERATED_PARAMS = %w[id token].freeze
6
+ ALL_PARAMS = (ASSIGNABLE_PARAMS + GENERATED_PARAMS).freeze
7
+
8
+ def self.create(params)
9
+ new(params).create
10
+ end
11
+
12
+ def create
13
+ OpenVidu::Command.new(
14
+ :token, :post, 'api/tokens', create_params
15
+ ).execute
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,3 @@
1
+ module OpenVidu
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,43 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'open_vidu/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'openvidu-ruby-client'
8
+ spec.version = OpenVidu::VERSION
9
+ spec.authors = ['Bryan Saxon']
10
+ spec.email = ['emailBryanSaxon@gmail.com']
11
+
12
+ spec.summary = 'OpenVidu Ruby client.'
13
+ spec.description = "Ruby client built around OpenVidu's REST API."
14
+ spec.homepage = 'https://github.com/BryanSaxon/openvidu-ruby-client'
15
+ spec.license = 'MIT'
16
+
17
+ if spec.respond_to?(:metadata)
18
+ spec.metadata['homepage_uri'] = spec.homepage
19
+ spec.metadata['source_code_uri'] = 'https://github.com/BryanSaxon/openvidu-ruby-client'
20
+ spec.metadata['changelog_uri'] = 'https://github.com/BryanSaxon/openvidu-ruby-client'
21
+ else
22
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
23
+ 'public gem pushes.'
24
+ end
25
+
26
+ # Specify which files should be added to the gem when it is released.
27
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
28
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
29
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
30
+ end
31
+ spec.bindir = 'exe'
32
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
+ spec.require_paths = ['lib']
34
+
35
+ spec.add_development_dependency 'bundler', '~> 1.16'
36
+ spec.add_development_dependency 'byebug', '~> 9.0', '>= 9.0.6'
37
+ spec.add_development_dependency 'minitest', '~> 5.0'
38
+ spec.add_development_dependency 'rake', '~> 10.0'
39
+ spec.add_development_dependency 'test-unit', '~> 3.3', '>= 3.3.4'
40
+
41
+ spec.add_runtime_dependency 'dotenv', '~> 2.7', '>= 2.7.5'
42
+ spec.add_runtime_dependency 'httparty', '~> 0.13.7'
43
+ end
metadata ADDED
@@ -0,0 +1,186 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: openvidu-ruby-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Bryan Saxon
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-10-09 00:00:00.000000000 Z
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
+ - !ruby/object:Gem::Dependency
28
+ name: byebug
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '9.0'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 9.0.6
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '9.0'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 9.0.6
47
+ - !ruby/object:Gem::Dependency
48
+ name: minitest
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '5.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '5.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '10.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '10.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: test-unit
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '3.3'
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: 3.3.4
85
+ type: :development
86
+ prerelease: false
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - "~>"
90
+ - !ruby/object:Gem::Version
91
+ version: '3.3'
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 3.3.4
95
+ - !ruby/object:Gem::Dependency
96
+ name: dotenv
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '2.7'
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: 2.7.5
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '2.7'
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: 2.7.5
115
+ - !ruby/object:Gem::Dependency
116
+ name: httparty
117
+ requirement: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - "~>"
120
+ - !ruby/object:Gem::Version
121
+ version: 0.13.7
122
+ type: :runtime
123
+ prerelease: false
124
+ version_requirements: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - "~>"
127
+ - !ruby/object:Gem::Version
128
+ version: 0.13.7
129
+ description: Ruby client built around OpenVidu's REST API.
130
+ email:
131
+ - emailBryanSaxon@gmail.com
132
+ executables: []
133
+ extensions: []
134
+ extra_rdoc_files: []
135
+ files:
136
+ - ".DS_Store"
137
+ - ".gitignore"
138
+ - ".travis.yml"
139
+ - CODE_OF_CONDUCT.md
140
+ - Gemfile
141
+ - LICENSE.txt
142
+ - README.md
143
+ - Rakefile
144
+ - bin/console
145
+ - bin/setup
146
+ - lib/.DS_Store
147
+ - lib/open_vidu.rb
148
+ - lib/open_vidu/.DS_Store
149
+ - lib/open_vidu/base.rb
150
+ - lib/open_vidu/command.rb
151
+ - lib/open_vidu/config.rb
152
+ - lib/open_vidu/recording.rb
153
+ - lib/open_vidu/requestor.rb
154
+ - lib/open_vidu/responder.rb
155
+ - lib/open_vidu/session.rb
156
+ - lib/open_vidu/token.rb
157
+ - lib/open_vidu/version.rb
158
+ - openvidu-ruby-client.gemspec
159
+ homepage: https://github.com/BryanSaxon/openvidu-ruby-client
160
+ licenses:
161
+ - MIT
162
+ metadata:
163
+ homepage_uri: https://github.com/BryanSaxon/openvidu-ruby-client
164
+ source_code_uri: https://github.com/BryanSaxon/openvidu-ruby-client
165
+ changelog_uri: https://github.com/BryanSaxon/openvidu-ruby-client
166
+ post_install_message:
167
+ rdoc_options: []
168
+ require_paths:
169
+ - lib
170
+ required_ruby_version: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ required_rubygems_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ requirements: []
181
+ rubyforge_project:
182
+ rubygems_version: 2.6.14.3
183
+ signing_key:
184
+ specification_version: 4
185
+ summary: OpenVidu Ruby client.
186
+ test_files: []