souls 0.26.2 → 0.26.6

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: aacb11d1e46b687da11266cf9e3f83f6a07aec2127d275704b7ef22454d6fdde
4
- data.tar.gz: d973b6e0665e48d70029ce6dab44c1b793228665c0bf020be002695f11b1c4f8
3
+ metadata.gz: 893ea426a81089a447105577805d64548a2141c11a7b0c90331db61e8032c443
4
+ data.tar.gz: a2196037ce176621374aefd6cc1c61010a169fbe7a3d74a6bfda43dc173b03b0
5
5
  SHA512:
6
- metadata.gz: 1f9735ce8e99f50628c4bfff3e5682aede06f155131963285f8cd33faba461f3b1c9a0f45b98551d37d585107ad81954d59816636881c42d3f04ed83a7204bc2
7
- data.tar.gz: 4bd3cedb4d4a82d47ceb15a1f41640d12993277ac98885680c205772648b7e910e658a5d49affea21f8a44ce0e39669cf41f5be54301991a5669ddf184b4ebd5
6
+ metadata.gz: 60cb5fc2010f6b9fbe15bfb92b311520aa4ca03a507a51da401323ee0402bb9431fed2f131ddec7028a309412cc69634a1d8b57ee0b909de24db5056c55dd5ea
7
+ data.tar.gz: 5da0d290e8fe8e4baec083f3c40a449f4a1a40ee960ae53b3b97e9ae82ccc24f99646122b6007f300edccca8dace17d8441922cd1c5d986746469696c89299be
data/lib/souls/init.rb CHANGED
@@ -33,8 +33,8 @@ module Souls
33
33
  file_name = "github.tgz"
34
34
  url = "https://storage.googleapis.com/souls-bucket/github_actions/github.tgz"
35
35
  system("curl -OL #{url}")
36
- FileUtils.mkdir("github")
37
- system("tar -zxvf ./#{file_name} -C #{file_name}/#{app_name}")
36
+ FileUtils.mkdir_p("#{app_name}/github")
37
+ system("tar -zxvf ./#{file_name} -C #{app_name}/")
38
38
  FileUtils.rm(file_name)
39
39
  end
40
40
 
@@ -74,12 +74,13 @@ module Souls
74
74
  choices = ["1. SOULs GraphQL API", "2. SOULs Pub/Sub Worker", "3. SOULs Frontend Web"]
75
75
  choice_num = prompt.select(Paint["Select Strain: ", :cyan], choices)[0].to_i
76
76
  case choice_num
77
- when 1, 2
77
+ when 1
78
78
  service_name = (strains[choice_num.to_i - 1]).to_s
79
79
  Souls::Init.download_souls(app_name: app_name, service_name: service_name)
80
80
  Souls::Init.mother_config_init(app_name: app_name)
81
81
  Souls::Init.download_github_actions(app_name: app_name)
82
82
  Souls::Init.initial_config_init(app_name: app_name, service_name: service_name)
83
+ Souls::Init.souls_api_credit(app_name: app_name, service_name: service_name)
83
84
  else
84
85
  puts(Paint["Coming Soon...", :blue])
85
86
  end
@@ -93,6 +94,9 @@ module Souls
93
94
  system("mkdir -p #{app_name}/apps/#{service_name}")
94
95
  system("tar -zxvf ./#{file_name} -C #{app_name}/apps/")
95
96
  FileUtils.rm(file_name)
97
+ end
98
+
99
+ def self.souls_api_credit(app_name: "souls", service_name: "api")
96
100
  line = Paint["====================================", :yellow]
97
101
  puts("\n")
98
102
  puts(line)
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.26.2".freeze
2
+ VERSION = "0.26.6".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.6
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.6
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: 0.26.2
4
+ version: 0.26.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI