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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 849eebd01698f0b58f7f65b0376bab48babdd0d5e7efefdb428b9f120cfda98e
4
- data.tar.gz: f19fec128fb30041ef5a1b3f1d4832ddc637fa586466629c622f1501bc8d54c2
3
+ metadata.gz: 5cd33ffa699342a41afdd4cac33146efab4ca71a87706af8b100b17cbfa46238
4
+ data.tar.gz: b95ccf34d66c5a002ed682b767da0fcac1c39b989efdd5a37370ea1c146ce247
5
5
  SHA512:
6
- metadata.gz: 36568a899717f0b57acb269304cb6363a8ea655ab2533779bfee12b7ac0c134e1ef2e95b2a0496afa4fac80689b4d6540a4edfd0d1ada501d978d984ac10d488
7
- data.tar.gz: 6bd91d0472fd3628a8b8100eeab2c4d778f6b072141f5552370319107e03130fb79d961298d2e18c707bb40c933e8b27e4815d6f9e94201ac9f5f139e33dc4d1
6
+ metadata.gz: ce63a6fb4c3b84864683fde5db061cad66ffb44baf40f078adc54a658c36d3d490ee604f2d2cac0b5d6cd104712ade6259eae4cb561e9dad2656d9d74850df0b
7
+ data.tar.gz: 394bee1a701d6204e702716f321f29a58ef2cd0ff3158f6f0efa708fa8f72f5aefe6cb99624239a6f6c8798fdb0f6834eca77d4955db91c4ea4c0130075c0699
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.6
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: 3.0.6
24
- gemfile: gemfiles/rails_7.0.gemfile
25
- - rvm: 3.0.6
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
@@ -14,10 +14,6 @@ appraise "rails-6.0" do
14
14
  gem 'rails', '~> 6.0.0'
15
15
  end
16
16
 
17
- appraise "rails-7.0" do
18
- gem 'rails', '~> 7.0.4.2'
19
- end
20
-
21
17
  appraise "rails-6.1" do
22
18
  gem 'rails', '~> 6.1.0'
23
19
  end
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.3.0)
5
- rails (> 5.0, < 8.0)
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 (6.0.6.1)
11
- actionpack (= 6.0.6.1)
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 (6.0.6.1)
15
- actionpack (= 6.0.6.1)
16
- activejob (= 6.0.6.1)
17
- activerecord (= 6.0.6.1)
18
- activestorage (= 6.0.6.1)
19
- activesupport (= 6.0.6.1)
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
- actionmailer (6.0.6.1)
22
- actionpack (= 6.0.6.1)
23
- actionview (= 6.0.6.1)
24
- activejob (= 6.0.6.1)
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 (6.0.6.1)
28
- actionview (= 6.0.6.1)
29
- activesupport (= 6.0.6.1)
30
- rack (~> 2.0, >= 2.0.8)
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 (6.0.6.1)
35
- actionpack (= 6.0.6.1)
36
- activerecord (= 6.0.6.1)
37
- activestorage (= 6.0.6.1)
38
- activesupport (= 6.0.6.1)
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 (6.0.6.1)
41
- activesupport (= 6.0.6.1)
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 (6.0.6.1)
47
- activesupport (= 6.0.6.1)
55
+ activejob (7.0.8)
56
+ activesupport (= 7.0.8)
48
57
  globalid (>= 0.3.6)
49
- activemodel (6.0.6.1)
50
- activesupport (= 6.0.6.1)
51
- activerecord (6.0.6.1)
52
- activemodel (= 6.0.6.1)
53
- activesupport (= 6.0.6.1)
54
- activestorage (6.0.6.1)
55
- actionpack (= 6.0.6.1)
56
- activejob (= 6.0.6.1)
57
- activerecord (= 6.0.6.1)
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
- activesupport (6.0.6.1)
69
+ mini_mime (>= 1.1.0)
70
+ activesupport (7.0.8)
60
71
  concurrent-ruby (~> 1.0, >= 1.0.2)
