graphiti 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphiti/hash_renderer.rb +5 -1
- data/lib/graphiti/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbf1dc5382739c7385f30c8edc31742239c10ccd62c2ab424ffede31f2dae7ea
|
4
|
+
data.tar.gz: 5cba74c229d05543c276103b0500da935011ddf8ae34defd952e83d5870eb894
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0bf531d0a71e736105e857e32e0fb97465113fcf174e3c69a26965e21d081c52dc81b0dd8cf887be3311f49a18a4ae4cbb5ef4515927fab32c9d346d59a35a1
|
7
|
+
data.tar.gz: b71a81ffc7fa94667173d41fb388364b452d96f50a23ba410238a913463c10cc92d992c2a0586ee2ba6243aeed6cf63470c4cc0536043f05ffd42715e2c90947
|
@@ -192,7 +192,11 @@ module Graphiti
|
|
192
192
|
if options[:meta] && !options[:meta].empty?
|
193
193
|
if @graphql
|
194
194
|
if (stats = options[:meta][:stats])
|
195
|
-
|
195
|
+
camelized = {}
|
196
|
+
stats.each_pair do |key, value|
|
197
|
+
camelized[key.to_s.camelize(:lower).to_sym] = value
|
198
|
+
end
|
199
|
+
hash[top_level_key][:stats] = camelized
|
196
200
|
end
|
197
201
|
else
|
198
202
|
hash.merge!(options.slice(:meta))
|
data/lib/graphiti/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphiti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jsonapi-serializable
|
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
355
355
|
- !ruby/object:Gem::Version
|
356
356
|
version: '0'
|
357
357
|
requirements: []
|
358
|
-
rubygems_version: 3.
|
358
|
+
rubygems_version: 3.3.7
|
359
359
|
signing_key:
|
360
360
|
specification_version: 4
|
361
361
|
summary: Easily build jsonapi.org-compatible APIs
|