souls 0.34.2 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/souls/cli/gcloud/iam/index.rb +4 -2
- data/lib/souls/cli/sync/model.rb +2 -1
- 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
- data/lib/souls/worker/generate/index.rb +1 -1
- metadata +1 -2
- data/lib/souls/worker/generate.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5811e7d1669c33a4c847ce4a8cc1d39983e1764faac97712fd63287c8cd1b6b
|
4
|
+
data.tar.gz: d26cdd9dc0e0c1973b237b23ad0060bfe773c8e43ed56ef7fdef4323a87223af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c0574be87356a6329d6b0dd3ff3ad1eb7cb31044bccc6d68399ce35548cddb758bb553e0ba80b290d2b0c241a997a8ee1bc489a82e84cf8da323d0413c5a302
|
7
|
+
data.tar.gz: 8eae9a2a555476d8cf6a3a0749c612dbaba7735d4df9fb11803291303b5f5c52549e7d207b90cd7f07a848bc6543c0bf701966a04629904e80bb6d768b7cd03f
|
@@ -28,7 +28,7 @@ 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(
|
31
|
+
github_repo = "https://github.com/#{github_repo.match(/:(.+).git/)[1]}" if github_repo.include?("git@github")
|
32
32
|
puts(Paint[key, :white])
|
33
33
|
puts(Paint["======= above(ここまで)=======", :cyan])
|
34
34
|
github_secret_url = "#{github_repo}/settings/secrets/actions"
|
@@ -53,7 +53,9 @@ module Souls
|
|
53
53
|
FileUtils.rm(file_path)
|
54
54
|
end
|
55
55
|
|
56
|
-
def add_service_account_role(
|
56
|
+
def add_service_account_role(
|
57
|
+
service_account: "souls-app", project_id: "souls-app", role: "roles/firebase.admin"
|
58
|
+
)
|
57
59
|
system(
|
58
60
|
"gcloud projects add-iam-policy-binding #{project_id} \
|
59
61
|
--member='serviceAccount:#{service_account}@#{project_id}.iam.gserviceaccount.com' \
|
data/lib/souls/cli/sync/model.rb
CHANGED
@@ -42,9 +42,10 @@ module Souls
|
|
42
42
|
else
|
43
43
|
api_file_data = file_diff(Dir["#{api_dir}/*.rb"])
|
44
44
|
worker_file_data = file_diff(Dir["#{worker_dir}/*.rb"])
|
45
|
-
|
45
|
+
# rubocop:disable Style/DateTime
|
46
46
|
api_latest_date = DateTime.parse(api_file_data.max)
|
47
47
|
worker_latest_date = DateTime.parse(worker_file_data.max)
|
48
|
+
# rubocop:enable Style/DateTime
|
48
49
|
end
|
49
50
|
|
50
51
|
if api_latest_date < worker_latest_date
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.14.0
|
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.14.0
|
@@ -1,2 +1,2 @@
|
|
1
1
|
require_relative "./mailer"
|
2
|
-
require_relative "./mutation"
|
2
|
+
require_relative "./mutation"
|
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.
|
4
|
+
version: 0.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- POPPIN-FUMI
|
@@ -145,7 +145,6 @@ files:
|
|
145
145
|
- lib/souls/version.rb
|
146
146
|
- lib/souls/versions/.souls_api_version
|
147
147
|
- lib/souls/versions/.souls_worker_version
|
148
|
-
- lib/souls/worker/generate.rb
|
149
148
|
- lib/souls/worker/generate/index.rb
|
150
149
|
- lib/souls/worker/generate/mailer.rb
|
151
150
|
- lib/souls/worker/generate/mutation.rb
|
File without changes
|