From 505df2fc94cbf4f547046fd62fbfb35f37e1e5a4 Mon Sep 17 00:00:00 2001 From: Zoran Pesic Date: Sun, 19 Nov 2023 00:38:59 -0800 Subject: [PATCH] clean up gemspec, lean out build files --- fitbit_api.gemspec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fitbit_api.gemspec b/fitbit_api.gemspec index fffca03..dba50df 100644 --- a/fitbit_api.gemspec +++ b/fitbit_api.gemspec @@ -21,9 +21,7 @@ Gem::Specification.new do |spec| 'rubygems_mfa_required' => 'true' } - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|test|spec|features)/}) } - spec.bindir = 'exe' - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.files = Dir['*.{md,txt}', 'lib/**/*'] spec.require_paths = ['lib'] spec.required_ruby_version = '>= 1.9.3'