proxes 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/proxes.rb +0 -4
- data/lib/proxes/proxes.rb +11 -5
- data/lib/proxes/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f4732dcb5ba42e14f1714924517d97c85602a83
|
4
|
+
data.tar.gz: 5f552c71c48f38bb238c2f3c164a96e9dba11c09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c633652f90f40b3bc771b272ebfabca53a638f523ad01c9802a34e5e8c85f6616eae51dff3605ddf8789697a5a6c40a59356306632d21561d9205c8f3fb1b24
|
7
|
+
data.tar.gz: b214774108063f086660d1679a0705905ea8fd40106d8d41471b2c58908c8e9068afed696a7262e9edb9b6cf40768a2d3a2d9d179d3132d2ee8c9a9d40e1ed45
|
data/lib/proxes.rb
CHANGED
data/lib/proxes/proxes.rb
CHANGED
@@ -1,4 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
+
require 'proxes/app'
|
3
|
+
require 'proxes/controllers/users'
|
4
|
+
require 'proxes/controllers/roles'
|
5
|
+
require 'proxes/controllers/permissions'
|
6
|
+
require 'proxes/controllers/audit_logs'
|
7
|
+
|
2
8
|
module ProxES
|
3
9
|
class ProxES
|
4
10
|
def self.migration_folder
|
@@ -7,11 +13,11 @@ module ProxES
|
|
7
13
|
|
8
14
|
def self.route_mappings
|
9
15
|
{
|
10
|
-
'/' => App,
|
11
|
-
'/users' => Users,
|
12
|
-
'/roles' => Roles,
|
13
|
-
'/permissions' => Permissions,
|
14
|
-
'/audit-logs' => AuditLogs,
|
16
|
+
'/' => ::ProxES::App,
|
17
|
+
'/users' => ::ProxES::Users,
|
18
|
+
'/roles' => ::ProxES::Roles,
|
19
|
+
'/permissions' => ::ProxES::Permissions,
|
20
|
+
'/audit-logs' => ::ProxES::AuditLogs,
|
15
21
|
}
|
16
22
|
end
|
17
23
|
|
data/lib/proxes/version.rb
CHANGED