souls 0.40.2 → 0.40.3

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: 830e9f1e9796eb865775399585c85ff3185a4896e43d815507db9b0a5774ab08
4
- data.tar.gz: 41296eeb3bab8cb8e300625cf881f270cd526cbaf4f169eb74316e623910d8fd
3
+ metadata.gz: 51159a85b2486d7b97dec78e107c883a00675a62dad2f0c38ecef3a0bcea3769
4
+ data.tar.gz: 325e1edba536b1f0891e10ce4f03d1301da032aaf06ca45d15a2596f147fb329
5
5
  SHA512:
6
- metadata.gz: 998fdb38f2a8aa35557ab76a28992098e279ae8a2b8662348fe1b536389b7013302e544d583fdf75fd5d158c403c73e57b737d368806d8ece693e04855fe3d31
7
- data.tar.gz: c646f6a1f8b6c558b4717ee1da213f9d613e5396523b56247bd545ff3d2510dc3620d71a6997523653c0fb3b6c3c364626db92ad27138999ab1d70df1d233617
6
+ metadata.gz: 1d18344b1a54e6e555f1103d1409c80b1abb9a883d61856b30ebc91d39f8535b238275b1875ff04f0096902856e8ffae0b16aa5f83aa4cff7003f623cca3540e
7
+ data.tar.gz: 0320ec98a816d0ca260067e93049347fe05953cdd1a994e81c58d17bb0557a324b6c3eb36055b9b3e91a6b550cca7404e5c8ffb32e7d0678a95884830a95babd
@@ -10,6 +10,18 @@ module Souls
10
10
  --root-password='#{root_pass}' --database-flags cloudsql.iam_authentication=on"
11
11
  )
12
12
  end
13
+
14
+ def pathch_instance(instance_name: "")
15
+ app_name = Souls.configuration.app
16
+ instance_name = "#{Souls.configuration.app}-db" if instance_name.blank?
17
+ project_id = Souls.configuration.project_id
18
+ system(
19
+ "gcloud beta sql instances patch #{instance_name} \
20
+ --project=#{project_id} \
21
+ --network=#{app_name} \
22
+ --no-assign-ip"
23
+ )
24
+ end
13
25
  end
14
26
  end
15
27
  end
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.40.2".freeze
2
+ VERSION = "0.40.3".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.19.2
1
+ 0.19.3
@@ -1 +1 @@
1
- 0.19.2
1
+ 0.19.3
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.2
4
+ version: 0.40.3
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
13
  date: 2021-09-04 00:00:00.000000000 Z
@@ -174,7 +174,7 @@ metadata:
174
174
  homepage_uri: https://souls.elsoul.nl
175
175
  source_code_uri: https://github.com/elsoul/souls
176
176
  changelog_uri: https://github.com/elsoul/souls
177
- post_install_message:
177
+ post_install_message:
178
178
  rdoc_options: []
179
179
  require_paths:
180
180
  - lib
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  version: '0'
191
191
  requirements: []
192
192
  rubygems_version: 3.2.22
193
- signing_key:
193
+ signing_key:
194
194
  specification_version: 4
195
195
  summary: SOULs はサーバーレスフルスタックフレームワークです。柔軟な Ruby GraphQL API と Worker はルーティングの必要がありません。
196
196
  クラウド環境への自動デプロイ、CI/CD ワークフローを標準装備。開発者がビジネスロジックに集中し、楽しくコードが書けるような環境を目指しています。