specjour 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/specjour/db_scrub.rb +2 -1
- data/lib/specjour.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/lib/specjour/db_scrub.rb
CHANGED
@@ -7,7 +7,8 @@ module Specjour
|
|
7
7
|
begin
|
8
8
|
ActiveRecord::Base.connection
|
9
9
|
rescue # assume the database doesn't exist
|
10
|
-
Rake::Task['db:
|
10
|
+
Rake::Task['db:create'].invoke
|
11
|
+
Rake::Task['db:schema:load'].invoke
|
11
12
|
else
|
12
13
|
if pending_migrations?
|
13
14
|
Rake::Task['db:migrate'].invoke
|
data/lib/specjour.rb
CHANGED