ae_declarative_authorization 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/Appraisals +5 -13
  3. data/Gemfile.lock +1 -1
  4. data/gemfiles/{rails507.gemfile → ruby_2.3.3_rails507.gemfile} +0 -0
  5. data/gemfiles/{rails507.gemfile.lock → ruby_2.3.3_rails507.gemfile.lock} +15 -15
  6. data/gemfiles/{rails516.gemfile → ruby_2.3.3_rails516.gemfile} +0 -0
  7. data/gemfiles/{rails516.gemfile.lock → ruby_2.3.3_rails516.gemfile.lock} +4 -4
  8. data/gemfiles/{rails521.gemfile → ruby_2.3.3_rails521.gemfile} +0 -0
  9. data/gemfiles/{rails521.gemfile.lock → ruby_2.3.3_rails521.gemfile.lock} +17 -17
  10. data/gemfiles/{rails522.gemfile → ruby_2.3.3_rails522.gemfile} +0 -0
  11. data/gemfiles/{rails522.gemfile.lock → ruby_2.3.3_rails522.gemfile.lock} +4 -4
  12. data/gemfiles/ruby_2.5.3_rails507.gemfile +12 -0
  13. data/gemfiles/ruby_2.5.3_rails507.gemfile.lock +164 -0
  14. data/gemfiles/ruby_2.5.3_rails516.gemfile +12 -0
  15. data/gemfiles/ruby_2.5.3_rails516.gemfile.lock +164 -0
  16. data/gemfiles/ruby_2.5.3_rails521.gemfile +12 -0
  17. data/gemfiles/ruby_2.5.3_rails521.gemfile.lock +172 -0
  18. data/gemfiles/ruby_2.5.3_rails522.gemfile +12 -0
  19. data/gemfiles/ruby_2.5.3_rails522.gemfile.lock +172 -0
  20. data/gemfiles/ruby_2.6.2_rails507.gemfile +12 -0
  21. data/gemfiles/ruby_2.6.2_rails507.gemfile.lock +164 -0
  22. data/gemfiles/ruby_2.6.2_rails516.gemfile +12 -0
  23. data/gemfiles/ruby_2.6.2_rails516.gemfile.lock +164 -0
  24. data/gemfiles/ruby_2.6.2_rails521.gemfile +12 -0
  25. data/gemfiles/ruby_2.6.2_rails521.gemfile.lock +172 -0
  26. data/gemfiles/ruby_2.6.2_rails522.gemfile +12 -0
  27. data/gemfiles/ruby_2.6.2_rails522.gemfile.lock +172 -0
  28. data/lib/declarative_authorization/controller/dsl.rb +3 -3
  29. data/lib/declarative_authorization/version.rb +1 -1
  30. data/log/test.log +29416 -0
  31. data/pkg/ae_declarative_authorization-0.10.0.gem +0 -0
  32. data/test/profiles/access_checking +36 -0
  33. metadata +27 -14
  34. data/gemfiles/rails4252.gemfile +0 -10
  35. data/gemfiles/rails4252.gemfile.lock +0 -126
  36. data/gemfiles/rails4271.gemfile +0 -10
  37. data/gemfiles/rails4271.gemfile.lock +0 -126
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1e57ea74062bb67a47dae14740b92f4c4f291c6
4
- data.tar.gz: d2aa2c95221e0a80ab75d01e5a7814fb0263fe2d
3
+ metadata.gz: a0ec830cacc22dd541280519d48973f4badb9d88
4
+ data.tar.gz: '089be3345bbc9ebe53b8f277a3ec82ebfa0ab789'
5
5
  SHA512:
