mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Reduce gem size by excluding test files (#54)
This commit is contained in:
commit
34df810cd9
2 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
## next (unreleased)
|
## next (unreleased)
|
||||||
|
|
||||||
- Implement `Cookie#to_h`. (#55) @luke-hill @flavorjones
|
- Implement `Cookie#to_h`. (#55) @luke-hill @flavorjones
|
||||||
|
- Reduce gem size by excluding test files
|
||||||
|
|
||||||
## 1.0.8 (2024-12-05)
|
## 1.0.8 (2024-12-05)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,11 @@ Gem::Specification.new do |gem|
|
||||||
gem.homepage = "https://github.com/sparklemotion/http-cookie"
|
gem.homepage = "https://github.com/sparklemotion/http-cookie"
|
||||||
gem.license = "MIT"
|
gem.license = "MIT"
|
||||||
|
|
||||||
gem.files = `git ls-files`.split($/)
|
gem.files = `git ls-files lib`.split($/) + [
|
||||||
|
'CHANGELOG.md',
|
||||||
|
'LICENSE.txt',
|
||||||
|
'README.md',
|
||||||
|
]
|
||||||
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
||||||
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
||||||
gem.require_paths = ["lib"]
|
gem.require_paths = ["lib"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue