activeadmin-graphql 0.1.1 → 0.1.2
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/CHANGELOG.md +4 -0
- data/lib/active_admin/graphql/resource_query_proxy.rb +4 -1
- data/lib/active_admin/graphql/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc303bd74d84b05385c3a3af874e1dd66957029746729122a5d684ac9720a4cd
|
|
4
|
+
data.tar.gz: c2ab55694cb7b62773fd22db7fb219850fb3901a3d5bf9565a9ac00b0804db6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c90194015f4ad4ff7ebf9125ad6c7b2b4c0cf800a622f7cafba0d9a88945bdc57956eca598b2991aa32ceeec66ea925c5e9e5749ab38ad56a042c22f1de6437
|
|
7
|
+
data.tar.gz: f023d72351949ed1b0817ec01839ff1ce45aeae3d5ffba51a7651307fdf51c598171e085a5f0fe9b0b183bb62ff4da09e0810c57e4afb5c54ded43db1f9b12e2
|
data/CHANGELOG.md
CHANGED
|
@@ -49,7 +49,10 @@ module ActiveAdmin
|
|
|
49
49
|
extra = {
|
|
50
50
|
"batch_action" => batch_sym.to_s,
|
|
51
51
|
"collection_selection" => Array(ids).map(&:to_s),
|
|
52
|
-
|
|
52
|
+
# JSON.generate/to_json can attempt to append to a frozen literal on TruffleRuby.
|
|
53
|
+
# Using JSON.dump with an explicit mutable buffer avoids mutating the gem's internal
|
|
54
|
+
# literals while still serializing to the string that ActiveAdmin expects.
|
|
55
|
+
"batch_action_inputs" => JSON.dump(inputs, +"")
|
|
53
56
|
}
|
|
54
57
|
c = controller_for("batch_action", extra)
|
|
55
58
|
perform_controller_command!(c) { c.send(:batch_action) }
|