backup_repos.gemspec in backup_repos-0.3.0 vs backup_repos.gemspec in backup_repos-0.4.0
- old
+ new
@@ -1,7 +1,8 @@
-# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
+# frozen_string_literal: true
+
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'backup_repos/version'
Gem::Specification.new do |spec|
spec.name = 'backup_repos'
@@ -18,16 +19,19 @@
.reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'bin'
spec.executables = ['backup-repos']
spec.require_paths = ['lib']
+ spec.required_ruby_version = '>= 2.4.0'
+
spec.add_dependency 'bitbucket_rest_api', '~> 0.1.7'
spec.add_dependency 'colorize', '~> 0.8.1'
spec.add_dependency 'commander', '~> 4.4'
- spec.add_dependency 'gitlab', '~> 3.7'
- spec.add_dependency 'hashie', '~> 3.5'
- spec.add_dependency 'octokit', '~> 4.6'
+ spec.add_dependency 'gitlab', '~> 4.12'
+ spec.add_dependency 'hashie', '~> 4.0'
+ spec.add_dependency 'highline', '~> 2.0'
+ spec.add_dependency 'octokit', '~> 4.14'
- spec.add_development_dependency 'bundler', '~> 1.11'
- spec.add_development_dependency 'rake', '~> 10.0'
- spec.add_development_dependency 'rspec', '~> 3.5'
+ spec.add_development_dependency 'bundler', '~> 2.0'
+ spec.add_development_dependency 'rake', '~> 12.0'
+ spec.add_development_dependency 'rspec', '~> 3.8'
end