blueprints 0.7.3 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,22 +0,0 @@
1
- module EnableBlueprints #:nodoc:
2
- def enable_blueprints(options = {})
3
- STDERR.puts "DEPRECATION WARNING: enable_blueprints is deprecated. Use Blueprints.enable"
4
- Blueprints.enable do |config|
5
- options.each {|option, value| config.send("#{option}=", value) }
6
- end
7
- end
8
- end
9
-
10
- module ActiveSupport #:nodoc:all
11
- class TestCase
12
- include EnableBlueprints
13
- end
14
- end if defined? ActiveSupport::TestCase
15
-
16
- module Spec #:nodoc:all
17
- module Runner
18
- class Configuration
19
- include EnableBlueprints
20
- end
21
- end
22
- end if defined? Spec or $0 =~ /script.spec$/