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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00364d26bb3b05f6e46b938e672355a0a27389274008ceaacfd9cbb96b4ed0e5
4
- data.tar.gz: d4159c411c066d878941f2d63910afb8fab28e63e00c01441c1d6fee433937ad
3
+ metadata.gz: 8eb63554a3e90082f91904ad35afbe20c7bebc24bd926806d03fec739aec1adb
4
+ data.tar.gz: c13255fd323b39d072e2e11588ea2622b11b154449f5c9ff09c6522bfccb83aa
5
5
  SHA512:
6
- metadata.gz: 60e61e324d31f426102f7cf80026f39e74628090acf6c62de061848550fa10496bc2e65d2b4f232639e365f49574bd20e6d6a28121a64385ecd1548860c2d134
7
- data.tar.gz: b2188ecb830cf637ecd4b40d5bac528efc1b2981961dfa4bac64e11f37c7c042f5fcb2c4939ee7f3ba0c3a49967644cc545c2f98f2bf2fc16c18c3e5d5816b9e
6
+ metadata.gz: ade7aa2115c6a7c77a75c0533acfa22beb0da606c8864e788c78ec822842b856a40b22778088297486369cd2c450d8c26588595bc40a213da51154e2d5a2ec30
7
+ data.tar.gz: dcaa69ace4692de68f56e34ca78b66da9fedb9a530b3595f444da3b75e0fc4a33d00c43a63075d103dc72d328518700d39af52919e6f421485aa1bc7470d7697
@@ -1,46 +1,46 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activecube-graphql (0.1.8)
5
- activecube (~> 0.1.14)
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.14)
11
+ activecube (0.1.19)
12
12
  activerecord (>= 5.2)
13
- activemodel (6.0.2.2)
14
- activesupport (= 6.0.2.2)
15
- activerecord (6.0.2.2)
16
- activemodel (= 6.0.2.2)
17
- activesupport (= 6.0.2.2)
18
- activesupport (6.0.2.2)
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.6)
26
+ graphql (1.10.10)
27
27
  i18n (1.8.2)
28
28
  concurrent-ruby (~> 1.0)
29
- minitest (5.14.0)
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.1)
36
- rspec-support (~> 3.9.1)
37
- rspec-expectations (3.9.0)
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.2)
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]
@@ -1,5 +1,5 @@
1
1
  module Activecube
2
2
  module Graphql
3
- VERSION = "0.1.10"
3
+ VERSION = "0.1.11"
4
4
  end
5
5
  end
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.10
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-04-17 00:00:00.000000000 Z
11
+ date: 2020-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activecube