gutenberg_rdf.gemspec in gutenberg_rdf-0.4.0 vs gutenberg_rdf.gemspec in gutenberg_rdf-1.0.0
- old
+ new
@@ -1,23 +1,26 @@
-lib = File.expand_path('../lib', __FILE__)
+lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'gutenberg_rdf/version'
+require "gutenberg_rdf/version"
Gem::Specification.new do |spec|
spec.name = "gutenberg_rdf"
spec.version = GutenbergRdf::VERSION
- spec.authors = ["Mike Cook"]
- spec.email = ["m@mikecook.co.uk"]
+ spec.authors = ["Michael R. Cook"]
+ spec.email = ["git@mrcook.uk"]
+
spec.summary = %q{A Ruby wrapper for the Project Gutenberg RDF catalog files.}
spec.description = %q{A Ruby wrapper for the Project Gutenberg RDF catalog files (requires Ruby 2).}
spec.homepage = "https://github.com/mrcook/gutenberg_rdf"
spec.license = "MIT"
- spec.files = `git ls-files`.split($/)
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
+ f.match(%r{^(test|spec|features)/})
+ end
+ spec.bindir = "exe"
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.0.0" # so we have UTF-8 by default
- spec.add_development_dependency "rspec", "~> 2.14"
+ spec.add_development_dependency "rspec", ">= 3.4.0"
end