ruby-mpd 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 333202eda4c6c22e46460282a43a3b371b715c1b
4
+ data.tar.gz: f6ff86a19897bb351ed6fd9a89bcb01a9189e3d8
5
+ SHA512:
6
+ metadata.gz: ece754b4d084735f77375d249c2747fd5a8d628235635fa1b154c77026aa1a72ace0b4e3f1de078ac7d342bf86e60058dcd07566a0ff1f5356481cc9827c2e5b
7
+ data.tar.gz: 7228fce8013d9d60481485fe9565ea0a8ba30c40ea0c232c50187dea8ff11f936fa1910de46bd645fbd91448cd7ad20257a727373aa5815bb74f4f80a74f8d15
@@ -5,6 +5,9 @@ class MPD
5
5
 
6
6
  # Counts the number of songs and their total playtime
7
7
  # in the db matching, matching the searched tag exactly.
8
+ #
9
+ # If you need a count on the entire database, look at
10
+ # {#stats #stats}.
8
11
  # @return [Hash] a hash with +songs+ and +playtime+ keys.
9
12
  def count(type, what)
10
13
  send_command :count, type, what
@@ -26,7 +26,7 @@ class MPD
26
26
  # Optionally, one can specify the position on which to add the song (since MPD 0.14).
27
27
  # @return [Integer] id of the song that was added.
28
28
  def addid(path, pos=nil)
29
- send_command :addid, pos
29
+ send_command :addid, path, pos
30
30
  end
31
31
 
32
32
  # Clears the current queue.
data/ruby-mpd.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |s|
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.name = 'ruby-mpd'
6
- s.version = '0.2.0'
6
+ s.version = '0.2.1'
7
7
  s.homepage = 'https://github.com/archSeer/ruby-mpd'
8
8
  s.authors = ["Blaž Hrastnik"]
9
9
  s.email = ['speed.the.bboy@gmail.com']
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-mpd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Blaž Hrastnik
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-29 00:00:00.000000000 Z
11
+ date: 2013-03-09 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: A powerful, modern and feature complete library for the Music Player
15
14
  Daemon.
@@ -41,27 +40,26 @@ files:
41
40
  - test/libtests.rb
42
41
  homepage: https://github.com/archSeer/ruby-mpd
43
42
  licenses: []
43
+ metadata: {}
44
44
  post_install_message:
45
45
  rdoc_options: []
46
46
  require_paths:
47
47
  - lib
48
48
  required_ruby_version: !ruby/object:Gem::Requirement
49
- none: false
50
49
  requirements:
51
- - - ! '>='
50
+ - - '>='
52
51
  - !ruby/object:Gem::Version
53
52
  version: '0'
54
53
  required_rubygems_version: !ruby/object:Gem::Requirement
55
- none: false
56
54
  requirements:
57
- - - ! '>='
55
+ - - '>='
58
56
  - !ruby/object:Gem::Version
59
57
  version: '0'
60
58
  requirements: []
61
59
  rubyforge_project:
62
- rubygems_version: 1.8.23
60
+ rubygems_version: 2.0.2
63
61
  signing_key:
64
- specification_version: 3
62
+ specification_version: 4
65
63
  summary: Modern client library for MPD
66
64
  test_files:
67
65
  - test/libtests.rb