public
Description: Merb More: The Full Stack. Take what you need; leave what you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-more.git
Modify assets to use a regular inheritable accessor
wycats (author)
Fri Jun 27 21:13:34 -0700 2008
commit  7ad9ecbee4dc2b6f2c5306ee795a683f1ad4492e
tree    21bf943252c2405da62d56790507874637337ef9
parent  0573f631498a9f6333827d05a555dd633f9ec891
...
97
98
99
100
 
101
102
103
...
97
98
99
 
100
101
102
103
0
@@ -97,7 +97,7 @@ module Merb
0
     # An abstract class for bundling text assets into single files.
0
     class AbstractAssetBundler
0
       
0
- class_inheritable_array :cached_bundles
0
+ class_inheritable_accessor :cached_bundles
0
       self.cached_bundles ||= []
0
       
0
       class << self
...
8
9
10
 
 
 
 
 
11
12
13
14
...
8
9
10
11
12
13
14
15
16
17
18
19
0
@@ -8,6 +8,11 @@ require "spec"
0
 
0
 Merb.start :environment => 'test'
0
 
0
+Merb::Plugins.config[:asset_helpers][:max_hosts] = 4
0
+Merb::Plugins.config[:asset_helpers][:asset_domain] = "assets%d"
0
+Merb::Plugins.config[:asset_helpers][:domain] = "my-awesome-domain.com"
0
+
0
+
0
 Spec::Runner.configure do |config|
0
   config.include Merb::Test::RequestHelper
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.