File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9393 </ p >
9494
9595 < p >
96- < b > Current Version:</ b > < a href ="http://rubygems.org/gems/jammit/ "> 0.5.4 </ a >
96+ < b > Current Version:</ b > < a href ="http://rubygems.org/gems/jammit/ "> 0.6.0 </ a >
9797 </ p >
9898
9999 < p >
@@ -256,7 +256,7 @@ <h2 id="configuration">Configuration</h2>
256256 < td > < tt > on | off</ tt > </ td >
257257 < td class ="definition ">
258258 Defaults to < b > on</ b > . Leaving it on allows you to pass
259- < tt > jammit_debug =true</ tt > as a query parameter, in order to load the
259+ < tt > debug_assets =true</ tt > as a query parameter, in order to load the
260260 page with uncompressed, unpackaged assets in production.
261261 </ td >
262262 </ tr >
@@ -361,7 +361,7 @@ <h2 id="usage">Usage</h2>
361361
362362 < p >
363363 If < b > allow_debugging</ b > is left on, you'll be able to request the development
364- version of the assets for any given page, by passing < tt > jammit_debug =true</ tt >
364+ version of the assets for any given page, by passing < tt > debug_assets =true</ tt >
365365 as a query parameter.
366366 </ p >
367367
Original file line number Diff line number Diff line change 11Gem ::Specification . new do |s |
22 s . name = 'jammit'
3- s . version = '0.5.4 ' # Keep version in sync with jammit.rb
3+ s . version = '0.6.0 ' # Keep version in sync with jammit.rb
44 s . date = '2010-11-8'
55
66 s . homepage = "http://documentcloud.github.com/jammit/"
Original file line number Diff line number Diff line change 44# to all of the configuration options.
55module Jammit
66
7- VERSION = "0.5.4 "
7+ VERSION = "0.6.0 "
88
99 ROOT = File . expand_path ( File . dirname ( __FILE__ ) + '/..' )
1010
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def include_templates(*packages)
4141 private
4242
4343 def should_package?
44- Jammit . package_assets && !( Jammit . allow_debugging && params [ :jammit_debug ] )
44+ Jammit . package_assets && !( Jammit . allow_debugging && params [ :debug_assets ] )
4545 end
4646
4747 def html_safe ( string )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def initialize(*args)
2828 end
2929
3030 def params
31- @debug ? { :jammit_debug => true } : { }
31+ @debug ? { :debug_assets => true } : { }
3232 end
3333
3434 def test_include_stylesheets
You can’t perform that action at this time.
0 commit comments