From 0abea7b2312b9bf0664eba29c261496babadacf8 Mon Sep 17 00:00:00 2001 From: Simone Carletti Date: Tue, 25 Jun 2019 23:05:52 +0200 Subject: [PATCH] Minimum Ruby version 2.3 --- .travis.yml | 13 +++++-------- CHANGELOG.md | 5 +++++ CONTRIBUTING.md | 24 ++++++++++++++++++------ whois.gemspec | 2 +- 4 files changed, 29 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index c853c44e9..5ba3da2ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,11 @@ language: ruby rvm: - # - 2.1 - # - 2.2 - - 2.3 - - 2.4 - - 2.5 - - 2.6 + - "2.3" + - "2.4" + - "2.5" + - "2.6" + - "2.7" - jruby-9.1.5.0 - ruby-head @@ -19,9 +18,7 @@ cache: matrix: allow_failures: - rvm: ruby-head - - rvm: jruby-head - rvm: jruby-9.1.5.0 before_install: - # - rvm get latest - gem install bundler diff --git a/CHANGELOG.md b/CHANGELOG.md index f300009ad..2df2f8bfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ This project uses [Semantic Versioning 2.0.0](http://semver.org/). +#### master + +- CHANGED: Minimum Ruby version 2.3 + + #### Release 4.1.0 - SERVER: Add .SS diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 766265e3e..ee1ed5e98 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,27 +4,39 @@ Fork, then clone the repo: - $ git clone git@github.com:your-username/whois.git +~~~ +git clone git@github.com:your-username/whois.git +~~~ Set up your machine: - $ bundle +~~~ +bundle +~~~ Make sure the tests pass: - $ bundle exec rake +~~~ +bundle exec rake +~~~ To propose a change/feature/patch, create your feature branch: - $ git checkout -b my-new-feature +~~~ +git checkout -b my-new-feature +~~~ Make your change. Add tests for your change. Make the tests pass: - $ bundle exec rake +~~~ +bundle exec rake +~~~ Commit your changes: - $ git commit -am 'Add some feature' +~~~ +git commit -am 'Add some feature' +~~~ Push to your fork and [submit a pull request](https://github.com/weppos/whois/compare/). diff --git a/whois.gemspec b/whois.gemspec index c5864aaf1..3dd054321 100644 --- a/whois.gemspec +++ b/whois.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |s| s.description = 'Whois is an intelligent WHOIS client and parser written in pure Ruby. It can query registry data for IPv4, IPv6 and top level domains, and parse the responses into easy-to-use Ruby objects via the whois-parser library.' s.license = 'MIT' - s.required_ruby_version = '>= 2.0.0' + s.required_ruby_version = '>= 2.3' s.require_paths = %w( lib ) s.executables =%w( whoisrb )