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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bd13ddf19be4b8de1ae7140b52c95cb7e51d09460c3b51efaa889522a48a6a0
4
- data.tar.gz: eaecfbe08b5253dd567b074eb76e7bacef1bacf7f461390436a469156546ab5e
3
+ metadata.gz: cc303bd74d84b05385c3a3af874e1dd66957029746729122a5d684ac9720a4cd
4
+ data.tar.gz: c2ab55694cb7b62773fd22db7fb219850fb3901a3d5bf9565a9ac00b0804db6e
5
5
  SHA512:
6
- metadata.gz: 2a16ad771ad6139b0076b9c61f82fc08afeb6b4c77b7cd794101255956d456820b21f09ca3bf2e78091923d081d17da7103109f152cd53ea859f7371cf9b2434
7
- data.tar.gz: 75f1315a10aa1bf3a4b28d908d2d3ccafaa2146823cfb8a9c79e502a1132a2aab36b4a802cc9b1043eab9654c19be2bc2418ec1aacb43d1ff39a21efb52c3b1e
6
+ metadata.gz: 0c90194015f4ad4ff7ebf9125ad6c7b2b4c0cf800a622f7cafba0d9a88945bdc57956eca598b2991aa32ceeec66ea925c5e9e5749ab38ad56a042c22f1de6437
7
+ data.tar.gz: f023d72351949ed1b0817ec01839ff1ce45aeae3d5ffba51a7651307fdf51c598171e085a5f0fe9b0b183bb62ff4da09e0810c57e4afb5c54ded43db1f9b12e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.2 (2026-03-30)
4
+
5
+ - Fix TruffleRuby compatibility issue with JSON.dump
6
+
3
7
  ## 0.1.1 (2026-03-30)
4
8
 
5
9
  - Fix repository URL in gemspec
@@ -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
- "batch_action_inputs" => inputs.to_json
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) }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveAdmin
4
4
  module GraphQL
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin-graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Makarov