resque-remora 0.2.0 → 0.2.1
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/VERSION +1 -1
- data/lib/resque/plugins/remora/push_pop.rb +10 -1
- data/resque-remora.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dd8ba323292dd532adf814deebce9ccb4589dd56b68d01c3069087225f8c57a
|
4
|
+
data.tar.gz: 5a6c9c3781c295f608cd75b5368a0246fe5701656cf079f26a5520d2b798b39c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7b60c4a2cb804b04848eb024863ed840898e0f1e92784b918228328ca7b1f7afd76f4cd1251f28e4111b61f6be1e49eee6c56409da57aa9c740929377e28697
|
7
|
+
data.tar.gz: 5bc17e1c37c703e4864bc6716934477bfd95a76f78eca9dce422a8f833165af3eab7baab22537e684ab1ff7b75a3fb3948116495a66cd87d56b849bf4d4f87eb
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
@@ -30,6 +30,15 @@ module Resque
|
|
30
30
|
job
|
31
31
|
end
|
32
32
|
|
33
|
+
# NOTE:
|
34
|
+
# Prior to Resque 1.26, Resque.constantize was not defined. For
|
35
|
+
# 1.26 and after, overriding Resque.constantize causes compatibility
|
36
|
+
# issues. So, for Resque < 1.26 we want to define a constantize
|
37
|
+
# method here. For Resque >= 1.26 we do not.
|
38
|
+
def constantize(camel_cased_word)
|
39
|
+
defined?(super) ? super(camel_cased_word) : _constantize(camel_cased_word)
|
40
|
+
end
|
41
|
+
|
33
42
|
private
|
34
43
|
|
35
44
|
def remora_class?(job_class)
|
@@ -37,7 +46,7 @@ module Resque
|
|
37
46
|
end
|
38
47
|
|
39
48
|
# From file activesupport/lib/active_support/inflector/methods.rb, line 226
|
40
|
-
def
|
49
|
+
def _constantize(camel_cased_word)
|
41
50
|
names = camel_cased_word.split('::')
|
42
51
|
|
43
52
|
# Trigger a builtin NameError exception including the ill-formed constant in the message.
|
data/resque-remora.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: resque-remora 0.2.
|
5
|
+
# stub: resque-remora 0.2.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "resque-remora".freeze
|
9
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["nolan frausto".freeze]
|
14
|
-
s.date = "2018-
|
14
|
+
s.date = "2018-10-12"
|
15
15
|
s.description = "resque plugin that allows you to attach information when a job is put in redis, and to do whatever you want with the information when it is popped off the resque queue".freeze
|
16
16
|
s.email = "nrfrausto@gmail.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-remora
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nolan frausto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: resque
|