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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ad38c68b295b0ea8e8a38aacb699eda93ade1fa9a584bc330140311cb7bcebb
4
- data.tar.gz: 2ea800b308b381440c04fdfc6399e36dd6615803b2f77f062be12c7ea04ce649
3
+ metadata.gz: 75767c5f23989261652a635948bdb2bcd006c7e64b5e5f504c6672e147a7bcd7
4
+ data.tar.gz: b5d2d136dd5721946f4b30684b79581a566c73a445d7b0013d863f18553e3bc1
5
5
  SHA512:
6
- metadata.gz: dbd8d2fa3df171f68a8e264d6f808719ed3776c775dd82294ec3b9a08331433e6986fbd6afda9ad78eef162d8e0dbb3b6b9ef9029fcc1eff4f9bd57060b06c9d
7
- data.tar.gz: c2f0a77950efb263a328a9df611d61e697b84434882aa4c33abeba35274f1a6f638510fe67aedf5d6e9d4fbc0d6686a08252e664ca45a27fdea357d1754f427a
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
@@ -17,7 +17,7 @@ module Souls
17
17
  end
18
18
 
19
19
  desc "init", "Run git submodule add RBS collection"
20
- def init
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
- file_name = "sig.tgz"
125
- url = "https://storage.googleapis.com/souls-bucket/boilerplates/sig/#{file_name}"
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 ./#{file_name} -C #{app_name}")
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(file_name)
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 (Rspec & steep check & Rubocop)"
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,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.55.0".freeze
2
+ VERSION = "0.55.4".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.34.0
1
+ 0.34.4
@@ -1 +1 @@
1
- 0.34.0
1
+ 0.34.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: 0.55.0
4
+ version: 0.55.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI