wowza_rest 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/.rspec +2 -0
- data/.rubocop.yml +12 -0
- data/.travis.yml +10 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +44 -0
- data/Rakefile +10 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/wowza_rest.rb +6 -0
- data/lib/wowza_rest/api.rb +12 -0
- data/lib/wowza_rest/applications.rb +85 -0
- data/lib/wowza_rest/client.rb +52 -0
- data/lib/wowza_rest/connection.rb +18 -0
- data/lib/wowza_rest/errors.rb +7 -0
- data/lib/wowza_rest/instances.rb +25 -0
- data/lib/wowza_rest/publishers.rb +15 -0
- data/lib/wowza_rest/version.rb +3 -0
- data/wowza_rest.gemspec +45 -0
- metadata +205 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2ec144a5f9422b5be4d8b7d81bbaae75edd6ee06
|
4
|
+
data.tar.gz: 9d3f98a07919d7a6a90d9d589a3543d78b31b285
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c9701aed6a548562fde18d45e1342b26eef6b419cef04d106cf566247644ed5ca5e92bf3bf7af38ef6914d3c778e802712b231ab6a8593b711264e763125c256
|
7
|
+
data.tar.gz: 20db8c2a418dfb1f1b109dcff7e754e3bc4ce4ed24f4528671904b7e61e3def0d6fa9326df9fcf9bdd4c3d30b10f70b8917f063eae39358e631bb3c708e6e13f
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -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 thatskan@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
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Hazem Taha
|
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,44 @@
|
|
1
|
+
# WowzaRest
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/hazemtaha/wowza-rest.svg?branch=master)](https://travis-ci.org/hazemtaha/wowza-rest)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/hazemtaha/wowza_rest/badges/gpa.svg)](https://codeclimate.com/github/hazemtaha/wowza_rest)
|
5
|
+
|
6
|
+
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/wowza_rest`. To experiment with that code, run `bin/console` for an interactive prompt.
|
7
|
+
|
8
|
+
TODO: Delete this and the text above, and describe your gem
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your application's Gemfile:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem 'wowza_rest'
|
16
|
+
```
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle
|
21
|
+
|
22
|
+
Or install it yourself as:
|
23
|
+
|
24
|
+
$ gem install wowza_rest
|
25
|
+
|
26
|
+
## Usage
|
27
|
+
|
28
|
+
TODO: Write usage instructions here
|
29
|
+
|
30
|
+
## Development
|
31
|
+
|
32
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
33
|
+
|
34
|
+
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).
|
35
|
+
|
36
|
+
## Contributing
|
37
|
+
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/wowza_rest. 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.
|
39
|
+
|
40
|
+
|
41
|
+
## License
|
42
|
+
|
43
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
44
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'dotenv/load'
|
5
|
+
require 'wowza_rest'
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
require 'pry'
|
12
|
+
Pry.start
|
13
|
+
|
14
|
+
# require "irb"
|
15
|
+
# IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/lib/wowza_rest.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'wowza_rest/applications'
|
2
|
+
require 'wowza_rest/instances'
|
3
|
+
require 'wowza_rest/publishers'
|
4
|
+
|
5
|
+
module WowzaRest
|
6
|
+
module API
|
7
|
+
# include all api modules here
|
8
|
+
include WowzaRest::Applications
|
9
|
+
include WowzaRest::Instances
|
10
|
+
include WowzaRest::Publishers
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,85 @@
|
|
1
|
+
module WowzaRest
|
2
|
+
module Applications
|
3
|
+
def applications
|
4
|
+
connection.request(:get, '/applications').parsed_response
|
5
|
+
end
|
6
|
+
|
7
|
+
def get_application(app_name)
|
8
|
+
response = connection.request(:get, "/applications/#{app_name}")
|
9
|
+
response.response.code == '200' ? response.parsed_response : nil
|
10
|
+
end
|
11
|
+
|
12
|
+
def create_application(app_body, use_default_config = true)
|
13
|
+
unless app_body.include?(:name) && app_body.include?(:appType)
|
14
|
+
raise WowzaRest::Errors::MissingRequiredKeys,
|
15
|
+
'{ name } and/or { appType } Keys on application hash is required'
|
16
|
+
end
|
17
|
+
if use_default_config
|
18
|
+
app_body = default_application_config.merge(app_body)
|
19
|
+
end
|
20
|
+
connection.request(:post, '/applications', body: app_body.to_json)
|
21
|
+
end
|
22
|
+
|
23
|
+
def update_application(app_name, config)
|
24
|
+
apply_update_application_checks(app_name, config)
|
25
|
+
connection.request(:put, "/applications/#{app_name}",
|
26
|
+
body: config.to_json)['success']
|
27
|
+
end
|
28
|
+
|
29
|
+
def delete_application(app_name)
|
30
|
+
unless app_name.is_a?(String)
|
31
|
+
raise WowzaRest::Errors::InvalidArgumentType,
|
32
|
+
"First argument expected to be String got #{app_name.class}"
|
33
|
+
end
|
34
|
+
connection.request(:delete, "/applications/#{app_name}")['success']
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
# rubocop:disable Metrics/LineLength
|
40
|
+
def apply_update_application_checks(app_name, config)
|
41
|
+
if !app_name.is_a?(String)
|
42
|
+
raise WowzaRest::Errors::InvalidArgumentType,
|
43
|
+
"First argument expected to be String got #{app_name.class} instead"
|
44
|
+
elsif !config.is_a?(Hash)
|
45
|
+
raise WowzaRest::Errors::InvalidArgumentType,
|
46
|
+
"Second argument expected to be String got #{config.class} instead"
|
47
|
+
elsif config.empty?
|
48
|
+
raise WowzaRest::Errors::InvalidArgument,
|
49
|
+
'Configuration hash must have at least one attribute'
|
50
|
+
end
|
51
|
+
end
|
52
|
+
# rubocop:enable Metrics/LineLength
|
53
|
+
|
54
|
+
# rubocop:disable Metrics/MethodLength
|
55
|
+
# rubocop:disable Metrics/LineLength
|
56
|
+
def default_application_config
|
57
|
+
{
|
58
|
+
clientStreamWriteAccess: '*',
|
59
|
+
httpCORSHeadersEnabled: true,
|
60
|
+
securityConfig: {
|
61
|
+
clientStreamWriteAccess: '*',
|
62
|
+
publishRequirePassword: true,
|
63
|
+
publishAuthenticationMethod: 'digest'
|
64
|
+
},
|
65
|
+
streamConfig: {
|
66
|
+
streamType: 'live',
|
67
|
+
liveStreamPacketizer: %w[cupertinostreamingpacketizer mpegdashstreamingpacketizer sanjosestreamingpacketizer smoothstreamingpacketizer]
|
68
|
+
},
|
69
|
+
modules: {
|
70
|
+
moduleList: [
|
71
|
+
{
|
72
|
+
'order' => 0,
|
73
|
+
'name' => 'ModuleCoreSecurity',
|
74
|
+
'description' => 'Core Security Module for Applications',
|
75
|
+
'class' => 'com.wowza.wms.security.ModuleCoreSecurity'
|
76
|
+
}
|
77
|
+
]
|
78
|
+
}
|
79
|
+
|
80
|
+
}
|
81
|
+
end
|
82
|
+
# rubocop:enable Metrics/MethodLength
|
83
|
+
# rubocop:enable Metrics/LineLength
|
84
|
+
end
|
85
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'wowza_rest/api'
|
2
|
+
require 'wowza_rest/connection'
|
3
|
+
require 'wowza_rest/errors'
|
4
|
+
|
5
|
+
module WowzaRest
|
6
|
+
class Client
|
7
|
+
include WowzaRest::API
|
8
|
+
include WowzaRest::Errors
|
9
|
+
|
10
|
+
attr_accessor :host, :port, :username, :password, :server_name,
|
11
|
+
:api_version, :vhost
|
12
|
+
attr_reader :connection
|
13
|
+
|
14
|
+
def initialize(options = {})
|
15
|
+
check_required_attrs(options)
|
16
|
+
options.each do |key, value|
|
17
|
+
instance_variable_set("@#{key}", value)
|
18
|
+
end
|
19
|
+
@connection = WowzaRest::Connection.new(base_uri, @username, @password)
|
20
|
+
end
|
21
|
+
|
22
|
+
def server_name
|
23
|
+
@server_name || '_defaultServer_'
|
24
|
+
end
|
25
|
+
|
26
|
+
def api_version
|
27
|
+
@api_version || 'v2'
|
28
|
+
end
|
29
|
+
|
30
|
+
def vhost
|
31
|
+
@vhost || '_defaultVHost_'
|
32
|
+
end
|
33
|
+
|
34
|
+
def base_uri
|
35
|
+
"#{host}:#{port}/#{api_version}/servers/#{server_name}/vhosts/#{vhost}"
|
36
|
+
end
|
37
|
+
|
38
|
+
private
|
39
|
+
|
40
|
+
def check_required_attrs(options)
|
41
|
+
required_attrs = %i[host port username password]
|
42
|
+
missing_attrs = []
|
43
|
+
required_attrs.each do |attr|
|
44
|
+
missing_attrs << attr unless options.include? attr
|
45
|
+
end
|
46
|
+
|
47
|
+
return if missing_attrs.empty?
|
48
|
+
raise WowzaRest::Errors::MissingRequiredKeys,
|
49
|
+
"{ #{missing_attrs.join(' | ')} } missing"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'httparty'
|
2
|
+
|
3
|
+
module WowzaRest
|
4
|
+
class Connection
|
5
|
+
include HTTParty
|
6
|
+
|
7
|
+
def initialize(uri, username, password)
|
8
|
+
self.class.base_uri(uri)
|
9
|
+
self.class.digest_auth(username, password)
|
10
|
+
self.class.headers('Accept' => 'application/json',
|
11
|
+
'Content-Type' => 'application/json')
|
12
|
+
end
|
13
|
+
|
14
|
+
def request(method, path, options = {}, &block)
|
15
|
+
self.class.public_send(method, path, options, &block)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module WowzaRest
|
2
|
+
module Instances
|
3
|
+
def instances(app_name)
|
4
|
+
connection.request(
|
5
|
+
:get, "/applications/#{app_name}/instances"
|
6
|
+
)['instanceList']
|
7
|
+
end
|
8
|
+
|
9
|
+
def get_instance(app_name, instance_name = '_definst_')
|
10
|
+
response = connection.request(
|
11
|
+
:get, "/applications/#{app_name}/instances/#{instance_name}"
|
12
|
+
)
|
13
|
+
response.code == 200 ? response.parsed_response : nil
|
14
|
+
end
|
15
|
+
|
16
|
+
# rubocop:disable Metrics/LineLength
|
17
|
+
def get_incoming_stream_stats(app_name, stream_name, instance_name = '_definst_')
|
18
|
+
response = connection.request(
|
19
|
+
:get, "/applications/#{app_name}/instances/#{instance_name}/incomingstreams/#{stream_name}/monitoring/current"
|
20
|
+
)
|
21
|
+
response.code == 200 ? response.parsed_response : nil
|
22
|
+
end
|
23
|
+
# rubocop:enable Metrics/LineLength
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module WowzaRest
|
2
|
+
module Publishers
|
3
|
+
def create_publisher(name, password)
|
4
|
+
connection.request(
|
5
|
+
:post, "/publishers/#{name}", body: { password: password }.to_json
|
6
|
+
)['success']
|
7
|
+
end
|
8
|
+
|
9
|
+
def delete_publisher(name)
|
10
|
+
connection.request(
|
11
|
+
:delete, "/publishers/#{name}"
|
12
|
+
)['success']
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/wowza_rest.gemspec
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'wowza_rest/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'wowza_rest'
|
9
|
+
spec.version = WowzaRest::VERSION
|
10
|
+
spec.authors = ['Hazem Taha']
|
11
|
+
spec.email = ['hazemt.93@gmail.com']
|
12
|
+
|
13
|
+
spec.summary = 'Wowza REST API Wrapper Gem.'
|
14
|
+
spec.description = 'Wowza REST API Wrapper Gem.'
|
15
|
+
spec.homepage = 'https://github.com/hazemtaha/wowza-rest'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
20
|
+
# if spec.respond_to?(:metadata)
|
21
|
+
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
22
|
+
# else
|
23
|
+
# raise 'RubyGems 2.0 or newer is required to protect against ' \
|
24
|
+
# 'public gem pushes.'
|
25
|
+
# end
|
26
|
+
|
27
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
28
|
+
f.match(%r{^(test|spec|features)/})
|
29
|
+
end
|
30
|
+
spec.bindir = 'exe'
|
31
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
|
+
spec.require_paths = ['lib']
|
33
|
+
|
34
|
+
spec.add_development_dependency 'bundler', '~> 1.14'
|
35
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
36
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
37
|
+
spec.add_development_dependency 'webmock'
|
38
|
+
spec.add_development_dependency 'vcr'
|
39
|
+
spec.add_development_dependency 'pry'
|
40
|
+
spec.add_development_dependency 'dotenv'
|
41
|
+
spec.add_development_dependency 'rubocop'
|
42
|
+
spec.add_development_dependency 'rubocop-rspec'
|
43
|
+
|
44
|
+
spec.add_dependency 'httparty'
|
45
|
+
end
|
metadata
ADDED
@@ -0,0 +1,205 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wowza_rest
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Hazem Taha
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-07-05 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.14'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.14'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: webmock
|
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: vcr
|
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: pry
|
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: dotenv
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop-rspec
|
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
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: httparty
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
description: Wowza REST API Wrapper Gem.
|
154
|
+
email:
|
155
|
+
- hazemt.93@gmail.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- ".gitignore"
|
161
|
+
- ".rspec"
|
162
|
+
- ".rubocop.yml"
|
163
|
+
- ".travis.yml"
|
164
|
+
- CODE_OF_CONDUCT.md
|
165
|
+
- Gemfile
|
166
|
+
- LICENSE.txt
|
167
|
+
- README.md
|
168
|
+
- Rakefile
|
169
|
+
- bin/console
|
170
|
+
- bin/setup
|
171
|
+
- lib/wowza_rest.rb
|
172
|
+
- lib/wowza_rest/api.rb
|
173
|
+
- lib/wowza_rest/applications.rb
|
174
|
+
- lib/wowza_rest/client.rb
|
175
|
+
- lib/wowza_rest/connection.rb
|
176
|
+
- lib/wowza_rest/errors.rb
|
177
|
+
- lib/wowza_rest/instances.rb
|
178
|
+
- lib/wowza_rest/publishers.rb
|
179
|
+
- lib/wowza_rest/version.rb
|
180
|
+
- wowza_rest.gemspec
|
181
|
+
homepage: https://github.com/hazemtaha/wowza-rest
|
182
|
+
licenses:
|
183
|
+
- MIT
|
184
|
+
metadata: {}
|
185
|
+
post_install_message:
|
186
|
+
rdoc_options: []
|
187
|
+
require_paths:
|
188
|
+
- lib
|
189
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0'
|
199
|
+
requirements: []
|
200
|
+
rubyforge_project:
|
201
|
+
rubygems_version: 2.6.12
|
202
|
+
signing_key:
|
203
|
+
specification_version: 4
|
204
|
+
summary: Wowza REST API Wrapper Gem.
|
205
|
+
test_files: []
|