sprout 1.0.18.pre → 1.0.19.pre

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sprout might be problematic. Click here for more details.

@@ -22,9 +22,6 @@ module SproutTestCase # :nodoc:[all]
22
22
  def teardown
23
23
  super
24
24
  clear_tasks
25
- Sprout::Executable.clear_entities!
26
- Sprout::Library.clear_entities!
27
- Sprout::Generator.clear_entities!
28
25
 
29
26
  remove_file @temp_path
30
27
  remove_file @temp_cache
@@ -36,7 +33,6 @@ module SproutTestCase # :nodoc:[all]
36
33
  puts "[WARNING] >> SproutTestCase changing dir from #{Dir.pwd} back to: #{@start_path} - Did you mean to leave your working directory in a new place?"
37
34
  Dir.chdir @start_path
38
35
  end
39
-
40
36
  end
41
37
 
42
38
  def temp_path
@@ -6,7 +6,7 @@ module Sprout
6
6
  module VERSION #:nodoc:
7
7
  MAJOR = 1
8
8
  MINOR = 0
9
- TINY = 18
9
+ TINY = 19
10
10
  RELEASE = 'pre'
11
11
 
12
12
  STRING = [MAJOR, MINOR, TINY, RELEASE].join('.')
@@ -16,3 +16,15 @@ require 'unit/fake_process_runner'
16
16
  require 'unit/fake_executable_task'
17
17
  require 'sprout/test/sprout_test_case'
18
18
 
19
+ class Test::Unit::TestCase
20
+
21
+ # Only clear registrations in the Sprout core
22
+ # project - not in child projects
23
+ def teardown
24
+ super
25
+ Sprout::Executable.clear_entities!
26
+ Sprout::Library.clear_entities!
27
+ Sprout::Generator.clear_entities!
28
+ end
29
+ end
30
+
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 18
8
+ - 19
9
9
  - pre
10
- version: 1.0.18.pre
10
+ version: 1.0.19.pre
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luke Bayes