admin_auth 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/admin_auth/railtie.rb +3 -3
- data/lib/admin_auth/version.rb +1 -1
- metadata +1 -3
- data/spec/lib/admin_auth/railtie_spec.rb +0 -9
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzVkZjM2NTExOWIyNmQyOWZmMmMyYTI4MzI5ZmVhNTYzNWM5MGZkMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjYxNGY3OTU1ZTU3NjFlN2FlZWFjNmEwOTgyZGY4ODU5NDYwMzI5OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODUwZmJlNmFiYjE1ZmQxNGMxODkzODUxMTI4YmQxYzFjMzk3OGFmNzViMzEx
|
10
|
+
YmUxOTBhYzVkY2E1ZWUwYmIxY2RiNDhkN2JmMTE0MzE5ZGQ3MDgxYTkwYjc5
|
11
|
+
MDVjZDNhZTJjNmE5OWZmODczNDQ1NTI4NWQxN2NjNzg3YjczNDI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTQ0Y2U5ODE2N2UwNWNiNDMxYTU2YmMyOTY0MjYyYTFhNWMzN2RlYjRlNWZj
|
14
|
+
MjMwMTliMTE5YjNkY2ZhZjE5OWE2MzViODQ3NzdkMjc4MmRjZWVhNmRlMzM0
|
15
|
+
OWFkNGE3YzQwMGU3YTQ1ZjVhNzYwMTAzZGRiYjhjN2MwOWY4MDk=
|
data/lib/admin_auth/railtie.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module AdminAuth
|
2
2
|
class Railtie < ::Rails::Railtie
|
3
|
-
|
4
|
-
::
|
5
|
-
::
|
3
|
+
config.after_initialize do
|
4
|
+
::ApplicationController.include(AdminAuth::Controller) rescue nil
|
5
|
+
::Admin.include(AdminAuth::Model) rescue nil
|
6
6
|
end
|
7
7
|
end
|
8
8
|
end
|
data/lib/admin_auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: admin_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phillip Boksz
|
@@ -142,7 +142,6 @@ files:
|
|
142
142
|
- spec/lib/admin_auth/encryptor_spec.rb
|
143
143
|
- spec/lib/admin_auth/engine_spec.rb
|
144
144
|
- spec/lib/admin_auth/model_spec.rb
|
145
|
-
- spec/lib/admin_auth/railtie_spec.rb
|
146
145
|
- spec/lib/admin_auth/repository_spec.rb
|
147
146
|
- spec/lib/admin_auth/routes_spec.rb
|
148
147
|
- spec/spec_helper.rb
|
@@ -175,7 +174,6 @@ test_files:
|
|
175
174
|
- spec/lib/admin_auth/encryptor_spec.rb
|
176
175
|
- spec/lib/admin_auth/engine_spec.rb
|
177
176
|
- spec/lib/admin_auth/model_spec.rb
|
178
|
-
- spec/lib/admin_auth/railtie_spec.rb
|
179
177
|
- spec/lib/admin_auth/repository_spec.rb
|
180
178
|
- spec/lib/admin_auth/routes_spec.rb
|
181
179
|
- spec/spec_helper.rb
|