sc_jammit_lite 0.2.0 → 0.2.1
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.
- 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