6
- metadata.gz: d88c8f692dce41b3e0268b7e5c307803d61a34a4335a12d7fff345b3872c52ef4c7d5b9822e6372a7d7718d686b860eecc8319f0576bb3c6356e26b32774349e
7
- data.tar.gz: 5199c79b8d5be5520af54934fdef3706f1e80abea61d40ec7ddf1a26749dfa02012ad30bff66e0866926ed95c8763e0df0d8dab0dc38b9c4c71801f887f3f942
6
+ metadata.gz: d14fafdecc1093d56e1004d8676caf62ab6a8acd98d015ed09fb6c18d32bc32e2ae2d0ec5eef1d166897e15208cec941ebb92a13f00ad4f7ca5886ed66a7c49c
7
+ data.tar.gz: 8e70bfe29899a458c5be5e110499a072abfba03d181c1ef124bd609e8b821a8595c8910c667aafe5fb880c395531121ff5320ae6f5f0f516f7991680f04d55c4
data/Appraisals CHANGED
@@ -1,34 +1,26 @@
1
1
  case RUBY_VERSION
2
2
 
3
- when '2.3.3' then
3
+ when '2.3.3', '2.5.3', '2.6.2' then
4
4
 
5
- appraise 'rails4252' do
6
- gem 'rails', '4.2.5.2'
7
- end
8
-
9
- appraise 'rails4271' do
10
- gem 'rails', '4.2.7.1'
11
- end
12
-
13
- appraise 'rails507' do
5
+ appraise "ruby-#{RUBY_VERSION}-rails507" do
14
6
  gem 'rails', '5.0.7'
15
7
  gem 'grape', '1.1.0'
16
8
  gem 'rails-controller-testing'
17
9
  end
18
10
 
19
- appraise 'rails516' do
11
+ appraise "ruby-#{RUBY_VERSION}-rails516" do
20
12
  gem 'rails', '5.1.6'
21
13
  gem 'grape', '1.2.3'
22
14
  gem 'rails-controller-testing'
23
15
  end
24
16
 
25
- appraise 'rails521' do
17
+ appraise "ruby-#{RUBY_VERSION}-rails521" do
26
18
  gem 'rails', '5.2.1'
27
19
  gem 'grape', '1.2.3'
28
20
  gem 'rails-controller-testing'
29
21
  end
30
22
 
31
- appraise 'rails522' do
23
+ appraise "ruby-#{RUBY_VERSION}-rails522" do
32
24
  gem 'rails', '5.2.2'
33
25
  gem 'grape', '1.2.3'
34
26
  gem 'rails-controller-testing'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ae_declarative_authorization (0.10.0)
4
+ ae_declarative_authorization (0.10.1)
5
5
  blockenspiel (~> 0.5.0)
6
6
  rails (>= 4.2.5.2, < 6)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- ae_declarative_authorization (0.9.2)
4
+ ae_declarative_authorization (0.10.0)
5
5
  blockenspiel (~> 0.5.0)
6
6
  rails (>= 4.2.5.2, < 6)
7
7
 
@@ -58,13 +58,13 @@ GEM
58
58
  builder (3.2.3)
59
59
  coercible (1.0.0)
60
60
  descendants_tracker (~> 0.0.1)
61
- concurrent-ruby (1.0.5)
61
+ concurrent-ruby (1.1.5)
62
62
  crass (1.0.4)
63
63
  descendants_tracker (0.0.4)
64
64
  thread_safe (~> 0.3, >= 0.3.1)
65
65
  equalizer (0.0.11)
66
66
  erubis (2.7.0)
67
- globalid (0.4.1)
67
+ globalid (0.4.2)
68
68
  activesupport (>= 4.2.0)
69
69
  grape (1.1.0)
70
70
  activesupport
@@ -73,28 +73,28 @@ GEM
73
73
  rack (>= 1.3.0)
74
74
  rack-accept
75
75
  virtus (>= 1.0.0)
76
- i18n (1.1.0)
76
+ i18n (1.6.0)
77
77
  concurrent-ruby (~> 1.0)
78
78
  ice_nine (0.11.2)
79
- loofah (2.2.2)
79
+ loofah (2.2.3)
80
80
  crass (~> 1.0.2)
