./security.gemspec in security-0.1.4 vs ./security.gemspec in security-0.1.5

- old
+ new

@@ -1,21 +1,26 @@ -# -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) -require "security" +# frozen_string_literal: true +$LOAD_PATH.push File.expand_path('lib', __dir__) +require 'security' + Gem::Specification.new do |s| - s.name = "security" - s.authors = ["Mattt"] - s.email = "mattt@me.com" - s.homepage = "https://mat.tt/" + s.name = 'security' + s.authors = ['Josh Holtz', 'Mattt'] + s.email = 'me@joshholtz.com' + s.homepage = 'https://github.com/fastlane-community/security' s.version = Security::VERSION s.platform = Gem::Platform::RUBY - s.license = "MIT" - s.summary = "Interact with the macOS Keychain" + s.license = 'MIT' + s.summary = 'Interact with the macOS Keychain' - s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3' - - s.files = Dir["./**/*"].reject { |file| file =~ /\.\/(bin|log|pkg|script|spec|test|vendor)/ } + s.files = Dir['./**/*'].reject { |file| file =~ %r{\./(bin|log|pkg|script|spec|test|vendor)} } 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.require_paths = ["lib"] + s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } + s.require_paths = ['lib'] + s.required_ruby_version = '>= 2.4.0' + + s.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3' + s.add_development_dependency 'rspec' + s.add_development_dependency 'rspec-github' + s.add_development_dependency 'rubocop' end