active_elastic_job 1.4.4 → 1.5.0

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: a6b7c54fdcbabb34214e4b940dbfd798fd133128
4
- data.tar.gz: f4c7b2667b760e1691e629f62140d5ca91d79853
3
+ metadata.gz: 586dcedcf8240ca38ef83c890ca82a9f89210cac
4
+ data.tar.gz: fb057db8a70b8d93a1f7d05f13f6d911d084ba54
5
5
  SHA512:
6
- metadata.gz: 2534e2ceea1616dce0f359facac6de3a7af43797accbd3df18f8d469abb959ed4521e01d773310059395b71b96b898aa9ff190e0af1c6c6137306239821655b3
7
- data.tar.gz: 08abba9af61fbb9fb3337f0718a6bd3045c036e873c221143381ec41df9aae6d87ca2619d82baca3062c97645630d02ea146c0d3bca139c865ac648fbb900bf4
6
+ metadata.gz: 70282a93e9cb166188a439fae19c5d35a4023a9d6bc605cc1b9cd3cbf56bd555bdc05f7e8ebb111fb4be010b569500988beb17925b2416041dacfde996237d1a
7
+ data.tar.gz: 4e827fb5790e8409dd9ed687937448899f400dcc4d51a901011f085c08ddf50b02082e1b946fc53e333da61826ecff05b17d9ae324cf9ad9403aa8da9b71ffa1
@@ -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'
26
+ spec.add_dependency 'rails', '>= 4.2', '< 5.0.1'
27
27
  end
@@ -1,8 +1,8 @@
1
1
  module ActiveElasticJob
2
2
  module VERSION
3
3
  MAJOR = 1
4
- MINOR = 4
5
- TINY = 4
4
+ MINOR = 5
5
+ TINY = 0
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
@@ -82,6 +82,14 @@ module ActiveJob
82
82
  end
83
83
  end
84
84
 
85
+ def enqueue(job) #:nodoc:
86
+ ActiveElasticJobAdapter.enqueue job
87
+ end
88
+
89
+ def enqueue_at(job, timestamp) #:nodoc:
90
+ ActiveElasticJobAdapter.enqueue_at(job, timestamp)
91
+ end
92
+
85
93
  class << self
86
94
  def enqueue(job) #:nodoc:
87
95
  enqueue_at(job, Time.now)
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.4.4
4
+ version: 1.5.0
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-04-06 00:00:00.000000000 Z
11
+ date: 2016-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.2'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: 5.0.1
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '4.2'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: 5.0.1
41
47
  description: Run background jobs / tasks of Rails applications deployed in Amazon
42
48
  Elastic Beanstalk environments. Active Elastic Job is an Active Job backend which
43
49
  is easy to setup. No need for customised container commands or other workarounds.