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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac3801b7cc5089209a6d5d6b01289f4d35bd4868ca9e911b32a12dd138172aa0
4
- data.tar.gz: 7c240fc7c4afce0db3189758196293199761dc8f44d1f621aa86951f12270c44
3
+ metadata.gz: 90017dedb24c5ab98bba675468849656b3972b329bcf00c9a037d66fb287a954
4
+ data.tar.gz: adb0fee4763bc24fa100355f08bf9339784498d3674801daa7d604bc340d84b2
5
5
  SHA512:
6
- metadata.gz: 150e24efafed4e5673125dba72143a17605107e7ff916499580b48eb8fcbb3e42cc81bafb82594931d9880ae93f620a5c37326efda27bc4b037d228e78cc08e4
7
- data.tar.gz: 112bac58b55863b8fc896bbdebea7fbd047a2627415163b8ab89de7323800b5fca2690dd71aecf48970b559c301702a17bab65e3a96aca04d03d22aabf8ca353
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/storage.objectAdmin",
71
- "roles/run.admin"
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
- puts(
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 = "souls-app"
45
- config.strain = "#{app_name}"
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,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.33.8".freeze
2
+ VERSION = "0.33.12".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.12.8
1
+ 0.12.12
@@ -1 +1 @@
1
- 0.12.8
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.8
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 ワークフローを標準装備。開発者がビジネスロジックに集中し、楽しくコードが書けるような環境を目指しています。