worker_plugins 0.0.17 → 0.0.18
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: b66bf928a610373f9a0e72db06915b6d09f698945af69189aea8dbb8541ac297
|
|
4
|
+
data.tar.gz: 448fb8ee1bf8e81f0359e73cd1fb57e8ba3b53d6f4ae18233dc052c213a9c1da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e882df20c77dc8ebc309918e6fd8e55410f0bfe622be0cd9bda3bb5acfb6fe618ff22f1dceaa1b88a9c29a25648201beb6d47b97f7a77811b39d47146be9908a
|
|
7
|
+
data.tar.gz: 3d46e4abe531bab641f3a45c1bb0cdc6a0cd19485574477f29a45e13355a829b82f7c5ab2da607981135219b4c7615fd5035ce96fc06da1c9756ef1d20b3d29f
|
|
@@ -2,8 +2,10 @@ class WorkerPlugins::UserRelationshipPolymorphic
|
|
|
2
2
|
def self.execute!
|
|
3
3
|
WorkerPlugins::Workplace.columns_hash.key?("user_type")
|
|
4
4
|
rescue StandardError => e
|
|
5
|
-
# Fall back to true if
|
|
6
|
-
return true if e.message.start_with?("Could not find table") ||
|
|
5
|
+
# Fall back to true if the table doesn't exist yet (MySQL, SQLite, PostgreSQL)
|
|
6
|
+
return true if e.message.start_with?("Could not find table") ||
|
|
7
|
+
e.message.match?(/Table '(.+)' doesn't exist/) ||
|
|
8
|
+
e.message.match?(/relation .* does not exist/)
|
|
7
9
|
|
|
8
10
|
raise e
|
|
9
11
|
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.18
|
|
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-07 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: []
|