softwear-lib 1.8.0 → 1.8.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: 4ba997cdcca4c738dc0e92953c7a3193541fd256
4
- data.tar.gz: de8293816825a71c8864c9539a9df853c15017d9
3
+ metadata.gz: 0fcd2752eff4d434f8fa8fecb8aba94be8c5d0ba
4
+ data.tar.gz: 7692ab15625d78dd53ff045f07cdb9c8f90773e8
5
5
  SHA512:
6
- metadata.gz: f1b075f5da35bb6d56e9baa1c9e2f271931d02c23cd16b53da3ce5a83ad4b87edc756c977898d58cf3c7d8b36e8e01d663533de15420fd8069583df4c561f019
7
- data.tar.gz: 444516f41f32cda04746f9b1900ac2b7061cdceca7d89335e8186e1ee2889387b3508009bd3803ce5c6643d040387fff4aa6e7a8f8bd773f04c2732ca09d49c6
6
+ metadata.gz: 13c5a47a437b224649c59fc10cdf82194282aed2b704ce0f4662a0aadaf58a9c81fe9692a8c63cefaf44bc460ed9662ec04e350c6b915a1b94f02a319aa0eb07
7
+ data.tar.gz: d9e8612ab1cde5725a0f4e4cb6921e267d5f7e4bef4e98a88520891e8231b769e159cdab0baa2f97b787cd57ab91d278d6ef6e20b9c9bfe85f4cff5266fa509f
@@ -4,7 +4,7 @@ module Softwear
4
4
  extend ActiveSupport::Concern
5
5
 
6
6
  class Worker
7
- include Sidekiq::Worker
7
+ include ::Sidekiq::Worker
8
8
 
9
9
  def perform(model_name, id, method, *args)
10
10
  model_name.constantize.find(id).send(method, *args)
@@ -30,7 +30,7 @@ module Softwear
30
30
  if Rails.env.production?
31
31
  class_eval <<-RUBY, __FILE__, __LINE__ + 1
32
32
  def self.enqueue_#{method_name}(id, *args)
33
- Sidekiq::Client.push(
33
+ ::Sidekiq::Client.push(
34
34
  'class' => ::Softwear::Lib::Enqueue::Worker,
35
35
  'args' => [name, id, #{method_name.inspect}] + args,
36
36
  'queue' => #{options[:queue]}
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Lib
3
- VERSION = "1.8.0"
3
+ VERSION = "1.8.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softwear-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie