worker_plugins 0.0.17 → 0.0.19
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 177c626b0024e66fb62986646f36d06e7688006cef5c5c9302d201cf193659e2
|
|
4
|
+
data.tar.gz: 1f1377cb5f97933bb24af87e2651cbd667186acdfd75301cdcf04489b748e4d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 81a4c70c2f61bc971c8a3454d456fb33ebcdf75642cd4a59779bff782978b27d27d877ee2a3f7405afdfb2fc339796a8c74b128ec54c629436a5918c6c1c37be
|
|
7
|
+
data.tar.gz: 0a1b739dd8dfcb2a4b92b05e688b65089903f4a1253130f6a329149527280530e962aa561a07618ff147eb4289c1069ea84dd99051603035b826f5344858f4a1
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
class WorkerPlugins::UserRelationshipPolymorphic
|
|
2
2
|
def self.execute!
|
|
3
|
+
return true unless WorkerPlugins::Workplace.connection.table_exists?(WorkerPlugins::Workplace.table_name)
|
|
3
4
|
WorkerPlugins::Workplace.columns_hash.key?("user_type")
|
|
4
|
-
rescue StandardError => e
|
|
5
|
-
# Fall back to true if we are in the middle of a migration or something
|
|
6
|
-
return true if e.message.start_with?("Could not find table") || e.message.match(/Table '(.+)' doesn't exist/)
|
|
7
|
-
|
|
8
|
-
raise e
|
|
9
5
|
end
|
|
10
6
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: worker_plugins
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.19
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kasper Stöckel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Rails framework for easily choosing and creating lists of objects and
|
|
14
14
|
execute plugins against them.
|
|
@@ -49,6 +49,7 @@ files:
|
|
|
49
49
|
- lib/tasks/worker_plugins_tasks.rake
|
|
50
50
|
- lib/worker_plugins.rb
|
|
51
51
|
- lib/worker_plugins/engine.rb
|
|
52
|
+
- lib/worker_plugins/namespace.rb
|
|
52
53
|
- lib/worker_plugins/version.rb
|
|
53
54
|
homepage: https://www.github.com/kaspernj/worker_plugins
|
|
54
55
|
licenses: []
|