ngannotate-rails 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 +4 -4
- data/.gitignore +1 -0
- data/lib/ngannotate/rails/railtie.rb +8 -2
- data/lib/ngannotate/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a674bdf8d15ac9db4516a6cac0697494235fcb2b
|
4
|
+
data.tar.gz: 64f0fef860246e49415e5caa84c0c83083aa5759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc24f321bbe32c6dd6dc975671b52e024ace31e0d88b79f1710f8e2a0faa1e896b7e864b4b86d5e81513f02997ea6a8324915ca0dfab0859cfbb39d11dc1d563
|
7
|
+
data.tar.gz: 3a74f298324c6701137dd8fd3ca80ad34c951ad23b3d98a98394720aea8885351cefa22502210bb3c7daa705533fc5c1e1cd6bbe0bf32b7907c83728864431aa
|
data/.gitignore
CHANGED
@@ -30,8 +30,14 @@ module Ngannotate
|
|
30
30
|
]
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
|
-
|
33
|
+
if config.respond_to?(:assets)
|
34
|
+
config.assets.configure do |env|
|
35
|
+
env.register_postprocessor 'application/javascript', Ngannotate::Processor
|
36
|
+
end
|
37
|
+
else
|
38
|
+
initializer "ngannotate-rails.add_ngannotate_postprocessor", :group => :all do |app|
|
39
|
+
app.assets.register_postprocessor 'application/javascript', Ngannotate::Processor
|
40
|
+
end
|
35
41
|
end
|
36
42
|
end
|
37
43
|
end
|