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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b78cfe440cb52c23cdb96e3c920797cec192adf4
4
- data.tar.gz: 7bcbd0c9634377e11617dc2e71c9754d8435300f
3
+ metadata.gz: 9bf3cf234bf56dbec2bd466c2457668b8eb8fa32
4
+ data.tar.gz: fadab4800a679ef6ea76bb3ac0a8ef8490fd7517
5
5
  SHA512:
6
- metadata.gz: 9cc8405f580660de9322ff63eaa01b34d85b593b394f5583fa71a9f158eea97bd1247e7e779053873a4b19740d73ae54402061a3164042078cadae4cf70fcd4e
7
- data.tar.gz: 2f529fee81a65c1b676956181c11c3b066f8e0a7c3a4a68ba737efd45e70433a1b7b6c3acd7406f10cd0e75dcfbce6765629a96601cbccf3909317334ce90273
6
+ metadata.gz: 420a8bdb88f526907171f901ab09ee50427aec387b4d3895f4841af2858723891be0b662c4aafd0b303108446a28051e0570e49a0a61a00b443c213b019a59aa
7
+ data.tar.gz: 3f36bd23833a605f48a4b507874afff877f8130d0f1e097ebd58afbba04a6e87afd9d5e422f09c0ebdfa7bcf7db8a92f726e4190303de8ed919b586cd6e50f08
@@ -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)
@@ -1,3 +1,3 @@
1
1
  class MPD
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
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.3
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-09 00:00:00.000000000 Z
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.