asyncapi-client 0.5.0 → 0.5.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: f8f0c459111eb7270486b2b9cd41c811d6ec8fda
4
- data.tar.gz: 2bd5e7375adc86a910b63832c7d702f4a03e1c70
3
+ metadata.gz: 64a8ce03807506f44f69762c6665bf12e84a51eb
4
+ data.tar.gz: f5eca9fca67c3f7572bdea685c31e14ac7ceb2ee
5
5
  SHA512:
6
- metadata.gz: a317e387d9c38c7f0fa2ad1f7e6aebcbf2b4c40c37ee8828ac5ebf4b7ede618bf2070d69c4997e0c91edb4137674136928149f119005e40fdd42256103f5a877
7
- data.tar.gz: 44f4b7b73c6c1bf28aad6ea32b414183225d9ee7779d7c38783dd892bfe94c24fc9da036175616f9d883dbaad0865d85945525a97f16572b11bea0518a86de2b
6
+ metadata.gz: 74f00f266d50fec02b36bc0445ad46e43dcefd57e0ee4d578ef1ba2691fb327ec542eac54e6b035e59599625c25edcf12ab579ffde6fbf17cd82085b96878b40
7
+ data.tar.gz: db2eb606379785bb662c2ebba473afb625a16c1ce24d79f46625d07864443e338c79d432cd88a28788dbdc4b84512183c2430f5b88d9c90ba51e26a0ad42a0f6
@@ -19,8 +19,10 @@ module Asyncapi::Client
19
19
  end
20
20
  end
21
21
 
22
- Sidekiq::Cron::Job.create({
23
- name: "Expire jobs",
24
- cron: "*/1 * * * *",
25
- klass: "Asyncapi::Client::JobTimeOutWorker",
26
- })
22
+ if Sidekiq.server?
23
+ Sidekiq::Cron::Job.create({
24
+ name: "Expire jobs",
25
+ cron: "*/1 * * * *",
26
+ klass: "Asyncapi::Client::JobTimeOutWorker",
27
+ })
28
+ end
@@ -1,5 +1,5 @@
1
1
  module Asyncapi
2
2
  module Client
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asyncapi-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - G5
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-03-31 00:00:00.000000000 Z
13
+ date: 2016-05-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -280,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  version: '0'
281
281
  requirements: []
282
282
  rubyforge_project:
283
- rubygems_version: 2.5.1
283
+ rubygems_version: 2.2.2
284
284
  signing_key:
285
285
  specification_version: 4
286
286
  summary: Asynchronous API communication