vlc_proxy 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 55af8fdb16a59d8aabde1102d3c94d8c66f2f55eb30e408c30f632602b6c0c35
4
- data.tar.gz: 0e00741374165ae9cfc4b2907acc67ff5827d82624e8927293e03255fc79ae5c
3
+ metadata.gz: 8ebd54791b3ef053f0e0781e97dd0fdd283b72aa5face0ad5be2c40f92299532
4
+ data.tar.gz: 7b2e44692a6d40600390cede35cb7ccabe9ed14ec8e5eb5e8dcbc2b525611747
5
5
  SHA512:
6
- metadata.gz: f61cd8c90688ed04f5a422ffaa20393de9039766273dd430f62b556fe2e0f7e47185d425e267c88809b871d90aa74d590bfed15270299658a56b936fa1a7f4cc
7
- data.tar.gz: 4df5dd0df57f09bc936bc2b23d73be36bbf0056902b03c3b9893650bd5fe77c795698b66052476f379683bf2bc8e53abbd8987a172c6b36bc090333f440fc646
6
+ metadata.gz: 43d852d9c6659f446b836613db12ad8ba34709998eccf2573d12e0ae88cc65341c492fcc1b5c8f9fe67af2cf2086db18cfae5be4159da6d2258b26d1e8f8c93a
7
+ data.tar.gz: 87b50b794fb08d8caa2582926f845b040743f0b1b7649c94663ee93e046cd1eacf2fb9b5c6044846db6f4113f69b9b46c71934a324536a28d5e2159525891790
data/.gitignore CHANGED
File without changes
data/.rspec CHANGED
File without changes
data/.rubocop.yml CHANGED
File without changes
data/.simplecov CHANGED
File without changes
data/.travis.yml CHANGED
File without changes
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
File without changes
data/Rakefile CHANGED
File without changes
data/bin/console CHANGED
File without changes
data/bin/setup CHANGED
File without changes
data/lib/vlc_proxy.rb CHANGED
File without changes
@@ -50,11 +50,15 @@ module VlcProxy
50
50
  end
51
51
 
52
52
  def increase_volume(value)
53
- request('status', 'volume', val: "+#{value.abs}")
53
+ volume("+#{value.abs}")
54
54
  end
55
55
 
56
56
  def decrease_volume(value)
57
- request('status', 'volume', val: "-#{value.abs}")
57
+ volume("-#{value.abs}")
58
+ end
59
+
60
+ def volume(value)
61
+ request('status', 'volume', val: value)
58
62
  end
59
63
 
60
64
  def skip_forward(seconds)
File without changes
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module VlcProxy
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
data/vlc_proxy.gemspec CHANGED
File without changes
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zshawn Syed
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-02 00:00:00.000000000 Z
11
+ date: 2021-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  requirements: []
162
- rubygems_version: 3.0.3
162
+ rubygems_version: 3.1.4
163
163
  signing_key:
164
164
  specification_version: 4
165
165
  summary: Simple Ruby wrapper around the HTTP server VLC exposes