aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2014-09-12 08:28:20 +0000
committerAbdelkader Boudih <terminale@gmail.com>2014-09-12 08:30:35 +0000
commited9f71d11a4b0b235b3bab1e38278b50dfe77e21 (patch)
tree1e838d962b474293cf8d3548140db01010114473 /activejob
parent516f431ab0618a052f53eb5b14e2c6204da244dd (diff)
downloadrails-ed9f71d11a4b0b235b3bab1e38278b50dfe77e21.tar.gz
rails-ed9f71d11a4b0b235b3bab1e38278b50dfe77e21.tar.bz2
rails-ed9f71d11a4b0b235b3bab1e38278b50dfe77e21.zip
Bump globalid version
Diffstat (limited to 'activejob')
-rw-r--r--activejob/activejob.gemspec2
-rw-r--r--activejob/lib/active_job/arguments.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activejob/activejob.gemspec b/activejob/activejob.gemspec
index 9944b2a1bd..a9be2a8f00 100644
--- a/activejob/activejob.gemspec
+++ b/activejob/activejob.gemspec
@@ -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
diff --git a/activejob/lib/active_job/arguments.rb b/activejob/lib/active_job/arguments.rb
index 69a4ad928d..175a2f0956 100644
--- a/activejob/lib/active_job/arguments.rb
+++ b/activejob/lib/active_job/arguments.rb
@@ -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