mpd_client 0.0.5 → 0.0.6

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: 45940a692b506f92dd70498035fac893e9bf4dab
4
- data.tar.gz: 897701b929535c3e416a22e901de2031d7000c98
3
+ metadata.gz: 27d31ef1a606cc442142258bf1bb55cdfd7065c1
4
+ data.tar.gz: 8c255ecc5611f9afb18b19e6c1639bd5881ddbc4
5
5
  SHA512:
6
- metadata.gz: d377d63a337f38905dd2f1230914c4e694e96fc66be7540c4fc475ee02ec30ae1eb2dcdbbaac1fa15b028d5022678b43f4de64b23c5a641f30f2e740924c874a
7
- data.tar.gz: 2c4a4c99ec3c4e56b1a6fafda5e7e6fcda10a383bdcd0b7620aa47f4d3c99cae6ac872fc239e049354693a88407ad63d990dac171064f1960c5a5042909888e9
6
+ metadata.gz: 8ab1676dbed14eaf56a1f95f693edc3c42951524e67a782ac984760ce991fbc3c4825639564c867df4ac38892161bc62e1f1381f1310e676f66531286f075702
7
+ data.tar.gz: a0a33c25af7499037d93f344ece03eafd8cd2515507072b8eae470633c181057822904418925162e8eab65f9bdd7e7908bec082d4b4981ee7045458e33e21ed0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # MPDClient CHANGELOG
2
2
 
3
+ ### 0.0.6
4
+
5
+ * Fixed readcomments command
6
+
3
7
  ### 0.0.5
4
8
 
5
9
  * Support for mount, umount, listmounts, listneighbors
data/Gemfile CHANGED
@@ -2,3 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in mpd_client.gemspec
4
4
  gemspec
5
+
6
+ group :development do
7
+ gem 'pry'
8
+ end
data/README.md CHANGED
@@ -99,9 +99,14 @@ client = MPDClient.new
99
99
  client.log = Logger.new($stderr)
100
100
  ```
101
101
 
102
-
103
102
  For more information about logging configuration, see http://www.ruby-doc.org/stdlib-1.9.3/libdoc/logger/rdoc/Logger.html
104
103
 
104
+ ## Development
105
+
106
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
107
+
108
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
109
+
105
110
  ## Contributing
106
111
 
107
112
  1. Fork it
@@ -112,6 +117,6 @@ For more information about logging configuration, see http://www.ruby-doc.org/st
112
117
 
113
118
  ## License and Author
114
119
 
115
- Copyright (c) 2013-2015 by Anton Maminov
120
+ Copyright (c) 2013-2017 by Anton Maminov
116
121
 
117
122
  This library is distributed under the MIT license. Please see the LICENSE file.
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "mpd_client"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/examples/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'mpd_client', :path => '../'
3
+ gem 'mpd_client', path: '../'
@@ -1,12 +1,10 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
1
  require 'bundler'
4
2
  Bundler.setup :default
5
3
 
6
4
  require 'logger'
7
5
  require 'mpd_client'
8
6
 
9
- #MPDClient.log = Logger.new($stderr)
7
+ # MPDClient.log = Logger.new($stderr)
10
8
 
11
9
  client = MPDClient.new
12
10
 
data/examples/stickers.rb CHANGED
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'bundler'
4
2
  Bundler.setup :default
5
3
 
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  class MPDClient
4
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
5
3
  end
data/lib/mpd_client.rb CHANGED
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require 'socket'
4
2
  require "mpd_client/version"
5
3
 
@@ -91,7 +89,7 @@ COMMANDS = {
91
89
  "searchaddp1" => "fetch_nothing",
92
90
  "update" => "fetch_item",
93
91
  "rescan" => "fetch_item",
94
- "readcomments" => "fetch_item",
92
+ "readcomments" => "fetch_object",
95
93
  # Mounts and neighbors
96
94
  "mount" => "fetch_nothing",
97
95
  "unmount" => "fetch_nothing",
data/mpd_client.gemspec CHANGED
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  require File.expand_path('../lib/mpd_client/version', __FILE__)
3
2
 
4
3
  Gem::Specification.new do |gem|
metadata CHANGED
@@ -1,19 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mpd_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Maminov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-18 00:00:00.000000000 Z
11
+ date: 2017-02-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Yet another Ruby MPD client library
14
14
  email:
15
15
  - anton.linux@gmail.com
16
- executables: []
16
+ executables:
17
+ - console
18
+ - setup
17
19
  extensions: []
18
20
  extra_rdoc_files: []
19
21
  files:
@@ -24,6 +26,8 @@ files:
24
26
  - MPD_COMMANDS.md
25
27
  - README.md
26
28
  - Rakefile
29
+ - bin/console
30
+ - bin/setup
27
31
  - examples/Gemfile
28
32
  - examples/range.rb
29
33
  - examples/rangeid.rb
@@ -51,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
55
  version: '0'
52
56
  requirements: []
53
57
  rubyforge_project:
54
- rubygems_version: 2.4.5
58
+ rubygems_version: 2.6.8
55
59
  signing_key:
56
60
  specification_version: 4
57
61
  summary: Simple Music Player Daemon library written entirely in Ruby