ixtlan-remote 0.1.7 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. metadata +2 -38
  2. data/lib/ixtlan/passwords.rb +0 -72
  3. data/lib/ixtlan/passwords.rb~ +0 -47
  4. data/lib/ixtlan/railtie.rb~ +0 -17
  5. data/lib/ixtlan/user_management/application_model.rb +0 -30
  6. data/lib/ixtlan/user_management/application_model.rb~ +0 -21
  7. data/lib/ixtlan/user_management/application_resource.rb +0 -48
  8. data/lib/ixtlan/user_management/application_resource.rb~ +0 -21
  9. data/lib/ixtlan/user_management/authentcator.rb~ +0 -31
  10. data/lib/ixtlan/user_management/authentication_model.rb +0 -31
  11. data/lib/ixtlan/user_management/authentication_model.rb~ +0 -21
  12. data/lib/ixtlan/user_management/authenticator.rb +0 -55
  13. data/lib/ixtlan/user_management/authenticator.rb~ +0 -20
  14. data/lib/ixtlan/user_management/domain_resource.rb +0 -78
  15. data/lib/ixtlan/user_management/domain_resource.rb~ +0 -21
  16. data/lib/ixtlan/user_management/dummy_authentication.rb +0 -70
  17. data/lib/ixtlan/user_management/dummy_authentication.rb~ +0 -49
  18. data/lib/ixtlan/user_management/group.rb~ +0 -39
  19. data/lib/ixtlan/user_management/group_model.rb +0 -31
  20. data/lib/ixtlan/user_management/group_model.rb~ +0 -21
  21. data/lib/ixtlan/user_management/models.rb~ +0 -39
  22. data/lib/ixtlan/user_management/session-serializer.rb~ +0 -18
  23. data/lib/ixtlan/user_management/session_cuba.rb +0 -67
  24. data/lib/ixtlan/user_management/session_cuba.rb~ +0 -44
  25. data/lib/ixtlan/user_management/session_manager.rb +0 -71
  26. data/lib/ixtlan/user_management/session_model.rb +0 -36
  27. data/lib/ixtlan/user_management/session_model.rb~ +0 -10
  28. data/lib/ixtlan/user_management/session_plugin.rb +0 -52
  29. data/lib/ixtlan/user_management/session_serializer.rb +0 -41
  30. data/lib/ixtlan/user_management/session_serializer.rb~ +0 -21
  31. data/lib/ixtlan/user_management/user.rb~ +0 -16
  32. data/lib/ixtlan/user_management/user_model.rb +0 -36
  33. data/lib/ixtlan/user_management/user_model.rb~ +0 -33
  34. data/lib/ixtlan/user_management/user_resource.rb +0 -55
  35. data/lib/ixtlan/user_management/user_resource.rb~ +0 -24
  36. data/lib/ixtlan/user_management/user_serializer.rb +0 -35
  37. data/lib/ixtlan/user_management/user_serializer.rb~ +0 -23
@@ -1,35 +0,0 @@
1
- #
2
- # ixtlan-remote - helper sync data between miniapps or communicate wth realtime
3
- # rest-services
4
- # Copyright (C) 2013 Christian Meier
5
- #
6
- # This file is part of ixtlan-remote.
7
- #
8
- # ixtlan-remote is free software: you can redistribute it and/or modify
9
- # it under the terms of the GNU Affero General Public License as
10
- # published by the Free Software Foundation, either version 3 of the
11
- # License, or (at your option) any later version.
12
- #
13
- # ixtlan-remote is distributed in the hope that it will be useful,
14
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
15
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
- # GNU Affero General Public License for more details.
17
- #
18
- # You should have received a copy of the GNU Affero General Public License
19
- # along with ixtlan-remote. If not, see <http://www.gnu.org/licenses/>.
20
- #
21
- require 'ixtlan/babel/serializer'
22
- module Ixtlan
23
- module UserManagement
24
- class UserSerializer < Ixtlan::Babel::Serializer
25
-
26
- add_context(:session,
27
- :only => [:login, :name],
28
- :include=> {
29
- :groups => {
30
- :only => [:name]
31
- }
32
- })
33
- end
34
- end
35
- end
@@ -1,23 +0,0 @@
1
- require 'ixtlan/babel/serializer'
2
- class UserSerializer < Ixtlan::Babel::Serializer
3
-
4
- add_context(:session,
5
- :only => [:id],
6
- :include=> {
7
- :groups => {
8
- :only => [:name],
9
- :include => {
10
- :locales => {
11
- :only => [:id, :code]
12
- },
13
- :domains => {
14
- :only => [:id, :name]
15
- },
16
- :application => {
17
- :only => [:id, :name]
18
- }
19
- }
20
- }
21
- })
22
-
23
- end