Skip to content

Commit cf856e8

Browse files
committed
Reduce gem size by 25% by removing documentation
While there is some value in shipping documentation with the gem, I think the reduction is gem size is worth removing it.
1 parent f851d1b commit cf856e8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
=== master
2+
3+
* Remove documentation from the gem to reduce gem size by 25% (jeremyevans)
4+
15
=== 5.83.1 (2024-08-08)
26

37
* Restore unescaping of database file paths in the sqlite and amalgalite adapters (jeremyevans) (#2201)

sequel.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SEQUEL_GEMSPEC = Gem::Specification.new do |s|
33
s.name = 'sequel'
44
s.version = Sequel.version
55
s.platform = Gem::Platform::RUBY
6-
s.extra_rdoc_files = ["README.rdoc", "CHANGELOG", "MIT-LICENSE"] + Dir["doc/*.rdoc"] + Dir['doc/release_notes/5.*.txt']
6+
s.extra_rdoc_files = ["MIT-LICENSE"]
77
s.rdoc_options += ["--quiet", "--line-numbers", "--inline-source", '--title', 'Sequel: The Database Toolkit for Ruby', '--main', 'README.rdoc']
88
s.summary = "The Database Toolkit for Ruby"
99
s.description = s.summary
@@ -19,7 +19,7 @@ SEQUEL_GEMSPEC = Gem::Specification.new do |s|
1919
'source_code_uri' => 'https://github.com/jeremyevans/sequel',
2020
}
2121
s.required_ruby_version = ">= 1.9.2"
22-
s.files = %w(MIT-LICENSE CHANGELOG README.rdoc bin/sequel) + Dir["doc/*.rdoc"] + Dir["doc/release_notes/5.*.txt"] + Dir["lib/**/*.rb"]
22+
s.files = %w(MIT-LICENSE bin/sequel) + Dir["lib/**/*.rb"]
2323
s.require_path = "lib"
2424
s.bindir = 'bin'
2525
s.executables << 'sequel'

0 commit comments

Comments
 (0)