mpvlib 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -2
- data/lib/mpvlib/handle.rb +4 -1
- data/lib/mpvlib/version.rb +1 -1
- data/mpvlib.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aafe579a0cc4807c44cf4aa0b6cab484fe972dd2f67df0600a140f9ca3b7ba30
|
4
|
+
data.tar.gz: d951cb58da7bc4c7dc8a3c1829163fc3b319b06e5f0633b9332c8dd950c0339c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be6081898350a4f9c97563029a2e608feb29b26f08ffc00990579a680801ab2f5c2d2073e8268b5357e13d3b6f48020cfdf8b8a2e81d48adbdf28a4c152db0cb
|
7
|
+
data.tar.gz: 203d3df2cdce9de2407238cdbe20437bbc4c2383d1781aaa928a00e0541d8819f1b886ed8cfcb8a670d8fda730feb90c48ff28d641f79057d26c490a36ce0442
|
data/Rakefile
CHANGED
data/lib/mpvlib/handle.rb
CHANGED
@@ -257,7 +257,10 @@ module MPV
|
|
257
257
|
if playlist
|
258
258
|
@playlist_file.dirname.mkpath
|
259
259
|
@playlist_file.open('w') do |io|
|
260
|
-
playlist.each { |p|
|
260
|
+
playlist.each { |p|
|
261
|
+
raise "Track in playlist not defined or nonexistant: #{p.inspect}" unless p && p.exist?
|
262
|
+
io.puts(p)
|
263
|
+
}
|
261
264
|
end
|
262
265
|
end
|
263
266
|
loadlist(@playlist_file)
|
data/lib/mpvlib/version.rb
CHANGED
data/mpvlib.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
20
20
|
s.require_path = 'lib'
|
21
21
|
|
22
|
-
s.add_dependency 'ffi'
|
22
|
+
s.add_dependency 'ffi', '~> 1.9'
|
23
23
|
s.add_dependency 'json', '~> 2.1'
|
24
24
|
s.add_dependency 'hashstruct', '~> 1.3'
|
25
25
|
s.add_dependency 'path', '~> 2.0'
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mpvlib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.4'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Labovitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.9'
|
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: '
|
26
|
+
version: '1.9'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|