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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3e9511b071fa39cd707ae05c01c057db81d75dcb25b9403f925dc00b872e34d
4
- data.tar.gz: 0d95bb1107f6e0f30a6b9e824645a05c3b676761deef7fcecb2da378225b2cb1
3
+ metadata.gz: 4dd8ba323292dd532adf814deebce9ccb4589dd56b68d01c3069087225f8c57a
4
+ data.tar.gz: 5a6c9c3781c295f608cd75b5368a0246fe5701656cf079f26a5520d2b798b39c
5
5
  SHA512:
6
- metadata.gz: 9777121489c3c075773a13d47c3e5a439beb500f9c8e485c8d23b82fbc425870e2115f0e15d7a452f37167c0041264ea211613a2b912aa001c80ad0ef8d060df
7
- data.tar.gz: 3044f09ac21d705b1a921d0ef64ba2040fb1b6557ba906d343337f5b9de7be83cf13c147c98bafa5df5004f368957ddc4ae4e87bd10bc3da163879a17e7dfc22
6
+ metadata.gz: f7b60c4a2cb804b04848eb024863ed840898e0f1e92784b918228328ca7b1f7afd76f4cd1251f28e4111b61f6be1e49eee6c56409da57aa9c740929377e28697
7
+ data.tar.gz: 5bc17e1c37c703e4864bc6716934477bfd95a76f78eca9dce422a8f833165af3eab7baab22537e684ab1ff7b75a3fb3948116495a66cd87d56b849bf4d4f87eb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
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 constantize(camel_cased_word)
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.
@@ -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.0 ruby lib
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.0"
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-09-25"
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.0
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-09-25 00:00:00.000000000 Z
11
+ date: 2018-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: resque