jwhitmire-haml 2.1.0.2 → 2.1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/init.rb +8 -0
  2. metadata +2 -1
data/init.rb ADDED
@@ -0,0 +1,8 @@
1
+ begin
2
+ require File.join(File.dirname(__FILE__), 'lib', 'haml') # From here
3
+ rescue LoadError
4
+ require 'haml' # From gem
5
+ end
6
+
7
+ # Load Haml and Sass
8
+ Haml.init_rails(binding)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwhitmire-haml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.2
4
+ version: 2.1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Whitmire
@@ -215,6 +215,7 @@ files:
215
215
  - test/sass/templates/units.sass
216
216
  - test/test_helper.rb
217
217
  - VERSION
218
+ - init.rb
218
219
  has_rdoc: true
219
220
  homepage: http://haml.hamptoncatlin.com
220
221
  post_install_message: