mirror of https://github.com/rails/rails
Bump globalid version
This commit is contained in:
parent
516f431ab0
commit
ed9f71d11a
|
@ -19,5 +19,5 @@ Gem::Specification.new do |s|
|
|||
s.require_path = 'lib'
|
||||
|
||||
s.add_dependency 'activesupport', version
|
||||
s.add_dependency 'globalid', '>= 0.2.3'
|
||||
s.add_dependency 'globalid', '>= 0.3.0'
|
||||
end
|
||||
|
|
|
@ -38,7 +38,7 @@ module ActiveJob
|
|||
def serialize_argument(argument)
|
||||
case argument
|
||||
when GlobalID::Identification
|
||||
argument.global_id.to_s
|
||||
argument.to_global_id.to_s
|
||||
when *TYPE_WHITELIST
|
||||
argument
|
||||
when Array
|
||||
|
|
Loading…
Reference in New Issue