apiotics 0.1.35 → 0.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1fbc55f9161178762ea1d70b7c32bab58b91e84
4
- data.tar.gz: 84566e3f791346e875b10f236a75fcb7cfc775c4
3
+ metadata.gz: ec59851725501c613a71d7f571d6e9bc066b7651
4
+ data.tar.gz: b79092af7968395a9046f413bf26a0145f6f281e
5
5
  SHA512:
6
- metadata.gz: acf51c3ba54c7b8722ff5e33c925a5103712a6cde89f4879904f1b3d7c5dcff9edbcc7b59ef5a949ce8014935368f4ac3ef467d55b8956ab3e8641733f248b59
7
- data.tar.gz: ccf16f11471035157f5ebc652aee454a58c4a81e09ea0e0a6ad4dc9549395c010eba5903d2ddedef104336cdfb3b3d642f5579970b08e8dd6eaf16fef9df116c
6
+ metadata.gz: 9ef6e28662d7e3c0d9681af6122474d32473c66b0f64a0e0f5318b3ecb2035309ebf4f8ea960e464380a0fa3eb590bde44c2ecbc89c4b39e8e0bd3fea856d573
7
+ data.tar.gz: 28e5f4e640d6ef9056e727701ad8389c6e690b4bb20a319d69888adef4ba8428f09dd3811eb65e1cf0a6d97a649eacc6ec0e068fb67fa2d5cb09d8954dd446b2
@@ -93,7 +93,9 @@ module Apiotics
93
93
  unless klass == nil
94
94
  instance_ids = Array.new
95
95
  instance_hash[worker_name].each do |instance_id,status|
96
- instance_ids << instance_id
96
+ if status == "Active"
97
+ instance_ids << instance_id
98
+ end
97
99
  end
98
100
  stale_instances = klass.where.not(apiotics_instance: instance_ids)
99
101
  stale_instances.destroy_all
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.35'
2
+ VERSION = '0.1.36'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiotics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.35
4
+ version: 0.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation