sc_jammit_lite 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/jammit/lite/helper.rb +1 -1
- data/sc_jammit_lite.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/lib/jammit/lite/helper.rb
CHANGED
@@ -42,7 +42,7 @@ module Jammit
|
|
42
42
|
# in production, creates <link> tag for each bundle
|
43
43
|
def include_stylesheets(*bundles)
|
44
44
|
bundles.map! { |name| Jammit::Lite::Bundle.new(:stylesheets => name) }
|
45
|
-
return include_individual_stylesheets(bundles) unless Rails.env.production? ||
|
45
|
+
return include_individual_stylesheets(bundles) unless Rails.env.production? || Rails.env.demo?
|
46
46
|
tags = bundles.map { |bundle| stylesheet_link_tag(bundle.path) }
|
47
47
|
tags.join("\n")
|
48
48
|
end
|
data/sc_jammit_lite.gemspec
CHANGED