rmpd 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,9 @@ module Rmpd
36
36
  def addid(path, pos=nil)
37
37
  # pos is only for r7153+, but what version is that?
38
38
  server_version_at_least(0, 14, 0) if pos
39
- send_command("addid #{quote([path])} #{pos ? pos.to_s : nil}")
39
+ args = [path]
40
+ args << pos if pos
41
+ send_command("addid", *quote(args))
40
42
  @add_id_response_regex ||= /(^Id: )/i
41
43
  if @in_command_list
42
44
  append_command_list_regexp(@add_id_response_regex)
@@ -1,3 +1,3 @@
1
1
  module Rmpd
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmpd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease: false
4
+ hash: 31
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 3
10
- version: 1.0.3
9
+ - 4
10
+ version: 1.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Wollesen
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  requirements: []
137
137
 
138
138
  rubyforge_project:
139
- rubygems_version: 1.3.7
139
+ rubygems_version: 1.6.2
140
140
  signing_key:
141
141
  specification_version: 3
142
142
  summary: Music Player Daemon client in Ruby