81
81
  nokogiri (>= 1.5.9)
82
- mail (2.7.0)
82
+ mail (2.7.1)
83
83
  mini_mime (>= 0.1.1)
84
84
  metaclass (0.0.4)
85
- method_source (0.9.0)
85
+ method_source (0.9.2)
86
86
  mini_mime (1.0.1)
87
- mini_portile2 (2.3.0)
87
+ mini_portile2 (2.4.0)
88
88
  minitest (5.11.3)
89
- mocha (1.7.0)
89
+ mocha (1.8.0)
90
90
  metaclass (~> 0.0.1)
91
- mustermann (1.0.0)
91
+ mustermann (1.0.3)
92
92
  mustermann-grape (1.0.0)
93
93
  mustermann (~> 1.0.0)
94
94
  nio4r (2.3.1)
95
- nokogiri (1.8.4)
96
- mini_portile2 (~> 2.3.0)
97
- rack (2.0.5)
95
+ nokogiri (1.10.1)
96
+ mini_portile2 (~> 2.4.0)
97
+ rack (2.0.6)
98
98
  rack-accept (0.4.5)
99
99
  rack (>= 0.4)
100
100
  rack-test (0.6.3)
@@ -126,7 +126,7 @@ GEM
126
126
  method_source
127
127
  rake (>= 0.8.7)
128
128
  thor (>= 0.18.1, < 2.0)
129
- rake (12.3.1)
129
+ rake (12.3.2)
130
130
  sprockets (3.7.2)
131
131
  concurrent-ruby (~> 1.0)
132
132
  rack (> 1, < 3)
@@ -135,7 +135,7 @@ GEM
135
135
  activesupport (>= 4.0)
136
136
  sprockets (>= 3.0.0)
137
137
  sqlite3 (1.3.13)
138
- thor (0.20.0)
138
+ thor (0.20.3)
139
139
  thread_safe (0.3.6)
140
140
  tzinfo (1.2.5)
141
141
  thread_safe (~> 0.1)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- ae_declarative_authorization (0.9.2)
4
+ ae_declarative_authorization (0.10.0)
5
5
  blockenspiel (~> 0.5.0)
6
6
  rails (>= 4.2.5.2, < 6)
7
7
 
@@ -58,7 +58,7 @@ GEM
58
58
  builder (3.2.3)
59
59
  coercible (1.0.0)
60
60
  descendants_tracker (~> 0.0.1)
61
- concurrent-ruby (1.1.4)
61
+ concurrent-ruby (1.1.5)
62
62
  crass (1.0.4)
63
63
  descendants_tracker (0.0.4)
64
64
  thread_safe (~> 0.3, >= 0.3.1)
@@ -73,7 +73,7 @@ GEM
73
73
  rack (>= 1.3.0)
74
74
  rack-accept
75
75
  virtus (>= 1.0.0)
76
- i18n (1.5.3)
76
+ i18n (1.6.0)
77
77
  concurrent-ruby (~> 1.0)
78
78
  ice_nine (0.11.2)
79
79
  loofah (2.2.3)
@@ -88,7 +88,7 @@ GEM
88
88
  minitest (5.11.3)
89
89
  mocha (1.8.0)
90
90
  metaclass (~> 0.0.1)
91
- mustermann (1.0.0)
91
+ mustermann (1.0.3)
92
92
  mustermann-grape (1.0.0)
93
93
  mustermann (~> 1.0.0)
94
94
  nio4r (2.3.1)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- ae_declarative_authorization (0.9.2)
4
+ ae_declarative_authorization (0.10.0)
5
5
  blockenspiel (~> 0.5.0)
6
6
  rails (>= 4.2.5.2, < 6)
7
7
 
@@ -62,13 +62,13 @@ GEM
62
62
  builder (3.2.3)
63
63
  coercible (1.0.0)
