diff --git a/Gemfile b/Gemfile index f3ceb81..0c54417 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,14 @@ source 'https://rubygems.org' -gem "faraday", "~> 1.10" -gem "faraday_middleware" - # Specify your gem dependencies in netbox-client-ruby.gemspec gemspec + +gem 'bundler', '~> 2.1' +gem 'pry', '~> 0.10' +gem 'rake', '~> 13' +gem 'rspec', '~> 3.5' +gem 'rubocop', '~> 0.48' +gem 'rubocop-rspec', '~> 1.15' + +gem 'faraday', '~> 1.10' +gem 'faraday_middleware' diff --git a/netbox-client-ruby.gemspec b/netbox-client-ruby.gemspec index 72e5a3b..b6dc8f8 100644 --- a/netbox-client-ruby.gemspec +++ b/netbox-client-ruby.gemspec @@ -1,5 +1,4 @@ -lib = File.expand_path('lib', __dir__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +# frozen_string_literal: true Gem::Specification.new do |spec| spec.name = 'netbox-client-ruby' @@ -21,20 +20,12 @@ Gem::Specification.new do |spec| end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - spec.require_paths = ['lib'] spec.required_ruby_version = '>= 2.7.0' - spec.add_runtime_dependency 'dry-configurable', '~> 1' - spec.add_runtime_dependency 'faraday', '>= 0.11.0', '< 3' - spec.add_runtime_dependency 'faraday-detailed_logger', '~> 2.1' - spec.add_runtime_dependency 'ipaddress', '~> 0.8', '>= 0.8.3' - spec.add_runtime_dependency 'openssl', '>= 2.0.5' - - spec.add_development_dependency 'bundler', '~> 2.1' - spec.add_development_dependency 'pry', '~> 0.10' - spec.add_development_dependency 'rake', '~> 13' - spec.add_development_dependency 'rspec', '~> 3.5' - spec.add_development_dependency 'rubocop', '~> 0.48' - spec.add_development_dependency 'rubocop-rspec', '~> 1.15' + spec.add_dependency 'dry-configurable', '~> 1' + spec.add_dependency 'faraday', '>= 0.11.0', '< 3' + spec.add_dependency 'faraday-detailed_logger', '~> 2.1' + spec.add_dependency 'ipaddress', '~> 0.8', '>= 0.8.3' + spec.add_dependency 'openssl', '>= 2.0.5' end