Skip to content

Commit

Permalink
Minimum Ruby version 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Jun 25, 2019
1 parent 3968478 commit 0abea7b
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 15 deletions.
13 changes: 5 additions & 8 deletions .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

Expand All @@ -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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -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
Expand Down
24 changes: 18 additions & 6 deletions CONTRIBUTING.md
Expand Up @@ -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/).

Expand Down
2 changes: 1 addition & 1 deletion whois.gemspec
Expand Up @@ -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 )
Expand Down

0 comments on commit 0abea7b

Please sign in to comment.