61
- i18n (>= 0.7, < 2)
62
- minitest (~> 5.1)
63
- tzinfo (~> 1.1)
64
- zeitwerk (~> 2.2, >= 2.2.2)
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.0.1)
80
+ byebug (11.1.3)
71
81
  concurrent-ruby (1.2.2)
72
82
  crass (1.0.6)
73
- date (3.3.3)
83
+ date (3.3.4)
74
84
  erubi (1.12.0)
75
- globalid (1.1.0)
76
- activesupport (>= 5.0)
77
- i18n (1.13.0)
85
+ globalid (1.2.1)
86
+ activesupport (>= 6.1)
87
+ i18n (1.14.1)
78
88
  concurrent-ruby (~> 1.0)
79
- loofah (2.20.0)
89
+ loofah (2.22.0)
80
90
  crass (~> 1.0.2)
81
- nokogiri (>= 1.5.9)
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.2)
90
- mini_portile2 (2.8.1)
91
- minitest (5.18.0)
92
- net-imap (0.3.4)
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.1)
107
+ net-protocol (0.2.2)
98
108
  timeout
99
- net-smtp (0.3.3)
109
+ net-smtp (0.4.0)
100
110
  net-protocol
101
- nio4r (2.5.9)
102
- nokogiri (1.14.3)
103
- mini_portile2 (~> 2.8.0)
111
+ nio4r (2.7.0)
112
+ nokogiri (1.16.0)
113
+ mini_portile2 (~> 2.8.2)
104
114
  racc (~> 1.4)
105
- racc (1.6.2)
106
- rack (2.2.7)
115
+ racc (1.7.3)
116
+ rack (2.2.8)
107
117
  rack-test (2.1.0)
108
118
  rack (>= 1.3)
109
- rails (6.0.6.1)
110
- actioncable (= 6.0.6.1)
111
- actionmailbox (= 6.0.6.1)
112
- actionmailer (= 6.0.6.1)
113
- actionpack (= 6.0.6.1)
114
- actiontext (= 6.0.6.1)
115
- actionview (= 6.0.6.1)
116
- activejob (= 6.0.6.1)
117
- activemodel (= 6.0.6.1)
118
- activerecord (= 6.0.6.1)
119
- activestorage (= 6.0.6.1)
120
- activesupport (= 6.0.6.1)
121
- bundler (>= 1.3.0)
122
- railties (= 6.0.6.1)
123
- sprockets-rails (>= 2.0.0)
124
- rails-dom-testing (2.0.3)
125
- activesupport (>= 4.2.0)
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.5.0)
128
- loofah (~> 2.19, >= 2.19.1)
129
- railties (6.0.6.1)
130
- actionpack (= 6.0.6.1)
131
- activesupport (= 6.0.6.1)
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 (>= 0.8.7)
134
- thor (>= 0.20.3, < 2.0)
135
- rake (12.3.3)
136
- sprockets (4.2.0)
137
- concurrent-ruby (~> 1.0)
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 (0.20.3)
146
- thread_safe (0.3.6)
147
- timeout (0.3.2)
148
- tzinfo (1.2.11)
149
- thread_safe (~> 0.1)
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.20)
154
- zeitwerk (2.6.7)
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.3.26
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/careacademy/acl9"
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", '> 5.0', '< 8.0'
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,3 +1,3 @@
1
1
  module Acl9
2
- VERSION = "3.3.0"
2
+ VERSION = "3.4.0"
3
3
  end
@@ -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.3.0
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: 2023-11-09 00:00:00.000000000 Z
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: '8.0'
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: '8.0'
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/careacademy/acl9
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.2.33
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
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "appraisal"
6
- gem "byebug"
7
- gem "rails", "~> 7.0.4.2"
8
-
9
- gemspec path: "../"