preflex 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/lib/preflex/engine.rb +1 -1
- data/lib/preflex/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0cb0a752fe66d801d00827940783318374c10dc4a7382ebd031b3ac01c27be8
|
4
|
+
data.tar.gz: 1bd4abe73284d139bbcad60ea4774029706350e7fb08883d50cb34c77c589374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2b1a598effa70e88c2f975cc6e62c8c69634f3ad40feb396baac8a62f835e780114b90ba17868e3e1d5e25db06b3cb2987748ec6b65fc69e3327bd11b802181
|
7
|
+
data.tar.gz: 493cce13adcb46ba31595521ec4b0d3656b8e145a596be0a27c0757fa14b23cca263934c51d9d389abe62a2eb874858f6602afb28a0fb58a902bfd6180dd4b33
|
data/lib/preflex/engine.rb
CHANGED
@@ -5,7 +5,7 @@ module Preflex
|
|
5
5
|
isolate_namespace Preflex
|
6
6
|
|
7
7
|
initializer 'preflex.set_current_context' do |app|
|
8
|
-
app.
|
8
|
+
app.reloader.to_prepare do
|
9
9
|
Preflex.base_controller_class.include(Preflex::SetCurrentContext)
|
10
10
|
Preflex.base_controller_class_for_update.include(Preflex::SetCurrentContext) unless Preflex.base_controller_class_for_update < Preflex.base_controller_class
|
11
11
|
end
|
data/lib/preflex/version.rb
CHANGED