active_elastic_job 3.1.0 → 3.3.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
  SHA256:
3
- metadata.gz: 7314269003451ee2d9b211948b70a351621f340395ffddcf47e7f8362a5e4d4e
4
- data.tar.gz: 3b75e291c60225b28aaf879143e49ba16955bd3faed096a9b1c7dc6804aa40f8
3
+ metadata.gz: 0c8bcd080a97a90472047f254de5d4631fa00923d31dcacd4646914271c783b0
4
+ data.tar.gz: d1edda90af793bfe9f10421df67bed6bd0964d01e5f0c33407e361e52668ae7e
5
5
  SHA512:
6
- metadata.gz: 0fe756ae355407bb1f923850efbb53e6587dcb136aee42b64467780ab73bc1935210494039a88e02ea7d525846bdcd90ac398136ca33c6389dae66be975d417b
7
- data.tar.gz: c6cb04a7f3acee2cce0991d66b665ed544d42903f9b89a124705717af8b3787fd6b4e69de60d0d1c78ff03bde436377d803fc169f3accff0d6f61f50297e1e98
6
+ metadata.gz: 2e66900dc7c3b78447daf6a23c844714e94202715154630ba462da06c6ff027fae09cbdd143542c6f6ca325a85ea5bd1817f878d7530908b07299911e2ccc95e
7
+ data.tar.gz: 1b80765a24c7df83f8d600b8232d729f3b4410209076f0af845c5b3b0702fd82f18e44cf67e5a9a4b71352bf82bcc1fc1ab78b85eed6363359291c83ec7b4240
@@ -20,12 +20,14 @@ Gem::Specification.new do |spec|
20
20
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
21
21
  spec.require_paths = ['lib']
22
22
 
23
- spec.required_ruby_version = '>= 2.5'
23
+ spec.required_ruby_version = '>= 2.7'
24
24
 
25
25
  spec.add_dependency 'aws-sdk-sqs', '~> 1'
26
- spec.add_dependency 'rails', '>= 5.0', '<7'
26
+ spec.add_dependency 'rails', '>= 5.2.6', '< 8'
27
27
 
28
+ spec.add_development_dependency 'amazing_print', '~> 1.2'
28
29
  spec.add_development_dependency 'benchmark-ips', '~> 2.8'
30
+ spec.add_development_dependency 'bootsnap', '~>1.9'
29
31
  spec.add_development_dependency 'bundler', '~> 2.2'
30
32
  spec.add_development_dependency 'byebug', '~> 11.1'
31
33
  spec.add_development_dependency 'climate_control', '~> 0.2'
@@ -33,6 +35,6 @@ Gem::Specification.new do |spec|
33
35
  spec.add_development_dependency 'fuubar', '~> 2.5'
34
36
  spec.add_development_dependency 'rdoc', '~> 6.3'
35
37
  spec.add_development_dependency 'rspec', '~> 3.4'
38
+ spec.add_development_dependency 'sprockets-rails', '~> 3.4'
36
39
  spec.add_development_dependency 'sqlite3', '~> 1.4'
37
- spec.add_development_dependency 'amazing_print', '~> 1.2'
38
40
  end
@@ -141,7 +141,7 @@ module ActiveElasticJob
141
141
  end
142
142
 
143
143
  def app_runs_in_docker_container?
144
- (`[ -f /proc/1/cgroup ] && cat /proc/1/cgroup` =~ /(ecs|docker)/).present?
144
+ File.exist?('/.dockerenv') || (`[ -f /proc/1/cgroup ] && cat /proc/1/cgroup` =~ /(ecs|docker)/).present?
145
145
  end
146
146
  end
147
147
  end
@@ -9,7 +9,7 @@ module ActiveElasticJob
9
9
 
10
10
  initializer "active_elastic_job.insert_middleware" do |app|
11
11
  if app.config.active_elastic_job.secret_key_base.blank?
12
- app.config.active_elastic_job.secret_key_base = app.secrets[:secret_key_base]
12
+ app.config.active_elastic_job.secret_key_base = ENV["SECRET_KEY_BASE"] || app.credentials.secret_key_base || app.secrets.secret_key_base
13
13
  end
14
14
 
15
15
  if app.config.active_elastic_job.process_jobs == true
