mpd_client 0.0.5 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/mpd_client.gemspec CHANGED
@@ -1,17 +1,25 @@
1
- # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/mpd_client/version', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'mpd_client/version'
3
6
 
4
7
  Gem::Specification.new do |gem|
5
- gem.authors = ["Anton Maminov"]
6
- gem.email = ["anton.linux@gmail.com"]
7
- gem.description = %q{Yet another Ruby MPD client library}
8
- gem.summary = %q{Simple Music Player Daemon library written entirely in Ruby}
9
- gem.homepage = "https://github.com/mamantoha/mpd_client"
8
+ gem.authors = ['Anton Maminov']
9
+ gem.email = ['anton.linux@gmail.com']
10
+ gem.description = 'Yet another Ruby MPD client library'
11
+ gem.summary = 'Simple Music Player Daemon library written entirely in Ruby'
12
+ gem.homepage = 'https://github.com/mamantoha/mpd_client'
10
13
 
11
- gem.files = `git ls-files`.split($\)
12
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
14
+ gem.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
15
+ gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
13
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
- gem.name = "mpd_client"
15
- gem.require_paths = ["lib"]
16
- gem.version = MPDClient::VERSION
17
+ gem.required_ruby_version = '>= 2.6.6'
18
+ gem.name = 'mpd_client'
19
+ gem.require_paths = ['lib']
20
+ gem.version = MPD::Client::VERSION
21
+ gem.license = 'MIT'
22
+
23
+ gem.add_development_dependency 'bundler'
24
+ gem.metadata['rubygems_mfa_required'] = 'true'
17
25
  end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe MPD::Client do
6
+ it 'should have version' do
7
+ expect(MPD::Client::VERSION).to_not be_nil
8
+ end
9
+
10
+ describe '#initialize' do
11
+ it 'should create new client' do
12
+ client = MPD::Client.new
13
+
14
+ expect(client.connected?).to eq(false)
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.unshift File.expand_path(__dir__)
4
+ $LOAD_PATH.unshift File.expand_path('../lib', __dir__)
5
+
6
+ require 'mpd_client'
7
+ require 'rspec'
8
+ require 'pry'
metadata CHANGED
@@ -1,30 +1,53 @@
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.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Maminov
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-18 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2022-05-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: Yet another Ruby MPD client library
14
28
  email:
15
29
  - anton.linux@gmail.com
16
- executables: []
30
+ executables:
31
+ - console
32
+ - setup
17
33
  extensions: []
18
34
  extra_rdoc_files: []
19
35
  files:
20
36
  - ".gitignore"
37
+ - ".hound.yml"
38
+ - ".rubocop.yml"
39
+ - ".travis.yml"
21
40
  - CHANGELOG.md
22
41
  - Gemfile
23
42
  - LICENSE
24
43
  - MPD_COMMANDS.md
25
44
  - README.md
26
- - Rakefile
45
+ - bin/console
46
+ - bin/setup
27
47
  - examples/Gemfile
48
+ - examples/albumart.rb
49
+ - examples/client.rb
50
+ - examples/idle.rb
28
51
  - examples/range.rb
29
52
  - examples/rangeid.rb
30
53
  - examples/search_and_replace_playlist.rb
@@ -32,10 +55,14 @@ files:
32
55
  - lib/mpd_client.rb
33
56
  - lib/mpd_client/version.rb
34
57
  - mpd_client.gemspec
58
+ - spec/mpd_client/mpd_client_spec.rb
59
+ - spec/spec_helper.rb
35
60
  homepage: https://github.com/mamantoha/mpd_client
36
- licenses: []
37
- metadata: {}
38
- post_install_message:
61
+ licenses:
62
+ - MIT
63
+ metadata:
64
+ rubygems_mfa_required: 'true'
65
+ post_install_message:
39
66
  rdoc_options: []
40
67
  require_paths:
41
68
  - lib
@@ -43,16 +70,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
43
70
  requirements:
44
71
  - - ">="
45
72
  - !ruby/object:Gem::Version
46
- version: '0'
73
+ version: 2.6.6
47
74
  required_rubygems_version: !ruby/object:Gem::Requirement
48
75
  requirements:
49
76
  - - ">="
50
77
  - !ruby/object:Gem::Version
51
78
  version: '0'
52
79
  requirements: []
53
- rubyforge_project:
54
- rubygems_version: 2.4.5
55
- signing_key:
80
+ rubygems_version: 3.3.7
81
+ signing_key:
56
82
  specification_version: 4
57
83
  summary: Simple Music Player Daemon library written entirely in Ruby
58
- test_files: []
84
+ test_files:
85
+ - spec/mpd_client/mpd_client_spec.rb
86
+ - spec/spec_helper.rb
data/Rakefile DELETED
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env rake
2
- require "bundler/gem_tasks"