active_elastic_job 1.6.0 → 1.6.1
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: 40e70ada8de50817f51cf0b7b072c7e7db235891
|
4
|
+
data.tar.gz: 90c6b139491fa78b74c21057545dac46c12cb141
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12a17b97286370f30888de96a8b951ddb9f2b243f881849002854121740eaa3cf006baab5adbb68788e963357a6dc29e327452e69523d7f72f9312718ef55548
|
7
|
+
data.tar.gz: cf321ceae15a266ca97c335ee9e3e6b993fa940294047fb0fc57b887d05253660649642fb0089d30f3a3744eefb7d2d27fc01f503fe201a18dc0dba07f14c663
|
@@ -19,7 +19,7 @@ module ActiveElasticJob
|
|
19
19
|
CONTENT_TYPE = 'application/json'.freeze
|
20
20
|
CONTENT_TYPE_HEADER_NAME = 'Content-Type'.freeze
|
21
21
|
OK_RESPONSE_CODE = '200'.freeze
|
22
|
-
INSIDE_DOCKER_CONTAINER = `cat /proc/1/cgroup` =~ /docker/
|
22
|
+
INSIDE_DOCKER_CONTAINER = `[ -f /proc/1/cgroup ] && cat /proc/1/cgroup` =~ /docker/
|
23
23
|
DOCKER_HOST_IP = "172.17.0.1".freeze
|
24
24
|
|
25
25
|
def initialize(app) #:nodoc:
|
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.1
|
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-
|
11
|
+
date: 2016-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|