souls 1.18.3 → 1.18.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/souls/cli/init/index.rb +1 -3
- data/lib/souls/version.rb +1 -1
- data/lib/souls/versions/.souls_api_version +1 -1
- data/lib/souls/versions/.souls_worker_version +1 -1
- metadata +3 -5
- data/lib/souls/app/graphql/types/mutation_object.rb +0 -29
- data/lib/souls/app/graphql/types/query_object.rb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ba7212e2d7d1c73165ed8553dba888fea1c6f226ad30e254a25ae3ced4d7dc7
|
4
|
+
data.tar.gz: 3f68bafc18eea1a804b70845f178beeb1e6f5109f42faaf46d4ff62b19e2f436
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e71361fcac9edada98174ae15dfe437b6e97e99fcf80ac04a1a7c6113ecc253d541bc32dd5c948f43ab7a48cd0c1e4d39114c8eceb43c038f6025498d6b96f8
|
7
|
+
data.tar.gz: 57731b1cd54704fbeda4b74a749a8faf01a767fb857cdd89f43e6622f17eff9aec63120aadb611b66d0813f7b73c4da23c734b935d3610dc5f2300e6fd880cef
|
data/lib/souls/cli/init/index.rb
CHANGED
@@ -169,7 +169,7 @@ module SOULs
|
|
169
169
|
FileUtils.rm(sig_name)
|
170
170
|
end
|
171
171
|
|
172
|
-
def souls_api_credit(
|
172
|
+
def souls_api_credit(_app_name)
|
173
173
|
line = Paint["====================================", :yellow]
|
174
174
|
puts("\n")
|
175
175
|
puts(line)
|
@@ -194,8 +194,6 @@ module SOULs
|
|
194
194
|
puts(line)
|
195
195
|
endroll = <<~TEXT
|
196
196
|
Easy to Run
|
197
|
-
$ cd #{app_name}
|
198
|
-
$ souls check
|
199
197
|
$ cd apps/api
|
200
198
|
$ souls s
|
201
199
|
Go To : http://localhost:4000
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.18.
|
1
|
+
1.18.7
|
@@ -1 +1 @@
|
|
1
|
-
1.18.
|
1
|
+
1.18.7
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: souls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.
|
4
|
+
version: 1.18.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 7.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
28
|
+
version: 7.0.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: foreman
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,8 +167,6 @@ files:
|
|
167
167
|
- lib/souls/app/graphql/types/base_scalar.rb
|
168
168
|
- lib/souls/app/graphql/types/base_union.rb
|
169
169
|
- lib/souls/app/graphql/types/index.rb
|
170
|
-
- lib/souls/app/graphql/types/mutation_object.rb
|
171
|
-
- lib/souls/app/graphql/types/query_object.rb
|
172
170
|
- lib/souls/app/index.rb
|
173
171
|
- lib/souls/app/utils/firebase_id_token.rb
|
174
172
|
- lib/souls/app/utils/painter.rb
|
@@ -1,29 +0,0 @@
|
|
1
|
-
module SOULs
|
2
|
-
module Types
|
3
|
-
class MutationObject < SOULs::Types::BaseObject
|
4
|
-
get_tables.each do |t|
|
5
|
-
%w[create update delete destroy_delete].each do |a|
|
6
|
-
field "#{a}_#{t.singularize.underscore}".to_sym,
|
7
|
-
mutation: Object.const_get(
|
8
|
-
"Mutations::Base::#{t.singularize.camelize}::#{a.camelize}#{t.singularize.camelize}"
|
9
|
-
)
|
10
|
-
end
|
11
|
-
end
|
12
|
-
managers =
|
13
|
-
Dir["./app/graphql/mutations/managers/*_manager/*.rb"].map do |file|
|
14
|
-
dir_name = file.scan(%r{managers/(.+?)_manager}).flatten[0]
|
15
|
-
file_name = file.scan(%r{/([^/]+)/?$}).flatten[0].gsub(".rb", "")
|
16
|
-
{
|
17
|
-
class: dir_name,
|
18
|
-
name: file_name
|
19
|
-
}
|
20
|
-
end
|
21
|
-
managers.each do |file|
|
22
|
-
field file[:name].underscore.to_s.to_sym,
|
23
|
-
mutation: Object.const_get(
|
24
|
-
"Mutations::Managers::#{file[:class].singularize.camelize}Manager::#{file[:name].singularize.camelize}"
|
25
|
-
)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
module SOULs
|
2
|
-
module Types
|
3
|
-
class QueryObject < SOULs::Types::BaseObject
|
4
|
-
add_field(GraphQL::Types::Relay::NodeField)
|
5
|
-
add_field(GraphQL::Types::Relay::NodesField)
|
6
|
-
get_tables.each do |t|
|
7
|
-
field t.singularize.underscore.to_s.to_sym, resolver: Object.const_get("Queries::#{t.singularize.camelize}")
|
8
|
-
field "#{t.singularize.underscore}_search".to_sym,
|
9
|
-
resolver: Object.const_get("Resolvers::#{t.singularize.camelize}Search")
|
10
|
-
field t.pluralize.underscore.to_s.to_sym,
|
11
|
-
Object.const_get("Types::#{t.singularize.camelize}Type").connection_type,
|
12
|
-
null: true
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|