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

Do not lock the version of sqlite3 if Ruby is 2.1.1 or higher

This commit is contained in:
Yuki Nishijima 2014-04-19 18:58:05 -07:00
parent d7ad547bbe
commit e574fd6475
9 changed files with 45 additions and 9 deletions

View file

@ -11,7 +11,11 @@ gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
platforms :ruby, :rbx do
gem 'sqlite3', '1.3.8'
if RUBY_VERSION > "2.1.0"
gem 'sqlite3'
else
gem 'sqlite3', '1.3.8'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -11,7 +11,11 @@ gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
platforms :ruby do
gem 'sqlite3', '1.3.8'
if RUBY_VERSION > "2.1.0"
gem 'sqlite3'
else
gem 'sqlite3', '1.3.8'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -11,7 +11,11 @@ gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
platforms :ruby do
gem 'sqlite3', '1.3.8'
if RUBY_VERSION > "2.1.0"
gem 'sqlite3'
else
gem 'sqlite3', '1.3.8'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -5,7 +5,11 @@ gem 'activerecord', '~> 4.0.0', :require => 'active_record'
gem 'rspec-rails', '>= 2.0'
platforms :ruby do
gem 'sqlite3', '1.3.8'
if RUBY_VERSION > "2.1.0"
gem 'sqlite3'
else
gem 'sqlite3', '1.3.8'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -7,7 +7,11 @@ gem 'rspec-rails', '>= 2.0'
gem 'rspec-rails', '>= 2.0'
platforms :ruby do
gem 'sqlite3', '1.3.8'
if RUBY_VERSION > "2.1.0"
gem 'sqlite3'
else
gem 'sqlite3', '1.3.8'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -9,7 +9,11 @@ end
gem 'arel', :github => 'rails/arel'
platforms :ruby do
gem 'sqlite3', '1.3.8'
if RUBY_VERSION > "2.1.0"
gem 'sqlite3'
else
gem 'sqlite3', '1.3.8'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -16,7 +16,11 @@ gem 'rubyzip', '< 1'
gem 'mime-types', '< 2'
platforms :ruby do
gem 'sqlite3', '1.3.8'
if RUBY_VERSION > "2.1.0"
gem 'sqlite3'
else
gem 'sqlite3', '1.3.8'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '~> 1.2.0'

View file

@ -14,7 +14,11 @@ gem 'capybara', '< 2.1'
gem 'rubyzip', '< 1'
platforms :ruby do
gem 'sqlite3', '1.3.8'
if RUBY_VERSION > "2.1.0"
gem 'sqlite3'
else
gem 'sqlite3', '1.3.8'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'

View file

@ -13,7 +13,11 @@ gem 'capybara', '< 2.1'
gem 'rubyzip', '< 1'
platforms :ruby do
gem 'sqlite3', '1.3.8'
if RUBY_VERSION > "2.1.0"
gem 'sqlite3'
else
gem 'sqlite3', '1.3.8'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'