souls 0.33.12 → 0.34.1

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: 90017dedb24c5ab98bba675468849656b3972b329bcf00c9a037d66fb287a954
4
- data.tar.gz: adb0fee4763bc24fa100355f08bf9339784498d3674801daa7d604bc340d84b2
3
+ metadata.gz: 11ea0d3d152bfd921a5536ea3a98a693d2e9ba78d6a6fc6a9e4355dc23c51923
4
+ data.tar.gz: 7370f5e2720a8969e8ec600ab77b2096eabf623418135c5d7393cc324cafcbe6
5
5
  SHA512:
6
- metadata.gz: e1423d726b4368fa06da8d3a3649ac730e013d2d411120db4490e1a36842eccbaa104d80252cb2301645edae2e7898d4a97d2d7ff6fa9380a164e33ef6eba21d
7
- data.tar.gz: 9dabd76f28a2b0d58802e8c140acdabaeb59d4f558689eb9bafe9924036b600ebb660d60c40550ed7341aa055c1c8b2dbc72fc0da3252e47d932bbbba654b823
6
+ metadata.gz: d84214351d9bfdc3f50e8a01a5c0904ff416bb7851c5bb55730cea38fa24ead6173b57abd9346cded335f8648330ab6ec84c478a83061a9ce9378f8455d9eefd
7
+ data.tar.gz: 560e3f0e0dc305f684a80fe2b6b3f0b8d993cbafc5ad39f0e5b60b469a1c41fdcdef27cab2ffe5bc0257de8d752265d612787d2d8cbcacda9043ac0f1847366b
@@ -28,10 +28,11 @@ module Souls
28
28
  end
29
29
  key = text.join(",").gsub(/^,/, "").chomp!
30
30
  github_repo = `git remote show origin -n | grep 'Fetch URL:' | awk '{print $3}'`.strip
31
+ github_repo = "https://github.com/#{github_repo.match(/\:(.+).git/)[1]}" if github_repo.include?("git@github")
31
32
  puts(Paint[key, :white])
32
33
  puts(Paint["======= above(ここまで)=======", :cyan])
33
34
  github_secret_url = "#{github_repo}/settings/secrets/actions"
34
- souls_doc_url = "https://souls.elsoul.nl/docs/tutorial/zero-to-deploy/#43-github-シークレットキーの登録"
35
+ souls_doc_url = "https://souls.elsoul.nl/docs/tutorial/zero-to-deploy/#github-シークレットキーの登録"
35
36
  txt1 = <<~TEXT
36
37
 
37
38
  ⬆⬆⬆ Copy the service account key above ⬆⬆⬆⬆
@@ -68,7 +69,8 @@ module Souls
68
69
  "roles/datastore.user",
69
70
  "roles/iam.serviceAccountUser",
70
71
  "roles/run.admin",
71
- "roles/storage.admin"
72
+ "roles/storage.admin",
73
+ "roles/storage.objectAdmin"
72
74
  ]
73
75
  roles.each do |role|
74
76
  add_service_account_role(service_account: service_account, project_id: project_id, role: role)
@@ -57,7 +57,7 @@ module Souls
57
57
  system("cp -r #{api_dir}/* #{worker_dir}")
58
58
  end
59
59
  rescue StandardError => e
60
- puts(Paint["`souls api g scaffold $model` at `api` dir first!", :red])
60
+ puts(Paint[e, :red])
61
61
  end
62
62
 
63
63
  def get_models_path(service_name: "api")
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.33.12".freeze
2
+ VERSION = "0.34.1".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.12.12
1
+ 0.13.1
@@ -1 +1 @@
1
- 0.12.12
1
+ 0.13.1
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: 0.33.12
4
+ version: 0.34.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI