souls 0.52.0 → 0.52.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 +2 -1
- data/lib/souls/cli/db/index.rb +4 -4
- data/lib/souls/cli.rb +1 -1
- 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: 4c9d770f994569e10b21a9fb01d4d092bd01810aaf6d01a8b18ec467bdb94a5f
|
4
|
+
data.tar.gz: 37e7bb528de55750b31d0bfacb313441bd4e9f315e4b6433da08201ecf534d2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: badab5a1a1141317c40ddc1c3c8800e29947353ef8bbe4a1a656088696a1cc832776fde27eff1fe9bed1607f384d1d52ebb05abfd58dce63069ce6a112861236
|
7
|
+
data.tar.gz: fa8336d52e3f1d9ba3411ab81cd00882c56b09f962957ae983ea7e5dd1574ad92f5335611ca56ac6113368a250b9464c0e056cc2458a6edf18b91ed4ad1c8b36
|
data/exe/souls
CHANGED
@@ -2,7 +2,8 @@
|
|
2
2
|
require "souls"
|
3
3
|
require "thor"
|
4
4
|
begin
|
5
|
-
|
5
|
+
souls_command = ARGV[0]
|
6
|
+
require("./config/souls") unless ["new", "docker", "-v", "deploy"].include?(souls_command)
|
6
7
|
rescue StandardError
|
7
8
|
raise(StandardError, "No confif! Please make `./config/souls.rb` File!")
|
8
9
|
end
|
data/lib/souls/cli/db/index.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Souls
|
2
2
|
class CLI < Thor
|
3
|
-
desc "db:migrate
|
3
|
+
desc "db:migrate", "Migrate Database"
|
4
4
|
method_option :env, aliases: "--e", default: "development", desc: "Difine APP Enviroment - development | production"
|
5
5
|
def migrate
|
6
6
|
case options[:env]
|
@@ -15,7 +15,7 @@ module Souls
|
|
15
15
|
raise(Thor::Error, e)
|
16
16
|
end
|
17
17
|
|
18
|
-
desc "db:create
|
18
|
+
desc "db:create", "Create Database"
|
19
19
|
method_option :env, aliases: "--e", default: "development", desc: "Difine APP Enviroment - development | production"
|
20
20
|
def db_create
|
21
21
|
case options[:env]
|
@@ -30,7 +30,7 @@ module Souls
|
|
30
30
|
raise(Thor::Error, e)
|
31
31
|
end
|
32
32
|
|
33
|
-
desc "db:seed
|
33
|
+
desc "db:seed", "Insert Seed Data"
|
34
34
|
method_option :env, aliases: "--e", default: "development", desc: "Difine APP Enviroment - development | production"
|
35
35
|
def seed
|
36
36
|
case options[:env]
|
@@ -45,7 +45,7 @@ module Souls
|
|
45
45
|
raise(Thor::Error, e)
|
46
46
|
end
|
47
47
|
|
48
|
-
desc "db:
|
48
|
+
desc "db:reset", "Reset Database"
|
49
49
|
method_option :env, aliases: "--e", default: "development", desc: "Difine APP Enviroment - development | production"
|
50
50
|
def migrate_reset
|
51
51
|
case options[:env]
|
data/lib/souls/cli.rb
CHANGED
@@ -25,6 +25,7 @@ module Souls
|
|
25
25
|
# rubocop:disable Style/StringHashKeys
|
26
26
|
map "c" => :console
|
27
27
|
map "s" => :server
|
28
|
+
map "db:migrate:reset" => :migrate_reset
|
28
29
|
map "db:migrate" => :migrate
|
29
30
|
map "db:create_migration" => :create_migration
|
30
31
|
map "db:add_column" => :add_column
|
@@ -33,7 +34,6 @@ module Souls
|
|
33
34
|
map "db:remove_column" => :remove_column
|
34
35
|
map "db:drop_table" => :drop_table
|
35
36
|
map "db:create" => :db_create
|
36
|
-
map "db:migrate:reset" => :mirgate_reset
|
37
37
|
map "db:seed" => :seed
|
38
38
|
map "t" => :test
|
39
39
|
map ["-v", "--v", "--version", "-version"] => :version
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.31.
|
1
|
+
0.31.4
|
@@ -1 +1 @@
|
|
1
|
-
0.31.
|
1
|
+
0.31.4
|