1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Drop ruby 1.8 support

This commit is contained in:
Akira Matsuda 2016-05-31 03:22:19 +09:00
parent 63300ce80a
commit 03a882fafc
10 changed files with 15 additions and 102 deletions

View file

@ -1,7 +1,6 @@
language: ruby
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.10
@ -38,24 +37,6 @@ cache: bundler
matrix:
exclude:
- rvm: 1.8.7
gemfile: gemfiles/active_record_40.gemfile
- rvm: 1.8.7
gemfile: gemfiles/active_record_41.gemfile
- rvm: 1.8.7
gemfile: gemfiles/active_record_42.gemfile
- rvm: 1.8.7
gemfile: gemfiles/active_record_edge.gemfile
- rvm: 1.8.7
gemfile: gemfiles/mongoid_30.gemfile
- rvm: 1.8.7
gemfile: gemfiles/mongoid_31.gemfile
- rvm: 1.8.7
gemfile: gemfiles/mongoid_40.gemfile
- rvm: 1.8.7
gemfile: gemfiles/mongoid_50.gemfile
- rvm: 1.8.7
gemfile: gemfiles/mongo_mapper.gemfile
- rvm: 1.9.3
gemfile: gemfiles/active_record_edge.gemfile
- rvm: 2.0.0

View file

@ -27,7 +27,7 @@ The pagination helper outputs the HTML5 <nav> tag by default. Plus, the helper s
== Supported versions
* Ruby 1.8.7, 1.9.2, 1.9.3, 2.0.0, 2.1.x, 2.2.x
* Ruby 1.9.2, 1.9.3, 2.0.0, 2.1.x, 2.2.x
* Rails 3.0, 3.1, 3.2, 4.0, 4.1, 4.2

View file

@ -6,10 +6,7 @@ gem 'rspec-rails', '~> 2.14.1'
gem 'nokogiri', '< 1.6'
gem 'capybara', '< 2.1'
# stick to versions that work under Ruby 1.8 for now
gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
gem 'rack-cache', '< 1.3' if RUBY_VERSION <= '1.8.7'
gem 'mime-types', '2.99' if RUBY_VERSION < '2.0.0'
platforms :ruby do
if RUBY_VERSION > "2.1.0"

View file

@ -4,12 +4,7 @@ gem 'railties', '~> 3.1.12'
gem 'activerecord', '~> 3.1.12', :require => 'active_record'
gem 'rspec-rails', '~> 2.14.1'
# stick to versions that work under Ruby 1.8 for now
gem 'capybara', '< 2.1'
gem 'nokogiri', '< 1.6'
gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
gem 'rack-cache', '< 1.3' if RUBY_VERSION <= '1.8.7'
gem 'mime-types', '2.99' if RUBY_VERSION < '2.0.0'
platforms :ruby do
if RUBY_VERSION > "2.1.0"
@ -17,9 +12,6 @@ platforms :ruby do
else
gem 'sqlite3', '1.3.8'
end
if RUBY_VERSION <= "1.8.7"
gem 'i18n', '< 0.7.0'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -3,13 +3,7 @@ source 'https://rubygems.org'
gem 'railties', '~> 3.2.3'
gem 'activerecord', '~> 3.2.3', :require => 'active_record'
gem 'rspec-rails', '~> 2.14.1'
# Stick To Versions That Work Under Ruby 1.8 For Now
gem 'capybara', '< 2.1'
gem 'nokogiri', '< 1.6'
gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
gem 'rack-cache', '< 1.3' if RUBY_VERSION <= '1.8.7'
gem 'mime-types', '2.99' if RUBY_VERSION < '2.0.0'
platforms :ruby do
if RUBY_VERSION > "2.1.0"
@ -17,9 +11,6 @@ platforms :ruby do
else
gem 'sqlite3', '1.3.8'
end
if RUBY_VERSION <= "1.8.7"
gem 'i18n', '< 0.7.0'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -9,16 +9,7 @@ gem 'dm-active_model', '~> 1.2.1'
gem 'dm-sqlite-adapter', '~> 1.2.0'
gem 'rspec-rails', '~> 2.14.1'
# stick to versions that work under Ruby 1.8 for now
gem 'capybara', '< 2.1'
gem 'nokogiri', '< 1.6'
gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
if RUBY_VERSION <= '1.8.7'
gem 'rack-cache', '< 1.3'
gem 'addressable', '< 2.4.0'
end
gem 'mime-types', '2.99' if RUBY_VERSION < '2.0.0'
platforms :ruby do
if RUBY_VERSION > "2.1.0"
@ -27,9 +18,6 @@ platforms :ruby do
else
gem 'sqlite3', '1.3.8'
end
if RUBY_VERSION <= "1.8.7"
gem 'i18n', '< 0.7.0'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '~> 1.2.0'

