souls 1.5.5 → 1.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7af1bea47e77837993f6181df8213275513710793230ec4fbb35ee0713d43deb
|
4
|
+
data.tar.gz: b69eb488894a83c99c324702411769877506163af42c596bfd3b1e92cb78e505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e29e8f9651a213ebdb4ccafda9958a5895018bfc75d01f00bb501d755dbd482a6f7a8bdcc0f855964434df9240a438863c0314eb1825ff09d9193503af04049c
|
7
|
+
data.tar.gz: f9da4b984b33ed487e685ca88b231f918f05ff5a58311bda130709c9948bd858c40805c6ee4bc503cb3198bf2afb96b6a8790391cfe5efa08c2ba0ead3d465ba
|
@@ -28,7 +28,7 @@ module Souls
|
|
28
28
|
SOULS_DB_PW=#{password}
|
29
29
|
SOULS_DB_USER=postgres
|
30
30
|
SOULS_GCP_PROJECT_ID=#{project_id}
|
31
|
-
SOULS_SECRET_KEY_BASE=
|
31
|
+
SOULS_SECRET_KEY_BASE='#{SecureRandom.base64(64)}'
|
32
32
|
TZ="#{region_to_timezone(region: region)}"
|
33
33
|
TEXT
|
34
34
|
end
|
@@ -44,7 +44,7 @@ module Souls
|
|
44
44
|
SOULS_GCP_PROJECT_ID=#{project_id}
|
45
45
|
SOULS_GCP_REGION=#{region}
|
46
46
|
SOULS_GCLOUDSQL_INSTANCE="#{project_id}:#{region}:#{instance_name}"
|
47
|
-
SOULS_SECRET_KEY_BASE=
|
47
|
+
SOULS_SECRET_KEY_BASE='#{SecureRandom.base64(64)}'
|
48
48
|
TZ="#{region_to_timezone(region: region)}"
|
49
49
|
TEXT
|
50
50
|
end
|
@@ -4,8 +4,10 @@ module Souls
|
|
4
4
|
def config
|
5
5
|
souls = Souls.configuration
|
6
6
|
prompt = TTY::Prompt.new
|
7
|
+
regions = `gcloud app regions list | awk '{print $1}'`.split("\n")
|
8
|
+
regions.shift
|
7
9
|
project_id = prompt.ask("Project ID:", default: souls.project_id)
|
8
|
-
region = prompt.
|
10
|
+
region = prompt.select("Region:", regions, default: souls.region)
|
9
11
|
endpoint = prompt.ask("Endpoint:", default: souls.endpoint)
|
10
12
|
|
11
13
|
Dir.chdir(Souls.get_mother_path.to_s) do
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.6.1
|
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.6.1
|