From a6cc02cd9e71f917a93e0bbc5f7adcdd7171d1f7 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Thu, 11 Apr 2024 08:45:44 +0200 Subject: [PATCH] squasher.gemspec: use long description Being able to learn on Rubygems.org what a gem does is... good? --- squasher.gemspec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/squasher.gemspec b/squasher.gemspec index b38be87..e50163f 100644 --- a/squasher.gemspec +++ b/squasher.gemspec @@ -8,7 +8,14 @@ Gem::Specification.new do |spec| spec.version = Squasher::VERSION spec.authors = ["Sergey Pchelintsev"] spec.email = ["linz.sergey@gmail.com"] - spec.description = %q{Squash your old migrations} + spec.description = <<-DESCRIPTION.chomp.gsub("\n", " ") +Squasher compresses old ActiveRecord migrations. On a big project with +many migrations, every rake db:migrate might take a few seconds, or creating +of a new database might take a few minutes. That's because ActiveRecord loads +all those migration files. Squasher removes all the migrations and creates a +single migration with the final database state of the specified date. +The new migration will look like a schema.rb file. +DESCRIPTION spec.summary = %q{Squash your old migrations} spec.homepage = "https://github.com/jalkoby/squasher" spec.license = "MIT"