From 6399bcd85d07114abcf5bcbd164bf8b1215d4130 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 2 Aug 2024 17:20:30 +0900 Subject: [PATCH] Exclude spec files from gem package --- CHANGELOG.md | 1 + slack-ruby-client.gemspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f71fd6d..72f30ccc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### 2.4.1 (Next) +* [#525](https://github.com/slack-ruby/slack-ruby-client/pull/525): Exclude spec files from gem package - [@amatsuda](https://github.com/amatsuda). * Your contribution here. ### 2.4.0 (2024/07/14) diff --git a/slack-ruby-client.gemspec b/slack-ruby-client.gemspec index 10a9d7ae..e0dddc33 100644 --- a/slack-ruby-client.gemspec +++ b/slack-ruby-client.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.required_ruby_version = '>= 2.7' s.required_rubygems_version = '>= 1.3.6' - s.files = `git ls-files`.split("\n") + s.files = `git ls-files`.split("\n").grep_v(%r{^spec/}) s.require_paths = ['lib'] s.homepage = 'http://github.com/slack-ruby/slack-ruby-client' s.licenses = ['MIT']