souls 1.10.1 → 1.10.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +1 -1
- data/README.md +0 -7
- data/lib/souls/cli/delete/manager.rb +1 -2
- data/lib/souls/cli/delete/rspec_mutation.rb +0 -2
- data/lib/souls/cli/gcloud/sql/index.rb +6 -6
- data/lib/souls/cli/generate/manager.rb +1 -0
- data/lib/souls/cli/generate/resolver.rb +1 -1
- data/lib/souls/cli/generate/rspec_manager.rb +2 -2
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 616d59bdb706c95e5de0bcec5be98e1cc38056792cfa4dac6300682098349b00
|
4
|
+
data.tar.gz: d7b99caf0541cf9ab2c18e3156919f45868e22441c39f46010f4133bfa8aa508
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fd43cb4be583133cfe917ff72fb6e0c8f0c9beb813abecf3dd4bdc8ee8ad9a6b0c5eb2022fc6f232edea19f48f43877594f619739092c16f4a947cfd1b56daa
|
7
|
+
data.tar.gz: 6ec51693fb7737dbebc445a2ab954a925ad152b910183313c1795e57127d5f08febfc47bb7d7cd5f84a8c37c914d8589b81aa6a0e16885bc5add73bad12d0932
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -61,7 +61,7 @@ representative at an online or offline event.
|
|
61
61
|
|
62
62
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
63
63
|
reported to the community leaders responsible for enforcement at
|
64
|
-
|
64
|
+
conduct@elsoul.nl.
|
65
65
|
All complaints will be reviewed and investigated promptly and fairly.
|
66
66
|
|
67
67
|
All community leaders are obligated to respect the privacy and security of the
|
data/README.md
CHANGED
@@ -115,13 +115,6 @@ Or install it yourself as:
|
|
115
115
|
And Create Your APP
|
116
116
|
|
117
117
|
$ souls new app_name
|
118
|
-
$ cd apps/api/app_name
|
119
|
-
$ souls s
|
120
|
-
|
121
|
-
Check your GraphQL PlayGround
|
122
|
-
|
123
|
-
[localhost:4000/playground](localhost:4000/playground)
|
124
|
-
|
125
118
|
|
126
119
|
|
127
120
|
## Development
|
@@ -6,10 +6,9 @@ module Souls
|
|
6
6
|
singularized_class_name = class_name.underscore.singularize
|
7
7
|
file_dir = "./app/graphql/mutations/managers/#{singularized_class_name}_manager"
|
8
8
|
file_path = "#{file_dir}/#{options[:mutation]}.rb"
|
9
|
-
puts(file_path)
|
10
9
|
|
11
10
|
FileUtils.rm_f(file_path)
|
12
|
-
puts(Paint % ["
|
11
|
+
puts(Paint % ["Deleted file! : %{white_text}", :yellow, { white_text: [file_path.to_s, :white] }])
|
13
12
|
Souls::Delete.new.invoke(:manager_rbs, [singularized_class_name], { mutation: options[:mutation] })
|
14
13
|
Souls::Delete.new.invoke(:rspec_manager, [singularized_class_name], { mutation: options[:mutation] })
|
15
14
|
file_path
|
@@ -95,12 +95,12 @@ module Souls
|
|
95
95
|
project_id = Souls.configuration.project_id
|
96
96
|
system(
|
97
97
|
"
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
98
|
+
gcloud services vpc-peerings connect \
|
99
|
+
--service=servicenetworking.googleapis.com \
|
100
|
+
--ranges=#{app_name}-ip-range \
|
101
|
+
--network=#{app_name} \
|
102
|
+
--project=#{project_id}
|
103
|
+
"
|
104
104
|
)
|
105
105
|
end
|
106
106
|
|
@@ -3,6 +3,7 @@ module Souls
|
|
3
3
|
desc "manager [MANAGER_NAME]", "Generate GraphQL Mutation Template"
|
4
4
|
method_option :mutation, aliases: "--mutation", required: true, desc: "Mutation File Name"
|
5
5
|
def manager(class_name)
|
6
|
+
singularized_class_name = class_name.underscore.singularize
|
6
7
|
create_manager(class_name, options[:mutation])
|
7
8
|
Souls::Generate.new.invoke(:manager_rbs, [singularized_class_name], { mutation: options[:mutation] })
|
8
9
|
Souls::Generate.new.invoke(:rspec_manager, [singularized_class_name], { mutation: options[:mutation] })
|
@@ -30,7 +30,7 @@ module Souls
|
|
30
30
|
type Types::#{class_name.camelize}Type.connection_type, null: false
|
31
31
|
description "Search #{class_name.camelize}"
|
32
32
|
|
33
|
-
class #{class_name.camelize}Filter < ::Types::BaseInputObject
|
33
|
+
class #{class_name.camelize}Filter < Souls::Types::BaseInputObject
|
34
34
|
argument :OR, [self], required: false
|
35
35
|
TEXT
|
36
36
|
end
|
@@ -4,9 +4,9 @@ module Souls
|
|
4
4
|
method_option :mutation, aliases: "--mutation", required: true, desc: "Mutation File Name"
|
5
5
|
def rspec_manager(class_name)
|
6
6
|
singularized_class_name = class_name.underscore.singularize
|
7
|
-
file_dir = "./spec/managers
|
7
|
+
file_dir = "./spec/managers/#{singularized_class_name}_manager"
|
8
8
|
FileUtils.mkdir_p(file_dir) unless Dir.exist?(file_dir)
|
9
|
-
file_path = "
|
9
|
+
file_path = "#{file_dir}/#{options[:mutation]}_spec.rb"
|
10
10
|
return "RspecManager already exist! #{file_path}" if File.exist?(file_path)
|
11
11
|
|
12
12
|
File.open(file_path, "w") do |f|
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.10.
|
1
|
+
1.10.5
|
@@ -1 +1 @@
|
|
1
|
-
1.10.
|
1
|
+
1.10.5
|
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.10.
|
4
|
+
version: 1.10.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-12-
|
13
|
+
date: 2021-12-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|