Rails 4.0 also has no actionview gem. Dropping Rails 4.0 support

This commit is contained in:
Akira Matsuda 2016-10-04 15:53:07 +09:00
parent ca69b6cdd7
commit 9e97a36a5d
4 changed files with 5 additions and 39 deletions

View File

@ -12,7 +12,6 @@ rvm:
- rbx-3
gemfile:
- gemfiles/active_record_40.gemfile
- gemfiles/active_record_41.gemfile
- gemfiles/active_record_42.gemfile
- gemfiles/active_record_50.gemfile
@ -36,8 +35,6 @@ matrix:
gemfile: gemfiles/active_record_edge.gemfile
- rvm: 2.1.10
gemfile: gemfiles/active_record_edge.gemfile
- rvm: ruby-head
gemfile: gemfiles/active_record_40.gemfile
- rvm: ruby-head
gemfile: gemfiles/active_record_41.gemfile
- rvm: jruby-1.7.26

View File

@ -29,7 +29,7 @@ The pagination helper outputs the HTML5 <nav> tag by default. Plus, the helper s
* Ruby 2.0.0, 2.1.x, 2.2.x, 2.3.x, 2.4
* Rails 4.0, 4.1, 4.2, 5.0, 5.1
* Rails 4.1, 4.2, 5.0, 5.1
* Sinatra 1.4
@ -340,14 +340,14 @@ To run the test suite locally against all supported frameworks:
To target the test suite against one framework:
% rake spec:active_record_40
% rake spec:active_record_41
You can find a list of supported spec tasks by running <tt>rake -T</tt>. You may also find it useful to run a specific test
for a specific framework. To do so, you'll have to first make sure you have bundled everything for that configuration,
then you can run the specific test:
% BUNDLE_GEMFILE='gemfiles/active_record_40.gemfile' bundle install
% BUNDLE_GEMFILE='gemfiles/active_record_40.gemfile' bundle exec rspec ./spec/requests/users_spec.rb
% BUNDLE_GEMFILE='gemfiles/active_record_41.gemfile' bundle install
% BUNDLE_GEMFILE='gemfiles/active_record_41.gemfile' bundle exec rspec ./spec/requests/users_spec.rb
== Copyright

View File

@ -1,31 +0,0 @@
source 'https://rubygems.org'
gem 'railties', '~> 4.0.0'
gem 'activerecord', '~> 4.0.0', :require => 'active_record'
gem 'rspec-rails', '~> 2.14.1'
if RUBY_VERSION > '1.9.3'
gem 'mime-types'
else
gem 'mime-types', '2.99'
end
platforms :ruby do
if RUBY_VERSION > "2.1.0"
gem 'sqlite3'
gem 'test-unit'
else
gem 'sqlite3', '1.3.8'
end
end
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
end
platforms :rbx do
gem 'rubysl', '~> 2.0'
gem 'racc'
gem 'rubysl-test-unit', github: 'rubysl/rubysl-test-unit', branch: '2.0'
gem 'rubinius-developer_tools'
end
gemspec :path => '../'

View File

@ -19,7 +19,7 @@ Gem::Specification.new do |s|
s.licenses = ['MIT']
s.add_dependency 'activesupport', '>= 4.0.0'
s.add_dependency 'activesupport', '>= 4.1.0'
s.add_dependency 'kaminari-actionview'
s.add_dependency 'kaminari-activerecord'