@@ -1,7 +1,7 @@
1
1
  module ActiveElasticJob
2
2
  module VERSION
3
3
  MAJOR = 3
4
- MINOR = 1
4
+ MINOR = 3
5
5
  TINY = 0
6
6
  PRE = nil
7
7
 
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_elastic_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tawan Sierek
8
8
  - Joey Paris
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-10-25 00:00:00.000000000 Z
12
+ date: 2024-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk-sqs
@@ -31,20 +31,34 @@ dependencies:
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '5.0'
34
+ version: 5.2.6
35
35
  - - "<"
36
36
  - !ruby/object:Gem::Version
37
- version: '7'
37
+ version: '8'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- version: '5.0'
44
+ version: 5.2.6
45
45
  - - "<"
46
46
  - !ruby/object:Gem::Version
47
- version: '7'
47
+ version: '8'
48
+ - !ruby/object:Gem::Dependency
49
+ name: amazing_print
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.2'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.2'
48
62
  - !ruby/object:Gem::Dependency
49
63
  name: benchmark-ips
50
64
  requirement: !ruby/object:Gem::Requirement
@@ -59,6 +73,20 @@ dependencies:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
75
  version: '2.8'
76
+ - !ruby/object:Gem::Dependency
77
+ name: bootsnap
78
+ requirement: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.9'
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.9'
62
90
  - !ruby/object:Gem::Dependency
63
91
  name: bundler
64
92
  requirement: !ruby/object:Gem::Requirement
@@ -158,33 +186,33 @@ dependencies:
158
186
  - !ruby/object:Gem::Version
159
187
  version: '3.4'
160
188
  - !ruby/object:Gem::Dependency
161
- name: sqlite3
189
+ name: sprockets-rails
162
190
  requirement: !ruby/object:Gem::Requirement
163
191
  requirements:
164
192
  - - "~>"
165
193
  - !ruby/object:Gem::Version
166
- version: '1.4'
194
+ version: '3.4'
167
195
  type: :development
168
196
  prerelease: false
169
197
  version_requirements: !ruby/object:Gem::Requirement
170
198
  requirements:
171
199
  - - "~>"
172
200
  - !ruby/object:Gem::Version
173
- version: '1.4'
201
+ version: '3.4'
174
202
  - !ruby/object:Gem::Dependency
175
- name: amazing_print
203
+ name: sqlite3
176
204
  requirement: !ruby/object:Gem::Requirement
177
205
  requirements:
178
206
  - - "~>"
179
207
  - !ruby/object:Gem::Version
180
- version: '1.2'
208
+ version: '1.4'
181
209
  type: :development
182
210
  prerelease: false
183
211
  version_requirements: !ruby/object:Gem::Requirement
184
212
  requirements:
185
213
  - - "~>"
186
214
  - !ruby/object:Gem::Version
187
- version: '1.2'
215
+ version: '1.4'
188
216
  description: Run background jobs / tasks of Rails applications deployed in Amazon
189
217
  Elastic Beanstalk environments. Active Elastic Job is an Active Job backend which
190
218
  is easy to setup. No need for customised container commands or other workarounds.
@@ -207,7 +235,7 @@ homepage: https://github.com/active-elastic-job/active-elastic-job
207
235
  licenses:
208
236
  - MIT
209
237
  metadata: {}
210
- post_install_message:
238
+ post_install_message:
211
239
  rdoc_options: []
212
240
  require_paths:
213
241
  - lib
@@ -215,15 +243,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
215
243
  requirements:
216
244
  - - ">="
217
245
  - !ruby/object:Gem::Version
218
- version: '2.5'
246
+ version: '2.7'
219
247
  required_rubygems_version: !ruby/object:Gem::Requirement
220
248
  requirements:
221
249
  - - ">="
222
250
  - !ruby/object:Gem::Version
223
251
  version: '0'
224
252
  requirements: []
225
- rubygems_version: 3.0.3
226
- signing_key:
253
+ rubygems_version: 3.2.32
254
+ signing_key:
227
255
  specification_version: 4
228
256
  summary: Active Elastic Job is a simple to use Active Job backend for Rails applications
229
257
  deployed on the Amazon Elastic Beanstalk platform.