chewy-resque 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chewy/resque.rb +6 -1
- data/lib/chewy/resque/version.rb +1 -1
- metadata +1 -2
- data/lib/chewy/type.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f77784bea56051e3902ea74f13a5416313c0c65
|
4
|
+
data.tar.gz: c2af1e8a9e23cd9e08b8a40af04210bd685b9c1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90f37f0ed370f2313c71ea1dec66303c2e286ab9cc584b710e1d39afd0b45950f01b2bb4ed272b97a0eb8c6956792aceb15599f76da8018be05bcf87dd26f300
|
7
|
+
data.tar.gz: e1a3d60ff107ca05fadf6900bb8978844b3b6dbf333670286e960275f971817e4c0dad532650b121990c1dbdc1d25923bd6ac3b97c1249032a4d9eadecb00779
|
data/lib/chewy/resque.rb
CHANGED
@@ -6,9 +6,14 @@ require_relative "strategy/background_atomic"
|
|
6
6
|
require_relative "strategy/background_urgent"
|
7
7
|
require_relative "resque/version"
|
8
8
|
require_relative "resque/worker"
|
9
|
-
require_relative "type"
|
10
9
|
|
11
10
|
module Chewy
|
12
11
|
module Resque
|
13
12
|
end
|
13
|
+
|
14
|
+
class Type
|
15
|
+
def self.derived_name
|
16
|
+
name.underscore.sub!(/_index\/(#{type_name})\z/, '#\\1')
|
17
|
+
end
|
18
|
+
end
|
14
19
|
end
|
data/lib/chewy/resque/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chewy-resque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dimko
|
@@ -85,7 +85,6 @@ files:
|
|
85
85
|
- lib/chewy/strategy/background_atomic.rb
|
86
86
|
- lib/chewy/strategy/background_base.rb
|
87
87
|
- lib/chewy/strategy/background_urgent.rb
|
88
|
-
- lib/chewy/type.rb
|
89
88
|
homepage: ''
|
90
89
|
licenses:
|
91
90
|
- MIT
|