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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a787225c8c1e3df750cf5de8cd184a3e3380cfbe8b469225ffc69a789634ddaf
4
- data.tar.gz: 72adfc131aebcc47923b0f102615d45ac3c41a081f964a259aff5dfa29deffb5
3
+ metadata.gz: 4c9d770f994569e10b21a9fb01d4d092bd01810aaf6d01a8b18ec467bdb94a5f
4
+ data.tar.gz: 37e7bb528de55750b31d0bfacb313441bd4e9f315e4b6433da08201ecf534d2c
5
5
  SHA512:
6
- metadata.gz: 5a8851074629eca06ca8b3090f5a25c10e0ceb0403df43455faf8d01ed81aae36b7e9967f91e6345a4f8d494df330a3bcebc3a24545790ff8009fbb52e3d1d24
7
- data.tar.gz: dbda69409b250dfd73535d46def5352612bb251ec84a3b91cbca450aaffa7b2bf13a4ad4987dbce2421c713f9dbd054081f263660815f1016a824019d9c9226b
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
- require("./config/souls")
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
@@ -1,6 +1,6 @@
1
1
  module Souls
2
2
  class CLI < Thor
3
- desc "db:migrate [CLASS_NAME]", "Migrate Database"
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 [CLASS_NAME]", "Create Database"
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 [CLASS_NAME]", "Insert Seed Data"
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:migrate:reset [CLASS_NAME]", "Reset Database"
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,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.52.0".freeze
2
+ VERSION = "0.52.4".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.31.0
1
+ 0.31.4
@@ -1 +1 @@
1
- 0.31.0
1
+ 0.31.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.52.0
4
+ version: 0.52.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI