webpack_stats 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/webpack_stats.rb +3 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f143a050e7ad89683545788fc0ec4d8d586e79da
4
- data.tar.gz: f54f2173e04c1201ee19fcca80bd7f04d0b49dbe
3
+ metadata.gz: cec5ba0d6a6f0b66222478de442ec7ff75d86d4c
4
+ data.tar.gz: ccd8bebee3f2a3e8a5eea40e83cd2e78ecb17d05
5
5
  SHA512:
6
- metadata.gz: 4b99fedf42fe266d4f6d9d377d1198c3513b0a1fcf12b6cecb10e0cdd42678c889de67511767ccc3d651b85c332f80d02670c8671b7dd1a8ba978f4c540a9251
7
- data.tar.gz: 2a715249af4495cdc74b83fbd2af9a3a9df1a922e4f4653bd75c55b83a80bc8cc976f64996cb8550614e9df8f48d59e0803c1894c85e538a14145b8368233fd6
6
+ metadata.gz: 3dc53a8f2c77fa5c758e85786b332362ed0564faa4935318d99c7cb1f606ad6020379eba25341680082799eab2e4f1ce4fc78a8f29189e8472de68861eb8fab1
7
+ data.tar.gz: c14b824078badc83d755c7f2905b9b4590daf9d0eb17c3f4e381443ce99319247ccda0bade5e4f19a8b6cb19a6388406fe12f63537b36473c584ecbca4d0ecdf
@@ -58,11 +58,10 @@ end
58
58
 
59
59
  begin
60
60
  require 'active_support'
61
- ActiveSupport.on_load(:action_view) do
62
- include WebpackStats::Helper
63
- end
64
-
65
61
  ActiveSupport.on_load(:after_initialize) do
62
+ ActiveSupport.on_load(:action_view) do
63
+ include WebpackStats::Helper
64
+ end
66
65
  WebpackStats.configure do |config|
67
66
  config.reload = !Rails.env.production?
68
67
  config.stats_path = Rails.root.join('stats.json')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpack_stats
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jian Weihang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-15 00:00:00.000000000 Z
11
+ date: 2016-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler