Skip to content

Commit

Permalink
Remove specs and old release notes from the gem to reduce gem size by…
Browse files Browse the repository at this point in the history
… over 40%
  • Loading branch information
jeremyevans committed Feb 13, 2020
1 parent ec6a999 commit 729b65d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
=== master

* Remove specs and old release notes from the gem to reduce gem size by over 40% (jeremyevans)

* When using Database#transaction :retry_on, call :before_retry option if retrying even if :num_retries is nil (jcmfernandes) (#1678)

* Support generated columns on SQLite 3.31+ using :generated_always_as and :generated_type options (jeremyevans)
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/{4,5}.*.txt']
s.extra_rdoc_files = ["README.rdoc", "CHANGELOG", "MIT-LICENSE"] + Dir["doc/*.rdoc"] + Dir['doc/release_notes/5.*.txt']
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 Rakefile bin/sequel) + Dir["doc/*.rdoc"] + Dir["doc/release_notes/{4,5}.*.txt"] + Dir["{spec,lib}/**/*.{rb,RB}"]
s.files = %w(MIT-LICENSE CHANGELOG README.rdoc bin/sequel) + Dir["doc/*.rdoc"] + Dir["doc/release_notes/5.*.txt"] + Dir["lib/**/*.rb"]
s.require_path = "lib"
s.bindir = 'bin'
s.executables << 'sequel'
Expand Down

0 comments on commit 729b65d

Please sign in to comment.