souls 0.34.2 → 0.35.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: f1655b2921c5ca02943bb7fd1f02a12e07edfca9c8397106932fa01665cd3bd5
4
- data.tar.gz: 458400582e204b3aeb7833cd0900d6dc5ab73d159be5f453f0001f24c471ad80
3
+ metadata.gz: a5811e7d1669c33a4c847ce4a8cc1d39983e1764faac97712fd63287c8cd1b6b
4
+ data.tar.gz: d26cdd9dc0e0c1973b237b23ad0060bfe773c8e43ed56ef7fdef4323a87223af
5
5
  SHA512:
6
- metadata.gz: 100fe2aac8e4b0b62cd3ee6a58e5a849a028d31835b9792cdae953058d1e8801569ecf77f344ad57aadfd901e3c52b9e8f0b7ef2e92fdc9084c1827b65bfa133
7
- data.tar.gz: 6a3956aba738787b90980ea26dc592d2165234ed2b4561fe24d95b1ec84bd505809649d4c73533d01acbc917187c0ea4933473cb3c24b302e140b5444b64ca82
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(/\:(.+).git/)[1]}" if github_repo.include?("git@github")
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(service_account: "souls-app", project_id: "souls-app", role: "roles/firebase.admin")
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' \
@@ -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,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.34.2".freeze
2
+ VERSION = "0.35.0".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.13.2
1
+ 0.14.0
@@ -1 +1 @@
1
- 0.13.2
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.34.2
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