View file

@ -5,26 +5,14 @@ gem 'bson', '~> 1.9.2'
gem 'mongo_mapper', '>= 0.11.0'
gem 'rspec-rails', '~> 2.14.1'
# stick to versions that work under Ruby 1.8 for now
if RUBY_VERSION == '1.8.7'
gem 'capybara', '< 2.1'
gem 'nokogiri', '< 1.6'
gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
gem 'rack-cache', '< 1.3'
gem 'capybara'
gem 'nokogiri'
gem 'rubyzip'
gem 'activesupport', '~> 3.2.18'
gem 'i18n', '< 0.7.0'
if RUBY_VERSION == '1.9.3'
gem 'mime-types', '2.99'
else
gem 'capybara'
gem 'nokogiri'
gem 'rubyzip'
if RUBY_VERSION == '1.9.3'
gem 'mime-types', '2.99'
else
gem 'mime-types'
end
gem 'mime-types'
end
platforms :rbx do

View file

@ -14,7 +14,6 @@ end
gem 'rack-test'
gem 'sinatra-contrib'
gem 'rspec', '~> 2.14.1'
gem 'rack-cache', '< 1.3' if RUBY_VERSION <= '1.8.7'
gem 'mime-types', '2.99' if RUBY_VERSION == '1.9.3'
platforms :ruby do
@ -23,14 +22,6 @@ platforms :ruby do
else
gem 'sqlite3', '1.3.8'
end
if RUBY_VERSION <= "1.8.7"
# stick to versions that work under Ruby 1.8 for now
gem 'mime-types', '< 2.0'
gem 'nokogiri', '< 1.6'
gem 'capybara', '< 2.1'
gem 'rubyzip', '< 1'
gem 'i18n', '< 0.7.0'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -3,25 +3,13 @@ source 'https://rubygems.org'
gem 'sinatra', '~> 1.4.0'
gem 'rspec', '~> 2.14.1'
if RUBY_VERSION <= "1.8.7"
gem 'activerecord', '~> 3.2.0', :require => 'active_record'
gem 'padrino-helpers', '~> 0.11.0'
else
gem 'activerecord', '>= 4.0.0', :require => 'active_record'
gem 'padrino-helpers', '~> 0.12.0'
end
gem 'activerecord', '>= 4.0.0', :require => 'active_record'
gem 'padrino-helpers', '~> 0.12.0'
gem 'rack-test', '>= 0'
gem 'sinatra-contrib', '~> 1.4.0'
# stick to versions that work under Ruby 1.8 for now
if RUBY_VERSION <= '1.8.7'
gem 'mime-types', '< 2.0'
gem 'nokogiri', '< 1.6'
gem 'capybara', '< 2.1'
gem 'rubyzip', '< 1'
gem 'rack-cache', '< 1.3'
elsif RUBY_VERSION == '1.9.3'
if RUBY_VERSION == '1.9.3'
gem 'mime-types', '2.99'
end
@ -31,9 +19,6 @@ platforms :ruby do
else
gem 'sqlite3', '1.3.8'
end
if RUBY_VERSION <= "1.8.7"
gem 'i18n', '< 0.7.0'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -25,7 +25,7 @@ Gem::Specification.new do |s|
s.add_dependency 'actionpack', '>= 3.0.0'
s.add_development_dependency 'bundler', '>= 1.0.0'
s.add_development_dependency 'rake', (RUBY_VERSION == '1.8.7' ? '10.5.0' : '>= 0')
s.add_development_dependency 'rake', '>= 0'
s.add_development_dependency 'tzinfo', '>= 0'
s.add_development_dependency 'rspec', '>= 0'
s.add_development_dependency 'rr', (RUBY_VERSION < '2' ? '< 1.2' : '>= 0')