ar-uuid.gemspec in ar-uuid-0.2.1 vs ar-uuid.gemspec in ar-uuid-0.2.2

- old
+ new

@@ -1,20 +1,24 @@ # frozen_string_literal: true -require "./lib/active_record/uuid/version" +require "./lib/ar/uuid/version" Gem::Specification.new do |spec| spec.name = "ar-uuid" - spec.version = ActiveRecord::UUID::VERSION + spec.version = AR::UUID::VERSION spec.authors = ["Nando Vieira"] spec.email = ["fnando.vieira@gmail.com"] - spec.summary = %[Add UUID support for ActiveRecord. It enforces uuid primary keys, fixes ActiveRecord's first/last methods and more.] + spec.summary = "Override migration methods to support UUID columns " \ + "without having to be explicit about it." spec.description = spec.summary spec.homepage = "http://rubygems.org/gems/ar-uuid" spec.license = "MIT" + spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0") - spec.files = `git ls-files -z`.split("\x0").reject {|f| f.match(%r{^(test|spec|features)/}) } + spec.files = `git ls-files -z` + .split("\x0") + .reject {|f| f.match(%r{^(test|spec|features)/}) } spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) } spec.require_paths = ["lib"] spec.add_dependency "activerecord" @@ -23,7 +27,9 @@ spec.add_development_dependency "minitest-utils" spec.add_development_dependency "mocha" spec.add_development_dependency "pg" spec.add_development_dependency "pry-meta" spec.add_development_dependency "rake" + spec.add_development_dependency "rubocop" + spec.add_development_dependency "rubocop-fnando" spec.add_development_dependency "simplecov" end