heroku-bouncer 0.5.0 → 0.5.1
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/CHANGELOG.md +5 -0
- data/README.md +0 -10
- data/lib/heroku/bouncer/middleware.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da6c574a7da6d0ff336dcfc7e1df19c0b36837b3
|
4
|
+
data.tar.gz: 70af161a7da83449c0fdad2241d3d58f14034f61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35896a579804e37dc684347fafcc66771905aee48e2dc104fad8669a2c6410a6954b597c419b54126f51cdc80c1d5a8baf3108e69712341c58b26a454f2aebf7
|
7
|
+
data.tar.gz: b4268f18dd1262ead63e31c4b7330d1aed2a7e229aacc30179bf80a969a7729c870465cdaaa546a67b609e26b2fd0c7d42a9229ec2e142679219a37e7eb921c8
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -163,16 +163,6 @@ appropriate, or `/auth/logout` if you only wish to logout of your app.
|
|
163
163
|
The latter will redirect to `/`, which may result is the user being
|
164
164
|
logging in again.
|
165
165
|
|
166
|
-
## Conditionally enable the middleware
|
167
|
-
|
168
|
-
> Don't want to OAuth on every request? Use a middleware to conditionally
|
169
|
-
> enable this middleware, like [Rack::Builder][].
|
170
|
-
> Alternatively, [use inheritance to extend the middleware to act any way
|
171
|
-
> you like][inheritance].
|
172
|
-
|
173
|
-
Due to changes in how the middleware stack is built, this is not trivial
|
174
|
-
in the 0.4.x releases.
|
175
|
-
|
176
166
|
## Security Model: A Tale of Three Secrets
|
177
167
|
|
178
168
|
There are three secrets in use:
|
@@ -172,7 +172,7 @@ private
|
|
172
172
|
end
|
173
173
|
|
174
174
|
def extract_deprecated_option(warning, options, option, default = nil)
|
175
|
-
$stderr.puts "[warn] heroku-bouncer: `#{option}` option is deprecated: #{warning}"
|
175
|
+
$stderr.puts "[warn] heroku-bouncer: `#{option}` option is deprecated: #{warning}" if options.has_key?(option)
|
176
176
|
extract_option(options, option, default)
|
177
177
|
end
|
178
178
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku-bouncer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Dance
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-heroku
|