libis-workflow-mongoid 2.0.27 → 2.0.29

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
  SHA256:
3
- metadata.gz: b5074001298f36d59ebb9a875e91a70c73c7d4ab197087305fa25eb45635822c
4
- data.tar.gz: feb8263c3671ea71de20f9795e8cc3eb9cc02a7d9c3d7764f8439b5a0bb3e9f1
3
+ metadata.gz: 5221d80128ccd545a8309305697e3f8d8d45d32e97d1058f1c7de38e13d3acfe
4
+ data.tar.gz: 2297f8138cccb88096c7e73933617b8d607d46e2984f2d92c3be1a2b72f4070c
5
5
  SHA512:
6
- metadata.gz: 3f4e7e8f3c6584d19a8608afa05d59e4605c2463a7b9b29a6007bbe41dab1030936335e4e22f7d81bcc69d7d1bc2b327de63fce610b6ac9f4b4941f787c2dc92
7
- data.tar.gz: 35765f95280799fc072b48acca659e9fd1e5e9ec6629a392feb0356edce81b9d4fabd63d672dc87f087692e1c20d5b5dd68c661194176df5c12c82c3960c5287
6
+ metadata.gz: 58bc88aa1a4d9c3bcba575220abc78e475f3679288323b9b33626e02707dddec55991f612db5ae7f4d3cd17655b6a23dc05ed14279538abb6742f3b5f1598d91
7
+ data.tar.gz: 15c749b170429e8e211e59c8f57c4060c6c12be73a9a26a0cfdfce5513338767d0755c8ec2113867ac25ecb4371d2755c6d0794cd724cfb1a5d0686d1eb65487
@@ -12,7 +12,6 @@ module Libis
12
12
  autoload :Job, 'libis/workflow/mongoid/job'
13
13
  autoload :WorkItem, 'libis/workflow/mongoid/work_item'
14
14
  autoload :Run, 'libis/workflow/mongoid/run'
15
- autoload :Worker, 'libis/workflow/mongoid/worker'
16
15
  autoload :Workflow, 'libis/workflow/mongoid/workflow'
17
16
 
18
17
  def self.configure
@@ -1,7 +1,7 @@
1
1
  module Libis
2
2
  module Workflow
3
3
  module Mongoid
4
- VERSION = '2.0.27' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
4
+ VERSION = '2.0.29' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
5
5
  end
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- require 'backports/rails/string'
2
+ require '/libis/tools/extend/string'
3
3
  require 'libis-workflow'
4
4
 
5
5
  class CamelizeName < ::Libis::Workflow::Task
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-workflow-mongoid
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.27
4
+ version: 2.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-12 00:00:00.000000000 Z
11
+ date: 2020-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libis-workflow
@@ -120,7 +120,6 @@ files:
120
120
  - lib/libis/workflow/mongoid/status_entry.rb
121
121
  - lib/libis/workflow/mongoid/version.rb
122
122
  - lib/libis/workflow/mongoid/work_item.rb
123
- - lib/libis/workflow/mongoid/worker.rb
124
123
  - lib/libis/workflow/mongoid/workflow.rb
125
124
  - libis-workflow-mongoid.gemspec
126
125
  - mongoid.yml
@@ -1,20 +0,0 @@
1
- require 'libis/workflow/worker'
2
- require 'sidekiq'
3
-
4
- module Libis
5
- module Workflow
6
- module Mongoid
7
-
8
- class Worker < Libis::Workflow::Worker
9
-
10
- def get_job(job_config)
11
- job_name = job_config.delete(:name)
12
- job = ::Libis::Workflow::Mongoid::Job.find(name: job_name).first
13
- raise RuntimeError.new "Workflow #{job_name} not found" unless job.is_a? ::Libis::Workflow::Mongoid::Job
14
- job
15
- end
16
-
17
- end
18
- end
19
- end
20
- end