Skip to content

Commit 211d74e

Browse files
committed
rename jammit_debug to debug_assets ,bumping version for later.
1 parent 2ba4592 commit 211d74e

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
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&nbsp;|&nbsp;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

jammit.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::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/"

lib/jammit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# to all of the configuration options.
55
module Jammit
66

7-
VERSION = "0.5.4"
7+
VERSION = "0.6.0"
88

99
ROOT = File.expand_path(File.dirname(__FILE__) + '/..')
1010

lib/jammit/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

test/unit/test_jammit_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)