pragma-policy.gemspec in pragma-policy-0.1.0 vs pragma-policy.gemspec in pragma-policy-2.0.0

- old
+ new

@@ -1,29 +1,32 @@ -# coding: utf-8 +# frozen_string_literal: true + lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'pragma/policy/version' Gem::Specification.new do |spec| - spec.name = "pragma-policy" + spec.name = 'pragma-policy' spec.version = Pragma::Policy::VERSION - spec.authors = ["Alessandro Desantis"] - spec.email = ["desa.alessandro@gmail.com"] + spec.authors = ['Alessandro Desantis'] + spec.email = ['desa.alessandro@gmail.com'] spec.summary = 'Fine-grained access control for your API resources.' - spec.homepage = "https://github.com/pragmarb/pragma-policy" - spec.license = "MIT" + spec.homepage = 'https://github.com/pragmarb/pragma-policy' + spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end - spec.bindir = "exe" + spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - spec.require_paths = ["lib"] + spec.require_paths = ['lib'] - spec.add_development_dependency "bundler" - spec.add_development_dependency "rake" - spec.add_development_dependency "rspec" - spec.add_development_dependency "rubocop" - spec.add_development_dependency "rubocop-rspec" - spec.add_development_dependency "coveralls" + spec.add_dependency 'pundit', '~> 1.1' + + spec.add_development_dependency 'bundler' + spec.add_development_dependency 'rake' + spec.add_development_dependency 'rspec' + spec.add_development_dependency 'rubocop' + spec.add_development_dependency 'rubocop-rspec' + spec.add_development_dependency 'coveralls' end