souls 0.33.8 → 0.33.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/souls/api/generate/manager.rb +0 -1
- data/lib/souls/cli/gcloud/iam/index.rb +2 -2
- data/lib/souls/cli/gcloud/sql/index.rb +1 -1
- data/lib/souls/init.rb +3 -4
- 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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90017dedb24c5ab98bba675468849656b3972b329bcf00c9a037d66fb287a954
|
4
|
+
data.tar.gz: adb0fee4763bc24fa100355f08bf9339784498d3674801daa7d604bc340d84b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1423d726b4368fa06da8d3a3649ac730e013d2d411120db4490e1a36842eccbaa104d80252cb2301645edae2e7898d4a97d2d7ff6fa9380a164e33ef6eba21d
|
7
|
+
data.tar.gz: 9dabd76f28a2b0d58802e8c140acdabaeb59d4f558689eb9bafe9924036b600ebb660d60c40550ed7341aa055c1c8b2dbc72fc0da3252e47d932bbbba654b823
|
@@ -1,7 +1,6 @@
|
|
1
1
|
module Souls
|
2
2
|
module Api::Generate
|
3
3
|
def self.manager(class_name: "user", mutation: "user_login")
|
4
|
-
p(mutation)
|
5
4
|
singularized_class_name = class_name.underscore.singularize
|
6
5
|
file_dir = "./app/graphql/mutations/managers/#{singularized_class_name}_manager"
|
7
6
|
FileUtils.mkdir_p(file_dir) unless Dir.exist?(file_dir)
|
@@ -67,8 +67,8 @@ module Souls
|
|
67
67
|
"roles/pubsub.editor",
|
68
68
|
"roles/datastore.user",
|
69
69
|
"roles/iam.serviceAccountUser",
|
70
|
-
"roles/
|
71
|
-
"roles/
|
70
|
+
"roles/run.admin",
|
71
|
+
"roles/storage.admin"
|
72
72
|
]
|
73
73
|
roles.each do |role|
|
74
74
|
add_service_account_role(service_account: service_account, project_id: project_id, role: role)
|
@@ -4,7 +4,7 @@ module Souls
|
|
4
4
|
class << self
|
5
5
|
def create_instance(instance_name: "", root_pass: "Postgre123!", zone: "asia-northeast1-b")
|
6
6
|
instance_name = "#{Souls.configuration.app}-db" if instance_name.blank?
|
7
|
-
|
7
|
+
system(
|
8
8
|
"gcloud sql instances create #{instance_name} \
|
9
9
|
--database-version=POSTGRES_13 --cpu=2 --memory=7680MB --zone=#{zone} \
|
10
10
|
--root-password='#{root_pass}' --database-flags cloudsql.iam_authentication=on"
|
data/lib/souls/init.rb
CHANGED
@@ -41,9 +41,8 @@ module Souls
|
|
41
41
|
f.write(<<~TEXT)
|
42
42
|
Souls.configure do |config|
|
43
43
|
config.app = "#{app_name}"
|
44
|
-
config.project_id = "
|
45
|
-
config.strain = "
|
46
|
-
config.github_repo = "elsoul/souls"
|
44
|
+
config.project_id = "#{app_name}-project"
|
45
|
+
config.strain = "api"
|
47
46
|
config.fixed_gems = ["excluded_gem"]
|
48
47
|
end
|
49
48
|
TEXT
|
@@ -70,7 +69,7 @@ module Souls
|
|
70
69
|
f.write(<<~TEXT)
|
71
70
|
Souls.configure do |config|
|
72
71
|
config.app = "#{app_name}"
|
73
|
-
config.project_id = "#{app_name}"
|
72
|
+
config.project_id = "#{app_name}-project"
|
74
73
|
config.strain = "mother"
|
75
74
|
config.fixed_gems = ["excluded_gem"]
|
76
75
|
end
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.12.
|
1
|
+
0.12.12
|
@@ -1 +1 @@
|
|
1
|
-
0.12.
|
1
|
+
0.12.12
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: souls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.33.
|
4
|
+
version: 0.33.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
8
8
|
- KishiTheMechanic
|
9
9
|
- James Neve
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
13
|
date: 2021-08-29 00:00:00.000000000 Z
|
@@ -157,7 +157,7 @@ metadata:
|
|
157
157
|
homepage_uri: https://souls.elsoul.nl
|
158
158
|
source_code_uri: https://github.com/elsoul/souls
|
159
159
|
changelog_uri: https://github.com/elsoul/souls
|
160
|
-
post_install_message:
|
160
|
+
post_install_message:
|
161
161
|
rdoc_options: []
|
162
162
|
require_paths:
|
163
163
|
- lib
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
175
|
rubygems_version: 3.2.22
|
176
|
-
signing_key:
|
176
|
+
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: SOULs はサーバーレスフルスタックフレームワークです。柔軟な Ruby GraphQL API と Worker はルーティングの必要がありません。
|
179
179
|
クラウド環境への自動デプロイ、CI/CD ワークフローを標準装備。開発者がビジネスロジックに集中し、楽しくコードが書けるような環境を目指しています。
|