o-mpd_client 0.2.0.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
+ SHA256:
3
+ metadata.gz: 32f1b3ac3557bccb3e20ac2f1019d8a7445e6b04bc69ee6b5f0e21ba51ebd241
4
+ data.tar.gz: b56fc360f9600e25f7431864364bf464967f3520d7ac25b2580a559965b7a52c
5
+ SHA512:
6
+ metadata.gz: 1a66b369a6a951cf84bf9056439200dceb68dbc7dc7fdd46ee091acc0f1109a908cd76f141191cb8139caf2f5a473925536ba18f88fc9c2a5b3b013c10c70b54
7
+ data.tar.gz: 8e382a6ec23c6bba0ca7aa06aa3447a063bef6b260073f67bcdfd8373d0390a40c6e5c223713882f9357dae40ad7de1b7a92882c90b1c8d80c5e7536679ee701
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/.hound.yml ADDED
@@ -0,0 +1,2 @@
1
+ rubocop:
2
+ config_file: .rubocop.yml
data/.rubocop.yml ADDED
@@ -0,0 +1,30 @@
1
+ AllCops:
2
+ NewCops: enable
3
+
4
+ Layout/LineLength:
5
+ Max: 120
6
+
7
+ Metrics/AbcSize:
8
+ Enabled: false
9
+
10
+ Metrics/ClassLength:
11
+ Enabled: false
12
+
13
+ Metrics/MethodLength:
14
+ Enabled: false
15
+
16
+ Metrics/ModuleLength:
17
+ Enabled: false
18
+
19
+ # TODO FIXME
20
+ Metrics/CyclomaticComplexity:
21
+ Max: 7
22
+
23
+ Metrics/PerceivedComplexity:
24
+ Max: 8
25
+
26
+ Security/Eval:
27
+ Exclude:
28
+ - 'lib/mpd_client.rb'
29
+
30
+
data/.travis.yml ADDED
@@ -0,0 +1,10 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 3.1.2
5
+ - 3.0.4
6
+ - 2.7.6
7
+
8
+ script:
9
+ - rspec
10
+ - rubocop
data/CHANGELOG.md ADDED
@@ -0,0 +1,44 @@
1
+ # MPD::Client CHANGELOG
2
+
3
+ ## 0.2.0
4
+
5
+ * Tested with Ruby 3.1
6
+ * Add `albumart` command
7
+ * Add `readpicture` command
8
+ * Remove `playlist` command. Use `playlistinfo` instead
9
+
10
+ ## 0.1.0
11
+
12
+ * Rename `MPDClient` to `MPD::Client`
13
+
14
+ ## 0.0.6
15
+
16
+ * Fixed readcomments command
17
+
18
+ ## 0.0.5
19
+
20
+ * Support for mount, umount, listmounts, listneighbors
21
+ * Support for listfiles
22
+ * Support for rangeid, addtagid, cleartagid
23
+
24
+ ## 0.0.4
25
+
26
+ * Added support for readcomments, toggleoutput, volume
27
+ * Added a mutex protecting execution of MPD commands
28
+ * Automatic reconnect after the server dropped the connection
29
+
30
+ ## 0.0.3
31
+
32
+ * Support for logging
33
+ * Better support for fetching stickers from MPD
34
+ * Fixed sticker commands
35
+ * Add support for ranges
36
+
37
+ ## 0.0.2
38
+
39
+ * Support for connecting to unix domain sockets
40
+ * Fixed some bugs
41
+
42
+ ## 0.0.1
43
+
44
+ * Porting code from mpd-python2
data/Gemfile ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in mpd_client.gemspec
6
+ gemspec
7
+
8
+ group :development, :test do
9
+ gem 'pry'
10
+ gem 'rubocop'
11
+ gem 'solargraph'
12
+ end
13
+
14
+ group :test do
15
+ gem 'rspec'
16
+ end
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012-2022 Anton Maminov
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.