express_access 1.0.0.a → 1.0.0.b

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
  SHA1:
3
- metadata.gz: 69226d8e98c1c6312546082c4681bfe66a731c49
4
- data.tar.gz: 6bdd3bdfc256a6ff39798456ba22eabd48e8740c
3
+ metadata.gz: 2adbf3419c216da9f54ef73b89ce64a55c3ab35f
4
+ data.tar.gz: 91b23a600add476280505d796551ca3f125be17f
5
5
  SHA512:
6
- metadata.gz: 8c59c6da7fa8c8c8e1a9c5f3f5fae02821ade84a5a899f60d9ce057eb838c11030c2916567a939bde579aaf497a8d3a5ea9d43722b29ecbf70f344d038ef1e22
7
- data.tar.gz: 1ec3617f42dfeba476104f84abc0e754253d30132fe56f2e562a6044959ae89af075ee740f8c9081f62502903b70806fd53620e19654d5b0c829f58aa5160bf6
6
+ metadata.gz: c64f424adcf43b152aee401f5cb525c5dadeb0711f429180f22f7744020c5de8f38023100737893115e88d4cbdc65f184659be0977a9e4cad51fb8e581143d6e
7
+ data.tar.gz: 16cbc14c848cc036a8dca3be332f4c6e7cdef8e631cac8231941041d9d15fb51a441310f22a75a2edc8ffa63bdb25350f7dc13f2333af9c74b8229be6c9b9542
@@ -23,7 +23,7 @@ module ExpressAccess
23
23
  def self.initialize_filter!
24
24
  unless ActionController::Base.method_defined? 'access_authorization_failed!'
25
25
  ActionController::Base.class_eval do
26
- before_filter ExpressAccess::AuthorizationFilter
26
+ before_action ExpressAccess::AuthorizationFilter
27
27
 
28
28
  def access_authorization_failed!
29
29
  render :not_authorized, body: "Not authorized"
@@ -1,3 +1,3 @@
1
1
  module ExpressAccess
2
- VERSION = "1.0.0.a"
2
+ VERSION = "1.0.0.b"
3
3
  end
metadata CHANGED
@@ -1,153 +1,153 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: express_access
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.a
4
+ version: 1.0.0.b
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Talcott Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-07 00:00:00.000000000 Z
11
+ date: 2017-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: express_admin
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 2.0.0.a
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.0.0.a
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: request_store
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.3'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: devise
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.5'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.5'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: pry
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: better_errors
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '2.1'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '2.1'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: binding_of_caller
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: minitest-rg
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: '5.1'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '5.1'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: minitest-line
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  description: Gain fined tuned control over what users are permitted to see and do
@@ -158,12 +158,14 @@ executables: []
158
158
  extensions: []
159
159
  extra_rdoc_files: []
160
160
  files:
161
+ - README.md
162
+ - Rakefile
161
163
  - app/assets/javascripts/express_access/admin.js
164
+ - app/assets/stylesheets/express_access.css
162
165
  - app/assets/stylesheets/express_access/admin.css
163
166
  - app/assets/stylesheets/express_access/application.css
164
167
  - app/assets/stylesheets/express_access/main.sass
165
168
  - app/assets/stylesheets/express_access/sections/_role_dashboard.sass
166
- - app/assets/stylesheets/express_access.css
167
169
  - app/controllers/express_access/permissions_controller.rb
168
170
  - app/controllers/express_access/roles_controller.rb
169
171
  - app/controllers/express_access/routes_controller.rb
@@ -198,18 +200,18 @@ files:
198
200
  - db/migrate/20150609124815_add_description_to_role.rb
199
201
  - db/migrate/20150914023030_create_express_access_audit_logs.rb
200
202
  - db/migrate/20150921063153_add_after_sign_in_path_to_role.rb
203
+ - lib/express_access.rb
201
204
  - lib/express_access/after_sign_in_filter.rb
202
205
  - lib/express_access/authorization_filter.rb
203
206
  - lib/express_access/engine.rb
204
207
  - lib/express_access/route.rb
205
208
  - lib/express_access/user.rb
206
209
  - lib/express_access/version.rb
207
- - lib/express_access.rb
208
- - lib/generators/express_access/install/install_generator.rb
209
210
  - lib/generators/express_access/install/USAGE
211
+ - lib/generators/express_access/install/install_generator.rb
210
212
  - lib/tasks/express_access_tasks.rake
211
- - Rakefile
212
- - README.md
213
+ - test/dummy/README.rdoc
214
+ - test/dummy/Rakefile
213
215
  - test/dummy/app/assets/javascripts/application.js
214
216
  - test/dummy/app/assets/stylesheets/application.css
215
217
  - test/dummy/app/controllers/application_controller.rb
@@ -221,6 +223,7 @@ files:
221
223
  - test/dummy/bin/bundle
222
224
  - test/dummy/bin/rails
223
225
  - test/dummy/bin/rake
226
+ - test/dummy/config.ru
224
227
  - test/dummy/config/application.rb
225
228
  - test/dummy/config/boot.rb
226
229
  - test/dummy/config/database.yml
@@ -241,15 +244,13 @@ files:
241
244
  - test/dummy/config/locales/en.yml
242
245
  - test/dummy/config/routes.rb
243
246
  - test/dummy/config/secrets.yml
244
- - test/dummy/config.ru
245
247
  - test/dummy/db/migrate/20150525001419_devise_create_users.rb
246
248
  - test/dummy/db/schema.rb
249
+ - test/dummy/db/test.sqlite3
247
250
  - test/dummy/public/404.html
248
251
  - test/dummy/public/422.html
249
252
  - test/dummy/public/500.html
250
253
  - test/dummy/public/favicon.ico
251
- - test/dummy/Rakefile
252
- - test/dummy/README.rdoc
253
254
  - test/dummy/test/fixtures/express_access/permissions.yml
254
255
  - test/dummy/test/fixtures/express_access/role_permissions.yml
255
256
  - test/dummy/test/fixtures/express_access/roles.yml
@@ -289,17 +290,17 @@ require_paths:
289
290
  - lib
290
291
  required_ruby_version: !ruby/object:Gem::Requirement
291
292
  requirements:
292
- - - '>='
293
+ - - ">="
293
294
  - !ruby/object:Gem::Version
294
295
  version: '0'
295
296
  required_rubygems_version: !ruby/object:Gem::Requirement
296
297
  requirements:
297
- - - '>'
298
+ - - ">"
298
299
  - !ruby/object:Gem::Version
299
300
  version: 1.3.1
300
301
  requirements: []
301
302
  rubyforge_project:
302
- rubygems_version: 2.0.14.1
303
+ rubygems_version: 2.4.7
303
304
  signing_key:
304
305
  specification_version: 4
305
306
  summary: Role Based Access Control for AppExpress applications.
@@ -338,6 +339,7 @@ test_files:
338
339
  - test/dummy/config.ru
339
340
  - test/dummy/db/migrate/20150525001419_devise_create_users.rb
340
341
  - test/dummy/db/schema.rb
342
+ - test/dummy/db/test.sqlite3
341
343
  - test/dummy/public/404.html
342
344
  - test/dummy/public/422.html
343
345
  - test/dummy/public/500.html