mpd_client.gemspec in mpd_client-0.0.6 vs mpd_client.gemspec in mpd_client-0.1.0
- old
+ new
@@ -1,16 +1,23 @@
-require File.expand_path('../lib/mpd_client/version', __FILE__)
+# frozen_string_literal: true
+lib = File.expand_path('lib', __dir__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'mpd_client/version'
+
Gem::Specification.new do |gem|
- gem.authors = ["Anton Maminov"]
- gem.email = ["anton.linux@gmail.com"]
- gem.description = %q{Yet another Ruby MPD client library}
- gem.summary = %q{Simple Music Player Daemon library written entirely in Ruby}
- gem.homepage = "https://github.com/mamantoha/mpd_client"
+ gem.authors = ['Anton Maminov']
+ gem.email = ['anton.linux@gmail.com']
+ gem.description = 'Yet another Ruby MPD client library'
+ gem.summary = 'Simple Music Player Daemon library written entirely in Ruby'
+ gem.homepage = 'https://github.com/mamantoha/mpd_client'
- gem.files = `git ls-files`.split($\)
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
+ gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
- gem.name = "mpd_client"
- gem.require_paths = ["lib"]
- gem.version = MPDClient::VERSION
+ gem.name = 'mpd_client'
+ gem.require_paths = ['lib']
+ gem.version = MPD::Client::VERSION
+ gem.license = 'MIT'
+
+ gem.add_development_dependency 'bundler', '~> 1.16'
end