lesli 5.0.6 → 5.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 002c09c0810571b861aea770b118469426b2e252eb9ede90a1ac897321c0c951
4
- data.tar.gz: 04e58831bf67417a84793f89ae4aa5556675a17e727bd3fb4ffcc8e2b3cee6d6
3
+ metadata.gz: 2704c5aebd8bf510927680809b5a07a8aed66dfa7312f06ac0d1ff96f5dd3def
4
+ data.tar.gz: 90d7a87d6951a54b937cf34b7988e769b7c00fd54ed3a32affb4bda7a37bcd9e
5
5
  SHA512:
6
- metadata.gz: 8324d63a195d838d174c62ef5ab36e5bb236c88b07cf15ee310cd8cbd07824542f31b04cf67177f36deb0edff051ec76baf47404bb6a8c2eed498aac5142c965
7
- data.tar.gz: 26df8296f7336c3dce7a176820439a88727f4b38b1b6bd3b96cac49acf12ccc156ef97f95cb461ac6e7e317d0bb0adab67b73e1b88fb383274cb4cf5aaf017ef
6
+ metadata.gz: 54244d7cf06034e093ceb38fb8c65b8264a9ccf4cfa28fcd1048b2e6cbd4524fa8574d645e36edf5020661e3f7deaeb65e733db47fef26cb5d362cbb3f13690b
7
+ data.tar.gz: 906817b0770d8ac461d5e4a4261b539eabfdba0edb3136581f74b96002d0ceee5b308d487cfefba3a72ab7212463ed727e29f27aa1bc2b5bc7080ab91588c607
data/lib/lesli/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Lesli
2
- VERSION = "5.0.6"
2
+ VERSION = "5.0.7"
3
3
  BUILD = "1697000148"
4
4
  end
@@ -37,21 +37,27 @@ namespace :lesli do
37
37
  desc "Drop, build, migrate & seed Lesli database (development only)"
38
38
  task :reset => :environment do |task, args|
39
39
  reset()
40
+ start()
41
+ seed()
42
+ setup()
40
43
  end
41
44
 
42
45
  desc "Build, migrate & seed Lesli database"
43
- task :setup => :environment do |task, args|
46
+ task :start => :environment do |task, args|
47
+ start()
48
+ seed()
44
49
  setup()
45
50
  end
46
51
 
47
52
  desc "Build, migrate & seed Lesli database"
48
53
  task :seed => :environment do |task, args|
49
54
  seed()
55
+ setup()
50
56
  end
51
57
 
52
58
  desc "Build, migrate & seed Lesli database"
53
- task :start => :environment do |task, args|
54
- start()
59
+ task :setup => :environment do |task, args|
60
+ setup()
55
61
  end
56
62
  end
57
63
 
@@ -65,23 +71,19 @@ namespace :lesli do
65
71
  L2.m("Reset Lesli database for development")
66
72
 
67
73
  Rake::Task['db:drop'].invoke
68
-
69
- setup()
70
74
  end
71
75
 
72
76
  # Build, migrate & seed database (development only)
73
- def setup
77
+ def start
74
78
 
75
79
  # do not execute this task if we are at production level
76
80
  return if Rails.env.production?
77
81
 
78
82
  # print a message to let the users show the action running
79
- L2.m("Setup Lesli database for development")
83
+ L2.m("Start Lesli database for development")
80
84
 
81
85
  Rake::Task['db:create'].invoke
82
86
  Rake::Task['db:migrate'].invoke
83
-
84
- seed()
85
87
  end
86
88
 
87
89
  # Seed database (development only)
@@ -102,11 +104,9 @@ namespace :lesli do
102
104
  LesliHelp::Engine.load_seed if defined?(LesliHelp)
103
105
  LesliAudit::Engine.load_seed if defined?(LesliAudit)
104
106
  LesliLetter::Engine.load_seed if defined?(LesliLetter)
105
-
106
- start()
107
107
  end
108
108
 
109
- def start
109
+ def setup
110
110
 
111
111
  # do not execute this task if we are at production level
112
112
  return if Rails.env.production?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lesli
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.6
4
+ version: 5.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Lesli Development Team