64
64
  descendants_tracker (~> 0.0.1)
65
- concurrent-ruby (1.0.5)
65
+ concurrent-ruby (1.1.5)
66
66
  crass (1.0.4)
67
67
  descendants_tracker (0.0.4)
68
68
  thread_safe (~> 0.3, >= 0.3.1)
69
69
  equalizer (0.0.11)
70
- erubi (1.7.1)
71
- globalid (0.4.1)
70
+ erubi (1.8.0)
71
+ globalid (0.4.2)
72
72
  activesupport (>= 4.2.0)
73
73
  grape (1.2.3)
74
74
  activesupport
@@ -77,31 +77,31 @@ GEM
77
77
  rack (>= 1.3.0)
78
78
  rack-accept
79
79
  virtus (>= 1.0.0)
80
- i18n (1.1.0)
80
+ i18n (1.6.0)
81
81
  concurrent-ruby (~> 1.0)
82
82
  ice_nine (0.11.2)
83
- loofah (2.2.2)
83
+ loofah (2.2.3)
84
84
  crass (~> 1.0.2)
85
85
  nokogiri (>= 1.5.9)
86
- mail (2.7.0)
86
+ mail (2.7.1)
87
87
  mini_mime (>= 0.1.1)
88
88
  marcel (0.3.3)
89
89
  mimemagic (~> 0.3.2)
90
90
  metaclass (0.0.4)
91
- method_source (0.9.0)
92
- mimemagic (0.3.2)
91
+ method_source (0.9.2)
92
+ mimemagic (0.3.3)
93
93
  mini_mime (1.0.1)
94
- mini_portile2 (2.3.0)
94
+ mini_portile2 (2.4.0)
95
95
  minitest (5.11.3)
96
- mocha (1.7.0)
96
+ mocha (1.8.0)
97
97
  metaclass (~> 0.0.1)
98
- mustermann (1.0.0)
98
+ mustermann (1.0.3)
99
99
  mustermann-grape (1.0.0)
100
100
  mustermann (~> 1.0.0)
101
101
  nio4r (2.3.1)
102
- nokogiri (1.8.4)
103
- mini_portile2 (~> 2.3.0)
104
- rack (2.0.5)
102
+ nokogiri (1.10.1)
103
+ mini_portile2 (~> 2.4.0)
104
+ rack (2.0.6)
105
105
  rack-accept (0.4.5)
106
106
  rack (>= 0.4)
107
107
  rack-test (1.1.0)
@@ -134,7 +134,7 @@ GEM
134
134
  method_source
135
135
  rake (>= 0.8.7)
136
136
  thor (>= 0.19.0, < 2.0)
137
- rake (12.3.1)
137
+ rake (12.3.2)
138
138
  sprockets (3.7.2)
139
139
  concurrent-ruby (~> 1.0)
140
140
  rack (> 1, < 3)
@@ -143,7 +143,7 @@ GEM
143
143
  activesupport (>= 4.0)
144
144
  sprockets (>= 3.0.0)
145
145
  sqlite3 (1.3.13)
146
- thor (0.20.0)
146
+ thor (0.20.3)
147
147
  thread_safe (0.3.6)
148
148
  tzinfo (1.2.5)
149
149
  thread_safe (~> 0.1)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- ae_declarative_authorization (0.9.2)
4
+ ae_declarative_authorization (0.10.0)
5
5
  blockenspiel (~> 0.5.0)
6
6
  rails (>= 4.2.5.2, < 6)
7
7
 
@@ -62,7 +62,7 @@ GEM
62
62
  builder (3.2.3)
63
63
  coercible (1.0.0)
64
64
  descendants_tracker (~> 0.0.1)
65
- concurrent-ruby (1.1.4)
65
+ concurrent-ruby (1.1.5)
66
66
  crass (1.0.4)
67
67
  descendants_tracker (0.0.4)
68
68
  thread_safe (~> 0.3, >= 0.3.1)
