samvera-persona 0.1.5 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/concerns/samvera/persona/avalon_auth.rb +1 -1
- data/app/controllers/samvera/persona/users_controller.rb +1 -1
- data/db/migrate/20190628003746_persona_devise_invitable_add_to_users.rb +1 -1
- data/lib/samvera-persona/engine.rb +1 -8
- data/lib/samvera-persona/version.rb +1 -1
- data/lib/samvera-persona.rb +9 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +224 -271
- data/spec/dummy/log/test.log +4706 -13468
- data/spec/dummy/tmp/development_secret.txt +1 -1
- metadata +83 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87bbf07f2e9f598ba75fc1c03cf3671f7e4037199409ec1185d6813ca2aa83b1
|
4
|
+
data.tar.gz: f4b0103ef87afa2808395aecdec074e056413e8ec19867338ee43d19dc458c8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49f181a9db4a845cd310e478904a3a59d8c177e915a15420664df70b40e19c3cc4d259643c8bb00585695fcab4f258b77be8e5914519027275450a82581f6bd9
|
7
|
+
data.tar.gz: 5cbceb8db7e797abfb24fe8fb946292e1380f0776a283dcad46db2872d8909d34a785fa026aee1d751316e6bb24d73c4e0822abcb12d0dcc8182ff88faf65235
|
@@ -90,7 +90,7 @@ module Samvera
|
|
90
90
|
|
91
91
|
def app_view_path
|
92
92
|
my_engine_root = Samvera::Persona::Engine.root.to_s
|
93
|
-
prepend_view_path "#{my_engine_root}/app/views/#{Rails.application.class.
|
93
|
+
prepend_view_path "#{my_engine_root}/app/views/#{Rails.application.class.module_parent_name.downcase}"
|
94
94
|
end
|
95
95
|
|
96
96
|
def user_params
|
@@ -19,13 +19,6 @@ module Samvera
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
config.generators do |g|
|
23
|
-
g.test_framework :rspec, :fixture => false
|
24
|
-
g.fixture_replacement :factory_bot, :dir => 'spec/factories'
|
25
|
-
g.assets false
|
26
|
-
g.helper false
|
27
|
-
end
|
28
|
-
|
29
22
|
config.before_initialize do
|
30
23
|
config.i18n.load_path += Dir["#{config.root}/config/locales/**/*.yml"]
|
31
24
|
end
|
@@ -48,7 +41,7 @@ module Samvera
|
|
48
41
|
end
|
49
42
|
|
50
43
|
config.to_prepare do
|
51
|
-
User.send :include, Samvera::Persona::SoftDeleteBehavior
|
44
|
+
User.send :include, Samvera::Persona::SoftDeleteBehavior if Samvera::Persona.soft_delete
|
52
45
|
User.send :include, Samvera::Persona::UsernameBehavior
|
53
46
|
end
|
54
47
|
|
data/lib/samvera-persona.rb
CHANGED
Binary file
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|