diff --git a/.rubocop.yml b/.rubocop.yml index 619340f..04fa15e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,5 @@ +AllCops: + TargetRubyVersion: 2.1 Metrics/LineLength: Enabled: false Metrics/MethodLength: @@ -6,3 +8,5 @@ Metrics/AbcSize: Enabled: false Metrics/ClassLength: Enabled: false +Style/EvalWithLocation: + Enabled: false diff --git a/commission_junction.gemspec b/commission_junction.gemspec index df80024..200fc23 100644 --- a/commission_junction.gemspec +++ b/commission_junction.gemspec @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'commission_junction/version' @@ -18,8 +17,8 @@ Gem::Specification.new do |gem| gem.require_paths = ['lib'] gem.add_dependency 'httparty', '~> 0.15' gem.add_dependency 'ox', '~> 2.8' - gem.add_development_dependency 'minitest', '> 0' gem.add_development_dependency 'json', '~> 2.1' + gem.add_development_dependency 'minitest', '> 0' gem.license = 'BSD-3-Clause' - gem.required_ruby_version = '~> 2.0' + gem.required_ruby_version = '~> 2.1' end