active_elastic_job 1.6.1 → 1.6.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6847a7a87f3a4b268f17b0e1051c1947738c3ec
|
4
|
+
data.tar.gz: e6017460930225630f39d9b4994ec2eb6e92005b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 784f598655f40226151c63d094432a239ecb22bbb3d8104d1d09f81ce68e1fc7603f788fef0a045f2e06a0e8b9f3248d73709df89a23111cadaef62d16719cb8
|
7
|
+
data.tar.gz: 4256d0370e0e926f7fc287fe05da0ca4bd8020c7d91de32a242f2185fe5e991d863e3c3a8357ebcf0e5dd555d68bcaf32cdf06e676fb411f5900af0484966ff3
|
data/active-elastic-job.gemspec
CHANGED
@@ -4,9 +4,9 @@ module ActiveElasticJob
|
|
4
4
|
disabled = ENV['DISABLE_SQS_CONSUMER']
|
5
5
|
if disabled == 'false' || disabled.nil?
|
6
6
|
if app.config.force_ssl
|
7
|
-
app.config.middleware.insert_before(
|
7
|
+
app.config.middleware.insert_before(ActionDispatch::SSL,ActiveElasticJob::Rack::SqsMessageConsumer)
|
8
8
|
else
|
9
|
-
app.config.middleware.use(
|
9
|
+
app.config.middleware.use(ActiveElasticJob::Rack::SqsMessageConsumer)
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
@@ -83,11 +83,11 @@ module ActiveJob
|
|
83
83
|
end
|
84
84
|
|
85
85
|
def enqueue(job) #:nodoc:
|
86
|
-
|
86
|
+
self.class.enqueue job
|
87
87
|
end
|
88
88
|
|
89
89
|
def enqueue_at(job, timestamp) #:nodoc:
|
90
|
-
|
90
|
+
self.class.enqueue_at(job, timestamp)
|
91
91
|
end
|
92
92
|
|
93
93
|
class << self
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_elastic_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tawan Sierek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05
|
11
|
+
date: 2016-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -31,9 +31,6 @@ dependencies:
|
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '4.2'
|
34
|
-
- - "<"
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 5.0.1
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -41,9 +38,6 @@ dependencies:
|
|
41
38
|
- - ">="
|
42
39
|
- !ruby/object:Gem::Version
|
43
40
|
version: '4.2'
|
44
|
-
- - "<"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 5.0.1
|
47
41
|
description: Run background jobs / tasks of Rails applications deployed in Amazon
|
48
42
|
Elastic Beanstalk environments. Active Elastic Job is an Active Job backend which
|
49
43
|
is easy to setup. No need for customised container commands or other workarounds.
|