souls 0.55.0 → 0.55.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 +4 -4
- data/exe/souls +1 -12
- data/lib/souls/cli/init/index.rb +7 -6
- data/lib/souls/cli.rb +5 -3
- 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
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75767c5f23989261652a635948bdb2bcd006c7e64b5e5f504c6672e147a7bcd7
|
4
|
+
data.tar.gz: b5d2d136dd5721946f4b30684b79581a566c73a445d7b0013d863f18553e3bc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 307bc4c21b9def90cd9c559d6391e83d9e7d64de17db4b1ac32c2d6890734566961cb44946d027babeda01dbb3b1e70c40f68792ee8b9604334f59ffe8f808b5
|
7
|
+
data.tar.gz: 9652779841df05d98a424b80a0327bfb1a91fa80c36e03308aa60cc63ca382d889ddf69140eae1ee9ba0f5d99d24f54a101d3b438f46c50ebc5aaf5524b2f21e
|
data/exe/souls
CHANGED
@@ -3,18 +3,7 @@ require "souls"
|
|
3
3
|
require "thor"
|
4
4
|
begin
|
5
5
|
souls_command = ARGV[0]
|
6
|
-
require("./config/souls") unless [
|
7
|
-
"new",
|
8
|
-
"docker",
|
9
|
-
"-v",
|
10
|
-
"deploy",
|
11
|
-
"help",
|
12
|
-
"api",
|
13
|
-
"create",
|
14
|
-
"worker",
|
15
|
-
"",
|
16
|
-
nil
|
17
|
-
].include?(souls_command)
|
6
|
+
require("./config/souls") unless ["new", "docker", "-v", "help", "", nil].include?(souls_command)
|
18
7
|
rescue StandardError
|
19
8
|
raise(StandardError, "No confif! Please make `./config/souls.rb` File!")
|
20
9
|
end
|
data/lib/souls/cli/init/index.rb
CHANGED
@@ -17,7 +17,7 @@ module Souls
|
|
17
17
|
end
|
18
18
|
|
19
19
|
desc "init", "Run git submodule add RBS collection"
|
20
|
-
def
|
20
|
+
def add_submodule
|
21
21
|
system("git submodule add https://github.com/ruby/gem_rbs_collection.git vendor/rbs/gem_rbs_collection")
|
22
22
|
end
|
23
23
|
|
@@ -84,7 +84,7 @@ module Souls
|
|
84
84
|
|
85
85
|
def download_github_actions(app_name: "souls-app")
|
86
86
|
file_name = "github.tgz"
|
87
|
-
url = "https://storage.googleapis.com/souls-bucket/boilerplates/github.tgz"
|
87
|
+
url = "https://storage.googleapis.com/souls-bucket/boilerplates/github_actions/github.tgz"
|
88
88
|
system("curl -OL #{url}")
|
89
89
|
FileUtils.mkdir_p("#{app_name}/github")
|
90
90
|
system("tar -zxvf ./#{file_name} -C #{app_name}/")
|
@@ -120,18 +120,19 @@ module Souls
|
|
120
120
|
system("curl -OL #{url}")
|
121
121
|
system("mkdir -p #{app_name}/apps/#{service_name}")
|
122
122
|
system("tar -zxvf ./#{file_name} -C #{app_name}/apps/")
|
123
|
+
FileUtils.rm(file_name)
|
123
124
|
|
124
|
-
|
125
|
-
url = "https://storage.googleapis.com/souls-bucket/boilerplates/sig/#{
|
125
|
+
sig_name = "sig.tgz"
|
126
|
+
url = "https://storage.googleapis.com/souls-bucket/boilerplates/sig/#{sig_name}"
|
126
127
|
system("curl -OL #{url}")
|
127
|
-
system("tar -zxvf ./#{
|
128
|
+
system("tar -zxvf ./#{sig_name} -C #{app_name}")
|
128
129
|
|
129
130
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/.rubocop.yml")
|
130
131
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Gemfile")
|
131
132
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Procfile.dev")
|
132
133
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Procfile")
|
133
134
|
system("cd #{app_name} && curl -OL https://storage.googleapis.com/souls-bucket/boilerplates/Steepfile")
|
134
|
-
FileUtils.rm(
|
135
|
+
FileUtils.rm(sig_name)
|
135
136
|
end
|
136
137
|
|
137
138
|
def souls_api_credit(app_name: "souls", service_name: "api")
|
data/lib/souls/cli.rb
CHANGED
@@ -44,15 +44,17 @@ module Souls
|
|
44
44
|
puts(Souls::VERSION)
|
45
45
|
end
|
46
46
|
|
47
|
-
desc "test", "Run
|
47
|
+
desc "test", "Run Rspec & Rubocop"
|
48
48
|
def test
|
49
49
|
system("rubocop -A")
|
50
|
-
system("steep check")
|
51
50
|
system("bundle exec rspec")
|
52
51
|
end
|
53
52
|
|
54
|
-
desc "test_all", "Run Rspec & Rubocop"
|
53
|
+
desc "test_all", "Run (Rspec & steep check & Rubocop)"
|
55
54
|
def test_all
|
55
|
+
Dir.chdir(Souls.get_mother_path.to_s) do
|
56
|
+
system("steep check")
|
57
|
+
end
|
56
58
|
system("rubocop -A")
|
57
59
|
system("bundle exec rspec")
|
58
60
|
end
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.34.
|
1
|
+
0.34.4
|
@@ -1 +1 @@
|
|
1
|
-
0.34.
|
1
|
+
0.34.4
|