From b9b5d0de1f7cd46f1d26c21223daf018140f1517 Mon Sep 17 00:00:00 2001 From: "J.R. Garcia" Date: Fri, 31 Jul 2020 17:41:52 -0500 Subject: [PATCH] Update Gemspec Clean up Gemspec by updating some style changes and upgrading dependencies. Signed-off-by: J.R. Garcia --- rbvmomi.gemspec | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/rbvmomi.gemspec b/rbvmomi.gemspec index 0056cc2b..cb4e324f 100644 --- a/rbvmomi.gemspec +++ b/rbvmomi.gemspec @@ -1,7 +1,7 @@ -# Copyright (c) 2016-2017 VMware, Inc. All Rights Reserved. +# Copyright (c) 2016-2020 VMware, Inc. All Rights Reserved. # SPDX-License-Identifier: MIT -$LOAD_PATH.unshift(File.expand_path('../lib', __FILE__)) +$LOAD_PATH.unshift(File.expand_path('lib', __dir__)) require 'rbvmomi/version' @@ -16,18 +16,19 @@ Gem::Specification.new do |spec| spec.license = 'MIT' spec.bindir = 'exe' - spec.files = %w{LICENSE README.md vmodl.db} + Dir.glob("{lib,exe}/**/*") + spec.files = %w[LICENSE README.md vmodl.db] + Dir.glob('{lib,exe}/**/*') spec.executables << 'rbvmomish' - spec.add_runtime_dependency('builder', '~> 3.0') - spec.add_runtime_dependency('json', '>= 1.8') - spec.add_runtime_dependency('nokogiri', '~> 1.5') + spec.add_runtime_dependency('builder', '~> 3.2') + spec.add_runtime_dependency('json', '~> 2.3') + spec.add_runtime_dependency('nokogiri', '~> 1.10') spec.add_runtime_dependency('optimist', '~> 3.0') - spec.add_development_dependency('rake', '~> 10.5') - spec.add_development_dependency('simplecov', '~> 0.12.0') - spec.add_development_dependency('yard', '~> 0.9.5') - spec.add_development_dependency('test-unit', '>= 2.5') + spec.add_development_dependency('pry', '~> 0.13.1') + spec.add_development_dependency('rake', '~> 13.0') + spec.add_development_dependency('simplecov', '~> 0.18.5') + spec.add_development_dependency('yard', '~> 0.9.25') + spec.add_development_dependency('test-unit', '~> 3.3') spec.required_ruby_version = '>= 2.4.1' end