angular-rails-templates 1.0.1 → 1.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7a913ea7ff0a8d5d35385c3782b16a5bf24489a
|
4
|
+
data.tar.gz: ed14518c5d29a708678fa10039b58012907788de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ac074a1b3c72332f0c544a4dbf45db2ffa18cb2130ee76350d9c3414ede70e835d24bf2c5cf1b94e55e5837a223f9603d894e61d1d88668d6b003db76005cc4
|
7
|
+
data.tar.gz: c31f791930b276544484fba8ff3ce9a9ebdf85b0d1f94df46fea1fc0389b8d4fe8ec5ac4d2ac7120e976f89fa051436fd271185b99c373abed3f7a559e95413d
|
@@ -58,8 +58,12 @@ module AngularRailsTemplates
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def register(env, ext)
|
61
|
-
if ::Sprockets::VERSION.to_i < 4
|
62
|
-
|
61
|
+
if ::Sprockets::VERSION.to_i < 4 # Legacy Sprockets
|
62
|
+
args = [".#{ext}", ::Tilt[ext]]
|
63
|
+
if ::Sprockets::VERSION.to_i == 3
|
64
|
+
args << { mime_type: "text/ng-#{ext}", silence_deprecation: true }
|
65
|
+
end
|
66
|
+
env.register_engine(*args)
|
63
67
|
else
|
64
68
|
instance.add_template(ext, ::Tilt[ext])
|
65
69
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular-rails-templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damien Mathieu
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-08-
|
13
|
+
date: 2016-08-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|