rails-boilerplate 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,11 @@ module Boilerplate
14
14
  end
15
15
 
16
16
  def inject_reset_css
17
- inject_into_file "app/assets/stylesheets/application.css", :before => " *= require_self" do
17
+ application_css_scss = "app/assets/stylesheets/application.css.scss"
18
+ application_css = "app/assets/stylesheets/application.css"
19
+ css_file = File.exist?(application_css_scss) ? application_css_scss : application_css
20
+
21
+ inject_into_file css_file, :before => " *= require_self" do
18
22
  " *= require reset\n"
19
23
  end
20
24
  end
@@ -28,6 +28,11 @@
28
28
  Modernizr enables HTML5 elements & feature detects for optimal performance.
29
29
  Create your own custom Modernizr build: www.modernizr.com/download/ -->
30
30
  <%%= javascript_include_tag 'modernizr' %>
31
+
32
+ <!-- Initializes the modernizr and actually perform the checks. Enable this
33
+ if you need the modernizr, but remember to only do the actual checks
34
+ that you need. -->
35
+ <%#%= javascript_tag "Modernizr.load();" %>
31
36
  </head>
32
37
  <body>
33
38
  <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.
@@ -1,3 +1,3 @@
1
1
  module RailsBoilerplate
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-boilerplate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  segments:
100
100
  - 0
101
- hash: 1897503381563617327
101
+ hash: -2798434315239552186
102
102
  required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  none: false
104
104
  requirements:
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  segments:
109
109
  - 0
110
- hash: 1897503381563617327
110
+ hash: -2798434315239552186
111
111
  requirements: []
112
112
  rubyforge_project: rails-boilerplate
113
113
  rubygems_version: 1.8.10