File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
## next (unreleased)
2
2
3
3
- Implement ` Cookie#to_h ` . (#55 ) @luke-hill @flavorjones
4
+ - Reduce gem size by excluding test files
4
5
5
6
## 1.0.8 (2024-12-05)
6
7
Original file line number Diff line number Diff line change @@ -18,7 +18,14 @@ Gem::Specification.new do |gem|
18
18
gem . homepage = "https://github.com/sparklemotion/http-cookie"
19
19
gem . license = "MIT"
20
20
21
- gem . files = `git ls-files` . split ( $/)
21
+ gem . files = Dir . glob ( 'lib/**/*' ) + [
22
+ 'CHANGELOG.md' ,
23
+ 'Gemfile' ,
24
+ 'LICENSE.txt' ,
25
+ 'Rakefile' ,
26
+ 'README.md' ,
27
+ 'http-cookie.gemspec'
28
+ ]
22
29
gem . executables = gem . files . grep ( %r{^bin/} ) . map { |f | File . basename ( f ) }
23
30
gem . test_files = gem . files . grep ( %r{^(test|spec|features)/} )
24
31
gem . require_paths = [ "lib" ]
You can’t perform that action at this time.
0 commit comments