graphiti 1.2.32 → 1.2.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphiti.rb +1 -0
- data/lib/graphiti/resource/configuration.rb +8 -0
- data/lib/graphiti/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fd3e0460824b4c80d8bf5e1cb798b94a297bdb39ab077cb655b9fe085779bd2
|
4
|
+
data.tar.gz: 3ae7e9ef0209b9bd0c823cd323bc3f066f2116a807ad66f714d3c63205351649
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e294afd7a47b32fbc4aa0ba695aafbeb43f42bf4c32d6f05eb2a182bca4e6b0ab0bdd68ad8a54dda8b7cee24636b0097b52629895adb758c3d2b148e3dda7c7
|
7
|
+
data.tar.gz: 8454b4433f15af9464d9b708dad9cb16dff9fb368085b1297aa733f5a8dcb56a0621f4cfdbb63bfe06931d24bd17378c42655059b68a763025a33a5903605c34
|
data/lib/graphiti.rb
CHANGED
@@ -6,6 +6,7 @@ require "active_support/core_ext/class/attribute"
|
|
6
6
|
require "active_support/core_ext/hash/conversions" # to_xml
|
7
7
|
require "active_support/concern"
|
8
8
|
require "active_support/time"
|
9
|
+
require "active_support/deprecation"
|
9
10
|
|
10
11
|
require "dry-types"
|
11
12
|
require "graphiti_errors"
|
@@ -28,6 +28,14 @@ module Graphiti
|
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
31
|
+
def graphql_entrypoint=(val)
|
32
|
+
if val
|
33
|
+
super(val.to_s.camelize(:lower).to_sym)
|
34
|
+
else
|
35
|
+
super
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
31
39
|
# The .stat call stores a proc based on adapter
|
32
40
|
# So if we assign a new adapter, reconfigure
|
33
41
|
def adapter=(val)
|
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.2.
|
4
|
+
version: 1.2.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jsonapi-serializable
|