rapid 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +66 -0
- data/lib/rad/http_controller/acts_as/authenticated.rb +131 -0
- data/lib/rad/http_controller/acts_as/authenticated_master_domain.rb +119 -0
- data/lib/rad/http_controller/acts_as/authorized.rb +83 -0
- data/lib/rad/http_controller/acts_as/localized.rb +27 -0
- data/lib/rad/http_controller/acts_as/multitenant.rb +53 -0
- data/lib/rad/http_controller/helpers/service_mix_helper.rb +50 -0
- data/lib/rad/http_controller.rb +15 -0
- data/lib/rad/lib/text_utils.rb +334 -0
- data/lib/rad/locales/en.yml +80 -0
- data/lib/rad/locales/ru.yml +83 -0
- data/lib/rad/locales.rb +2 -0
- data/lib/rad/models/account.rb +88 -0
- data/lib/rad/models/default_permissions.yml +26 -0
- data/lib/rad/models/micelaneous.rb +1 -0
- data/lib/rad/models/role.rb +88 -0
- data/lib/rad/models/secure_token.rb +33 -0
- data/lib/rad/models/space.rb +184 -0
- data/lib/rad/models/user.rb +158 -0
- data/lib/rad/models.rb +41 -0
- data/lib/rad/mongo_mapper/acts_as/authenticated_by_open_id.rb +29 -0
- data/lib/rad/mongo_mapper/acts_as/authenticated_by_password.rb +120 -0
- data/lib/rad/mongo_mapper/acts_as/authorized.rb +197 -0
- data/lib/rad/mongo_mapper/acts_as/authorized_object.rb +171 -0
- data/lib/rad/mongo_mapper/multitenant.rb +34 -0
- data/lib/rad/mongo_mapper/rad_micelaneous.rb +43 -0
- data/lib/rad/mongo_mapper/space_keys.rb +62 -0
- data/lib/rad/mongo_mapper/text_processor.rb +47 -0
- data/lib/rad/mongo_mapper.rb +20 -0
- data/lib/rad/paperclip/callbacks.rb +40 -0
- data/lib/rad/paperclip/extensions.rb +64 -0
- data/lib/rad/paperclip/integration.rb +165 -0
- data/lib/rad/paperclip/mime.rb +5 -0
- data/lib/rad/paperclip/validations.rb +64 -0
- data/lib/rad/paperclip.rb +11 -0
- data/lib/rad/spec/controller.rb +51 -0
- data/lib/rad/spec/model/factories.rb +65 -0
- data/lib/rad/spec/model.rb +85 -0
- data/lib/rad/spec/rem_helper.rb +145 -0
- data/lib/rad/spec.rb +4 -0
- data/lib/rad/tasks/backup.rake +64 -0
- data/lib/rad/tasks/initialize.rake +35 -0
- data/lib/rad.rb +32 -0
- data/readme.md +3 -0
- data/spec/controller/authorization_spec.rb +146 -0
- data/spec/controller/helper.rb +14 -0
- data/spec/lib/helper.rb +7 -0
- data/spec/lib/text_utils_spec.rb +238 -0
- data/spec/models/authorization_spec.rb +93 -0
- data/spec/models/authorized_object_spec.rb +258 -0
- data/spec/models/file_audit_spec/100.txt +1 -0
- data/spec/models/file_audit_spec/302.txt +3 -0
- data/spec/models/file_audit_spec.rb +168 -0
- data/spec/models/helper.rb +11 -0
- data/spec/models/space_key_spec.rb +68 -0
- data/spec/models/user_spec.rb +80 -0
- data/spec/mongo_mapper/basic_spec.rb +41 -0
- data/spec/mongo_mapper/helper.rb +10 -0
- data/spec/spec.opts +4 -0
- metadata +138 -0
metadata
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rapid
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Alexey Petrushin
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-10-11 00:00:00 +04:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: crystal
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
description: Rapid Application Development platform for Crystal framework
|
36
|
+
email:
|
37
|
+
executables: []
|
38
|
+
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files: []
|
42
|
+
|
43
|
+
files:
|
44
|
+
- Rakefile
|
45
|
+
- readme.md
|
46
|
+
- lib/rad/http_controller/acts_as/authenticated.rb
|
47
|
+
- lib/rad/http_controller/acts_as/authenticated_master_domain.rb
|
48
|
+
- lib/rad/http_controller/acts_as/authorized.rb
|
49
|
+
- lib/rad/http_controller/acts_as/localized.rb
|
50
|
+
- lib/rad/http_controller/acts_as/multitenant.rb
|
51
|
+
- lib/rad/http_controller/helpers/service_mix_helper.rb
|
52
|
+
- lib/rad/http_controller.rb
|
53
|
+
- lib/rad/lib/text_utils.rb
|
54
|
+
- lib/rad/locales/en.yml
|
55
|
+
- lib/rad/locales/ru.yml
|
56
|
+
- lib/rad/locales.rb
|
57
|
+
- lib/rad/models/account.rb
|
58
|
+
- lib/rad/models/default_permissions.yml
|
59
|
+
- lib/rad/models/micelaneous.rb
|
60
|
+
- lib/rad/models/role.rb
|
61
|
+
- lib/rad/models/secure_token.rb
|
62
|
+
- lib/rad/models/space.rb
|
63
|
+
- lib/rad/models/user.rb
|
64
|
+
- lib/rad/models.rb
|
65
|
+
- lib/rad/mongo_mapper/acts_as/authenticated_by_open_id.rb
|
66
|
+
- lib/rad/mongo_mapper/acts_as/authenticated_by_password.rb
|
67
|
+
- lib/rad/mongo_mapper/acts_as/authorized.rb
|
68
|
+
- lib/rad/mongo_mapper/acts_as/authorized_object.rb
|
69
|
+
- lib/rad/mongo_mapper/multitenant.rb
|
70
|
+
- lib/rad/mongo_mapper/rad_micelaneous.rb
|
71
|
+
- lib/rad/mongo_mapper/space_keys.rb
|
72
|
+
- lib/rad/mongo_mapper/text_processor.rb
|
73
|
+
- lib/rad/mongo_mapper.rb
|
74
|
+
- lib/rad/paperclip/callbacks.rb
|
75
|
+
- lib/rad/paperclip/extensions.rb
|
76
|
+
- lib/rad/paperclip/integration.rb
|
77
|
+
- lib/rad/paperclip/mime.rb
|
78
|
+
- lib/rad/paperclip/validations.rb
|
79
|
+
- lib/rad/paperclip.rb
|
80
|
+
- lib/rad/spec/controller.rb
|
81
|
+
- lib/rad/spec/model/factories.rb
|
82
|
+
- lib/rad/spec/model.rb
|
83
|
+
- lib/rad/spec/rem_helper.rb
|
84
|
+
- lib/rad/spec.rb
|
85
|
+
- lib/rad/tasks/backup.rake
|
86
|
+
- lib/rad/tasks/initialize.rake
|
87
|
+
- lib/rad.rb
|
88
|
+
- spec/controller/authorization_spec.rb
|
89
|
+
- spec/controller/helper.rb
|
90
|
+
- spec/lib/helper.rb
|
91
|
+
- spec/lib/text_utils_spec.rb
|
92
|
+
- spec/models/authorization_spec.rb
|
93
|
+
- spec/models/authorized_object_spec.rb
|
94
|
+
- spec/models/file_audit_spec/100.txt
|
95
|
+
- spec/models/file_audit_spec/302.txt
|
96
|
+
- spec/models/file_audit_spec.rb
|
97
|
+
- spec/models/helper.rb
|
98
|
+
- spec/models/space_key_spec.rb
|
99
|
+
- spec/models/user_spec.rb
|
100
|
+
- spec/mongo_mapper/basic_spec.rb
|
101
|
+
- spec/mongo_mapper/helper.rb
|
102
|
+
- spec/spec.opts
|
103
|
+
has_rdoc: true
|
104
|
+
homepage: http://github.com/alexeypetrushin/rapid
|
105
|
+
licenses: []
|
106
|
+
|
107
|
+
post_install_message:
|
108
|
+
rdoc_options: []
|
109
|
+
|
110
|
+
require_paths:
|
111
|
+
- lib
|
112
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
hash: 3
|
118
|
+
segments:
|
119
|
+
- 0
|
120
|
+
version: "0"
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
hash: 3
|
127
|
+
segments:
|
128
|
+
- 0
|
129
|
+
version: "0"
|
130
|
+
requirements: []
|
131
|
+
|
132
|
+
rubyforge_project:
|
133
|
+
rubygems_version: 1.3.7
|
134
|
+
signing_key:
|
135
|
+
specification_version: 3
|
136
|
+
summary: Rapid Application Development platform for Crystal framework
|
137
|
+
test_files: []
|
138
|
+
|