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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8ddd26a93e1cfb0468e7579d07f31b65763ba61
4
- data.tar.gz: f7e3267ea6534ae304ece5be57826bb6ae3fa446
3
+ metadata.gz: 8f4732dcb5ba42e14f1714924517d97c85602a83
4
+ data.tar.gz: 5f552c71c48f38bb238c2f3c164a96e9dba11c09
5
5
  SHA512:
6
- metadata.gz: b833d8d7dc5aae7b024f5ba3a78671e38cc7f60e1d0101d4d447d20bddeaebbd6b378619f6320d6908d7eb6c9ec825a81ae46aed687296d4426bc836bf34582a
7
- data.tar.gz: e28229e229241ffe38770b4526d0feba9a9e7581520273d82acb6f9ffb0e770d96c3e73a4f00da26de60de0964ff99716931ddc256f27bb9f70df12098db44c3
6
+ metadata.gz: 1c633652f90f40b3bc771b272ebfabca53a638f523ad01c9802a34e5e8c85f6616eae51dff3605ddf8789697a5a6c40a59356306632d21561d9205c8f3fb1b24
7
+ data.tar.gz: b214774108063f086660d1679a0705905ea8fd40106d8d41471b2c58908c8e9068afed696a7262e9edb9b6cf40768a2d3a2d9d179d3132d2ee8c9a9d40e1ed45
data/lib/proxes.rb CHANGED
@@ -2,8 +2,4 @@
2
2
  require 'proxes/version'
3
3
  require 'proxes/container'
4
4
  require 'proxes/db'
5
- require 'proxes/app'
6
5
  require 'proxes/listener'
7
-
8
- require 'proxes/proxes'
9
- ProxES::Container.plugin(:proxes)
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
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ProxES
3
- VERSION = '0.3.2'
3
+ VERSION = '0.3.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proxes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jurgens du Toit