deferred_loader 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deferred_loader/executable.rb +1 -1
- data/lib/deferred_loader/railtie.rb +4 -0
- data/lib/deferred_loader/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: 5587795312b8c5882cb2b391c92c2fdcc3e7d2b9
|
4
|
+
data.tar.gz: 9d6be6c5ed1793c3f015d6b1902a3d502959bde4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbd1d5bffa29e879d37d648e702cdeb1897508da396e4b730c03031045429323a9540dcbcfba461eabaefc5cc298371e0f8522262810599055a3e64ba66167e1
|
7
|
+
data.tar.gz: e8bba565ec56f6f94803f68739586dd08e879af60e3decf90aa9c31f514e4741bd52b47188c00b35f8777a55c992ceb498affe3153fd5f76d683687e3089e7dd
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'deferred_loader/executable'
|
1
2
|
module DeferredLoader
|
2
3
|
class Railtie < ::Rails::Railtie
|
3
4
|
initializer 'deferred_loader' do |_app|
|
@@ -12,6 +13,9 @@ module DeferredLoader
|
|
12
13
|
require 'deferred_loader/active_support_cache_store_extention'
|
13
14
|
::ActiveSupport::Cache::Store.send :include, DeferredLoader::ActiveSupportCacheStoreExtention
|
14
15
|
end
|
16
|
+
ActiveSupport::Notifications.subscribe('start_processing.action_controller') do |*args|
|
17
|
+
DeferredLoader::Executable.clear
|
18
|
+
end
|
15
19
|
end
|
16
20
|
end
|
17
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deferred_loader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- maedama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|