From: Joseph Southan Date: Wed, 15 Feb 2017 10:41:43 +0000 (+0000) Subject: Remove rake dependency X-Git-Tag: v0.1.0~17^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=3658504ef915e79c265ea08f754b6879b3d4cb17;p=github%2Ffretlink%2Fpronto-hlint.git Remove rake dependency --- diff --git a/pronto-eslint_npm.gemspec b/pronto-eslint_npm.gemspec index 47cbf18..15373f4 100644 --- a/pronto-eslint_npm.gemspec +++ b/pronto-eslint_npm.gemspec @@ -2,7 +2,6 @@ $LOAD_PATH.push File.expand_path('../lib', __FILE__) require 'pronto/eslint_npm/version' -require 'rake' Gem::Specification.new do |s| s.name = 'pronto-eslint_npm' @@ -19,7 +18,7 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.0.0' s.rubygems_version = '1.8.23' - s.files = FileList['LICENSE', 'README.md', 'lib/**/*'] + s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } s.extra_rdoc_files = ['LICENSE', 'README.md'] s.require_paths = ['lib'] s.requirements << 'eslint (in PATH)'