rbacan 0.4.0 → 0.5.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +97 -15
- data/lib/generators/install/templates/rbacan.rb +25 -25
- data/lib/rbacan/authorizable.rb +15 -0
- data/lib/rbacan/authorization.rb +37 -9
- data/lib/rbacan/host_authorization.rb +165 -0
- data/lib/rbacan/not_authorized.rb +10 -3
- data/lib/rbacan/permittable.rb +39 -28
- data/lib/rbacan/roles_and_permissions.rb +12 -4
- data/lib/rbacan/route_constraint.rb +21 -18
- data/lib/rbacan/version.rb +1 -1
- data/lib/rbacan/view_helpers.rb +13 -8
- data/lib/rbacan.rb +26 -4
- metadata +4 -12
- data/.gitignore +0 -14
- data/.rspec +0 -3
- data/.travis.yml +0 -7
- data/CLAUDE.md +0 -51
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -351
- data/Rakefile +0 -6
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/rbacan.gemspec +0 -39
data/Gemfile.lock
DELETED
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
rbacan (0.4.0)
|
|
5
|
-
rails (>= 5.2, < 9)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
action_text-trix (2.1.18)
|
|
11
|
-
railties
|
|
12
|
-
actioncable (8.1.3)
|
|
13
|
-
actionpack (= 8.1.3)
|
|
14
|
-
activesupport (= 8.1.3)
|
|
15
|
-
nio4r (~> 2.0)
|
|
16
|
-
websocket-driver (>= 0.6.1)
|
|
17
|
-
zeitwerk (~> 2.6)
|
|
18
|
-
actionmailbox (8.1.3)
|
|
19
|
-
actionpack (= 8.1.3)
|
|
20
|
-
activejob (= 8.1.3)
|
|
21
|
-
activerecord (= 8.1.3)
|
|
22
|
-
activestorage (= 8.1.3)
|
|
23
|
-
activesupport (= 8.1.3)
|
|
24
|
-
mail (>= 2.8.0)
|
|
25
|
-
actionmailer (8.1.3)
|
|
26
|
-
actionpack (= 8.1.3)
|
|
27
|
-
actionview (= 8.1.3)
|
|
28
|
-
activejob (= 8.1.3)
|
|
29
|
-
activesupport (= 8.1.3)
|
|
30
|
-
mail (>= 2.8.0)
|
|
31
|
-
rails-dom-testing (~> 2.2)
|
|
32
|
-
actionpack (8.1.3)
|
|
33
|
-
actionview (= 8.1.3)
|
|
34
|
-
activesupport (= 8.1.3)
|
|
35
|
-
nokogiri (>= 1.8.5)
|
|
36
|
-
rack (>= 2.2.4)
|
|
37
|
-
rack-session (>= 1.0.1)
|
|
38
|
-
rack-test (>= 0.6.3)
|
|
39
|
-
rails-dom-testing (~> 2.2)
|
|
40
|
-
rails-html-sanitizer (~> 1.6)
|
|
41
|
-
useragent (~> 0.16)
|
|
42
|
-
actiontext (8.1.3)
|
|
43
|
-
action_text-trix (~> 2.1.15)
|
|
44
|
-
actionpack (= 8.1.3)
|
|
45
|
-
activerecord (= 8.1.3)
|
|
46
|
-
activestorage (= 8.1.3)
|
|
47
|
-
activesupport (= 8.1.3)
|
|
48
|
-
globalid (>= 0.6.0)
|
|
49
|
-
nokogiri (>= 1.8.5)
|
|
50
|
-
actionview (8.1.3)
|
|
51
|
-
activesupport (= 8.1.3)
|
|
52
|
-
builder (~> 3.1)
|
|
53
|
-
erubi (~> 1.11)
|
|
54
|
-
rails-dom-testing (~> 2.2)
|
|
55
|
-
rails-html-sanitizer (~> 1.6)
|
|
56
|
-
activejob (8.1.3)
|
|
57
|
-
activesupport (= 8.1.3)
|
|
58
|
-
globalid (>= 0.3.6)
|
|
59
|
-
activemodel (8.1.3)
|
|
60
|
-
activesupport (= 8.1.3)
|
|
61
|
-
activerecord (8.1.3)
|
|
62
|
-
activemodel (= 8.1.3)
|
|
63
|
-
activesupport (= 8.1.3)
|
|
64
|
-
timeout (>= 0.4.0)
|
|
65
|
-
activestorage (8.1.3)
|
|
66
|
-
actionpack (= 8.1.3)
|
|
67
|
-
activejob (= 8.1.3)
|
|
68
|
-
activerecord (= 8.1.3)
|
|
69
|
-
activesupport (= 8.1.3)
|
|
70
|
-
marcel (~> 1.0)
|
|
71
|
-
activesupport (8.1.3)
|
|
72
|
-
base64
|
|
73
|
-
bigdecimal
|
|
74
|
-
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
75
|
-
connection_pool (>= 2.2.5)
|
|
76
|
-
drb
|
|
77
|
-
i18n (>= 1.6, < 2)
|
|
78
|
-
json
|
|
79
|
-
logger (>= 1.4.2)
|
|
80
|
-
minitest (>= 5.1)
|
|
81
|
-
securerandom (>= 0.3)
|
|
82
|
-
tzinfo (~> 2.0, >= 2.0.5)
|
|
83
|
-
uri (>= 0.13.1)
|
|
84
|
-
base64 (0.3.0)
|
|
85
|
-
bigdecimal (4.1.1)
|
|
86
|
-
builder (3.3.0)
|
|
87
|
-
concurrent-ruby (1.3.6)
|
|
88
|
-
connection_pool (3.0.2)
|
|
89
|
-
crass (1.0.6)
|
|
90
|
-
date (3.5.1)
|
|
91
|
-
diff-lcs (1.6.2)
|
|
92
|
-
drb (2.2.3)
|
|
93
|
-
erb (6.0.2)
|
|
94
|
-
erubi (1.13.1)
|
|
95
|
-
generator_spec (0.9.5)
|
|
96
|
-
activesupport (>= 3.0.0)
|
|
97
|
-
railties (>= 3.0.0)
|
|
98
|
-
globalid (1.3.0)
|
|
99
|
-
activesupport (>= 6.1)
|
|
100
|
-
i18n (1.14.8)
|
|
101
|
-
concurrent-ruby (~> 1.0)
|
|
102
|
-
io-console (0.8.2)
|
|
103
|
-
irb (1.17.0)
|
|
104
|
-
pp (>= 0.6.0)
|
|
105
|
-
prism (>= 1.3.0)
|
|
106
|
-
rdoc (>= 4.0.0)
|
|
107
|
-
reline (>= 0.4.2)
|
|
108
|
-
json (2.19.3)
|
|
109
|
-
logger (1.7.0)
|
|
110
|
-
loofah (2.25.1)
|
|
111
|
-
crass (~> 1.0.2)
|
|
112
|
-
nokogiri (>= 1.12.0)
|
|
113
|
-
mail (2.9.0)
|
|
114
|
-
logger
|
|
115
|
-
mini_mime (>= 0.1.1)
|
|
116
|
-
net-imap
|
|
117
|
-
net-pop
|
|
118
|
-
net-smtp
|
|
119
|
-
marcel (1.1.0)
|
|
120
|
-
mini_mime (1.1.5)
|
|
121
|
-
minitest (6.0.3)
|
|
122
|
-
drb (~> 2.0)
|
|
123
|
-
prism (~> 1.5)
|
|
124
|
-
net-imap (0.6.3)
|
|
125
|
-
date
|
|
126
|
-
net-protocol
|
|
127
|
-
net-pop (0.1.2)
|
|
128
|
-
net-protocol
|
|
129
|
-
net-protocol (0.2.2)
|
|
130
|
-
timeout
|
|
131
|
-
net-smtp (0.5.1)
|
|
132
|
-
net-protocol
|
|
133
|
-
nio4r (2.7.5)
|
|
134
|
-
nokogiri (1.19.2-aarch64-linux-gnu)
|
|
135
|
-
racc (~> 1.4)
|
|
136
|
-
nokogiri (1.19.2-aarch64-linux-musl)
|
|
137
|
-
racc (~> 1.4)
|
|
138
|
-
nokogiri (1.19.2-arm-linux-gnu)
|
|
139
|
-
racc (~> 1.4)
|
|
140
|
-
nokogiri (1.19.2-arm-linux-musl)
|
|
141
|
-
racc (~> 1.4)
|
|
142
|
-
nokogiri (1.19.2-arm64-darwin)
|
|
143
|
-
racc (~> 1.4)
|
|
144
|
-
nokogiri (1.19.2-x86_64-darwin)
|
|
145
|
-
racc (~> 1.4)
|
|
146
|
-
nokogiri (1.19.2-x86_64-linux-gnu)
|
|
147
|
-
racc (~> 1.4)
|
|
148
|
-
nokogiri (1.19.2-x86_64-linux-musl)
|
|
149
|
-
racc (~> 1.4)
|
|
150
|
-
pp (0.6.3)
|
|
151
|
-
prettyprint
|
|
152
|
-
prettyprint (0.2.0)
|
|
153
|
-
prism (1.9.0)
|
|
154
|
-
psych (5.3.1)
|
|
155
|
-
date
|
|
156
|
-
stringio
|
|
157
|
-
racc (1.8.1)
|
|
158
|
-
rack (3.2.6)
|
|
159
|
-
rack-session (2.1.2)
|
|
160
|
-
base64 (>= 0.1.0)
|
|
161
|
-
rack (>= 3.0.0)
|
|
162
|
-
rack-test (2.2.0)
|
|
163
|
-
rack (>= 1.3)
|
|
164
|
-
rackup (2.3.1)
|
|
165
|
-
rack (>= 3)
|
|
166
|
-
rails (8.1.3)
|
|
167
|
-
actioncable (= 8.1.3)
|
|
168
|
-
actionmailbox (= 8.1.3)
|
|
169
|
-
actionmailer (= 8.1.3)
|
|
170
|
-
actionpack (= 8.1.3)
|
|
171
|
-
actiontext (= 8.1.3)
|
|
172
|
-
actionview (= 8.1.3)
|
|
173
|
-
activejob (= 8.1.3)
|
|
174
|
-
activemodel (= 8.1.3)
|
|
175
|
-
activerecord (= 8.1.3)
|
|
176
|
-
activestorage (= 8.1.3)
|
|
177
|
-
activesupport (= 8.1.3)
|
|
178
|
-
bundler (>= 1.15.0)
|
|
179
|
-
railties (= 8.1.3)
|
|
180
|
-
rails-dom-testing (2.3.0)
|
|
181
|
-
activesupport (>= 5.0.0)
|
|
182
|
-
minitest
|
|
183
|
-
nokogiri (>= 1.6)
|
|
184
|
-
rails-html-sanitizer (1.7.0)
|
|
185
|
-
loofah (~> 2.25)
|
|
186
|
-
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
187
|
-
railties (8.1.3)
|
|
188
|
-
actionpack (= 8.1.3)
|
|
189
|
-
activesupport (= 8.1.3)
|
|
190
|
-
irb (~> 1.13)
|
|
191
|
-
rackup (>= 1.0.0)
|
|
192
|
-
rake (>= 12.2)
|
|
193
|
-
thor (~> 1.0, >= 1.2.2)
|
|
194
|
-
tsort (>= 0.2)
|
|
195
|
-
zeitwerk (~> 2.6)
|
|
196
|
-
rake (13.3.1)
|
|
197
|
-
rdoc (7.2.0)
|
|
198
|
-
erb
|
|
199
|
-
psych (>= 4.0.0)
|
|
200
|
-
tsort
|
|
201
|
-
reline (0.6.3)
|
|
202
|
-
io-console (~> 0.5)
|
|
203
|
-
rspec (3.13.2)
|
|
204
|
-
rspec-core (~> 3.13.0)
|
|
205
|
-
rspec-expectations (~> 3.13.0)
|
|
206
|
-
rspec-mocks (~> 3.13.0)
|
|
207
|
-
rspec-core (3.13.6)
|
|
208
|
-
rspec-support (~> 3.13.0)
|
|
209
|
-
rspec-expectations (3.13.5)
|
|
210
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
211
|
-
rspec-support (~> 3.13.0)
|
|
212
|
-
rspec-mocks (3.13.8)
|
|
213
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
214
|
-
rspec-support (~> 3.13.0)
|
|
215
|
-
rspec-support (3.13.7)
|
|
216
|
-
securerandom (0.4.1)
|
|
217
|
-
sqlite3 (2.9.2-aarch64-linux-gnu)
|
|
218
|
-
sqlite3 (2.9.2-aarch64-linux-musl)
|
|
219
|
-
sqlite3 (2.9.2-arm-linux-gnu)
|
|
220
|
-
sqlite3 (2.9.2-arm-linux-musl)
|
|
221
|
-
sqlite3 (2.9.2-arm64-darwin)
|
|
222
|
-
sqlite3 (2.9.2-x86_64-darwin)
|
|
223
|
-
sqlite3 (2.9.2-x86_64-linux-gnu)
|
|
224
|
-
sqlite3 (2.9.2-x86_64-linux-musl)
|
|
225
|
-
stringio (3.2.0)
|
|
226
|
-
thor (1.5.0)
|
|
227
|
-
timeout (0.6.1)
|
|
228
|
-
tsort (0.2.0)
|
|
229
|
-
tzinfo (2.0.6)
|
|
230
|
-
concurrent-ruby (~> 1.0)
|
|
231
|
-
uri (1.1.1)
|
|
232
|
-
useragent (0.16.11)
|
|
233
|
-
websocket-driver (0.8.0)
|
|
234
|
-
base64
|
|
235
|
-
websocket-extensions (>= 0.1.0)
|
|
236
|
-
websocket-extensions (0.1.5)
|
|
237
|
-
zeitwerk (2.7.5)
|
|
238
|
-
|
|
239
|
-
PLATFORMS
|
|
240
|
-
aarch64-linux-gnu
|
|
241
|
-
aarch64-linux-musl
|
|
242
|
-
arm-linux-gnu
|
|
243
|
-
arm-linux-musl
|
|
244
|
-
arm64-darwin
|
|
245
|
-
x86_64-darwin
|
|
246
|
-
x86_64-linux-gnu
|
|
247
|
-
x86_64-linux-musl
|
|
248
|
-
|
|
249
|
-
DEPENDENCIES
|
|
250
|
-
activerecord (>= 5.2, < 9)
|
|
251
|
-
bundler (>= 2.0)
|
|
252
|
-
generator_spec (~> 0.9.4)
|
|
253
|
-
railties (>= 5.2, < 9)
|
|
254
|
-
rake (~> 13.0)
|
|
255
|
-
rbacan!
|
|
256
|
-
rspec (~> 3.0)
|
|
257
|
-
sqlite3
|
|
258
|
-
|
|
259
|
-
CHECKSUMS
|
|
260
|
-
action_text-trix (2.1.18) sha256=3fdb83f8bff4145d098be283cdd47ac41caf5110bfa6df4695ed7127d7fb3642
|
|
261
|
-
actioncable (8.1.3) sha256=e5bc7f75e44e6a22de29c4f43176927c3a9ce4824464b74ed18d8226e75a80f0
|
|
262
|
-
actionmailbox (8.1.3) sha256=df7da474eaa0e70df4ed5a6fef66eb3b3b0f2dbf7f14518deee8d77f1b4aae59
|
|
263
|
-
actionmailer (8.1.3) sha256=831f724891bb70d0aaa4d76581a6321124b6a752cb655c9346aae5479318448d
|
|
264
|
-
actionpack (8.1.3) sha256=af998cae4d47c5d581a2cc363b5c77eb718b7c4b45748d81b1887b25621c29a3
|
|
265
|
-
actiontext (8.1.3) sha256=d291019c00e1ea9e6463011fa214f6081a56d7b9a1d224e7d3f6384c1dafc7d2
|
|
266
|
-
actionview (8.1.3) sha256=1347c88c7f3edb38100c5ce0e9fb5e62d7755f3edc1b61cce2eb0b2c6ea2fd5d
|
|
267
|
-
activejob (8.1.3) sha256=a149b1766aa8204c3c3da7309e4becd40fcd5529c348cffbf6c9b16b565fe8d3
|
|
268
|
-
activemodel (8.1.3) sha256=90c05cbe4cef3649b8f79f13016191ea94c4525ce4a5c0fb7ef909c4b91c8219
|
|
269
|
-
activerecord (8.1.3) sha256=8003be7b2466ba0a2a670e603eeb0a61dd66058fccecfc49901e775260ac70ab
|
|
270
|
-
activestorage (8.1.3) sha256=0564ce9309143951a67615e1bb4e090ee54b8befed417133cae614479b46384d
|
|
271
|
-
activesupport (8.1.3) sha256=21a5e0dfbd4c3ddd9e1317ec6a4d782fa226e7867dc70b0743acda81a1dca20e
|
|
272
|
-
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
273
|
-
bigdecimal (4.1.1) sha256=1c09efab961da45203c8316b0cdaec0ff391dfadb952dd459584b63ebf8054ca
|
|
274
|
-
builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
|
|
275
|
-
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
276
|
-
connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
|
|
277
|
-
crass (1.0.6) sha256=dc516022a56e7b3b156099abc81b6d2b08ea1ed12676ac7a5657617f012bd45d
|
|
278
|
-
date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
|
|
279
|
-
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
280
|
-
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
281
|
-
erb (6.0.2) sha256=9fe6264d44f79422c87490a1558479bd0e7dad4dd0e317656e67ea3077b5242b
|
|
282
|
-
erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
|
|
283
|
-
generator_spec (0.9.5) sha256=eb14b6ec4f2f8ba36c81f0ddb28f63291654697a5f94064aad6767f82d469619
|
|
284
|
-
globalid (1.3.0) sha256=05c639ad6eb4594522a0b07983022f04aa7254626ab69445a0e493aa3786ff11
|
|
285
|
-
i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
|
|
286
|
-
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
|
|
287
|
-
irb (1.17.0) sha256=168c4ddb93d8a361a045c41d92b2952c7a118fa73f23fe14e55609eb7a863aae
|
|
288
|
-
json (2.19.3) sha256=289b0bb53052a1fa8c34ab33cc750b659ba14a5c45f3fcf4b18762dc67c78646
|
|
289
|
-
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
290
|
-
loofah (2.25.1) sha256=d436c73dbd0c1147b16c4a41db097942d217303e1f7728704b37e4df9f6d2e04
|
|
291
|
-
mail (2.9.0) sha256=6fa6673ecd71c60c2d996260f9ee3dd387d4673b8169b502134659ece6d34941
|
|
292
|
-
marcel (1.1.0) sha256=fdcfcfa33cc52e93c4308d40e4090a5d4ea279e160a7f6af988260fa970e0bee
|
|
293
|
-
mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef
|
|
294
|
-
minitest (6.0.3) sha256=88ac8a1de36c00692420e7cb3cc11a0773bbcb126aee1c249f320160a7d11411
|
|
295
|
-
net-imap (0.6.3) sha256=9bab75f876596d09ee7bf911a291da478e0cd6badc54dfb82874855ccc82f2ad
|
|
296
|
-
net-pop (0.1.2) sha256=848b4e982013c15b2f0382792268763b748cce91c9e91e36b0f27ed26420dff3
|
|
297
|
-
net-protocol (0.2.2) sha256=aa73e0cba6a125369de9837b8d8ef82a61849360eba0521900e2c3713aa162a8
|
|
298
|
-
net-smtp (0.5.1) sha256=ed96a0af63c524fceb4b29b0d352195c30d82dd916a42f03c62a3a70e5b70736
|
|
299
|
-
nio4r (2.7.5) sha256=6c90168e48fb5f8e768419c93abb94ba2b892a1d0602cb06eef16d8b7df1dca1
|
|
300
|
-
nokogiri (1.19.2-aarch64-linux-gnu) sha256=c34d5c8208025587554608e98fd88ab125b29c80f9352b821964e9a5d5cfbd19
|
|
301
|
-
nokogiri (1.19.2-aarch64-linux-musl) sha256=7f6b4b0202d507326841a4f790294bf75098aef50c7173443812e3ac5cb06515
|
|
302
|
-
nokogiri (1.19.2-arm-linux-gnu) sha256=b7fa1139016f3dc850bda1260988f0d749934a939d04ef2da13bec060d7d5081
|
|
303
|
-
nokogiri (1.19.2-arm-linux-musl) sha256=61114d44f6742ff72194a1b3020967201e2eb982814778d130f6471c11f9828c
|
|
304
|
-
nokogiri (1.19.2-arm64-darwin) sha256=58d8ea2e31a967b843b70487a44c14c8ba1866daa1b9da9be9dbdf1b43dee205
|
|
305
|
-
nokogiri (1.19.2-x86_64-darwin) sha256=7d9af11fda72dfaa2961d8c4d5380ca0b51bc389dc5f8d4b859b9644f195e7a4
|
|
306
|
-
nokogiri (1.19.2-x86_64-linux-gnu) sha256=fa8feca882b73e871a9845f3817a72e9734c8e974bdc4fbad6e4bc6e8076b94f
|
|
307
|
-
nokogiri (1.19.2-x86_64-linux-musl) sha256=93128448e61a9383a30baef041bf1f5817e22f297a1d400521e90294445069a8
|
|
308
|
-
pp (0.6.3) sha256=2951d514450b93ccfeb1df7d021cae0da16e0a7f95ee1e2273719669d0ab9df6
|
|
309
|
-
prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
|
|
310
|
-
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
311
|
-
psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
|
|
312
|
-
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
313
|
-
rack (3.2.6) sha256=5ed78e1f73b2e25679bec7d45ee2d4483cc4146eb1be0264fc4d94cb5ef212c2
|
|
314
|
-
rack-session (2.1.2) sha256=595434f8c0c3473ae7d7ac56ecda6cc6dfd9d37c0b2b5255330aa1576967ffe8
|
|
315
|
-
rack-test (2.2.0) sha256=005a36692c306ac0b4a9350355ee080fd09ddef1148a5f8b2ac636c720f5c463
|
|
316
|
-
rackup (2.3.1) sha256=6c79c26753778e90983761d677a48937ee3192b3ffef6bc963c0950f94688868
|
|
317
|
-
rails (8.1.3) sha256=6d017ba5348c98fc909753a8169b21d44de14d2a0b92d140d1a966834c3c9cd3
|
|
318
|
-
rails-dom-testing (2.3.0) sha256=8acc7953a7b911ca44588bf08737bc16719f431a1cc3091a292bca7317925c1d
|
|
319
|
-
rails-html-sanitizer (1.7.0) sha256=28b145cceaf9cc214a9874feaa183c3acba036c9592b19886e0e45efc62b1e89
|
|
320
|
-
railties (8.1.3) sha256=913eb0e0cb520aac687ffd74916bd726d48fa21f47833c6292576ef6a286de22
|
|
321
|
-
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
322
|
-
rbacan (0.4.0)
|
|
323
|
-
rdoc (7.2.0) sha256=8650f76cd4009c3b54955eb5d7e3a075c60a57276766ebf36f9085e8c9f23192
|
|
324
|
-
reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
|
|
325
|
-
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
326
|
-
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
|
|
327
|
-
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
328
|
-
rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
|
|
329
|
-
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
|
|
330
|
-
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
|
331
|
-
sqlite3 (2.9.2-aarch64-linux-gnu) sha256=eeb86db55645b85327ba75129e3614658d974bf4da8fdc87018a0d42c59f6e42
|
|
332
|
-
sqlite3 (2.9.2-aarch64-linux-musl) sha256=4feff91fb8c2b13688da34b5627c9d1ed9cedb3ee87a7114ec82209147f07a6d
|
|
333
|
-
sqlite3 (2.9.2-arm-linux-gnu) sha256=1ee2eb06b5301aaf5ce343a6e88d99ac932d95202d7b350f0e7b6d8d588580d7
|
|
334
|
-
sqlite3 (2.9.2-arm-linux-musl) sha256=8ca0de6aceede968de0394e22e95d549834c4d8e318f69a92a52f049878a0057
|
|
335
|
-
sqlite3 (2.9.2-arm64-darwin) sha256=d15bd9609a05f9d54930babe039585efc8cadd57517c15b64ec7dfa75158a5e9
|
|
336
|
-
sqlite3 (2.9.2-x86_64-darwin) sha256=ed691b5021674d72582d03c5a38e89634b961902735fb6225273892805421d13
|
|
337
|
-
sqlite3 (2.9.2-x86_64-linux-gnu) sha256=dce83ffcb7e72f9f7aeb6e5404f15d277a45332fe18ccce8a8b3ed51e8d23aee
|
|
338
|
-
sqlite3 (2.9.2-x86_64-linux-musl) sha256=e8dd906a613f13b60f6d47ae9dda376384d9de1ab3f7e3f2fdf2fd18a871a2d7
|
|
339
|
-
stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
|
|
340
|
-
thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73
|
|
341
|
-
timeout (0.6.1) sha256=78f57368a7e7bbadec56971f78a3f5ecbcfb59b7fcbb0a3ed6ddc08a5094accb
|
|
342
|
-
tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
|
|
343
|
-
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
|
344
|
-
uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
|
|
345
|
-
useragent (0.16.11) sha256=700e6413ad4bb954bb63547fa098dddf7b0ebe75b40cc6f93b8d54255b173844
|
|
346
|
-
websocket-driver (0.8.0) sha256=ed0dba4b943c22f17f9a734817e808bc84cdce6a7e22045f5315aa57676d4962
|
|
347
|
-
websocket-extensions (0.1.5) sha256=1c6ba63092cda343eb53fc657110c71c754c56484aad42578495227d717a8241
|
|
348
|
-
zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd
|
|
349
|
-
|
|
350
|
-
BUNDLED WITH
|
|
351
|
-
4.0.9
|
data/Rakefile
DELETED
data/bin/console
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby
|
|
2
|
-
|
|
3
|
-
require "bundler/setup"
|
|
4
|
-
require "rbacan"
|
|
5
|
-
|
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
-
|
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
-
# require "pry"
|
|
11
|
-
# Pry.start
|
|
12
|
-
|
|
13
|
-
require "irb"
|
|
14
|
-
IRB.start(__FILE__)
|
data/bin/setup
DELETED
data/rbacan.gemspec
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
lib = File.expand_path('lib', __dir__)
|
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
|
-
require 'rbacan/version'
|
|
4
|
-
|
|
5
|
-
Gem::Specification.new do |spec|
|
|
6
|
-
spec.name = 'rbacan'
|
|
7
|
-
spec.version = Rbacan::VERSION
|
|
8
|
-
spec.authors = ['hamdi']
|
|
9
|
-
spec.email = ['hamdi_amiche@outlook.fr']
|
|
10
|
-
|
|
11
|
-
spec.summary = 'A gem to give permission access to users based on their roles'
|
|
12
|
-
spec.description = 'RBACan is a Role-Based Access Control tool to control user access to the functionalities of your application'
|
|
13
|
-
spec.homepage = 'https://github.com/hamdi777/RBACan'
|
|
14
|
-
spec.licenses = ['MIT']
|
|
15
|
-
|
|
16
|
-
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless spec.respond_to?(:metadata)
|
|
17
|
-
|
|
18
|
-
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
19
|
-
spec.metadata['homepage_uri'] = spec.homepage
|
|
20
|
-
spec.metadata['changelog_uri'] = 'https://github.com/hamdi777/RBACan/blob/master/CHANGELOG.md'
|
|
21
|
-
|
|
22
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
23
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
24
|
-
end
|
|
25
|
-
spec.bindir = 'exe'
|
|
26
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
27
|
-
spec.require_paths = ['lib']
|
|
28
|
-
spec.required_ruby_version = '>= 3.0'
|
|
29
|
-
|
|
30
|
-
spec.add_dependency 'rails', '>= 5.2', '< 9'
|
|
31
|
-
|
|
32
|
-
spec.add_development_dependency 'activerecord', '>= 5.2', '< 9'
|
|
33
|
-
spec.add_development_dependency 'bundler', '>= 2.0'
|
|
34
|
-
spec.add_development_dependency 'generator_spec', '~> 0.9.4'
|
|
35
|
-
spec.add_development_dependency 'railties', '>= 5.2', '< 9'
|
|
36
|
-
spec.add_development_dependency 'rake', '~> 13.0'
|
|
37
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
|
38
|
-
spec.add_development_dependency 'sqlite3'
|
|
39
|
-
end
|