souls 0.25.21 → 0.26.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: d302739333f55f0b68fb0c8a8fa5f35c9554835ef2ac2450d1cdb5f5e471d744
4
- data.tar.gz: 9bb8ffc40893c6df1c9c3ef96bb66be49e8d6172f1cd553f852e7b8667ac7f62
3
+ metadata.gz: de4eff0876018a8bd7068f3b5f3e8241813a15abb9e6cb1af26a40d8c4d559d9
4
+ data.tar.gz: a0116cd30e3d448d26aeb37e39330efb93b8fcbce48a52dc4c18e4e45e70e947
5
5
  SHA512:
6
- metadata.gz: a7d433ecd0936e89f176a2f78b2fa8a93ec450c3a002e24c168f1f733285bfa2dcec9a4f97d6ec774b096f7ff86f9a815b2691d1a533743a7e6c2046e05b0f8e
7
- data.tar.gz: 21a103c93a45cc00e8910d11b0dc2e6163e9fa6112b809d5a7344941012f6fea730fbbeb482fa9851cf238848819c1f2831f41424e29a09ff4cb826f061808ec
6
+ metadata.gz: cf81a79b321003740af706da0e81818ca92f5663b154c83045cd9fb52768df0eecea14dc85d8d3851064a489bd0181ebd0177f7212bc3ce69fb41ec2ec47d6e5
7
+ data.tar.gz: 922a6620c36b865eb47c2625425818669144f04b7472177adf99084795d036075ccce430c49cda6818a7805826310df803af010969e420830f512626144a5b93
data/lib/souls/init.rb CHANGED
@@ -29,6 +29,15 @@ module Souls
29
29
  puts(e)
30
30
  end
31
31
 
32
+ def self.download_github_actions(app_name: "souls-app")
33
+ file_name = "github.tgz"
34
+ url = "https://storage.googleapis.com/souls-bucket/github_actions/github.tgz"
35
+ system("curl -OL #{url}")
36
+ FileUtils.mkdir("github")
37
+ system("tar -zxvf ./#{file_name} -C #{app_name}/github/")
38
+ FileUtils.rm(file_name)
39
+ end
40
+
32
41
  def self.mother_config_init(app_name: "souls-app")
33
42
  config_dir = "./#{app_name}/config"
34
43
  FileUtils.mkdir_p(config_dir) unless Dir.exist?(config_dir)
@@ -69,6 +78,7 @@ module Souls
69
78
  service_name = (strains[choice_num.to_i - 1]).to_s
70
79
  Souls::Init.download_souls(app_name: app_name, service_name: service_name)
71
80
  Souls::Init.mother_config_init(app_name: app_name)
81
+ Souls::Init.download_github_actions(app_name: app_name)
72
82
  Souls::Init.initial_config_init(app_name: app_name, service_name: service_name)
73
83
  else
74
84
  puts(Paint["Coming Soon...", :blue])
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.25.21".freeze
2
+ VERSION = "0.26.3".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.4.24
1
+ 0.5.3
@@ -1 +1 @@
1
- 0.4.24
1
+ 0.5.3
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.25.21
4
+ version: 0.26.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI