rails-graphql 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails/graphql/source/active_record_source.rb +5 -0
- data/lib/rails/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: 5b7143f1fc49071fc54b85e984ef9289158ca63f5609e205e06922a176409dbe
|
4
|
+
data.tar.gz: 3decb2c2d664b54910810970502e8964ce38e150e0b2d77a4828f341b28ea86d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9726c20a23e8960aed07f6756f83e5bc195d87af453e60509b0f8414ff7395281a7fd85f9f5bf487668f03474d273a51a5a1601ac40f5f521c6ce05ff770a94
|
7
|
+
data.tar.gz: b36323d14417f0e153690b3f4c436fd8254c83982e1b379b618ae7666c72c8d6ace2177e3d24821d8e2345db39a823a402d6a588506277ce4a7e4c712300c4a9
|
@@ -124,6 +124,11 @@ module Rails # :nodoc:
|
|
124
124
|
@enums ||= model.defined_enums.dup
|
125
125
|
end
|
126
126
|
|
127
|
+
# Just a little override to ensure that both model and table are ready
|
128
|
+
def build!
|
129
|
+
super if model&.table_exists?
|
130
|
+
end
|
131
|
+
|
127
132
|
protected
|
128
133
|
|
129
134
|
# Check if a given +attr_name+ is associated with a presence validator
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|