summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormokha <mokha@cisco.com>2019-04-30 10:33:54 -0600
committermokha <mokha@cisco.com>2019-04-30 10:33:54 -0600
commit72557f21b1e3dca9b0dd7c1cde8078f2bddebfd4 (patch)
treecb220f54a6d111bba5e02e7fa47a09e8df44f2d7
parent2e83f667ff995c09ac423e1e0e0c3b2c75baeed9 (diff)
specify ruby 2.4 as minimum supported
-rw-r--r--.rubocop.yml2
-rw-r--r--CHANGELOG.md3
-rw-r--r--net-hippie.gemspec1
3 files changed, 5 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 19ffa07..3589339 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -5,7 +5,7 @@ AllCops:
- 'test/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- TargetRubyVersion: 2.6
+ TargetRubyVersion: 2.4
Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cf71ebe..4889097 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
Version 0.2.6
+
# Changelog
All notable changes to this project will be documented in this file.
@@ -6,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+### Changed
+- specify ruby 2.4 and minimum required.
## [0.2.6] - 2019-04-30
### Added
diff --git a/net-hippie.gemspec b/net-hippie.gemspec
index 2ca582b..7143883 100644
--- a/net-hippie.gemspec
+++ b/net-hippie.gemspec
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
+ spec.required_ruby_version = '~> 2.4'
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'rake', '~> 10.0'