activejob 4.2.7.1 → 4.2.8.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/active_job/arguments.rb +4 -2
- data/lib/active_job/gem_version.rb +2 -2
- metadata +7 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e971e5c4ced6dd34b2796cd395043dc1b2747cb
|
|
4
|
+
data.tar.gz: 3a315051f1b4e3dff28d8f9fe7456cadd86b4989
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca22e959a41cba30951955e830321452330569b05f7afaffe194f3477aaa34278f2c3227c31b36dbc64dc5e25ae65baa99d127964ef31c7241e74329dcd01789
|
|
7
|
+
data.tar.gz: cfbfa9fb38ebf795ad519d65c1292cec69b6a7456bac3b06d85009e862bc60c0949b6700bfffdfc59226ff61b77f9266d6365c97172d99ca2753eda702bf2072
|
data/CHANGELOG.md
CHANGED
data/lib/active_job/arguments.rb
CHANGED
|
@@ -15,7 +15,7 @@ module ActiveJob
|
|
|
15
15
|
end
|
|
16
16
|
|
|
17
17
|
# Raised when an unsupported argument type is being set as job argument. We
|
|
18
|
-
# currently support NilClass, Fixnum, Float, String, TrueClass, FalseClass,
|
|
18
|
+
# currently support NilClass, Integer, Fixnum, Float, String, TrueClass, FalseClass,
|
|
19
19
|
# Bignum and object that can be represented as GlobalIDs (ex: Active Record).
|
|
20
20
|
# Also raised if you set the key for a Hash something else than a string or
|
|
21
21
|
# a symbol.
|
|
@@ -24,7 +24,9 @@ module ActiveJob
|
|
|
24
24
|
|
|
25
25
|
module Arguments
|
|
26
26
|
extend self
|
|
27
|
-
|
|
27
|
+
# :nodoc:
|
|
28
|
+
TYPE_WHITELIST = [ NilClass, String, Integer, Float, BigDecimal, TrueClass, FalseClass ]
|
|
29
|
+
TYPE_WHITELIST.push(Fixnum, Bignum) unless 1.class == Integer
|
|
28
30
|
|
|
29
31
|
# Serializes a set of arguments. Whitelisted types are returned
|
|
30
32
|
# as-is. Arrays/Hashes are serialized element by element.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activejob
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.8.rc1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 4.2.
|
|
19
|
+
version: 4.2.8.rc1
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 4.2.
|
|
26
|
+
version: 4.2.8.rc1
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: globalid
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -93,14 +93,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
93
93
|
version: 1.9.3
|
|
94
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
requirements:
|
|
96
|
-
- - "
|
|
96
|
+
- - ">"
|
|
97
97
|
- !ruby/object:Gem::Version
|
|
98
|
-
version:
|
|
98
|
+
version: 1.3.1
|
|
99
99
|
requirements: []
|
|
100
100
|
rubyforge_project:
|
|
101
|
-
rubygems_version: 2.6.
|
|
101
|
+
rubygems_version: 2.6.10
|
|
102
102
|
signing_key:
|
|
103
103
|
specification_version: 4
|
|
104
104
|
summary: Job framework with pluggable queues.
|
|
105
105
|
test_files: []
|
|
106
|
-
has_rdoc:
|