ralphql_generator 0.2.3 → 0.2.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: be006eee7c8a1522f23b45310160f5fa28f9e06055ae17e688b50dde66f72e37
4
- data.tar.gz: a1ccc81a1548f68ba01ada191279bd159fa3f0ead2dfdf7dea21be5f3c0a0d70
3
+ metadata.gz: db2ee7af504cc6e2688aff8eb12336497ea015bce80e8ba53c6cd8773527758e
4
+ data.tar.gz: a998e4ed4159f00608240e789fa68e44dfccb117bd9f4853b058118bfc0f6dc5
5
5
  SHA512:
6
- metadata.gz: 4e6b77190aa58a02464aefa2a7a3d07a0a5daf425d3378411fe96e644430e259ac571272432652e6f250c17991ba2e4c7b76d90a6e81718b34fcc3dea63fec62
7
- data.tar.gz: 60b567c57e333ce7986d6e0d1a3f7739ef7a2f971a4691bfa6f7385bc6401d80c2427f945e50adf276b94deca14725e66026618cf83b4c2ed2675db40a3c794e
6
+ metadata.gz: 659c17c951ac9ea0922f5e9139b1381eefa36145c93314f9da63772d81beae7039eb6cb4e78061c31724f54f0da5de39faf5b9f8275df262b2dee325765f1d97
7
+ data.tar.gz: 024e9f7cf5bccc334030ac327541d41ae50af75145d917aceef8bfee7ca8b8fdf415bb7baf6eff062bb22806598a19be37eed15a47f4afdbac113bba1a901d2c
@@ -1,9 +1,9 @@
1
- query <%= class_name.camelize(:lower).pluralize %>{
2
- <%= class_name.camelize(:lower).pluralize %>{
1
+ query <%= class_name.camelize(:lower).pluralize %> {
2
+ <%= class_name.camelize(:lower).pluralize %> {
3
3
  nodes {
4
4
  <%- class_name.constantize.columns.each do |column| -%>
5
5
  <%- next if class_name.constantize.reflect_on_all_associations.map(&:foreign_key).include?(column.name) -%>
6
- <%= column.name.camelize(:lower)%>
6
+ <%= column.name.camelize(:lower)%>
7
7
  <%- end -%>
8
8
  }
9
9
  }
@@ -1,7 +1,7 @@
1
1
  fragment errorFields on ValidationError {
2
2
  path
3
3
  message
4
- attributes
4
+ attribute
5
5
  error
6
6
  }
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Ralphql
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ralphql_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Delpierre
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-22 00:00:00.000000000 Z
11
+ date: 2024-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails