souls 1.21.11 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 530e62c8938e2f868a72b479c21efbc85d74aeea10e445fc3ade9506d06ae7bd
4
- data.tar.gz: 6c8ac7ecff385de4085d2c3c3181b80090803504e837fa05cf97e2f40691416f
3
+ metadata.gz: 8484534cc5159a0f0185bf5bb5757b68170b7e6fffff1ab177e35bc8e408738c
4
+ data.tar.gz: efce5c64ecaf0f4bccf6df0e4edc8b1cdb1def3fd3e6719b26596f164194ef8f
5
5
  SHA512:
6
- metadata.gz: 4cb49553f3386356b5917b7d7684f4ad13a03e201e4b858eea4804b56847b9fa720995d2f57fba121eb0255fef036cb428dfcb02359bd80f61abb414803512b5
7
- data.tar.gz: 59076c8b8a6167ca47b5dea557f490fc8a31fb08117341b80d448fcfe22295fb03b6de65fd098c8dbacbf18b457804e4ff2b2044431eddea253095def18b0acf
6
+ metadata.gz: e5ac40b1fb94b031fb89385a2e69745069c2e3b823e193f77f2edaab5a50093ba1f1e04eed4b937c0a89694792ffb69985253ea8ce0110508cdb9e9247472f83
7
+ data.tar.gz: 65f24c209081a3815724ec901e59b8556b67284f00296d7d74e140cbcfbaa0a0dbe9e01bd0a15085272d8a5d6a0fbbc3211735acd4f519844a806f4da1037caa
@@ -28,11 +28,16 @@ module SOULs
28
28
  end
29
29
 
30
30
  def souls_fb_auth(token: "")
31
+ raise(ArgumentError, "Invalid or Missing Token") if token.blank?
32
+
31
33
  FirebaseIdToken::Certificates.request!
32
- sleep(3)
33
34
  user = FirebaseIdToken::Signature.verify(token)
34
- raise(ArgumentError, "Invalid or Missing Token") if user.blank?
35
-
35
+ if user.blank?
36
+ Retryable.retryable(tries: 20, on: ArgumentError) do
37
+ user = FirebaseIdToken::Signature.verify(token)
38
+ raise(ArgumentError, "Invalid or Missing Token") if user.blank?
39
+ end
40
+ end
36
41
  user
37
42
  end
38
43
 
@@ -25,8 +25,7 @@ module SOULs
25
25
  initial_config_init(app_name:, service_name:)
26
26
  system("cd #{app_name}/apps/api && mv .env.sample .env")
27
27
  system("cd #{app_name} && git init --initial-branch=main")
28
-
29
- system(" cd #{app_name} && rbs collection init && rbs collection install ")
28
+ system("cd #{app_name} && rbs collection init && rbs collection install")
30
29
  souls_api_credit(app_name)
31
30
  end
32
31
 
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module SOULs
2
- VERSION = "1.21.11".freeze
2
+ VERSION = "2.0.0".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.21.11
1
+ 2.0.0
@@ -1 +1 @@
1
- 1.21.11
1
+ 2.0.0
data/lib/souls.rb CHANGED
@@ -9,6 +9,7 @@ require "whirly"
9
9
  require "tty-prompt"
10
10
  require "thor"
11
11
  require "resolv"
12
+ require "retryable"
12
13
  require "google/cloud/pubsub"
13
14
 
14
15
  module SOULs
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.11
4
+ version: 2.0.0
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
- date: 2022-01-20 00:00:00.000000000 Z
13
+ date: 2022-03-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 7.0.1
21
+ version: 7.0.2.3
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: 7.0.1
28
+ version: 7.0.2.3
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: foreman
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -72,16 +72,16 @@ dependencies:
72
72
  name: graphql
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - "<="
75
+ - - ">="
76
76
  - !ruby/object:Gem::Version
77
- version: 1.13.2
77
+ version: 2.0.2
78
78
  type: :runtime
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - "<="
82
+ - - ">="
83
83
  - !ruby/object:Gem::Version
84
- version: 1.13.2
84
+ version: 2.0.2
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: paint
87
87
  requirement: !ruby/object:Gem::Requirement
@@ -138,20 +138,34 @@ dependencies:
138
138
  - - ">="
139
139
  - !ruby/object:Gem::Version
140
140
  version: 2.8.3
141
+ - !ruby/object:Gem::Dependency
142
+ name: retryable
143
+ requirement: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: 3.0.5
148
+ type: :runtime
149
+ prerelease: false
150
+ version_requirements: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: 3.0.5
141
155
  - !ruby/object:Gem::Dependency
142
156
  name: thor
143
157
  requirement: !ruby/object:Gem::Requirement
144
158
  requirements:
145
159
  - - ">="
146
160
  - !ruby/object:Gem::Version
147
- version: 1.1.0
161
+ version: 1.2.1
148
162
  type: :runtime
149
163
  prerelease: false
150
164
  version_requirements: !ruby/object:Gem::Requirement
151
165
  requirements:
152
166
  - - ">="
153
167
  - !ruby/object:Gem::Version
154
- version: 1.1.0
168
+ version: 1.2.1
155
169
  description: |-
156
170
  Ruby Serverless Framework 'SOULs' | Ruby サーバーレスフレームワーク SOULs.
157
171
  Powered by Ruby GraphQL, RBS/Steep, Active Record, RSpec, RuboCop, and Google Cloud.
@@ -299,7 +313,7 @@ licenses:
299
313
  - Apache-2.0
300
314
  metadata:
301
315
  rubygems_mfa_required: 'true'
302
- post_install_message:
316
+ post_install_message:
303
317
  rdoc_options: []
304
318
  require_paths:
305
319
  - lib
@@ -315,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
315
329
  version: '0'
316
330
  requirements: []
317
331
  rubygems_version: 3.3.3
318
- signing_key:
332
+ signing_key:
319
333
  specification_version: 4
320
334
  summary: Ruby Serverless Framework 'SOULs' | Ruby サーバーレスフレームワーク SOULs. Powered by
321
335
  Ruby GraphQL, RBS/Steep, Active Record, RSpec, RuboCop, and Google Cloud.