Skip to content

Rails 5 Support#10

Open
michihuber wants to merge 6 commits into
masterfrom
rails5
Open

Rails 5 Support#10
michihuber wants to merge 6 commits into
masterfrom
rails5

Conversation

@michihuber

Copy link
Copy Markdown
Contributor
  • Drops Rails 3.2 and 4.0 support
  • Bumps version to 0.10.0

Michi Huber and others added 6 commits March 16, 2016 15:26
Drops support for Rails 3.2 and Rails 4.1.
- gemspec: relax version constraint from < 5.1 to < 6
- ConnectionHandler: add flush_idle_connections! (new in Rails 5.2)
- ConnectionHandler: guard against Rails 5.2 passing spec name strings
  instead of classes to retrieve_connection_pool
- postamt.rb: override retrieve_connection on AR::Base to restore
  class-based routing (required for per-model default_connection)
- Relation#delete_all: remove conditions param (dropped in Rails 5.0)
- LogSubscriber: prefer event.payload[:connection] over ObjectSpace._id2ref
- Add testapp52 with Rails 5.2 test app and Nix dev environment (flake.nix)
- Keep testapp50/ and testapp52/ (our renames of testapp42)
- Drop testapp/ (master's conflicting rename of testapp42)
- Take master's railtie.rb fix: use parse_task_string for Rake task detection
- Update README to reference testapp52 bin/setup workflow
- testapp50/bin/setup: init/start postgres, create roles, load schema,
  grant slave SELECT-only; mirrors testapp52/bin/setup
- Both testapps use port 5433 and repo-root postgres/data directory
- testapp50: pin pg < 1.6, remove file_watcher (needs listen gem),
  fix merge conflict in test.rb, remove fixtures :all (slave is read-only)
- Move postgres/ to root .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants