-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MCC-833873] Fix single pg call for accessible_objects from replica #192
Changes from 3 commits
e005678
612be63
ac2f1a6
e53b047
14b9725
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
class PolicyMachine | ||
VERSION = "4.0.1" | ||
VERSION = "4.0.2" | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,5 +33,5 @@ Gem::Specification.new do |s| | |
s.add_development_dependency('byebug') | ||
s.add_development_dependency('neography', '~> 1.1') | ||
s.add_development_dependency('database_cleaner') | ||
s.add_development_dependency('rails', '~> 6.0') | ||
s.add_development_dependency('rails', '~> 6.1') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why the bump? asking cause im wondering if this is indeed a development dependency or actually a runtime dependency There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because
Rails 6.0 doesn't have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That or check for either method. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See my other comment There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, this is mainly for the test Rails app that is created for running specs I think. If we really cared about this gem we would make it use appraisals for various Ruby/Rails combinations... but, to me, just using the same version as Dalto is fine. |
||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is already a function for doing some ridiculous rigmarole to handle the ever-changing ActiveRecord API surface for getting a DB config:
the_policy_machine/lib/policy_machine_storage_adapters/active_record.rb
Lines 39 to 69 in 6ff77d1
Should probably use it somehow.