ibrain-core 0.5.4 → 0.5.5

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: 050bc4db6fe4fbc3f1e26d4a6a829f7273c5eaf9909e2e4049a95edc89a86d32
4
- data.tar.gz: a36659e2f15c4475f6afb8eb9be75b8b61eaabdefab837e618b9e18ca7b3c22b
3
+ metadata.gz: a4efce65a5ebfdbbd09e276c87e01399cf4f7d68a90555c1dcde1031fc9d59ee
4
+ data.tar.gz: 3cc3a8efa0ed9d585fbf63433b65f8fb4525364fa4ed63abdc9f15335f880f62
5
5
  SHA512:
6
- metadata.gz: 46c130b0ab4a6227ec4943f068c11245e9133e99cd43c90eedd1dbd6bd86774e1e696962859c59697279673b439213469c44f704a50a5012b7d302ab18de708e
7
- data.tar.gz: deb0d8912bc4ca2eaab7b6194b8ba01dd6149d1e3484ff178979e47acc3968394ca9eb9c9610d0026f10a973bd3d157c36b93d3e284bdae7e70c9b8deb5cd41c
6
+ metadata.gz: f37e88b7c92780d9e1f092e1f9275fefb49a9f34cf6f34e7a06021301a7198d4d1d0a97313e938b87d7c01f460336690c7e22530a9846f1d9b50a53c232917bd
7
+ data.tar.gz: 2271a8863458476386fa74cf7548add69f44e734cd248e603d2de54225c76b373abbda4e8b789a3760c271eb81a0d4c74c7c46efc2266de65a9464849544c03f
@@ -9,7 +9,11 @@ module Ibrain
9
9
  connection_type_class(Ibrain::Types::BaseConnection)
10
10
 
11
11
  field_class ::Ibrain::Types::BaseField
12
- field :gem, String, null: true
12
+ field :graphql_name, String, null: true
13
+
14
+ def graphql_name
15
+ object.class.try(:table_name)
16
+ end
13
17
 
14
18
  protected
15
19
 
@@ -20,10 +24,6 @@ module Ibrain
20
24
  def current_user
21
25
  context.try(:fetch, :current_user)
22
26
  end
23
-
24
- def gem
25
- 'ibrain-core'
26
- end
27
27
  end
28
28
  end
29
29
  end
@@ -1,14 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ibrain
4
- VERSION = "0.5.4"
4
+ VERSION = "0.5.5"
5
5
 
6
6
  def self.ibrain_version
7
7
  VERSION
8
8
  end
9
9
 
10
10
  def self.previous_ibrain_minor_version
11
- '0.5.3'
11
+ '0.5.4'
12
12
  end
13
13
 
14
14
  def self.ibrain_gem_version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibrain-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tai Nguyen Van