winton-active_wrapper 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/active_wrapper.gemspec +1 -1
- data/gemspec.rb +1 -1
- data/lib/active_wrapper/db.rb +2 -2
- metadata +1 -1
data/active_wrapper.gemspec
CHANGED
data/gemspec.rb
CHANGED
data/lib/active_wrapper/db.rb
CHANGED
@@ -21,13 +21,13 @@ module ActiveWrapper
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def migrate_reset
|
24
|
-
if
|
24
|
+
if @env == 'test'
|
25
25
|
stdout = $stdout
|
26
26
|
$stdout = File.new('/dev/null', 'w')
|
27
27
|
end
|
28
28
|
migrate(0)
|
29
29
|
migrate
|
30
|
-
if
|
30
|
+
if @env == 'test'
|
31
31
|
$stdout = stdout
|
32
32
|
end
|
33
33
|
end
|