active_elastic_job 3.2.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: 13d1e6ed87dd9769df952fb0017b638febe10bbb414263b71a6b0caf3dfc2b52
4
- data.tar.gz: 69fd12721bd019bc46ec105c35de482f914f82fee1bcf22d18df44f3985ca9db
3
+ metadata.gz: 0c8bcd080a97a90472047f254de5d4631fa00923d31dcacd4646914271c783b0
4
+ data.tar.gz: d1edda90af793bfe9f10421df67bed6bd0964d01e5f0c33407e361e52668ae7e
5
5
  SHA512:
6
- metadata.gz: f34c118939fb99f8826ea1f2b6e6cb7c4407e23d5ecce2162563d4a9f36978a578e2f9fc72fd50d98e453adb6689ca68c2b3f01d37374d081a4a93ca6a66718e
7
- data.tar.gz: d2c2ee1810263d6504b8ab774dbacb6a4be44a789f624577ca79097d8989fd0a0f74b96bc0ad7b655ed88b8903c3a8d81b1c5eae0cb16343d8d1995b15186c98
6
+ metadata.gz: 2e66900dc7c3b78447daf6a23c844714e94202715154630ba462da06c6ff027fae09cbdd143542c6f6ca325a85ea5bd1817f878d7530908b07299911e2ccc95e
7
+ data.tar.gz: 1b80765a24c7df83f8d600b8232d729f3b4410209076f0af845c5b3b0702fd82f18e44cf67e5a9a4b71352bf82bcc1fc1ab78b85eed6363359291c83ec7b4240
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.required_ruby_version = '>= 2.7'
24
24
 
25
25
  spec.add_dependency 'aws-sdk-sqs', '~> 1'
26
- spec.add_dependency 'rails', '>= 5.2.6', '< 7.1'
26
+ spec.add_dependency 'rails', '>= 5.2.6', '< 8'
27
27
 
28
28
  spec.add_development_dependency 'amazing_print', '~> 1.2'
29
29
  spec.add_development_dependency 'benchmark-ips', '~> 2.8'
@@ -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
@@ -1,7 +1,7 @@
1
1
  module ActiveElasticJob
2
2
  module VERSION
3
3
  MAJOR = 3
4
- MINOR = 2
4
+ MINOR = 3
5
5
  TINY = 0
6
6
  PRE = nil
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_elastic_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tawan Sierek
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-01-19 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
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: 5.2.6
35
35
  - - "<"
36
36
  - !ruby/object:Gem::Version
37
- version: '7.1'
37
+ version: '8'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 5.2.6
45
45
  - - "<"
46
46
  - !ruby/object:Gem::Version
47
- version: '7.1'
47
+ version: '8'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: amazing_print
50
50
  requirement: !ruby/object:Gem::Requirement