Skip to content

Commit

Permalink
Ditch support for Ruby < 2.1
Browse files Browse the repository at this point in the history
The older xapian bindings don't support setting stopper strategy, and it's high
time we stopped supporting the ancient rubies!
  • Loading branch information
johnl committed Mar 23, 2020
1 parent 3688c2c commit 2d9f62f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ branches:
- master

rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3
Expand Down
6 changes: 1 addition & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@ source "https://rubygems.org"
gemspec

group :test do
if RUBY_VERSION < '2.1'
gem "xapian-ruby", "~> 1.2.22"
else
gem "xapian-ruby", "~> 1.4.9"
end
gem "xapian-ruby", "~> 1.4.9"
end
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Hash with full text indexing (and ACID transactions).
=== Xapian Bindings

Xapian Fu requires the Xapian Ruby bindings to be available. On
Debian/Ubuntu, you can install the `libxapian-ruby1.8` package to get
Debian/Ubuntu, you can install the `ruby-xapian` package to get
them. Alternatively, you can install the `xapian-ruby` gem, which
reportedly will also provide them. You can also just get the
upstream Xapian release and manually install it.
Expand Down
2 changes: 1 addition & 1 deletion xapian-fu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Gem::Specification.new do |s|
s.add_development_dependency("rdoc", "~> 4")

s.requirements << "libxapian-dev, or the xapian-ruby gem"
s.required_ruby_version = '>= 1.9.3'
s.required_ruby_version = '>= 2.1.0'
end

0 comments on commit 2d9f62f

Please sign in to comment.