From 0a50a3e7f91f5b2fd3aeaef002678a6aed48135a Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Thu, 7 Dec 2017 22:39:36 -0500 Subject: [PATCH] Dependency changes in gemspec --- capistrano-secrets-yml.gemspec | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/capistrano-secrets-yml.gemspec b/capistrano-secrets-yml.gemspec index cf34d51..94ef84a 100644 --- a/capistrano-secrets-yml.gemspec +++ b/capistrano-secrets-yml.gemspec @@ -1,29 +1,31 @@ # -*- encoding: utf-8 -*- -lib = File.expand_path("../lib", __FILE__) +lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "capistrano/secrets_yml/version" +require 'capistrano/secrets_yml/version' Gem::Specification.new do |gem| - gem.name = "capistrano-secrets-yml" + gem.name = 'capistrano-secrets-yml' gem.version = Capistrano::SecretsYml::VERSION - gem.authors = ["Bruno Sutic"] - gem.email = ["bruno.sutic@gmail.com"] - gem.description = <<-EOF.gsub(/^\s+/, "") + gem.authors = ['Bruno Sutic'] + gem.email = ['bruno.sutic@gmail.com'] + gem.description = <<-EOF.gsub(/^\s+/, '') Capistrano tasks for automating `secrets.yml` file handling for Rails 4+ apps. This plugins syncs contents of your local secrets file and copies that to the remote server. EOF - gem.summary = "Capistrano tasks for automating `secrets.yml` file handling for Rails 4+ apps." - gem.homepage = "https://github.com/capistrano-plugins/capistrano-secrets-yml" + gem.summary = 'Capistrano tasks for automating `secrets.yml` file handling for Rails 4+ apps.' + gem.homepage = 'https://github.com/capistrano-plugins/capistrano-secrets-yml' gem.files = `git ls-files`.split($/) gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) - gem.require_paths = ["lib"] + gem.require_paths = ['lib'] - gem.add_dependency "capistrano", ">= 3.1" - gem.add_dependency "sshkit", ">= 1.2.0" + gem.license = 'MIT' - gem.add_development_dependency "rake" + gem.add_dependency 'capistrano', '~> 3.10' + gem.add_dependency 'sshkit', '~> 1.15' + + gem.add_development_dependency 'rake', '~> 12.3' end