mpd_client 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +4 -0
- data/README.md +7 -2
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/examples/Gemfile +1 -1
- data/examples/search_and_replace_playlist.rb +1 -3
- data/examples/stickers.rb +0 -2
- data/lib/mpd_client/version.rb +1 -3
- data/lib/mpd_client.rb +1 -3
- data/mpd_client.gemspec +0 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27d31ef1a606cc442142258bf1bb55cdfd7065c1
|
4
|
+
data.tar.gz: 8c255ecc5611f9afb18b19e6c1639bd5881ddbc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ab1676dbed14eaf56a1f95f693edc3c42951524e67a782ac984760ce991fbc3c4825639564c867df4ac38892161bc62e1f1381f1310e676f66531286f075702
|
7
|
+
data.tar.gz: a0a33c25af7499037d93f344ece03eafd8cd2515507072b8eae470633c181057822904418925162e8eab65f9bdd7e7908bec082d4b4981ee7045458e33e21ed0
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
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-
|
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
data/examples/Gemfile
CHANGED
data/examples/stickers.rb
CHANGED
data/lib/mpd_client/version.rb
CHANGED
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" => "
|
92
|
+
"readcomments" => "fetch_object",
|
95
93
|
# Mounts and neighbors
|
96
94
|
"mount" => "fetch_nothing",
|
97
95
|
"unmount" => "fetch_nothing",
|
data/mpd_client.gemspec
CHANGED
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.
|
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:
|
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.
|
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
|