From 3658504ef915e79c265ea08f754b6879b3d4cb17 Mon Sep 17 00:00:00 2001 From: Joseph Southan Date: Wed, 15 Feb 2017 10:41:43 +0000 Subject: [PATCH] Remove rake dependency --- pronto-eslint_npm.gemspec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)' -- 2.41.0