Skip to content

Commit e4b9f65

Browse files
horghclaude
andcommitted
Refactor gemspec file selection to match other repos
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 847b21c commit e4b9f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

minfraud.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
1717

1818
spec.required_ruby_version = '>= 3.2'
1919

20-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^.gitignore$|^Gemfile|^(?:\.github|dev-bin|spec)/}) }
20+
spec.files = Dir['**/*'].difference(Dir['dev-bin/**/*', 'Gemfile*', 'spec/**/*'])
2121
spec.bindir = 'exe'
2222
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2323
spec.require_paths = ['lib']

0 commit comments

Comments
 (0)