Permalink
Browse files

Drop support for Ruby 1.8

  • Loading branch information...
1 parent 8399772 commit 3c3d4e8ef898e8f702a1fb0e34e79f2cc85405f6 @weppos committed Sep 19, 2012
Showing with 13 additions and 16 deletions.
  1. +0 −4 .travis.yml
  2. +6 −0 CHANGELOG.md
  3. +2 −3 README.md
  4. +3 −3 Rakefile
  5. +2 −6 spec/spec_helper.rb
View
@@ -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
View
@@ -1,5 +1,11 @@
# Changelog
+
+## master
+
+* Dropped support for Ruby 1.8
+
+
## Release 2.7.0
* SERVER: Added .IQ TLD server (GH-171).
View
@@ -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
View
@@ -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 ) +
@@ -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"
View
@@ -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.

0 comments on commit 3c3d4e8

Please sign in to comment.