ruby-mpd 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby-mpd/parser.rb +2 -2
- data/lib/ruby-mpd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bf3cf234bf56dbec2bd466c2457668b8eb8fa32
|
4
|
+
data.tar.gz: fadab4800a679ef6ea76bb3ac0a8ef8490fd7517
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 420a8bdb88f526907171f901ab09ee50427aec387b4d3895f4841af2858723891be0b662c4aafd0b303108446a28051e0570e49a0a61a00b443c213b019a59aa
|
7
|
+
data.tar.gz: 3f36bd23833a605f48a4b507874afff877f8130d0f1e097ebd58afbba04a6e87afd9d5e422f09c0ebdfa7bcf7db8a92f726e4190303de8ed919b586cd6e50f08
|
data/lib/ruby-mpd/parser.rb
CHANGED
@@ -23,7 +23,7 @@ class MPD
|
|
23
23
|
"#{word.begin}:#{word.end + (word.exclude_end? ? 0 : 1)}"
|
24
24
|
end
|
25
25
|
elsif word.is_a?(MPD::Song)
|
26
|
-
word.file
|
26
|
+
%Q["#{word.file}"] # escape filename
|
27
27
|
else
|
28
28
|
# escape any strings with space (wrap in double quotes)
|
29
29
|
word = word.to_s
|
@@ -49,7 +49,7 @@ class MPD
|
|
49
49
|
RETURN_ARRAY = [:channels, :outputs, :readmessages, :list, :listall,
|
50
50
|
:listallinfo, :find, :search, :listplaylists, :listplaylist, :playlistfind,
|
51
51
|
:playlistsearch, :plchanges, :tagtypes, :commands, :notcommands, :urlhandlers,
|
52
|
-
:decoders, :listplaylistinfo]
|
52
|
+
:decoders, :listplaylistinfo, :playlistinfo]
|
53
53
|
|
54
54
|
# Parses key-value pairs into correct class.
|
55
55
|
def parse_key(key, value)
|
data/lib/ruby-mpd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-mpd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blaž Hrastnik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A powerful, modern and feature complete library for the Music Player
|
14
14
|
Daemon.
|