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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8098e2e3f4cc94d1a070386a47c4b1a07379e05
4
- data.tar.gz: f22166a83a28f23b4e01e7980fa3d67450ffb0d2
3
+ metadata.gz: a674bdf8d15ac9db4516a6cac0697494235fcb2b
4
+ data.tar.gz: 64f0fef860246e49415e5caa84c0c83083aa5759
5
5
  SHA512:
6
- metadata.gz: 39d352f8e85c70ce9384ea76365e580e9cf26d933ea7ef345c244fbe3bc60a384ee2d0384e6c34bc25c65b8824b38f432387d486c5781f3191ccc0eea6861bb4
7
- data.tar.gz: 1491d24357b3c0bff4ebfa09acd311ec1dfceb3b06cf164baf6eb2b87292f60900fcadf7ffb7ff2bb9075eb86f511740019532427acb0961ef96f8d0759dd257
6
+ metadata.gz: bc24f321bbe32c6dd6dc975671b52e024ace31e0d88b79f1710f8e2a0faa1e896b7e864b4b86d5e81513f02997ea6a8324915ca0dfab0859cfbb39d11dc1d563
7
+ data.tar.gz: 3a74f298324c6701137dd8fd3ca80ad34c951ad23b3d98a98394720aea8885351cefa22502210bb3c7daa705533fc5c1e1cd6bbe0bf32b7907c83728864431aa
data/.gitignore CHANGED
@@ -18,3 +18,4 @@ test/version_tmp
18
18
  tmp
19
19
  node_modules
20
20
  *.log
21
+ **/public/assets
@@ -30,8 +30,14 @@ module Ngannotate
30
30
  ]
31
31
  end
32
32
 
33
- initializer "ngannotate-rails.add_ngannotate_postprocessor", :group => :all do |app|
34
- app.assets.register_postprocessor 'application/javascript', Ngannotate::Processor
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
@@ -1,5 +1,5 @@
1
1
  module Ngannotate
2
2
  module Rails
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ngannotate-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kari Ikonen