Skip to content

Commit

Permalink
Drop support for Ruby 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Sep 19, 2012
1 parent 8399772 commit 3c3d4e8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 16 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
@@ -1,13 +1,9 @@
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
- ree
notifications:
recipients:
- weppos@weppos.net
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog


## master

* Dropped support for Ruby 1.8


## Release 2.7.0

* SERVER: Added .IQ TLD server (GH-171).
Expand Down
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -33,10 +33,9 @@ An extensive test suite is available to verify the library correctness but you m

## Requirements

* Ruby >= 1.8.7
* Ruby >= 1.9.2

*Whois* >= 1.5 requires Ruby 1.8.7 or newer.
For older versions of Ruby, see the CHANGELOG.rdoc file.
For older versions of Ruby, see the [CHANGELOG](CHANGELOG.md) file.

In addition to the standard Ruby interpreter (MRI),
Whois has been successfully tested against several
Expand Down
6 changes: 3 additions & 3 deletions Rakefile
Expand Up @@ -19,11 +19,11 @@ spec = Gem::Specification.new do |s|
s.summary = "An intelligent pure Ruby WHOIS client and parser."
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, parse and convert responses into easy-to-use Ruby objects."

s.required_ruby_version = ">= 1.8.7"
s.required_ruby_version = ">= 1.9.2"

s.authors = ["Simone Carletti"]
s.email = ["weppos@weppos.net"]
s.homepage = "http://www.ruby-whois.org"
s.homepage = "http://www.ruby-whois.org/"
s.rubyforge_project = "whois"

s.files = %w( LICENSE .yardopts ) +
Expand All @@ -33,7 +33,7 @@ spec = Gem::Specification.new do |s|
s.require_paths = %w( lib )

s.add_development_dependency "rake", "~> 0.9"
s.add_development_dependency "rspec", "~> 2.10.0"
s.add_development_dependency "rspec", "~> 2.11.0"
s.add_development_dependency "mocha"
s.add_development_dependency "yard"

Expand Down
8 changes: 2 additions & 6 deletions spec/spec_helper.rb
Expand Up @@ -7,12 +7,8 @@

# The fixtures are UTF-8 encoded.
# Make sure Ruby uses the proper encoding.
if RUBY_VERSION < '1.9'
$KCODE = 'u'
else
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
end
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Expand Down

0 comments on commit 3c3d4e8

Please sign in to comment.