decidim-ai 0.31.0.rc1 → 0.31.0
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 +4 -4
- data/lib/decidim/ai/engine.rb +6 -0
- data/lib/decidim/ai/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd2e468839883cb00bc30ae9c35dc55345ec81c182cc4148e789dcf9f9d489d2
|
|
4
|
+
data.tar.gz: d909b718db1ba97c3856fbbc290eb027da1fe385b15a90b8de2fc4e592d45f87
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7b8bd2ec4ec001e117dfdd9a117a712b7d084eabba62efd19045fa72b0965821c86d75e4f2215d7b5184bd57f0cb7b579521fab9edccafc3595bb9315588ac3
|
|
7
|
+
data.tar.gz: 3a522ebd82a2d327f3863fcf7d92b1ee2316aa44020e77d0bad7366fb6835c92f9d43f94b54a608974de8eb06f3f928dd30b85705975dca4a7bb0f3a9c92553b
|
data/lib/decidim/ai/engine.rb
CHANGED
|
@@ -7,6 +7,12 @@ module Decidim
|
|
|
7
7
|
|
|
8
8
|
paths["db/migrate"] = nil
|
|
9
9
|
|
|
10
|
+
initializer "decidim_ai.data_migrate", after: "decidim_core.data_migrate" do
|
|
11
|
+
DataMigrate.configure do |config|
|
|
12
|
+
config.data_migrations_path << root.join("db/data").to_s
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
|
|
10
16
|
initializer "decidim_ai.resource_classifiers" do |_app|
|
|
11
17
|
Decidim::Ai::SpamDetection.resource_analyzers.each do |analyzer|
|
|
12
18
|
Decidim::Ai::SpamDetection.resource_registry.register_analyzer(**analyzer)
|
data/lib/decidim/ai/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decidim-ai
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.31.0
|
|
4
|
+
version: 0.31.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexandru-Emil Lupu
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: classifier-reborn
|
|
@@ -30,70 +30,70 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.31.0
|
|
33
|
+
version: 0.31.0
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - '='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.31.0
|
|
40
|
+
version: 0.31.0
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: decidim-debates
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 0.31.0
|
|
47
|
+
version: 0.31.0
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0.31.0
|
|
54
|
+
version: 0.31.0
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: decidim-initiatives
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - '='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 0.31.0
|
|
61
|
+
version: 0.31.0
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - '='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 0.31.0
|
|
68
|
+
version: 0.31.0
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: decidim-meetings
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - '='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.31.0
|
|
75
|
+
version: 0.31.0
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - '='
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 0.31.0
|
|
82
|
+
version: 0.31.0
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: decidim-proposals
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
87
|
- - '='
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: 0.31.0
|
|
89
|
+
version: 0.31.0
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
94
|
- - '='
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: 0.31.0
|
|
96
|
+
version: 0.31.0
|
|
97
97
|
description: A module that aims to provide Artificial Intelligence tools for Decidim.
|
|
98
98
|
email:
|
|
99
99
|
- contact@alecslupu.ro
|