forest_admin_datasource_toolkit 1.0.0.pre.beta.21 → 1.0.0.pre.beta.22
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcd6677ce3f931b19f6b5e575c3235c724e8d23022ad43b768c11429cb59f537
|
4
|
+
data.tar.gz: 89acacaa778c611cc3bccda72f2757bd738bee2a446381bdc6c33e7e037135f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8453ea97a82fd1c8b329a48c102cd355eaf34488103e60baa4682dce03a648f0a8aea55497ec3b3484acfc1b7ce66c20e9f06d7bcc12dd9f614c03742ff136c
|
7
|
+
data.tar.gz: 374f7e949ad419ab3fb9f2928031e0c9257f8a8d1258652b829c36acadeba5da8cc81e2e6d2e6f2430ffe221550999d2e2a67f8bff460adcd08ae43d826b0342
|
@@ -46,5 +46,11 @@ module ForestAdminDatasourceToolkit
|
|
46
46
|
add_field(name, field)
|
47
47
|
end
|
48
48
|
end
|
49
|
+
|
50
|
+
def add_action(name, action)
|
51
|
+
raise Exceptions::ForestException, "Action #{name} already defined in collection" if @actions[key]
|
52
|
+
|
53
|
+
@actions[name] = action
|
54
|
+
end
|
49
55
|
end
|
50
56
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_admin_datasource_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.beta.
|
4
|
+
version: 1.0.0.pre.beta.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthieu
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-12-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|