@@ -77,7 +77,7 @@ GEM
77
77
  rack (>= 1.3.0)
78
78
  rack-accept
79
79
  virtus (>= 1.0.0)
80
- i18n (1.5.3)
80
+ i18n (1.6.0)
81
81
  concurrent-ruby (~> 1.0)
82
82
  ice_nine (0.11.2)
83
83
  loofah (2.2.3)
@@ -95,7 +95,7 @@ GEM
95
95
  minitest (5.11.3)
96
96
  mocha (1.8.0)
97
97
  metaclass (~> 0.0.1)
98
- mustermann (1.0.0)
98
+ mustermann (1.0.3)
99
99
  mustermann-grape (1.0.0)
100
100
  mustermann (~> 1.0.0)
101
101
  nio4r (2.3.1)
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "appraisal", "~> 2.1"
6
+ gem "mocha", "~> 1.0", require: false
7
+ gem "sqlite3", "~> 1.3.0"
8
+ gem "rails", "5.0.7"
9
+ gem "grape", "1.1.0"
10
+ gem "rails-controller-testing"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,164 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ ae_declarative_authorization (0.10.0)
5
+ blockenspiel (~> 0.5.0)
6
+ rails (>= 4.2.5.2, < 6)
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ actioncable (5.0.7)
12
+ actionpack (= 5.0.7)
13
+ nio4r (>= 1.2, < 3.0)
14
+ websocket-driver (~> 0.6.1)
15
+ actionmailer (5.0.7)
16
+ actionpack (= 5.0.7)
17
+ actionview (= 5.0.7)
18
+ activejob (= 5.0.7)
19
+ mail (~> 2.5, >= 2.5.4)
20
+ rails-dom-testing (~> 2.0)
21
+ actionpack (5.0.7)
22
+ actionview (= 5.0.7)
23
+ activesupport (= 5.0.7)
24
+ rack (~> 2.0)
25
+ rack-test (~> 0.6.3)
26
+ rails-dom-testing (~> 2.0)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
+ actionview (5.0.7)
29
+ activesupport (= 5.0.7)
30
+ builder (~> 3.1)
31
+ erubis (~> 2.7.0)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
+ activejob (5.0.7)
35
+ activesupport (= 5.0.7)
36
+ globalid (>= 0.3.6)
37
+ activemodel (5.0.7)
38
+ activesupport (= 5.0.7)
39
+ activerecord (5.0.7)
40
+ activemodel (= 5.0.7)
41
+ activesupport (= 5.0.7)
42
+ arel (~> 7.0)
43
+ activesupport (5.0.7)
44
+ concurrent-ruby (~> 1.0, >= 1.0.2)
45
+ i18n (>= 0.7, < 2)
46
+ minitest (~> 5.1)
47
+ tzinfo (~> 1.1)
48
+ appraisal (2.2.0)
49
+ bundler
50
+ rake
51
+ thor (>= 0.14.0)
52
+ arel (7.1.4)
53
+ axiom-types (0.1.1)
54
+ descendants_tracker (~> 0.0.4)
55
+ ice_nine (~> 0.11.0)
56
+ thread_safe (~> 0.3, >= 0.3.1)
57
+ blockenspiel (0.5.0)
58
+ builder (3.2.3)
59
+ coercible (1.0.0)
60
+ descendants_tracker (~> 0.0.1)
61
+ concurrent-ruby (1.1.5)
62
+ crass (1.0.4)
63
+ descendants_tracker (0.0.4)
64
+ thread_safe (~> 0.3, >= 0.3.1)
65
+ equalizer (0.0.11)
66
+ erubis (2.7.0)
67
+ globalid (0.4.2)
68
+ activesupport (>= 4.2.0)
69
+ grape (1.1.0)
70
+ activesupport
71
+ builder
72
+ mustermann-grape (~> 1.0.0)
73
+ rack (>= 1.3.0)
74
+ rack-accept
75
+ virtus (>= 1.0.0)
76
+ i18n (1.6.0)
77
+ concurrent-ruby (~> 1.0)
78
+ ice_nine (0.11.2)
79
+ loofah (2.2.3)
80
+ crass (~> 1.0.2)
81
+ nokogiri (>= 1.5.9)
82
+ mail (2.7.1)
83
+ mini_mime (>= 0.1.1)
84
+ metaclass (0.0.4)
85
+ method_source (0.9.2)
86
+ mini_mime (1.0.1)
87
+ mini_portile2 (2.4.0)
88
+ minitest (5.11.3)
89
+ mocha (1.8.0)
90
+ metaclass (~> 0.0.1)
91
+ mustermann (1.0.3)
92
+ mustermann-grape (1.0.0)
93
+ mustermann (~> 1.0.0)
94
+ nio4r (2.3.1)
95
+ nokogiri (1.10.2)
96
+ mini_portile2 (~> 2.4.0)
97
+ rack (2.0.7)
98
+ rack-accept (0.4.5)
99
+ rack (>= 0.4)
100
+ rack-test (0.6.3)
101
+ rack (>= 1.0)
102
+ rails (5.0.7)
103
+ actioncable (= 5.0.7)
104
+ actionmailer (= 5.0.7)
105
+ actionpack (= 5.0.7)
106
+ actionview (= 5.0.7)
107
+ activejob (= 5.0.7)
108
+ activemodel (= 5.0.7)
109
+ activerecord (= 5.0.7)
110
+ activesupport (= 5.0.7)
111
+ bundler (>= 1.3.0)
112
+ railties (= 5.0.7)
113
+ sprockets-rails (>= 2.0.0)
114
+ rails-controller-testing (1.0.4)
115
+ actionpack (>= 5.0.1.x)
116
+ actionview (>= 5.0.1.x)
117
+ activesupport (>= 5.0.1.x)
118
+ rails-dom-testing (2.0.3)
119
+ activesupport (>= 4.2.0)
120
+ nokogiri (>= 1.6)
121
+ rails-html-sanitizer (1.0.4)
122
+ loofah (~> 2.2, >= 2.2.2)
123
+ railties (5.0.7)
124
+ actionpack (= 5.0.7)
125
+ activesupport (= 5.0.7)
126
+ method_source
127
+ rake (>= 0.8.7)
128
+ thor (>= 0.18.1, < 2.0)
129
+ rake (12.3.2)
130
+ sprockets (3.7.2)
131
+ concurrent-ruby (~> 1.0)
132
+ rack (> 1, < 3)
133
+ sprockets-rails (3.2.1)
134
+ actionpack (>= 4.0)
135
+ activesupport (>= 4.0)
136
+ sprockets (>= 3.0.0)
137
+ sqlite3 (1.3.13)
138
+ thor (0.20.3)
139
+ thread_safe (0.3.6)
140
+ tzinfo (1.2.5)
141
+ thread_safe (~> 0.1)
142
+ virtus (1.0.5)
143
+ axiom-types (~> 0.1)
144
+ coercible (~> 1.0)
145
+ descendants_tracker (~> 0.0, >= 0.0.3)
146
+ equalizer (~> 0.0, >= 0.0.9)
147
+ websocket-driver (0.6.5)
148
+ websocket-extensions (>= 0.1.0)
149
+ websocket-extensions (0.1.3)
150
+
151
+ PLATFORMS
152
+ ruby
153
+
154
+ DEPENDENCIES
155
+ ae_declarative_authorization!
156
+ appraisal (~> 2.1)
157
+ grape (= 1.1.0)
158
+ mocha (~> 1.0)
159
+ rails (= 5.0.7)
160
+ rails-controller-testing
161
+ sqlite3 (~> 1.3.0)
162
+
163
+ BUNDLED WITH
164
+ 1.16.6