bem-on-rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,13 @@
1
+ module Bemonrails
2
+
3
+ class Railtie < Rails::Railtie
4
+ ActiveSupport.on_load :action_view do
5
+ include Bemonrails::BemRenderHelper
6
+ end
7
+
8
+ ActiveSupport.on_load :action_controller do
9
+ before_filter { prepend_view_path(BEM[:blocks][:dir]) }
10
+ end
11
+ end
12
+
13
+ end
@@ -1,3 +1,3 @@
1
1
  module Bemonrails
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bem-on-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Winogradov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-10 00:00:00.000000000 Z
11
+ date: 2013-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,6 +84,7 @@ files:
84
84
  - bem-on-rails.gemspec
85
85
  - lib/bem-on-rails.rb
86
86
  - lib/bem-on-rails/build/bem_names.rb
87
+ - lib/bem-on-rails/build/console_messages.rb
87
88
  - lib/bem-on-rails/engine.rb
88
89
  - lib/bem-on-rails/generators/install_generator.rb
89
90
  - lib/bem-on-rails/generators/templates/config/initializer.tt.rb
@@ -91,7 +92,9 @@ files:
91
92
  - lib/bem-on-rails/generators/templates/techs/haml.tt
92
93
  - lib/bem-on-rails/generators/templates/techs/md.tt
93
94
  - lib/bem-on-rails/generators/templates/techs/sass.tt
95
+ - lib/bem-on-rails/generators/templates/techs/slim.tt
94
96
  - lib/bem-on-rails/generators/templates/thor/bem.tt.rb
97
+ - lib/bem-on-rails/railtie.rb
95
98
  - lib/bem-on-rails/version.rb
96
99
  homepage: https://github.com/verybigman/bem-on-rails
97
100
  licenses: