diff --git a/Gemfile b/Gemfile index e79d56a..433ce3f 100644 --- a/Gemfile +++ b/Gemfile @@ -8,12 +8,12 @@ gemspec # Enable testing of multiple rails versions rails_version = ENV["RAILS_VERSION"] || "default" rails = case rails_version - when "main" - {github: "rails/rails", branch: "main"} - when "default" - ">= 6.1.0" - else - "~> #{rails_version}" +when "main" + {github: "rails/rails", branch: "main"} +when "default" + ">= 6.1.0" +else + "~> #{rails_version}" end gem "rails", rails ############################################### diff --git a/route_downcaser.gemspec b/route_downcaser.gemspec index ff9d6af..9d40577 100644 --- a/route_downcaser.gemspec +++ b/route_downcaser.gemspec @@ -15,12 +15,11 @@ Gem::Specification.new do |s| s.homepage = "https://github.com/carstengehling/route_downcaser" s.summary = "Makes routing in Rails case-insensitive" s.description = - "This gem hooks into the Rack middleware of Rails. This way all paths are "\ - "downcased before dispatching to Rails' routing mechanism. Querystring "\ + "This gem hooks into the Rack middleware of Rails. This way all paths are " \ + "downcased before dispatching to Rails' routing mechanism. Querystring " \ "parameters are not changed in any way." s.files = Dir["{lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"] - s.test_files = Dir["test/**/*"] s.add_runtime_dependency "activesupport", ">= 3.2" s.add_development_dependency "standard" end