Skip to content

Commit a56f8d0

Browse files
Reduce packaged gem size (#1140)
1 parent f399b45 commit a56f8d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ As such, _Breaking Changes_ are major. _Features_ would map to either major or m
1414

1515
* Features
1616
* [@tagliala Add back Ruby 3.1 compatibility](https://github.com/mbleigh/acts-as-taggable-on/pull/1082)
17+
* Reduce packaged gem size
1718

1819
### [v11.0.0) / 2024-08-23](https://github.com/mbleigh/acts-as-taggable-on/compare/v10.0.0...v11.0.0)
1920
- Removed support for Ruby 2.7

acts-as-taggable-on.gemspec

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ Gem::Specification.new do |gem|
1010
gem.homepage = 'https://github.com/mbleigh/acts-as-taggable-on'
1111
gem.license = 'MIT'
1212

13-
gem.files = `git ls-files`.split($/)
14-
gem.test_files = gem.files.grep(%r{^spec/})
13+
gem.files = Dir['db/**/*', 'lib/**/*', 'LICENSE.md'].reject { |f| File.directory?(f) }
1514
gem.require_paths = ['lib']
1615
gem.required_ruby_version = '>= 3.1.0'
1716

0 commit comments

Comments
 (0)