From 290a2a2a017eecfde32feba248e3da0c22db9226 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Sun, 19 Apr 2020 15:02:08 +0200 Subject: [PATCH] Drop Ruby 2.3 support --- .rubocop.yml | 18 ++---------------- .travis.yml | 1 - CHANGELOG.md | 4 ++++ client_side_validations-simple_form.gemspec | 10 +++++----- 4 files changed, 11 insertions(+), 22 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 23eb3c7..59de6b8 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,7 +4,8 @@ require: AllCops: TargetRailsVersion: 5.0 - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.4 + NewCops: enable Exclude: - 'gemfiles/vendor/bundle/**/*' - 'node_modules/**/*' @@ -17,12 +18,6 @@ Layout/HashAlignment: Layout/LineLength: Enabled: false -Lint/RaiseException: - Enabled: true - -Lint/StructNewOverride: - Enabled: true - Metrics/AbcSize: Max: 23.02 @@ -53,14 +48,5 @@ Rails/RakeEnvironment: Style/Documentation: Enabled: false -Style/HashEachMethods: - Enabled: true - -Style/HashTransformKeys: - Enabled: true - -Style/HashTransformValues: - Enabled: true - Style/IfUnlessModifier: Enabled: false diff --git a/.travis.yml b/.travis.yml index 83dbb8a..5a08e0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: ruby rvm: - - 2.3.8 - 2.4.10 - 2.5.8 - 2.6.6 diff --git a/CHANGELOG.md b/CHANGELOG.md index 03f081c..164bc84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## master / unreleased + +* [FEATURE] Drop Ruby 2.3 support + ## 10.1.0 / 2020-04-10 * [FEATURE] Add jQuery 3.5.0 compatibility ([#77](https://github.com/DavyJonesLocker/client_side_validations-simple_form/pull/77)) diff --git a/client_side_validations-simple_form.gemspec b/client_side_validations-simple_form.gemspec index 4569992..20edf37 100644 --- a/client_side_validations-simple_form.gemspec +++ b/client_side_validations-simple_form.gemspec @@ -23,22 +23,22 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.platform = Gem::Platform::RUBY - spec.required_ruby_version = '~> 2.3' + spec.required_ruby_version = '~> 2.4' spec.add_dependency 'client_side_validations', '>= 15.0', '< 17.0' spec.add_dependency 'simple_form', '~> 5.0' spec.add_development_dependency 'appraisal', '~> 2.2' - spec.add_development_dependency 'byebug', '>= 10.0', '< 12' - spec.add_development_dependency 'coveralls_reborn', '>= 0.14.0', '< 0.16' + spec.add_development_dependency 'byebug', '~> 11.1' + spec.add_development_dependency 'coveralls_reborn', '~> 0.15.1' spec.add_development_dependency 'm', '~> 1.5' spec.add_development_dependency 'minitest', '~> 5.14' spec.add_development_dependency 'mocha', '~> 1.11' spec.add_development_dependency 'rake', '~> 13.0' - spec.add_development_dependency 'rubocop', '~> 0.81.0' + spec.add_development_dependency 'rubocop', '~> 0.82.0' spec.add_development_dependency 'rubocop-performance', '~> 1.5' spec.add_development_dependency 'rubocop-rails', '~> 2.5' - spec.add_development_dependency 'simplecov', '>= 0.17.1', '< 0.19' + spec.add_development_dependency 'simplecov', '~> 0.18.5' # For QUnit testing spec.add_development_dependency 'shotgun', '~> 0.9.2'