specjour 0.1.16 → 0.1.17
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 -2
- data/lib/specjour.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.17
|
data/lib/specjour/db_scrub.rb
CHANGED
@@ -6,8 +6,8 @@ module Specjour
|
|
6
6
|
def scrub
|
7
7
|
connect_to_database
|
8
8
|
if pending_migrations?
|
9
|
-
|
10
|
-
Rake::Task['db:
|
9
|
+
puts "Migrating schema for database #{ENV['TEST_ENV_NUMBER'] || 1}..."
|
10
|
+
Rake::Task['db:test:load'].invoke
|
11
11
|
else
|
12
12
|
purge_tables
|
13
13
|
end
|
data/lib/specjour.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 17
|
9
|
+
version: 0.1.17
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Sandro Turriate
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-16 00:00:00 -04:00
|
18
18
|
default_executable: specjour
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|