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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 016b045277e289f9fe3ee4969581503d8fe7fd1dc6018b6193534b85e9fb5b6b
4
- data.tar.gz: 7a9579101b104027f07b2c9b844e5239dc2d17e8ad231ec1c67a2b01c542e404
3
+ metadata.gz: cbf1dc5382739c7385f30c8edc31742239c10ccd62c2ab424ffede31f2dae7ea
4
+ data.tar.gz: 5cba74c229d05543c276103b0500da935011ddf8ae34defd952e83d5870eb894
5
5
  SHA512:
6
- metadata.gz: 70be8b04670e43e695ae2dee287230485cf29656446a16d2e1a38085d3d5cf110ac2e3e3e8a349e655d2d57f4bab0d98e2aa827453643572921aa17def40b6fb
7
- data.tar.gz: bf4ff958225d4c593782980878f6b18e43c1568ebd03279361692d4af7de7cc3009bbf5e1678544c854caaa9b427c74afa7df2f2f405c28cb3e0a5fcd751c156
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
- hash[top_level_key][:stats] = stats
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))
@@ -1,3 +1,3 @@
1
1
  module Graphiti
2
- VERSION = "1.3.6"
2
+ VERSION = "1.3.7"
3
3
  end
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.6
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-02-04 00:00:00.000000000 Z
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.2.22
358
+ rubygems_version: 3.3.7
359
359
  signing_key:
360
360
  specification_version: 4
361
361
  summary: Easily build jsonapi.org-compatible APIs