Skip to content

Commit

Permalink
Update compatibility to later versions of ActiveRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
lardcanoe committed Oct 30, 2017
1 parent 440dae4 commit cf05dac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
proactive_support (0.0.6)
proactive_support (0.0.8)
activerecord (>= 3)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/proactive_support/mgmt/flags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class << self
def set(customer_id, source, identifier, filter, message, options = {})
digest = to_digest source, identifier, filter

::ProactiveSupport::Flag.find_or_initialize_by_customer_id_and_digest(customer_id, digest).tap do |f|
::ProactiveSupport::Flag.where(customer_id: customer_id, digest: digest).first_or_initialize.tap do |f|
f.source = source
f.identifier = identifier
f.filter = clean_object filter
Expand Down
2 changes: 1 addition & 1 deletion lib/proactive_support/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ProactiveSupport
VERSION = '0.0.7'
VERSION = '0.0.8'
end

0 comments on commit cf05dac

Please sign in to comment.