careacademy-acl9 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +16 -5
- data/Appraisals +0 -4
- data/CHANGELOG.md +0 -8
- data/Gemfile.lock +107 -103
- data/README.md +0 -10
- data/acl9.gemspec +2 -2
- data/lib/acl9/version.rb +1 -1
- data/test/dummy/config/initializers/assets.rb +1 -1
- metadata +8 -9
- data/gemfiles/rails_7.0.gemfile +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cd33ffa699342a41afdd4cac33146efab4ca71a87706af8b100b17cbfa46238
|
4
|
+
data.tar.gz: b95ccf34d66c5a002ed682b767da0fcac1c39b989efdd5a37370ea1c146ce247
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce63a6fb4c3b84864683fde5db061cad66ffb44baf40f078adc54a658c36d3d490ee604f2d2cac0b5d6cd104712ade6259eae4cb561e9dad2656d9d74850df0b
|
7
|
+
data.tar.gz: 394bee1a701d6204e702716f321f29a58ef2cd0ff3158f6f0efa708fa8f72f5aefe6cb99624239a6f6c8798fdb0f6834eca77d4955db91c4ea4c0130075c0699
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0
|
1
|
+
3.3.0
|
data/.travis.yml
CHANGED
@@ -13,14 +13,25 @@ gemfile:
|
|
13
13
|
- gemfiles/rails_5.2.gemfile
|
14
14
|
- gemfiles/rails_6.0.gemfile
|
15
15
|
- gemfiles/rails_6.1.gemfile
|
16
|
-
- gemfiles/rails_7.0.gemfile
|
17
16
|
|
18
17
|
jobs:
|
19
18
|
fast_finish: true
|
20
19
|
allow_failures:
|
21
20
|
- rvm: ruby-head
|
22
21
|
exclude:
|
23
|
-
- rvm:
|
24
|
-
gemfile: gemfiles/
|
25
|
-
- rvm:
|
26
|
-
gemfile: gemfiles/rails_6.1.gemfile
|
22
|
+
- rvm: 2.5.8
|
23
|
+
gemfile: gemfiles/rails_6.0.gemfile
|
24
|
+
- rvm: 2.5.8
|
25
|
+
gemfile: gemfiles/rails_6.1.gemfile
|
26
|
+
- rvm: 2.7.2
|
27
|
+
gemfile: gemfiles/rails_5.0.gemfile
|
28
|
+
- rvm: 2.7.2
|
29
|
+
gemfile: gemfiles/rails_5.1.gemfile
|
30
|
+
- rvm: 2.7.2
|
31
|
+
gemfile: gemfiles/rails_5.2.gemfile
|
32
|
+
- rvm: 3.0.0
|
33
|
+
gemfile: gemfiles/rails_5.0.gemfile
|
34
|
+
- rvm: 3.0.0
|
35
|
+
gemfile: gemfiles/rails_5.1.gemfile
|
36
|
+
- rvm: 3.0.0
|
37
|
+
gemfile: gemfiles/rails_5.2.gemfile
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
## 2.3.0 - 13 Mart 2023
|
2
|
-
|
3
|
-
Added support and appraisal for Rails 7.0 since it is released.
|
4
|
-
|
5
|
-
## 2.2.0 - 20 September 2019
|
6
|
-
|
7
|
-
Added support and appraisal for Rails 6.0 since it is released.
|
8
|
-
|
9
1
|
## 2.1.0 - 14 May 2015
|
10
2
|
|
11
3
|
Added `:only` (as well as `:to`) for specifying actions in `allow`/`deny`
|
data/Gemfile.lock
CHANGED
@@ -1,84 +1,94 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
acl9 (3.
|
5
|
-
rails (
|
4
|
+
careacademy-acl9 (3.4.0)
|
5
|
+
rails (>= 5.0, < 7.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (
|
11
|
-
actionpack (=
|
10
|
+
actioncable (7.0.8)
|
11
|
+
actionpack (= 7.0.8)
|
12
|
+
activesupport (= 7.0.8)
|
12
13
|
nio4r (~> 2.0)
|
13
14
|
websocket-driver (>= 0.6.1)
|
14
|
-
actionmailbox (
|
15
|
-
actionpack (=
|
16
|
-
activejob (=
|
17
|
-
activerecord (=
|
18
|
-
activestorage (=
|
19
|
-
activesupport (=
|
15
|
+
actionmailbox (7.0.8)
|
16
|
+
actionpack (= 7.0.8)
|
17
|
+
activejob (= 7.0.8)
|
18
|
+
activerecord (= 7.0.8)
|
19
|
+
activestorage (= 7.0.8)
|
20
|
+
activesupport (= 7.0.8)
|
20
21
|
mail (>= 2.7.1)
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
net-imap
|
23
|
+
net-pop
|
24
|
+
net-smtp
|
25
|
+
actionmailer (7.0.8)
|
26
|
+
actionpack (= 7.0.8)
|
27
|
+
actionview (= 7.0.8)
|
28
|
+
activejob (= 7.0.8)
|
29
|
+
activesupport (= 7.0.8)
|
25
30
|
mail (~> 2.5, >= 2.5.4)
|
31
|
+
net-imap
|
32
|
+
net-pop
|
33
|
+
net-smtp
|
26
34
|
rails-dom-testing (~> 2.0)
|
27
|
-
actionpack (
|
28
|
-
actionview (=
|
29
|
-
activesupport (=
|
30
|
-
rack (~> 2.0, >= 2.
|
35
|
+
actionpack (7.0.8)
|
36
|
+
actionview (= 7.0.8)
|
37
|
+
activesupport (= 7.0.8)
|
38
|
+
rack (~> 2.0, >= 2.2.4)
|
31
39
|
rack-test (>= 0.6.3)
|
32
40
|
rails-dom-testing (~> 2.0)
|
33
41
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
34
|
-
actiontext (
|
35
|
-
actionpack (=
|
36
|
-
activerecord (=
|
37
|
-
activestorage (=
|
38
|
-
activesupport (=
|
42
|
+
actiontext (7.0.8)
|
43
|
+
actionpack (= 7.0.8)
|
44
|
+
activerecord (= 7.0.8)
|
45
|
+
activestorage (= 7.0.8)
|
46
|
+
activesupport (= 7.0.8)
|
47
|
+
globalid (>= 0.6.0)
|
39
48
|
nokogiri (>= 1.8.5)
|
40
|
-
actionview (
|
41
|
-
activesupport (=
|
49
|
+
actionview (7.0.8)
|
50
|
+
activesupport (= 7.0.8)
|
42
51
|
builder (~> 3.1)
|
43
52
|
erubi (~> 1.4)
|
44
53
|
rails-dom-testing (~> 2.0)
|
45
54
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
46
|
-
activejob (
|
47
|
-
activesupport (=
|
55
|
+
activejob (7.0.8)
|
56
|
+
activesupport (= 7.0.8)
|
48
57
|
globalid (>= 0.3.6)
|
49
|
-
activemodel (
|
50
|
-
activesupport (=
|
51
|
-
activerecord (
|
52
|
-
activemodel (=
|
53
|
-
activesupport (=
|
54
|
-
activestorage (
|
55
|
-
actionpack (=
|
56
|
-
activejob (=
|
57
|
-
activerecord (=
|
58
|
+
activemodel (7.0.8)
|
59
|
+
activesupport (= 7.0.8)
|
60
|
+
activerecord (7.0.8)
|
61
|
+
activemodel (= 7.0.8)
|
62
|
+
activesupport (= 7.0.8)
|
63
|
+
activestorage (7.0.8)
|
64
|
+
actionpack (= 7.0.8)
|
65
|
+
activejob (= 7.0.8)
|
66
|
+
activerecord (= 7.0.8)
|
67
|
+
activesupport (= 7.0.8)
|
58
68
|
marcel (~> 1.0)
|
59
|
-
|
69
|
+
mini_mime (>= 1.1.0)
|
70
|
+
activesupport (7.0.8)
|
60
71
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
61
|
-
i18n (>=
|
62
|
-
minitest (
|
63
|
-
tzinfo (~>
|
64
|
-
|
65
|
-
appraisal (2.2.0)
|
72
|
+
i18n (>= 1.6, < 2)
|
73
|
+
minitest (>= 5.1)
|
74
|
+
tzinfo (~> 2.0)
|
75
|
+
appraisal (2.5.0)
|
66
76
|
bundler
|
67
77
|
rake
|
68
78
|
thor (>= 0.14.0)
|
69
79
|
builder (3.2.4)
|
70
|
-
byebug (11.
|
80
|
+
byebug (11.1.3)
|
71
81
|
concurrent-ruby (1.2.2)
|
72
82
|
crass (1.0.6)
|
73
|
-
date (3.3.
|
83
|
+
date (3.3.4)
|
74
84
|
erubi (1.12.0)
|
75
|
-
globalid (1.1
|
76
|
-
activesupport (>=
|
77
|
-
i18n (1.
|
85
|
+
globalid (1.2.1)
|
86
|
+
activesupport (>= 6.1)
|
87
|
+
i18n (1.14.1)
|
78
88
|
concurrent-ruby (~> 1.0)
|
79
|
-
loofah (2.
|
89
|
+
loofah (2.22.0)
|
80
90
|
crass (~> 1.0.2)
|
81
|
-
nokogiri (>= 1.
|
91
|
+
nokogiri (>= 1.12.0)
|
82
92
|
mail (2.8.1)
|
83
93
|
mini_mime (>= 0.1.1)
|
84
94
|
net-imap
|
@@ -86,82 +96,76 @@ GEM
|
|
86
96
|
net-smtp
|
87
97
|
marcel (1.0.2)
|
88
98
|
method_source (1.0.0)
|
89
|
-
mini_mime (1.1.
|
90
|
-
mini_portile2 (2.8.
|
91
|
-
minitest (5.
|
92
|
-
net-imap (0.
|
99
|
+
mini_mime (1.1.5)
|
100
|
+
mini_portile2 (2.8.5)
|
101
|
+
minitest (5.20.0)
|
102
|
+
net-imap (0.4.9)
|
93
103
|
date
|
94
104
|
net-protocol
|
95
105
|
net-pop (0.1.2)
|
96
106
|
net-protocol
|
97
|
-
net-protocol (0.2.
|
107
|
+
net-protocol (0.2.2)
|
98
108
|
timeout
|
99
|
-
net-smtp (0.
|
109
|
+
net-smtp (0.4.0)
|
100
110
|
net-protocol
|
101
|
-
nio4r (2.
|
102
|
-
nokogiri (1.
|
103
|
-
mini_portile2 (~> 2.8.
|
111
|
+
nio4r (2.7.0)
|
112
|
+
nokogiri (1.16.0)
|
113
|
+
mini_portile2 (~> 2.8.2)
|
104
114
|
racc (~> 1.4)
|
105
|
-
racc (1.
|
106
|
-
rack (2.2.
|
115
|
+
racc (1.7.3)
|
116
|
+
rack (2.2.8)
|
107
117
|
rack-test (2.1.0)
|
108
118
|
rack (>= 1.3)
|
109
|
-
rails (
|
110
|
-
actioncable (=
|
111
|
-
actionmailbox (=
|
112
|
-
actionmailer (=
|
113
|
-
actionpack (=
|
114
|
-
actiontext (=
|
115
|
-
actionview (=
|
116
|
-
activejob (=
|
117
|
-
activemodel (=
|
118
|
-
activerecord (=
|
119
|
-
activestorage (=
|
120
|
-
activesupport (=
|
121
|
-
bundler (>= 1.
|
122
|
-
railties (=
|
123
|
-
|
124
|
-
|
125
|
-
|
119
|
+
rails (7.0.8)
|
120
|
+
actioncable (= 7.0.8)
|
121
|
+
actionmailbox (= 7.0.8)
|
122
|
+
actionmailer (= 7.0.8)
|
123
|
+
actionpack (= 7.0.8)
|
124
|
+
actiontext (= 7.0.8)
|
125
|
+
actionview (= 7.0.8)
|
126
|
+
activejob (= 7.0.8)
|
127
|
+
activemodel (= 7.0.8)
|
128
|
+
activerecord (= 7.0.8)
|
129
|
+
activestorage (= 7.0.8)
|
130
|
+
activesupport (= 7.0.8)
|
131
|
+
bundler (>= 1.15.0)
|
132
|
+
railties (= 7.0.8)
|
133
|
+
rails-dom-testing (2.2.0)
|
134
|
+
activesupport (>= 5.0.0)
|
135
|
+
minitest
|
126
136
|
nokogiri (>= 1.6)
|
127
|
-
rails-html-sanitizer (1.
|
128
|
-
loofah (~> 2.
|
129
|
-
|
130
|
-
|
131
|
-
|
137
|
+
rails-html-sanitizer (1.6.0)
|
138
|
+
loofah (~> 2.21)
|
139
|
+
nokogiri (~> 1.14)
|
140
|
+
railties (7.0.8)
|
141
|
+
actionpack (= 7.0.8)
|
142
|
+
activesupport (= 7.0.8)
|
132
143
|
method_source
|
133
|
-
rake (>=
|
134
|
-
thor (
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
rack (>= 2.2.4, < 4)
|
139
|
-
sprockets-rails (3.4.2)
|
140
|
-
actionpack (>= 5.2)
|
141
|
-
activesupport (>= 5.2)
|
142
|
-
sprockets (>= 3.0.0)
|
143
|
-
sqlite3 (1.6.2)
|
144
|
+
rake (>= 12.2)
|
145
|
+
thor (~> 1.0)
|
146
|
+
zeitwerk (~> 2.5)
|
147
|
+
rake (13.1.0)
|
148
|
+
sqlite3 (1.7.0)
|
144
149
|
mini_portile2 (~> 2.8.0)
|
145
|
-
thor (
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
websocket-driver (0.7.5)
|
150
|
+
thor (1.3.0)
|
151
|
+
timeout (0.4.1)
|
152
|
+
tzinfo (2.0.6)
|
153
|
+
concurrent-ruby (~> 1.0)
|
154
|
+
websocket-driver (0.7.6)
|
151
155
|
websocket-extensions (>= 0.1.0)
|
152
156
|
websocket-extensions (0.1.5)
|
153
|
-
yard (0.9.
|
154
|
-
zeitwerk (2.6.
|
157
|
+
yard (0.9.34)
|
158
|
+
zeitwerk (2.6.12)
|
155
159
|
|
156
160
|
PLATFORMS
|
157
161
|
ruby
|
158
162
|
|
159
163
|
DEPENDENCIES
|
160
|
-
acl9!
|
161
164
|
appraisal
|
162
165
|
byebug
|
166
|
+
careacademy-acl9!
|
163
167
|
sqlite3
|
164
168
|
yard
|
165
169
|
|
166
170
|
BUNDLED WITH
|
167
|
-
2.
|
171
|
+
2.2.10
|
data/README.md
CHANGED
@@ -15,16 +15,6 @@ permissions correct.
|
|
15
15
|
Acl9 is [Semantically Versioned](http://semver.org/), so just add this to your
|
16
16
|
`Gemfile` (note that you need 3.2 for Rails 6+ support):
|
17
17
|
|
18
|
-
### Rails 7 - stick with 2.7
|
19
|
-
|
20
|
-
```ruby
|
21
|
-
gem 'acl9', '~> 4.0'
|
22
|
-
```
|
23
|
-
|
24
|
-
You will need Ruby 2.7.x
|
25
|
-
|
26
|
-
### Rails 5,6 - stick with 2.x
|
27
|
-
|
28
18
|
```ruby
|
29
19
|
gem 'acl9', '~> 3.2'
|
30
20
|
```
|
data/acl9.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.email = ["olegdashevskii@gmail.com", "jk@handle.it"]
|
8
8
|
s.description = "Role-based authorization system for Rails with a concise DSL for securing your Rails application. Acl9 makes it easy to get security right for your app, the access control code sits right in your controller, the syntax is very easy to understand, and acl9 makes it easy to test your access rules."
|
9
9
|
s.summary = "Role-based authorization system for Rails with a concise DSL for securing your Rails application."
|
10
|
-
s.homepage = "http://github.com/
|
10
|
+
s.homepage = "http://github.com/be9/acl9"
|
11
11
|
|
12
12
|
s.files = `git ls-files`.split($\)
|
13
13
|
s.test_files = s.files.grep(%r{^test/})
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
|
21
21
|
s.rdoc_options = ["--charset=UTF-8"]
|
22
22
|
|
23
|
-
s.add_dependency "rails", '
|
23
|
+
s.add_dependency "rails", '>= 5.0', '< 7.1'
|
24
24
|
|
25
25
|
s.add_development_dependency "yard"
|
26
26
|
s.add_development_dependency 'sqlite3'
|
data/lib/acl9/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
3
|
# Version of your assets, change this if you want to expire all your assets.
|
4
|
-
Dummy::Application.config.assets.version = '1.0'
|
4
|
+
Dummy::Application.config.assets.version = '1.0' if Rails.version < "7"
|
5
5
|
|
6
6
|
# Precompile additional assets.
|
7
7
|
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: careacademy-acl9
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- oleg dashevskii
|
@@ -9,28 +9,28 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-01-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '5.0'
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '7.1'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- - "
|
28
|
+
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '5.0'
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '7.1'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: yard
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,7 +104,6 @@ files:
|
|
104
104
|
- gemfiles/rails_5.2.gemfile
|
105
105
|
- gemfiles/rails_6.0.gemfile
|
106
106
|
- gemfiles/rails_6.1.gemfile
|
107
|
-
- gemfiles/rails_7.0.gemfile
|
108
107
|
- lib/acl9.rb
|
109
108
|
- lib/acl9/controller_extensions.rb
|
110
109
|
- lib/acl9/controller_extensions/dsl_base.rb
|
@@ -206,7 +205,7 @@ files:
|
|
206
205
|
- test/models/users_roles_and_subjects_with_namespaced_class_names_test.rb
|
207
206
|
- test/test_helper.rb
|
208
207
|
- test/version_test.rb
|
209
|
-
homepage: http://github.com/
|
208
|
+
homepage: http://github.com/be9/acl9
|
210
209
|
licenses:
|
211
210
|
- MIT
|
212
211
|
metadata: {}
|
@@ -226,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
225
|
- !ruby/object:Gem::Version
|
227
226
|
version: '0'
|
228
227
|
requirements: []
|
229
|
-
rubygems_version: 3.
|
228
|
+
rubygems_version: 3.5.3
|
230
229
|
signing_key:
|
231
230
|
specification_version: 4
|
232
231
|
summary: Role-based authorization system for Rails with a concise DSL for securing
|