rails-auth 2.1.3 → 2.1.4
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/CHANGES.md +6 -0
- data/lib/rails/auth/config_builder.rb +1 -1
- data/lib/rails/auth/credentials.rb +1 -1
- data/lib/rails/auth/helpers.rb +1 -1
- data/lib/rails/auth/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d86f415a45113f3337b8446a3b5b271682c6a4d
|
4
|
+
data.tar.gz: 79c560e82cb196908a94b836697398af20a04ad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b030ade8c37b4f91fba160037f8f951ce8729884dc18fd1d6d038464b7b8a9af10bb38934d1d1f4bdf8672ef66425555abf49e12af8c603e2bf80c5dbc7e03c6
|
7
|
+
data.tar.gz: 0c0a1c9edd16819f0ab1ed10b5e98d734193fb14151586e2ab752088c706074fdb3d98cfa027635be16dc79bb7d3ec94c4f2e0be3de3f0252a3c0d0eb1fffab9
|
data/CHANGES.md
CHANGED
@@ -11,7 +11,7 @@ module Rails
|
|
11
11
|
matchers: matchers
|
12
12
|
)
|
13
13
|
|
14
|
-
config.middleware.use Rails::Auth::ACL::Middleware, acl: config.x.acl
|
14
|
+
config.middleware.use Rails::Auth::ACL::Middleware, acl: config.x.rails_auth.acl
|
15
15
|
end
|
16
16
|
|
17
17
|
# Development configuration (i.e. config/environments/development.rb)
|
@@ -10,7 +10,7 @@ module Rails
|
|
10
10
|
extend Forwardable
|
11
11
|
include Enumerable
|
12
12
|
|
13
|
-
def_delegators :@credentials, :fetch, :empty?, :key?, :each, :to_hash
|
13
|
+
def_delegators :@credentials, :fetch, :empty?, :key?, :each, :to_hash, :values
|
14
14
|
|
15
15
|
def self.from_rack_env(env)
|
16
16
|
new(env.fetch(Rails::Auth::Env::CREDENTIALS_ENV_KEY, {}))
|
data/lib/rails/auth/helpers.rb
CHANGED
@@ -24,7 +24,7 @@ module Rails
|
|
24
24
|
|
25
25
|
# Mark what authorized the request in the Rack environment
|
26
26
|
#
|
27
|
-
# @param [Hash] :
|
27
|
+
# @param [Hash] :rack_env Rack environment
|
28
28
|
# @param [String] :allowed_by what allowed this request
|
29
29
|
def set_allowed_by(rack_env, allowed_by)
|
30
30
|
Env.new(rack_env).tap do |env|
|
data/lib/rails/auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.4.8
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Modular resource-oriented authentication and authorization for Rails/Rack
|