vlc_proxy 0.1.0 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -0
- data/.rspec +0 -0
- data/.rubocop.yml +12 -0
- data/.simplecov +8 -0
- data/.travis.yml +4 -4
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +79 -6
- data/Rakefile +11 -3
- data/bin/console +0 -0
- data/bin/setup +0 -0
- data/lib/vlc_proxy.rb +0 -0
- data/lib/vlc_proxy/client.rb +81 -72
- data/lib/vlc_proxy/configuration.rb +22 -21
- data/lib/vlc_proxy/connection.rb +70 -66
- data/lib/vlc_proxy/exceptions.rb +4 -4
- data/lib/vlc_proxy/version.rb +1 -1
- data/vlc_proxy.gemspec +10 -7
- metadata +42 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 800716aa5e1bb47031fb019e9ca215f06717b47faebc69f0bdfacec48b67a803
|
4
|
+
data.tar.gz: 742ed130d6e8be1017206730e271779879f6912266be8f0af5e00caf388c0256
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f06aaa10e8c30d35a9c173a36493f3e587a30da8fbc6397421118d5d3e15e7bbe506cd619eab56b7842e26497a1c0051744fc3a16cc9db769571106cdda85dd5
|
7
|
+
data.tar.gz: 79059b04d4c470fd9e5a3d16b8099f793011b9dd1d43425e51274f48c70c02ca524a0481a7679cd8fe82df3c194b4c74da6d8f824c16deafdf55ff8c3bb3d4d4
|
data/.gitignore
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/.rubocop.yml
ADDED
data/.simplecov
ADDED
data/.travis.yml
CHANGED
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -1,8 +1,17 @@
|
|
1
1
|
# VlcProxy
|
2
2
|
|
3
|
-
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/vlc_proxy.svg)](https://badge.fury.io/rb/vlc_proxy)
|
4
|
+
[![Build Status](https://travis-ci.org/zsyed91/vlc_proxy.svg?branch=master)](https://travis-ci.org/zsyed91/vlc_proxy)
|
4
5
|
|
5
|
-
|
6
|
+
|
7
|
+
VLC exposes an optional [http server](https://wiki.videolan.org/Documentation:Modules/http_intf/) for remote commands to be called against the
|
8
|
+
running instance of VLC. This can be configured to listen on localhost only and
|
9
|
+
uses HTTP basic auth for authentication.
|
10
|
+
|
11
|
+
The purpose of this gem is to allow programmatic access using ruby against this
|
12
|
+
http server. Possible use cases are scripts to automate VLC, expose automation
|
13
|
+
services to your VLC instance, gather information on your running VLC instance,
|
14
|
+
control VLC programmatically etc.
|
6
15
|
|
7
16
|
## Installation
|
8
17
|
|
@@ -22,17 +31,81 @@ Or install it yourself as:
|
|
22
31
|
|
23
32
|
## Usage
|
24
33
|
|
25
|
-
|
34
|
+
At the top of your application or script load the library:
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
require 'vlc_proxy
|
38
|
+
```
|
39
|
+
|
40
|
+
### Client Usage - Basic Example
|
41
|
+
|
42
|
+
First create the connection object by giving it both the hostname that VLC is
|
43
|
+
running on along with the password set for basic auth. The default port is `8080`
|
44
|
+
and the default scheme is `http`.
|
45
|
+
|
46
|
+
```ruby
|
47
|
+
# Create the connection
|
48
|
+
|
49
|
+
connection = VlcProxy::Connection.new(hostname, password)
|
50
|
+
|
51
|
+
# Create the client
|
52
|
+
client = VlcProxy::Client.new(connection)
|
53
|
+
|
54
|
+
puts client.current_state.inspect
|
55
|
+
```
|
56
|
+
|
57
|
+
### Client Usage - Advanced Example
|
58
|
+
|
59
|
+
If you configure the HTTP server not to use the default port and scheme, you
|
60
|
+
can pass this into the connection object as optional inputs to override the defaults.
|
61
|
+
|
62
|
+
```ruby
|
63
|
+
# Create the connection
|
64
|
+
|
65
|
+
port = 8090
|
66
|
+
connection = VlcProxy::Connection.new(hostname, password, port)
|
67
|
+
|
68
|
+
# Create the client
|
69
|
+
client = VlcProxy::Client.new(connection)
|
70
|
+
|
71
|
+
if client.connection.connected?
|
72
|
+
puts 'Hello VLC'
|
73
|
+
else
|
74
|
+
puts 'Failed to connect to VLC'
|
75
|
+
end
|
76
|
+
```
|
77
|
+
|
78
|
+
### Methods available
|
79
|
+
|
80
|
+
After creating the client, there are multiple methods exposed to interact with
|
81
|
+
the VLC instance. The basic example is to call current state, but we can also
|
82
|
+
make VLC take actions directly available through the UI.
|
83
|
+
|
84
|
+
- current_state
|
85
|
+
- pause_playlist
|
86
|
+
- start_playlist
|
87
|
+
- stop_playlist
|
88
|
+
- next_item
|
89
|
+
- previous_item
|
90
|
+
- toggle_repeat
|
91
|
+
- toggle_loop
|
92
|
+
- toggle_random
|
93
|
+
- toggle_fullscren
|
94
|
+
- increase_volume(amount)
|
95
|
+
- decrease_volume(amount)
|
96
|
+
- volume(amount_with_units)
|
97
|
+
- skip_forward(amount_in_seconds)
|
98
|
+
- skip_backward(amount_in_seconds)
|
26
99
|
|
27
100
|
## Development
|
28
101
|
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake
|
102
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
103
|
|
31
104
|
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).
|
32
105
|
|
33
106
|
## Contributing
|
34
107
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
108
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/zsyed91/vlc_proxy. 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.
|
36
109
|
|
37
110
|
## License
|
38
111
|
|
@@ -40,4 +113,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
40
113
|
|
41
114
|
## Code of Conduct
|
42
115
|
|
43
|
-
Everyone interacting in the VlcProxy project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
116
|
+
Everyone interacting in the VlcProxy project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/zsyed91/vlc_proxy/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
@@ -1,6 +1,14 @@
|
|
1
|
-
require
|
2
|
-
require
|
1
|
+
require 'bundler/gem_tasks'
|
2
|
+
require 'rubocop/rake_task'
|
3
|
+
require 'rspec/core/rake_task'
|
3
4
|
|
5
|
+
desc 'Run RSpec against the spec directory'
|
4
6
|
RSpec::Core::RakeTask.new(:spec)
|
5
7
|
|
6
|
-
|
8
|
+
desc 'Run RuboCop on the lib directory'
|
9
|
+
RuboCop::RakeTask.new(:rubocop) do |task|
|
10
|
+
task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
|
11
|
+
task.fail_on_error = true
|
12
|
+
end
|
13
|
+
|
14
|
+
task :default => [:spec, :rubocop]
|
data/bin/console
CHANGED
File without changes
|
data/bin/setup
CHANGED
File without changes
|
data/lib/vlc_proxy.rb
CHANGED
File without changes
|
data/lib/vlc_proxy/client.rb
CHANGED
@@ -1,72 +1,81 @@
|
|
1
|
-
require 'vlc_proxy/configuration'
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
@
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
end
|
71
|
-
|
72
|
-
|
1
|
+
require 'vlc_proxy/configuration'
|
2
|
+
|
3
|
+
module VlcProxy
|
4
|
+
class Client
|
5
|
+
attr_reader :connection
|
6
|
+
|
7
|
+
def initialize(connection)
|
8
|
+
@connection = connection
|
9
|
+
@logger = VlcProxy.config.logger
|
10
|
+
end
|
11
|
+
|
12
|
+
def current_state
|
13
|
+
request('status')
|
14
|
+
end
|
15
|
+
|
16
|
+
def pause_playlist
|
17
|
+
request('status', 'pl_pause')
|
18
|
+
end
|
19
|
+
|
20
|
+
def start_playlist
|
21
|
+
request('status', 'pl_play')
|
22
|
+
end
|
23
|
+
|
24
|
+
def stop_playlist
|
25
|
+
request('status', 'pl_stop')
|
26
|
+
end
|
27
|
+
|
28
|
+
def next_item
|
29
|
+
request('status', 'pl_next')
|
30
|
+
end
|
31
|
+
|
32
|
+
def previous_item
|
33
|
+
request('status', 'pl_previous')
|
34
|
+
end
|
35
|
+
|
36
|
+
def toggle_repeat
|
37
|
+
request('status', 'pl_repeat')
|
38
|
+
end
|
39
|
+
|
40
|
+
def toggle_loop
|
41
|
+
request('status', 'pl_loop')
|
42
|
+
end
|
43
|
+
|
44
|
+
def toggle_random
|
45
|
+
request('status', 'pl_random')
|
46
|
+
end
|
47
|
+
|
48
|
+
def toggle_fullscreen
|
49
|
+
request('status', 'fullscreen')
|
50
|
+
end
|
51
|
+
|
52
|
+
def increase_volume(value)
|
53
|
+
volume("+#{value.abs}")
|
54
|
+
end
|
55
|
+
|
56
|
+
def decrease_volume(value)
|
57
|
+
volume("-#{value.abs}")
|
58
|
+
end
|
59
|
+
|
60
|
+
def volume(value)
|
61
|
+
request('status', 'volume', val: value)
|
62
|
+
end
|
63
|
+
|
64
|
+
def skip_forward(seconds)
|
65
|
+
request('status', 'seek', val: "+#{seconds.abs}S")
|
66
|
+
end
|
67
|
+
|
68
|
+
def skip_backward(seconds)
|
69
|
+
request('status', 'seek', val: "-#{seconds.abs}S")
|
70
|
+
end
|
71
|
+
|
72
|
+
private
|
73
|
+
|
74
|
+
def request(action, command = '', parameters = {})
|
75
|
+
@connection.execute(action, command, parameters)
|
76
|
+
rescue StandardError => e
|
77
|
+
@logger.error(e.message)
|
78
|
+
raise e
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -1,21 +1,22 @@
|
|
1
|
-
require 'logger'
|
2
|
-
|
3
|
-
module VlcProxy
|
4
|
-
class Configuration
|
5
|
-
|
6
|
-
|
7
|
-
def initialize
|
8
|
-
@logger = Logger.new(
|
9
|
-
@verbose = false
|
10
|
-
end
|
11
|
-
|
12
|
-
def logger
|
13
|
-
@logger.level = Logger::
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
end
|
1
|
+
require 'logger'
|
2
|
+
|
3
|
+
module VlcProxy
|
4
|
+
class Configuration
|
5
|
+
attr_writer :logger, :verbose
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
@logger = Logger.new($stdout)
|
9
|
+
@verbose = false
|
10
|
+
end
|
11
|
+
|
12
|
+
def logger
|
13
|
+
@logger.level = verbose? ? Logger::DEBUG : Logger::INFO
|
14
|
+
|
15
|
+
@logger
|
16
|
+
end
|
17
|
+
|
18
|
+
def verbose?
|
19
|
+
@verbose
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
data/lib/vlc_proxy/connection.rb
CHANGED
@@ -1,66 +1,70 @@
|
|
1
|
-
require 'net/http'
|
2
|
-
require 'nokogiri'
|
3
|
-
|
4
|
-
module VlcProxy
|
5
|
-
# When HTTP enabled on VLC, a LUA web server runs in background listening
|
6
|
-
# on the specific port on localhost by default. VLC requires setting a
|
7
|
-
# password for basic auth as well
|
8
|
-
class Connection
|
9
|
-
def initialize(hostname, password, port = 8080, scheme = 'http')
|
10
|
-
@hostname = hostname
|
11
|
-
@password = password
|
12
|
-
@port = port
|
13
|
-
@scheme = scheme
|
14
|
-
@logger = VlcProxy.config.logger
|
15
|
-
end
|
16
|
-
|
17
|
-
# Test if the connection works with the connection parameters
|
18
|
-
# Returns true if VLC is running and returns a response on /status
|
19
|
-
# Returns false if there are any connection errors
|
20
|
-
def connected?
|
21
|
-
response = execute('status')
|
22
|
-
|
23
|
-
rescue VlcProxy::AccessDeniedError, Errno::ECONNREFUSED => e
|
24
|
-
@logger.error(e.message)
|
25
|
-
false
|
26
|
-
end
|
27
|
-
|
28
|
-
def execute(action, command = '', parameters = {})
|
29
|
-
uri = build_uri(action, command, parameters)
|
30
|
-
request = Net::HTTP::Get.new(uri)
|
31
|
-
request.basic_auth('', @password)
|
32
|
-
|
33
|
-
Net::HTTP.start(uri.hostname, uri.port) do |http|
|
34
|
-
@logger.
|
35
|
-
http.request(request)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
private
|
40
|
-
|
41
|
-
def http_success?(response)
|
42
|
-
response.code == '200'
|
43
|
-
end
|
44
|
-
|
45
|
-
def http_unauthorized?(response)
|
46
|
-
response.code == '401'
|
47
|
-
end
|
48
|
-
|
49
|
-
def
|
50
|
-
return true if http_success?(response)
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
1
|
+
require 'net/http'
|
2
|
+
require 'nokogiri'
|
3
|
+
|
4
|
+
module VlcProxy
|
5
|
+
# When HTTP enabled on VLC, a LUA web server runs in background listening
|
6
|
+
# on the specific port on localhost by default. VLC requires setting a
|
7
|
+
# password for basic auth as well
|
8
|
+
class Connection
|
9
|
+
def initialize(hostname, password, port = 8080, scheme = 'http')
|
10
|
+
@hostname = hostname
|
11
|
+
@password = password
|
12
|
+
@port = port
|
13
|
+
@scheme = scheme
|
14
|
+
@logger = VlcProxy.config.logger
|
15
|
+
end
|
16
|
+
|
17
|
+
# Test if the connection works with the connection parameters
|
18
|
+
# Returns true if VLC is running and returns a response on /status
|
19
|
+
# Returns false if there are any connection errors
|
20
|
+
def connected?
|
21
|
+
response = execute('status')
|
22
|
+
valid_response?(response)
|
23
|
+
rescue VlcProxy::AccessDeniedError, Errno::ECONNREFUSED => e
|
24
|
+
@logger.error(e.message)
|
25
|
+
false
|
26
|
+
end
|
27
|
+
|
28
|
+
def execute(action, command = '', parameters = {})
|
29
|
+
uri = build_uri(action, command, parameters)
|
30
|
+
request = Net::HTTP::Get.new(uri)
|
31
|
+
request.basic_auth('', @password)
|
32
|
+
|
33
|
+
Net::HTTP.start(uri.hostname, uri.port) do |http|
|
34
|
+
@logger.debug('Starting HTTP request')
|
35
|
+
http.request(request)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
private
|
40
|
+
|
41
|
+
def http_success?(response)
|
42
|
+
response.code == '200'
|
43
|
+
end
|
44
|
+
|
45
|
+
def http_unauthorized?(response)
|
46
|
+
response.code == '401'
|
47
|
+
end
|
48
|
+
|
49
|
+
def valid_response?(response)
|
50
|
+
return true if http_success?(response)
|
51
|
+
|
52
|
+
raise VlcProxy::AccessDeniedError if http_unauthorized?(response)
|
53
|
+
|
54
|
+
false
|
55
|
+
end
|
56
|
+
|
57
|
+
def build_uri(action, command = '', parameters = {})
|
58
|
+
base_url = "#{@scheme}://#{@hostname}:#{@port}/requests/#{action}.xml"
|
59
|
+
base_url += "?command=#{command}" unless command.empty?
|
60
|
+
|
61
|
+
unless parameters.empty?
|
62
|
+
params = parameters.map { |key, value| "#{key}=#{value}" }.join('&')
|
63
|
+
base_url += "&#{params}"
|
64
|
+
end
|
65
|
+
|
66
|
+
@logger.debug("built uri: #{base_url}")
|
67
|
+
URI(base_url)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
data/lib/vlc_proxy/exceptions.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# List of custom Exceptions
|
2
|
-
module VlcProxy
|
3
|
-
class AccessDeniedError < StandardError; end
|
4
|
-
end
|
1
|
+
# List of custom Exceptions
|
2
|
+
module VlcProxy
|
3
|
+
class AccessDeniedError < StandardError; end
|
4
|
+
end
|
data/lib/vlc_proxy/version.rb
CHANGED
data/vlc_proxy.gemspec
CHANGED
@@ -18,18 +18,21 @@ Gem::Specification.new do |spec|
|
|
18
18
|
# into git
|
19
19
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
20
20
|
`git ls-files -z`.split("\x0").reject do |f|
|
21
|
-
|
21
|
+
f.match(%r{^(test|spec|features)/}) || f.match(/vlc_proxy-0.1.0.gem/)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
spec.bindir = 'exe'
|
25
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
26
|
spec.require_paths = ['lib']
|
27
27
|
|
28
|
-
|
28
|
+
# Runtime Dependencies
|
29
|
+
spec.add_runtime_dependency 'nokogiri', '>= 1.11.3'
|
29
30
|
|
30
|
-
|
31
|
-
spec.add_development_dependency 'rake', '~>
|
32
|
-
spec.add_development_dependency 'rspec', '~> 3.
|
33
|
-
spec.add_development_dependency 'pry', '~> 0.
|
34
|
-
spec.add_development_dependency 'simplecov', '~> 0.
|
31
|
+
# Development/Test Dependencies
|
32
|
+
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.3'
|
33
|
+
spec.add_development_dependency 'rspec', '~> 3.10'
|
34
|
+
spec.add_development_dependency 'pry', '~> 0.14.1'
|
35
|
+
spec.add_development_dependency 'simplecov', '~> 0.21.2'
|
36
|
+
spec.add_development_dependency 'simplecov-console', '~> 0.9.1'
|
37
|
+
spec.add_development_dependency 'rubocop', '~> 1.13'
|
35
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vlc_proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zshawn Syed
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -16,84 +16,104 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.11.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.11.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 13.0.3
|
34
37
|
type: :development
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - "~>"
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
43
|
+
version: '13.0'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 13.0.3
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
48
|
+
name: rspec
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '10
|
53
|
+
version: '3.10'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '10
|
60
|
+
version: '3.10'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
62
|
+
name: pry
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
67
|
+
version: 0.14.1
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
74
|
+
version: 0.14.1
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
76
|
+
name: simplecov
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
81
|
+
version: 0.21.2
|
76
82
|
type: :development
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
88
|
+
version: 0.21.2
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: simplecov
|
90
|
+
name: simplecov-console
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 0.9.1
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 0.9.1
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rubocop
|
85
105
|
requirement: !ruby/object:Gem::Requirement
|
86
106
|
requirements:
|
87
107
|
- - "~>"
|
88
108
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
109
|
+
version: '1.13'
|
90
110
|
type: :development
|
91
111
|
prerelease: false
|
92
112
|
version_requirements: !ruby/object:Gem::Requirement
|
93
113
|
requirements:
|
94
114
|
- - "~>"
|
95
115
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
116
|
+
version: '1.13'
|
97
117
|
description: Simple Ruby wrapper around the HTTP server VLC exposes
|
98
118
|
email:
|
99
119
|
- zsyed91@gmail.com
|
@@ -103,6 +123,8 @@ extra_rdoc_files: []
|
|
103
123
|
files:
|
104
124
|
- ".gitignore"
|
105
125
|
- ".rspec"
|
126
|
+
- ".rubocop.yml"
|
127
|
+
- ".simplecov"
|
106
128
|
- ".travis.yml"
|
107
129
|
- CODE_OF_CONDUCT.md
|
108
130
|
- Gemfile
|
@@ -137,8 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
159
|
- !ruby/object:Gem::Version
|
138
160
|
version: '0'
|
139
161
|
requirements: []
|
140
|
-
|
141
|
-
rubygems_version: 2.6.8
|
162
|
+
rubygems_version: 3.1.4
|
142
163
|
signing_key:
|
143
164
|
specification_version: 4
|
144
165
|
summary: Simple Ruby wrapper around the HTTP server VLC exposes
|