Skip to content

Commit

Permalink
Drop support for Rails < 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cjlarose committed Feb 13, 2022
1 parent c4cfd1b commit 26dc8a9
Show file tree
Hide file tree
Showing 155 changed files with 2 additions and 2,714 deletions.
30 changes: 0 additions & 30 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,33 +1,3 @@
# Bundler >= 2.x do not work with Rails 4.2
puts `bundle -v`

if (`bundle -v`[/\d+\.\d+\.\d+/]).start_with?('1.17')
appraise 'rails-4.2' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 1.3.25', platform: :jruby
gem 'rails', '4.2.11.3'
gem 'rspec-rails', '~> 3.7'
gem 'sprockets', '~> 3.7'
gem 'sqlite3', '< 1.4.0', platform: :ruby
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
end
else
puts 'Skipping rails-4.2 for Bundler >= 2.x'
end

appraise 'rails-5.0' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 50.6', platform: :jruby
gem 'rails', '5.0.7.2'
gem 'rspec-rails', '~> 3.7'
gem 'sqlite3', '< 1.4.0', platform: :ruby
end

appraise 'rails-5.1' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 51.6', platform: :jruby
gem 'rails', '5.1.7'
gem 'rspec-rails', '~> 3.7'
gem 'sqlite3', '< 1.4.0', platform: :ruby
end

appraise 'rails-5.2' do
gem 'activerecord-jdbcsqlite3-adapter', '~> 52.5', platform: :jruby
gem 'bootsnap', '~> 1.4'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ Current version supports and is [tested](.github/workflows/tests.yml#L19) for th
* [JRuby](https://www.jruby.org) `>= 9.2`
* [TruffleRuby](https://github.com/oracle/truffleruby) `>= 19.3`
* Application frameworks
* Rails `>= 4.2`, `5` and `6`
* Rails `>= 5.2`
* Padrino
* Sinatra

For Ruby `2.0` to `2.3` or Rails `3` to `4.1` use version `1.x` of this gem. For older versions of Rails or Ruby use [AppConfig](http://github.com/fredwu/app_config).

For Ruby `2.4` or `2.5`, use version `3.x` of this gem.
For Ruby `2.4` or `2.5` or Rails `4.2`, `5.0`, or `5.1` use version `3.x` of this gem.

## Installing

Expand Down
12 changes: 0 additions & 12 deletions gemfiles/rails_4.2.gemfile

This file was deleted.

10 changes: 0 additions & 10 deletions gemfiles/rails_5.0.gemfile

This file was deleted.

10 changes: 0 additions & 10 deletions gemfiles/rails_5.1.gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions spec/app/rails_4.2/Rakefile

This file was deleted.

16 changes: 0 additions & 16 deletions spec/app/rails_4.2/app/assets/javascripts/application.js

This file was deleted.

15 changes: 0 additions & 15 deletions spec/app/rails_4.2/app/assets/stylesheets/application.css

This file was deleted.

5 changes: 0 additions & 5 deletions spec/app/rails_4.2/app/controllers/application_controller.rb

This file was deleted.

2 changes: 0 additions & 2 deletions spec/app/rails_4.2/app/helpers/application_helper.rb

This file was deleted.

14 changes: 0 additions & 14 deletions spec/app/rails_4.2/app/views/layouts/application.html.erb

This file was deleted.

3 changes: 0 additions & 3 deletions spec/app/rails_4.2/bin/bundle

This file was deleted.

8 changes: 0 additions & 8 deletions spec/app/rails_4.2/bin/rails

This file was deleted.

8 changes: 0 additions & 8 deletions spec/app/rails_4.2/bin/rake

This file was deleted.

29 changes: 0 additions & 29 deletions spec/app/rails_4.2/bin/setup

This file was deleted.

15 changes: 0 additions & 15 deletions spec/app/rails_4.2/bin/spring

This file was deleted.

4 changes: 0 additions & 4 deletions spec/app/rails_4.2/config.ru

This file was deleted.

31 changes: 0 additions & 31 deletions spec/app/rails_4.2/config/application.rb

This file was deleted.

3 changes: 0 additions & 3 deletions spec/app/rails_4.2/config/boot.rb

This file was deleted.

25 changes: 0 additions & 25 deletions spec/app/rails_4.2/config/database.yml

This file was deleted.

5 changes: 0 additions & 5 deletions spec/app/rails_4.2/config/environment.rb

This file was deleted.

41 changes: 0 additions & 41 deletions spec/app/rails_4.2/config/environments/development.rb

This file was deleted.

Loading

0 comments on commit 26dc8a9

Please sign in to comment.