permalink.gemspec in permalink-2.0.0 vs permalink.gemspec in permalink-2.1.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require "./lib/permalink/version"
Gem::Specification.new do |s|
s.name = "permalink"
s.version = Permalink::Version::STRING
@@ -8,16 +10,22 @@
s.email = ["fnando.vieira@gmail.com"]
s.homepage = "http://rubygems.org/gems/permalink"
s.summary = "Generate permalink attributes on ActiveModel/ActiveRecord"
s.description = s.summary
s.license = "MIT"
+ 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 "activerecord"
- s.add_development_dependency "sqlite3"
s.add_development_dependency "minitest-utils"
s.add_development_dependency "rake"
+ s.add_development_dependency "rubocop"
+ s.add_development_dependency "rubocop-fnando"
+ s.add_development_dependency "simplecov"
+ s.add_development_dependency "sqlite3"
end