From 88133edc1a23d42c01977327d2bbcf699ebfdf57 Mon Sep 17 00:00:00 2001 From: cn Date: Mon, 2 Mar 2020 01:44:39 +0100 Subject: [PATCH] gems: fix order, drop unnecessary json dependency - json was added pre Ruby 2.0 in https://github.com/cmur2/dyndnsd/commit/e50430b17718f6ebcd82baadcd6187eef7a17d33 --- .rubocop.yml | 3 --- dyndnsd.gemspec | 9 ++++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 9221422..9641030 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,9 +1,6 @@ AllCops: TargetRubyVersion: '2.3' -Gemspec/OrderedDependencies: - Enabled: false - Layout/EmptyLineAfterGuardClause: Enabled: false diff --git a/dyndnsd.gemspec b/dyndnsd.gemspec index e898539..ee73b06 100644 --- a/dyndnsd.gemspec +++ b/dyndnsd.gemspec @@ -20,18 +20,17 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.3' - s.add_runtime_dependency 'rack', '~> 2.0' - s.add_runtime_dependency 'json' + s.add_runtime_dependency 'jaeger-client', '~> 0.10.0' s.add_runtime_dependency 'metriks' s.add_runtime_dependency 'opentracing', '~> 0.5.0' + s.add_runtime_dependency 'rack', '~> 2.0' s.add_runtime_dependency 'rack-tracer', '~> 0.9.0' - s.add_runtime_dependency 'jaeger-client', '~> 0.10.0' s.add_development_dependency 'bundler' + s.add_development_dependency 'bundler-audit', '~> 0.6.0' + s.add_development_dependency 'rack-test' s.add_development_dependency 'rake' s.add_development_dependency 'rspec' - s.add_development_dependency 'rack-test' s.add_development_dependency 'rubocop', '~> 0.80.0' - s.add_development_dependency 'bundler-audit', '~> 0.6.0' s.add_development_dependency 'solargraph' end