smt_rails 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67482832c9db73177494fbbbfcd75535949253c8
4
- data.tar.gz: 72a2983d11f65ec41d3f0532bb3da0b2dc1d8ede
3
+ metadata.gz: e15dcce046f05d9359c1c76988fce3cf4f84ca3e
4
+ data.tar.gz: 2c929d23ff31ccf36712d6c99858ee642a8a5dce
5
5
  SHA512:
6
- metadata.gz: 54bab999bc0da6968065b98bac63f0758d675906694ebf8db1fc1c8ca3e53ec5e789aaadce5f36760be26138ae6df9ec3af72b8de00e8b80df3b9de9d72d343a
7
- data.tar.gz: 234db24b84f1bfb0de956d616adb303fcbf9d84ec4656ade4923efd3b37d627969c56cdcc963bd4bbfbfa7cc8aa900900c97814af06cdb361ab9e6b464cb09c7
6
+ metadata.gz: 2e1f69ebe2d603a6bc86938fea9b322831c1f1ab3c5bd73d6c6e5849fe6814b6d155fe5b92192102b5b64033c103e589dcd544b35c076d0993d8f56d89757783
7
+ data.tar.gz: 8e66b3cd5289409c71d12fc4e134848d9d6cd63db6246c8f1ee1345111e197dea91d3ee1bcca52840059ac83d549a3fa907e808c95c56f65ad451d62959c3195
@@ -3,11 +3,12 @@ module SmtRails
3
3
  config.before_configuration do |app|
4
4
  app.paths['app/views'] << SmtRails.template_base_path
5
5
  end
6
-
7
- initializer "sprockets.smt_rails", :after => "sprockets.environment", :group => :all do |app|
8
- next unless app.assets
9
- app.assets.register_engine(".#{SmtRails.template_extension}", Tilt)
6
+
7
+ initializer "sprockets.smt_rails", :group => :all do |app|
8
+ config.assets.configure do |env|
9
+ env.register_engine(".#{SmtRails.template_extension}", Tilt)
10
+ end
10
11
  app.config.assets.paths << SmtRails.template_base_path
11
12
  end
12
13
  end
13
- end
14
+ end
@@ -1,3 +1,3 @@
1
1
  module SmtRails
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smt_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Vasiliev
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-09 00:00:00.000000000 Z
12
+ date: 2016-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails