souls 1.16.3 → 1.16.4

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: cdbebd8dea547dbf6ae519a2f16939e89efabd06cb54e06bea417d6b2049d4bb
4
- data.tar.gz: 00dc3ede951bc2f88129f1f37ae0c3328afc2868e7c4980b1123e83ef80e52cf
3
+ metadata.gz: ee6967aca4ad68485e8949a07d18d9cb27207c94c37048ad48e872327ee3826d
4
+ data.tar.gz: 557dfda9e78e399a7d960d935510372d82d7abb5e475f63cbcfe379a0bf17109
5
5
  SHA512:
6
- metadata.gz: 1471c055e29c9c6709e1f907ac3639d3969f19734f5facc702694149a570c449f6a3685320dade99bc858c597119c00f47ae5f9f46ba0cff6ceca05c2a8deb6d
7
- data.tar.gz: 2a574435c59e20d06465c5b80ea2f6817f801a4716d9fb01e371bf71cce771df29cf26f3830fa2ac23cc157f9ea81c7d1dec8d191530cd00541a94f14085f3d4
6
+ metadata.gz: fe9c7d8f0958df1b3583812bc6dac837458f7289002d9f91edf36477239eb12b8981cf047413bcf71203e8fa53a36a833033c543e1fd3b416bb5b69ac28f2bfc
7
+ data.tar.gz: dc37274075a447eb120d361890c0b7884e5698dd3497abc261cf455641adbb66c7e46bb0c1cb780ce871fd486deb8a8f1f35b49d4d04ad076e0d94a330ee1405
@@ -26,6 +26,17 @@ module Souls
26
26
  system("gcloud functions describe souls_functions --project=#{project_id}")
27
27
  end
28
28
 
29
+ desc "delete", "Delete SOULs Functions"
30
+ def delete(name)
31
+ require(Souls.get_mother_path.to_s + "/config/souls")
32
+ project_id = Souls.configuration.project_id
33
+ system("gcloud functions delete #{name} --project=#{project_id}")
34
+ Dir.chdir(Souls.get_mother_path.to_s) do
35
+ FileUtils.rm_rf("apps/#{name}")
36
+ end
37
+ Souls::Painter.success("Deleted #{name} functions!")
38
+ end
39
+
29
40
  desc "url", "Get SOULs Functions URL"
30
41
  def url
31
42
  require(Souls.get_mother_path.to_s + "/config/souls")
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "1.16.3".freeze
2
+ VERSION = "1.16.4".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.16.3
1
+ 1.16.4
@@ -1 +1 @@
1
- 1.16.3
1
+ 1.16.4
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: 1.16.3
4
+ version: 1.16.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2022-01-03 00:00:00.000000000 Z
13
+ date: 2022-01-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport