Skip to content

Commit

Permalink
Reduce gem size by 25% by removing documentation
Browse files Browse the repository at this point in the history
While there is some value in shipping documentation with the gem,
I think the reduction is gem size is worth removing it.
  • Loading branch information
jeremyevans committed Aug 15, 2024
1 parent f851d1b commit cf856e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
=== master

* Remove documentation from the gem to reduce gem size by 25% (jeremyevans)

=== 5.83.1 (2024-08-08)

* Restore unescaping of database file paths in the sqlite and amalgalite adapters (jeremyevans) (#2201)
Expand Down
4 changes: 2 additions & 2 deletions sequel.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SEQUEL_GEMSPEC = Gem::Specification.new do |s|
s.name = 'sequel'
s.version = Sequel.version
s.platform = Gem::Platform::RUBY
s.extra_rdoc_files = ["README.rdoc", "CHANGELOG", "MIT-LICENSE"] + Dir["doc/*.rdoc"] + Dir['doc/release_notes/5.*.txt']
s.extra_rdoc_files = ["MIT-LICENSE"]
s.rdoc_options += ["--quiet", "--line-numbers", "--inline-source", '--title', 'Sequel: The Database Toolkit for Ruby', '--main', 'README.rdoc']
s.summary = "The Database Toolkit for Ruby"
s.description = s.summary
Expand All @@ -19,7 +19,7 @@ SEQUEL_GEMSPEC = Gem::Specification.new do |s|
'source_code_uri' => 'https://github.com/jeremyevans/sequel',
}
s.required_ruby_version = ">= 1.9.2"
s.files = %w(MIT-LICENSE CHANGELOG README.rdoc bin/sequel) + Dir["doc/*.rdoc"] + Dir["doc/release_notes/5.*.txt"] + Dir["lib/**/*.rb"]
s.files = %w(MIT-LICENSE bin/sequel) + Dir["lib/**/*.rb"]
s.require_path = "lib"
s.bindir = 'bin'
s.executables << 'sequel'
Expand Down

0 comments on commit cf856e8

Please sign in to comment.