graphiti 1.2.27 → 1.2.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphiti/sideload.rb +3 -2
- data/lib/graphiti/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62001af4fe0f26688b07d4f9e0565b2f2cd1e875fa299c982ef5986e9db66836
|
4
|
+
data.tar.gz: 28ba11c786c4e7eb7be0612c2bd678434156e667110623046438d6e1a1c9b67d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5ed46d521816170aec5448ee816a5ea336faf791034c63c19a8bce64982d42ed9e19420b3d9e4f4782a78b20f8ba475636d920574b360d947991201eeb50bc8
|
7
|
+
data.tar.gz: f8578aa1f893d531146204cc43c142ddc58b4cc98a272e08c33ab13fd308530f04d4bdd273ef638ff88017f88051c44a9c76b0e1335a47c80ec9eee6b412d87b
|
data/lib/graphiti/sideload.rb
CHANGED
@@ -26,8 +26,8 @@ module Graphiti
|
|
26
26
|
@foreign_key = opts[:foreign_key]
|
27
27
|
@type = opts[:type]
|
28
28
|
@base_scope = opts[:base_scope]
|
29
|
-
@readable =
|
30
|
-
@writable =
|
29
|
+
@readable = opts[:readable]
|
30
|
+
@writable = opts[:writable]
|
31
31
|
@as = opts[:as]
|
32
32
|
@link = opts[:link]
|
33
33
|
@single = opts[:single]
|
@@ -426,6 +426,7 @@ module Graphiti
|
|
426
426
|
Util::Class.namespace_for(klass)
|
427
427
|
end
|
428
428
|
|
429
|
+
# TODO: call this at runtime to support procs
|
429
430
|
def evaluate_flag(flag)
|
430
431
|
return false if flag.blank?
|
431
432
|
|
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.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jsonapi-serializable
|
@@ -204,7 +204,7 @@ dependencies:
|
|
204
204
|
- - '='
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: 1.0.beta.4
|
207
|
-
description:
|
207
|
+
description:
|
208
208
|
email:
|
209
209
|
- richmolj@gmail.com
|
210
210
|
executables:
|
@@ -341,7 +341,7 @@ homepage: https://github.com/graphiti-api/graphiti
|
|
341
341
|
licenses:
|
342
342
|
- MIT
|
343
343
|
metadata: {}
|
344
|
-
post_install_message:
|
344
|
+
post_install_message:
|
345
345
|
rdoc_options: []
|
346
346
|
require_paths:
|
347
347
|
- lib
|
@@ -357,7 +357,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
357
357
|
version: '0'
|
358
358
|
requirements: []
|
359
359
|
rubygems_version: 3.0.6
|
360
|
-
signing_key:
|
360
|
+
signing_key:
|
361
361
|
specification_version: 4
|
362
362
|
summary: Easily build jsonapi.org-compatible APIs
|
363
363
|
test_files: []
|