activecube-graphql 0.1.10 → 0.1.11
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 +4 -4
- data/Gemfile.lock +16 -16
- data/lib/activecube/graphql/response_builder.rb +1 -1
- data/lib/activecube/graphql/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: 8eb63554a3e90082f91904ad35afbe20c7bebc24bd926806d03fec739aec1adb
|
|
4
|
+
data.tar.gz: c13255fd323b39d072e2e11588ea2622b11b154449f5c9ff09c6522bfccb83aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ade7aa2115c6a7c77a75c0533acfa22beb0da606c8864e788c78ec822842b856a40b22778088297486369cd2c450d8c26588595bc40a213da51154e2d5a2ec30
|
|
7
|
+
data.tar.gz: dcaa69ace4692de68f56e34ca78b66da9fedb9a530b3595f444da3b75e0fc4a33d00c43a63075d103dc72d328518700d39af52919e6f421485aa1bc7470d7697
|
data/Gemfile.lock
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
activecube-graphql (0.1.
|
|
5
|
-
activecube (~> 0.1.
|
|
4
|
+
activecube-graphql (0.1.10)
|
|
5
|
+
activecube (~> 0.1.15)
|
|
6
6
|
graphql (~> 1.10)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
activecube (0.1.
|
|
11
|
+
activecube (0.1.19)
|
|
12
12
|
activerecord (>= 5.2)
|
|
13
|
-
activemodel (6.0.
|
|
14
|
-
activesupport (= 6.0.
|
|
15
|
-
activerecord (6.0.
|
|
16
|
-
activemodel (= 6.0.
|
|
17
|
-
activesupport (= 6.0.
|
|
18
|
-
activesupport (6.0.
|
|
13
|
+
activemodel (6.0.3.1)
|
|
14
|
+
activesupport (= 6.0.3.1)
|
|
15
|
+
activerecord (6.0.3.1)
|
|
16
|
+
activemodel (= 6.0.3.1)
|
|
17
|
+
activesupport (= 6.0.3.1)
|
|
18
|
+
activesupport (6.0.3.1)
|
|
19
19
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
20
20
|
i18n (>= 0.7, < 2)
|
|
21
21
|
minitest (~> 5.1)
|
|
22
22
|
tzinfo (~> 1.1)
|
|
23
|
-
zeitwerk (~> 2.2)
|
|
23
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
|
24
24
|
concurrent-ruby (1.1.6)
|
|
25
25
|
diff-lcs (1.3)
|
|
26
|
-
graphql (1.10.
|
|
26
|
+
graphql (1.10.10)
|
|
27
27
|
i18n (1.8.2)
|
|
28
28
|
concurrent-ruby (~> 1.0)
|
|
29
|
-
minitest (5.14.
|
|
29
|
+
minitest (5.14.1)
|
|
30
30
|
rake (13.0.1)
|
|
31
31
|
rspec (3.9.0)
|
|
32
32
|
rspec-core (~> 3.9.0)
|
|
33
33
|
rspec-expectations (~> 3.9.0)
|
|
34
34
|
rspec-mocks (~> 3.9.0)
|
|
35
|
-
rspec-core (3.9.
|
|
36
|
-
rspec-support (~> 3.9.
|
|
37
|
-
rspec-expectations (3.9.
|
|
35
|
+
rspec-core (3.9.2)
|
|
36
|
+
rspec-support (~> 3.9.3)
|
|
37
|
+
rspec-expectations (3.9.2)
|
|
38
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
39
39
|
rspec-support (~> 3.9.0)
|
|
40
40
|
rspec-mocks (3.9.1)
|
|
41
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
42
42
|
rspec-support (~> 3.9.0)
|
|
43
|
-
rspec-support (3.9.
|
|
43
|
+
rspec-support (3.9.3)
|
|
44
44
|
thread_safe (0.3.6)
|
|
45
45
|
tzinfo (1.2.7)
|
|
46
46
|
thread_safe (~> 0.1)
|
|
@@ -97,7 +97,7 @@ module Activecube::Graphql
|
|
|
97
97
|
|
|
98
98
|
def simple_value response_class, definition, element
|
|
99
99
|
index = @key_map[element.key]
|
|
100
|
-
node_type = element.context_node.definition.type.name
|
|
100
|
+
node_type = element.context_node.definition.type.try(:of_type).try(:name)
|
|
101
101
|
response_class.class_eval do
|
|
102
102
|
define_method definition.underscore do |**rest_of_options|
|
|
103
103
|
convert_type node_type, @row[index]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activecube-graphql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aleksey Studnev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-06-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activecube
|