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: 295868f33a251b59a3dfe4cfd54c8f1dd2180873
4
- data.tar.gz: 323dff4ad944340e11f8819d5c5f2d28f1ead982
3
+ metadata.gz: 40e70ada8de50817f51cf0b7b072c7e7db235891
4
+ data.tar.gz: 90c6b139491fa78b74c21057545dac46c12cb141
5
5
  SHA512:
6
- metadata.gz: 0a5cac45a1460d5e5b8865db125fbd2684807d5d6fd71e2ca6c967459a0d3fcba895c062e7d10250dac038743694148ba05366538d7d09ba6688b0fda285c207
7
- data.tar.gz: a57f088927d4efb9f8906cc75ccac279da3ae96298633a42dc54fd94e804b213cfe6edda11fac91961a82b49c47753aab64dad96dd23a13561ae2c611082e7ab
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:
@@ -2,7 +2,7 @@ module ActiveElasticJob
2
2
  module VERSION
3
3
  MAJOR = 1
4
4
  MINOR = 6
5
- TINY = 0
5
+ TINY = 1
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
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.0
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-04-21 00:00:00.000000000 Z
11
+ date: 2016-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk