mpv 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a56beb79994103bfdb822f55160b357c84288459
4
- data.tar.gz: 8c8356594fd17c1887019136f3f57f9eb359668d
3
+ metadata.gz: c5f7875932a25a59627917afb95371783162e45c
4
+ data.tar.gz: 621441b57e73a1e599616e4ef7f3fbd980eb0a3d
5
5
  SHA512:
6
- metadata.gz: a5cccbc367d135c2da27cc9dc881df213df3ddb3a85585381828283197f5a3eb8e28ca9077d43209076c62899085fa92a449b18099807191612fb41d3ad0ab6d
7
- data.tar.gz: d76614aacb7a00f0fba4758ff0c30f857b43fadb02c2747bef1e72a6c88aea3c71af3a1cd2f299430e346ba4f398aa33bef638f23f3debb173f22564ab9a391d
6
+ metadata.gz: bea68288b46ccf3802c3fc59e0e5c99a297475d5f18ebf8d8a71825b0be9a5574c2281b8732fc62095333a24a94f8c7806a4c2ad2abc4b8fa1914b32e19e71dc
7
+ data.tar.gz: 54c7eee347775ddb511177fb02559182a986e633e3f20a7d44d93f276fbd6524cbe9a4894c35f4a802f35e479b2a8fafcfe6520e07004d10577893a7d53ef64c
data/lib/mpv.rb CHANGED
@@ -8,5 +8,5 @@ require_relative "mpv/session"
8
8
  # The toplevel namespace for ruby-mpv.
9
9
  module MPV
10
10
  # The current version of ruby-mpv.
11
- VERSION = "1.2.0".freeze
11
+ VERSION = "1.2.1".freeze
12
12
  end
@@ -1,13 +1,16 @@
1
1
  module MPV
2
+ # A generic error class for ruby-mpv.
2
3
  class MPVError < RuntimeError
3
4
  end
4
5
 
6
+ # Raised when `mpv` cannot be executed.
5
7
  class MPVNotAvailableError < MPVError
6
8
  def initialize
7
9
  super "Could not find an mpv binary to execute in the system path"
8
10
  end
9
11
  end
10
12
 
13
+ # Raised when `mpv` doesn't support a requested flag.
11
14
  class MPVUnsupportedFlagError < MPVError
12
15
  def initialize(flag)
13
16
  super "Installed mpv doesn't support the #{flag} flag"
@@ -1,4 +1,5 @@
1
1
  module MPV
2
+ # Various utility methods for ruby-mpv.
2
3
  module Utils
3
4
  # Tests whether the given utility is available in the system path.
4
5
  # @param util [String] the utility to test
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mpv
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Woodruff