magic_addresses 0.0.15 → 0.0.16

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: bfb79f2139b137d41b7f78f69cc21e38f7955fe4
4
- data.tar.gz: 35b0f8a56ae484e97972ed1ad31d4c6faf810cee
3
+ metadata.gz: 3ba1f6e1cbb23ef386b64c0c95540dcae40bfe5f
4
+ data.tar.gz: 6f7c7e39d8bdf85e0c9f14ec9b1090383a7a8ec1
5
5
  SHA512:
6
- metadata.gz: 1af96fcc99be2e14ed3166c12763e4d29ed9c527dcc6293495fc44f31d117a0d8ff4717229c254b8a140ccd0c8b1254a3c58bf4b299c9de78064dd5748bed64c
7
- data.tar.gz: dea92094e76527f8655ae0a58d3b53e115141e5be33d799e5476756b61ca54f161cc98c233b73fff41ae174acff9249c1b061f9bbf1fbe154a617d1e83362949
6
+ metadata.gz: 4f1430fb9cb8ec8c5b71e8344281ffabb02ae4bd07a6267e872a6fe9e45111feb5de5acc01d84514bfd8c500a8aa3dbc27fe69833181a65a4c0a678bb6e82b9a
7
+ data.tar.gz: 451144e5cbefdb2c5396a9559f48a727337a65b0f159d94a458953da860a43cf6311004f019699ba133a96321fd1b81dee4b2c9125d55e581ab9ee9132c5dacf
@@ -44,7 +44,7 @@ module MagicAddresses
44
44
  autoload :SubdistrictsController, "app/controllers/magic_addresses/subdistricts_controller"
45
45
 
46
46
  # worker (sidekiq)
47
- autoload :AddressWorker, "app/workers/magic_addresses/addresses_worker" if MagicAddresses.configuration.job_backend == :sidekiq
47
+ autoload :AddressWorker, "app/workers/magic_addresses/addresses_worker" if defined?(Sidekiq::Worker)
48
48
 
49
49
  # serializer
50
50
  autoload :AddressSerializer, "app/serializers/magic_addresses/address_serializer" if defined?(ActiveModel::Serializer)
@@ -1,3 +1,3 @@
1
1
  module MagicAddresses
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_addresses
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel