sinatra-subdomain.gemspec in sinatra-subdomain-0.3.0 vs sinatra-subdomain.gemspec in sinatra-subdomain-0.4.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require "./lib/sinatra/subdomain/version"
Gem::Specification.new do |s|
s.name = "sinatra-subdomain"
s.version = Sinatra::Subdomain::Version::STRING
@@ -8,18 +10,23 @@
s.email = ["fnando.vieira@gmail.com"]
s.homepage = "http://rubygems.org/gems/sinatra-subdomain"
s.summary = "Separate routes for subdomains on Sinatra"
s.license = "MIT"
s.description = s.summary
+ s.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- s.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f) }
+ s.executables = `git ls-files -- bin/*`
+ .split("\n")
+ .map {|f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency "sinatra"
s.add_development_dependency "minitest-utils"
- s.add_development_dependency "rake"
- s.add_development_dependency "rack-test"
s.add_development_dependency "pry-meta"
- s.add_development_dependency "codeclimate-test-reporter"
+ s.add_development_dependency "rack-test"
+ s.add_development_dependency "rake"
+ s.add_development_dependency "rubocop"
+ s.add_development_dependency "rubocop-fnando"
+ s.add_development_dependency "simplecov"
end