blueprints 0.7.3 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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$/