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: 40e70ada8de50817f51cf0b7b072c7e7db235891
4
- data.tar.gz: 90c6b139491fa78b74c21057545dac46c12cb141
3
+ metadata.gz: f6847a7a87f3a4b268f17b0e1051c1947738c3ec
4
+ data.tar.gz: e6017460930225630f39d9b4994ec2eb6e92005b
5
5
  SHA512:
6
- metadata.gz: 12a17b97286370f30888de96a8b951ddb9f2b243f881849002854121740eaa3cf006baab5adbb68788e963357a6dc29e327452e69523d7f72f9312718ef55548
7
- data.tar.gz: cf321ceae15a266ca97c335ee9e3e6b993fa940294047fb0fc57b887d05253660649642fb0089d30f3a3744eefb7d2d27fc01f503fe201a18dc0dba07f14c663
6
+ metadata.gz: 784f598655f40226151c63d094432a239ecb22bbb3d8104d1d09f81ce68e1fc7603f788fef0a045f2e06a0e8b9f3248d73709df89a23111cadaef62d16719cb8
7
+ data.tar.gz: 4256d0370e0e926f7fc287fe05da0ca4bd8020c7d91de32a242f2185fe5e991d863e3c3a8357ebcf0e5dd555d68bcaf32cdf06e676fb411f5900af0484966ff3
@@ -23,5 +23,5 @@ Gem::Specification.new do |spec|
23
23
  spec.required_ruby_version = '>= 1.9.3'
24
24
 
25
25
  spec.add_dependency 'aws-sdk', '~> 2'
26
- spec.add_dependency 'rails', '>= 4.2', '< 5.0.1'
26
+ spec.add_dependency 'rails', '>= 4.2'
27
27
  end
@@ -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("ActionDispatch::SSL","ActiveElasticJob::Rack::SqsMessageConsumer")
7
+ app.config.middleware.insert_before(ActionDispatch::SSL,ActiveElasticJob::Rack::SqsMessageConsumer)
8
8
  else
9
- app.config.middleware.use("ActiveElasticJob::Rack::SqsMessageConsumer")
9
+ app.config.middleware.use(ActiveElasticJob::Rack::SqsMessageConsumer)
10
10
  end
11
11
  end
12
12
  end
@@ -2,7 +2,7 @@ module ActiveElasticJob
2
2
  module VERSION
3
3
  MAJOR = 1
4
4
  MINOR = 6
5
- TINY = 1
5
+ TINY = 3
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
@@ -83,11 +83,11 @@ module ActiveJob
83
83
  end
84
84
 
85
85
  def enqueue(job) #:nodoc:
86
- ActiveElasticJobAdapter.enqueue job
86
+ self.class.enqueue job
87
87
  end
88
88
 
89
89
  def enqueue_at(job, timestamp) #:nodoc:
90
- ActiveElasticJobAdapter.enqueue_at(job, timestamp)
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.1
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-24 00:00:00.000000000 Z
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.