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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 518766658f0ba6ff6e198f2163d18c43247b1182
4
- data.tar.gz: 4baf6860979eda857848ac36207d2e169e413593
3
+ metadata.gz: 4f77784bea56051e3902ea74f13a5416313c0c65
4
+ data.tar.gz: c2af1e8a9e23cd9e08b8a40af04210bd685b9c1e
5
5
  SHA512:
6
- metadata.gz: d28e3a42d43b67b53ec0fb470254d35fbb3795dca21541b6dceedbfb5f725c9c474e2206430fd764d039068ef0f0b6f2038b24b3ff30d6677f8f97e82b9d41ad
7
- data.tar.gz: 739460a229fbdd80980c5d9d296fcd0d1c547c3f461dc5a4a184a932f9610078de150b2f10d2f8268269141b5e97e2f2ddf13c68e9b51840cdeb2e4b8319b919
6
+ metadata.gz: 90f37f0ed370f2313c71ea1dec66303c2e286ab9cc584b710e1d39afd0b45950f01b2bb4ed272b97a0eb8c6956792aceb15599f76da8018be05bcf87dd26f300
7
+ data.tar.gz: e1a3d60ff107ca05fadf6900bb8978844b3b6dbf333670286e960275f971817e4c0dad532650b121990c1dbdc1d25923bd6ac3b97c1249032a4d9eadecb00779
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Chewy
2
2
  module Resque
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
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.1
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
@@ -1,7 +0,0 @@
1
- module Chewy
2
- class Type
3
- def self.derived_name
4
- name.underscore.sub!(/_index\/(#{type_name})\z/, '#\\1')
5
- end
6
- end
7
- end