souls 0.33.11 → 0.34.0

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: 1b153ddad9e061f459559780354c867121a6f7699d9d7d632147eebc9cfb3d26
4
- data.tar.gz: dff1f9208e7ba619d9ed0e8e380222c83f048e36c971fcdd2f9225ff66d6f6cf
3
+ metadata.gz: 57d030af03262c0c43a17ca994c3d9c8749c86b82559cc6ab8671e116dd4d2cb
4
+ data.tar.gz: b811181cd1a1d8403c5d8b4891b2ef53a1f0ca3afaaa872267aa5e427a85f40c
5
5
  SHA512:
6
- metadata.gz: 1343abc3984fdd48fd2f071cf595747c1ebd886c4d40ea22c9bdd1c85d3c00d87a2b41e405584e61460b427f0be17ec0a8ef344b12708bf77e0252ef44c40171
7
- data.tar.gz: 60e03e922916bbfc59d35bd6c151a9e1cf1c27126e65dbddf2119ef6e2378e52062daa966d83fd9a157007ddbb4bc2b2941ced499430dfc854fe7848a7b12e1e
6
+ metadata.gz: a0a1e0d953f4f11e1b9ab492b1fd87eab1f9f2626b6a86ef76976af41c1954e41d9e2c8e005ec414f891beab88cc3ad340e8d7b48a4485383f23193549c9866f
7
+ data.tar.gz: 3e6a4f9cf9ab8921505e8afb7aa69eac5d5f2cacd1ea1cbc29cf65310d1ee92d80d64f7af8163970b6ac0b1ce2116b80b189d619965fe3b07942aa39f2c34648
@@ -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 ⬆⬆⬆⬆
@@ -67,8 +68,9 @@ module Souls
67
68
  "roles/pubsub.editor",
68
69
  "roles/datastore.user",
69
70
  "roles/iam.serviceAccountUser",
70
- "roles/storage.objectAdmin",
71
- "roles/run.admin"
71
+ "roles/run.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)
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.33.11".freeze
2
+ VERSION = "0.34.0".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.12.11
1
+ 0.13.0
@@ -1 +1 @@
1
- 0.12.11
1
+ 0.13.0
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.11
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI