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 +4 -4
- data/lib/smt_rails/engine.rb +6 -5
- data/lib/smt_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e15dcce046f05d9359c1c76988fce3cf4f84ca3e
|
4
|
+
data.tar.gz: 2c929d23ff31ccf36712d6c99858ee642a8a5dce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e1f69ebe2d603a6bc86938fea9b322831c1f1ab3c5bd73d6c6e5849fe6814b6d155fe5b92192102b5b64033c103e589dcd544b35c076d0993d8f56d89757783
|
7
|
+
data.tar.gz: 8e66b3cd5289409c71d12fc4e134848d9d6cd63db6246c8f1ee1345111e197dea91d3ee1bcca52840059ac83d549a3fa907e808c95c56f65ad451d62959c3195
|
data/lib/smt_rails/engine.rb
CHANGED
@@ -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", :
|
8
|
-
|
9
|
-
|
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
|
data/lib/smt_rails/version.rb
CHANGED
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.
|
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:
|
12
|
+
date: 2016-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|