souls 1.3.1 → 1.3.2
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 +4 -4
- data/lib/souls/cli/gcloud/sql/index.rb +4 -4
- 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.rb +4 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e903e408a1e67cf84a2817b0e7144eec61a5c07011b9f2299b4d3b01fdcf4c2e
|
4
|
+
data.tar.gz: 0572dec02f099651cdc15625eb75189c454aa3b61bdba20bd551c1f9dfe88bd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 775426654c16e931505331ff4cc383c6652244b4fe76f9df41b5e3fefc287ee3a1c38b0adf4234a1c9069abc568678cdebafd06b09f95067f5cf6192264d1d39
|
7
|
+
data.tar.gz: 3602a072188c4f27d7292a8428cbe82d8188b1de2b23a6ef6bf9f8a2675c036fd5ea6a10f68833a5c63753d996144f2cc80cf63a2eb60538fd371716ebe981fa
|
@@ -5,7 +5,7 @@ module Souls
|
|
5
5
|
method_option :root_password, default: "", aliases: "--root-password", desc: "Set Cloud SQL Root Password"
|
6
6
|
method_option :mysql, type: :boolean, default: false, aliases: "--mysql", desc: "Set Cloud SQL Type to MySQL"
|
7
7
|
def create_instance
|
8
|
-
instance_name =
|
8
|
+
instance_name = Souls.configuration.instance_name if instance_name.blank?
|
9
9
|
region = Souls.configuration.region if options[:region].blank?
|
10
10
|
db_type = options[:mysql] ? "MYSQL_8_0" : "POSTGRES_13"
|
11
11
|
|
@@ -46,7 +46,7 @@ module Souls
|
|
46
46
|
desc "assign_network", "Assign Network"
|
47
47
|
def assign_network
|
48
48
|
app_name = Souls.configuration.app
|
49
|
-
instance_name =
|
49
|
+
instance_name = Souls.configuration.instance_name
|
50
50
|
project_id = Souls.configuration.project_id
|
51
51
|
system("gcloud beta sql instances patch #{instance_name} --project=#{project_id} --network=#{app_name}")
|
52
52
|
rescue Thor::Error => e
|
@@ -91,8 +91,8 @@ module Souls
|
|
91
91
|
desc "assgin_ip", "Add Current Grobal IP to White List"
|
92
92
|
def assign_ip(instance_name: "", ip: "")
|
93
93
|
ip = `curl inet-ip.info` if ip.blank?
|
94
|
-
project_id = Souls.configuration.project_id
|
95
|
-
instance_name =
|
94
|
+
project_id = Souls.configuration.project_id if instance_name.blank?
|
95
|
+
instance_name = Souls.configuration.instance_name if instance_name.blank?
|
96
96
|
system(
|
97
97
|
"
|
98
98
|
gcloud beta sql instances patch #{instance_name} \
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.2
|
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.2
|
data/lib/souls.rb
CHANGED
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.3.
|
4
|
+
version: 1.3.2
|
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: 2021-
|
13
|
+
date: 2021-11-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -231,7 +231,7 @@ metadata:
|
|
231
231
|
homepage_uri: https://souls.elsoul.nl
|
232
232
|
source_code_uri: https://github.com/elsoul/souls
|
233
233
|
changelog_uri: https://github.com/elsoul/souls
|
234
|
-
post_install_message:
|
234
|
+
post_install_message:
|
235
235
|
rdoc_options: []
|
236
236
|
require_paths:
|
237
237
|
- lib
|
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
247
|
version: '0'
|
248
248
|
requirements: []
|
249
249
|
rubygems_version: 3.2.22
|
250
|
-
signing_key:
|
250
|
+
signing_key:
|
251
251
|
specification_version: 4
|
252
252
|
summary: Build Serverless Apps faster like Rails. Powered by Ruby GraphQL, RBS/Steep,
|
253
253
|
Active Record, RSpec, RuboCop, and Google Cloud.
|