resque-delayable 1.0.1 → 1.0.2
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.
|
@@ -2,7 +2,7 @@ module ResqueDelayable
|
|
|
2
2
|
module Serializer
|
|
3
3
|
class ActiveRecordSerializer
|
|
4
4
|
PREFIX = "ActiveRecord"
|
|
5
|
-
MATCHER = Regexp.new("^#{PREFIX}_(
|
|
5
|
+
MATCHER = Regexp.new("^#{PREFIX}_(\\w+)_(\\d+)$")
|
|
6
6
|
|
|
7
7
|
class << self
|
|
8
8
|
def serialize_match(object)
|
|
@@ -27,4 +27,4 @@ module ResqueDelayable
|
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
ResqueDelayable::ACTIVE_SERIALIZERS << ResqueDelayable::Serializer::ActiveRecordSerializer
|
|
30
|
-
ActiveRecord::Base.send :include, ResqueDelayable
|
|
30
|
+
ActiveRecord::Base.send :include, ResqueDelayable
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: resque-delayable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 2
|
|
10
|
+
version: 1.0.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- James Smith
|
|
@@ -15,11 +15,10 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-01-
|
|
18
|
+
date: 2012-01-27 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
|
-
|
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
|
23
22
|
none: false
|
|
24
23
|
requirements:
|
|
25
24
|
- - ">="
|
|
@@ -28,12 +27,12 @@ dependencies:
|
|
|
28
27
|
segments:
|
|
29
28
|
- 0
|
|
30
29
|
version: "0"
|
|
31
|
-
|
|
32
|
-
name: shoulda
|
|
30
|
+
requirement: *id001
|
|
33
31
|
type: :development
|
|
34
|
-
- !ruby/object:Gem::Dependency
|
|
35
32
|
prerelease: false
|
|
36
|
-
|
|
33
|
+
name: shoulda
|
|
34
|
+
- !ruby/object:Gem::Dependency
|
|
35
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
|
37
36
|
none: false
|
|
38
37
|
requirements:
|
|
39
38
|
- - ~>
|
|
@@ -44,12 +43,12 @@ dependencies:
|
|
|
44
43
|
- 0
|
|
45
44
|
- 0
|
|
46
45
|
version: 1.0.0
|
|
47
|
-
|
|
48
|
-
name: bundler
|
|
46
|
+
requirement: *id002
|
|
49
47
|
type: :development
|
|
50
|
-
- !ruby/object:Gem::Dependency
|
|
51
48
|
prerelease: false
|
|
52
|
-
|
|
49
|
+
name: bundler
|
|
50
|
+
- !ruby/object:Gem::Dependency
|
|
51
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
|
53
52
|
none: false
|
|
54
53
|
requirements:
|
|
55
54
|
- - ~>
|
|
@@ -60,12 +59,12 @@ dependencies:
|
|
|
60
59
|
- 6
|
|
61
60
|
- 4
|
|
62
61
|
version: 1.6.4
|
|
63
|
-
|
|
64
|
-
name: jeweler
|
|
62
|
+
requirement: *id003
|
|
65
63
|
type: :development
|
|
66
|
-
- !ruby/object:Gem::Dependency
|
|
67
64
|
prerelease: false
|
|
68
|
-
|
|
65
|
+
name: jeweler
|
|
66
|
+
- !ruby/object:Gem::Dependency
|
|
67
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
|
69
68
|
none: false
|
|
70
69
|
requirements:
|
|
71
70
|
- - ">="
|
|
@@ -74,9 +73,10 @@ dependencies:
|
|
|
74
73
|
segments:
|
|
75
74
|
- 0
|
|
76
75
|
version: "0"
|
|
77
|
-
|
|
78
|
-
name: rcov
|
|
76
|
+
requirement: *id004
|
|
79
77
|
type: :development
|
|
78
|
+
prerelease: false
|
|
79
|
+
name: rcov
|
|
80
80
|
description: Run class methods or methods on activerecord, mongomapper objects later through resque
|
|
81
81
|
email: james@loopj.com
|
|
82
82
|
executables: []
|
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
124
|
requirements: []
|
|
125
125
|
|
|
126
126
|
rubyforge_project:
|
|
127
|
-
rubygems_version: 1.8.
|
|
127
|
+
rubygems_version: 1.8.15
|
|
128
128
|
signing_key:
|
|
129
129
|
specification_version: 3
|
|
130
130
|
summary: Run class methods or methods on activerecord, mongomapper objects later through resque
|