mno-enterprise-core 3.1.3 → 3.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/audit_log.rb +0 -2
- data/lib/devise_extension.rb +2 -6
- data/lib/mno_enterprise/engine.rb +7 -2
- data/lib/mno_enterprise/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b2136652697969f675be8a746722177281d2ddd
|
4
|
+
data.tar.gz: 364a904419110a78129648cbe3c96a550dfa2593
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fbcaa5cc80fa061845fe612054fab9b203664a34ef781b154b127b17c93ecedbfad105d78c7c354f7593e4dbd3491fa243ed7c4151d5d4395c28844fc352bb6
|
7
|
+
data.tar.gz: 64e9c84dbf5b379182ea162b808a89b377a8f04d8052c48687c65b2b2981625eda367cc0d5f836ca9ec79d783a4fc494161a10f4ddd135ac5344f32512b3e1b4
|
data/lib/devise_extension.rb
CHANGED
@@ -30,10 +30,6 @@ end
|
|
30
30
|
# modules
|
31
31
|
Devise.add_module :password_expirable, controller: :password_expirable, model: 'devise/models/password_expirable', route: :password_expired
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
ActiveSupport.on_load(:action_controller) do
|
36
|
-
include DeviseExtension::Controllers::Helpers
|
37
|
-
end
|
38
|
-
end
|
33
|
+
ActiveSupport.on_load(:action_controller) do
|
34
|
+
include DeviseExtension::Controllers::Helpers
|
39
35
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module MnoEnterprise
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
isolate_namespace MnoEnterprise
|
4
|
-
|
4
|
+
|
5
5
|
# Autoload all files and sub-directories in
|
6
6
|
# lib
|
7
7
|
config.autoload_paths += Dir["#{config.root}/lib/**/"]
|
@@ -25,7 +25,7 @@ module MnoEnterprise
|
|
25
25
|
g.test_framework :rspec, fixture: true
|
26
26
|
g.fixture_replacement :factory_girl, :dir => 'spec/factories'
|
27
27
|
end
|
28
|
-
|
28
|
+
|
29
29
|
# Allow class overriding using decorator pattern
|
30
30
|
# See: http://edgeguides.rubyonrails.org/engines.html#overriding-models-and-controllers
|
31
31
|
config.to_prepare do
|
@@ -48,5 +48,10 @@ module MnoEnterprise
|
|
48
48
|
config.before_initialize do
|
49
49
|
Rails.application.config.action_controller.perform_caching = true
|
50
50
|
end
|
51
|
+
|
52
|
+
# Make sure the MailAdapter is correctly configured
|
53
|
+
config.to_prepare do
|
54
|
+
MnoEnterprise::MailClient.adapter ||= MnoEnterprise.mail_adapter
|
55
|
+
end
|
51
56
|
end
|
52
57
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mno-enterprise-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Lachaume
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -587,7 +587,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
587
587
|
version: '0'
|
588
588
|
requirements: []
|
589
589
|
rubyforge_project:
|
590
|
-
rubygems_version: 2.
|
590
|
+
rubygems_version: 2.4.8
|
591
591
|
signing_key:
|
592
592
|
specification_version: 4
|
593
593
|
summary: Maestrano Enterprise - Core functionnality
|