souls 1.18.5 → 1.18.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa2251464a8273c041836b1cce9d46b933cceeb09f2f700087b1a170db16c283
|
4
|
+
data.tar.gz: 9bcbbd4198df7b759126b998ccfc10830783f78524e0b742df3fd8b6402ae548
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d233bc008f2f0e2263d6c91362bc5900a7c1c7a47ec326376c5e1372e43007c59d13d774c4bc0a0216bd4635a2b6f9c5796d9171d83f38da962e47a13f52c583
|
7
|
+
data.tar.gz: 3d84364a1495a6ca673b41473f0c5b581c24ff52a67f56ca442a2f2d5e2c4f02c4d16ac8267465d21b0ef6b79ee3be12862a7a533730fd99a72455e14b508459
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module SOULs
|
2
2
|
module Types
|
3
3
|
class MutationObject < SOULs::Types::BaseObject
|
4
|
-
|
4
|
+
if (FileUtils.pwd.split("/").last != "souls") && File.exist?("./db/schema.rb")
|
5
5
|
get_tables.each do |t|
|
6
6
|
%w[create update delete destroy_delete].each do |a|
|
7
7
|
field "#{a}_#{t.singularize.underscore}".to_sym,
|
@@ -23,10 +23,10 @@ module SOULs
|
|
23
23
|
field file[:name].underscore.to_s.to_sym,
|
24
24
|
mutation: Object.const_get(
|
25
25
|
"Mutations::Managers::#{
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
26
|
+
file[:class].singularize.camelize
|
27
|
+
}Manager::#{
|
28
|
+
file[:name].singularize.camelize
|
29
|
+
}"
|
30
30
|
)
|
31
31
|
end
|
32
32
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module SOULs
|
2
2
|
module Types
|
3
3
|
class QueryObject < SOULs::Types::BaseObject
|
4
|
-
|
4
|
+
if (FileUtils.pwd.split("/").last != "souls") && File.exist?("./db/schema.rb")
|
5
5
|
add_field(GraphQL::Types::Relay::NodeField)
|
6
6
|
add_field(GraphQL::Types::Relay::NodesField)
|
7
7
|
get_tables.each do |t|
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.18.
|
1
|
+
1.18.6
|
@@ -1 +1 @@
|
|
1
|
-
1.18.
|
1
|
+
1.18.6
|