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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c2e6354ce81c7a731c46a10e0edd91c685f13d3
4
- data.tar.gz: 0300b9cf964ea44056ce82053d5bf02af00c15d6
3
+ metadata.gz: da6c574a7da6d0ff336dcfc7e1df19c0b36837b3
4
+ data.tar.gz: 70af161a7da83449c0fdad2241d3d58f14034f61
5
5
  SHA512:
6
- metadata.gz: 5d51fd44281f27481049a5a0b960c0c24db85f7c0f699d4c41a7b39932f205bfbc1d7aa66f4f2dc8fc9e326e3607760ee99673ce87dbb0c52fe3ec1408eda816
7
- data.tar.gz: 212d42f2bf85cac32982e732c23e7d310ed2def34d800f5486b8f64f8b9f7f5823c1a18333df2c64eec21df8479564e72c4baaf5a94ffa2215c518823bfcf4b4
6
+ metadata.gz: 35896a579804e37dc684347fafcc66771905aee48e2dc104fad8669a2c6410a6954b597c419b54126f51cdc80c1d5a8baf3108e69712341c58b26a454f2aebf7
7
+ data.tar.gz: b4268f18dd1262ead63e31c4b7330d1aed2a7e229aacc30179bf80a969a7729c870465cdaaa546a67b609e26b2fd0c7d42a9229ec2e142679219a37e7eb921c8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 0.5.1
2
+
3
+ Fixed a bug where I forgot to check to see if a deprecated option was
4
+ used before emitting a warning (#36).
5
+
1
6
  # 0.5.0
2
7
 
3
8
  Adds `allow_if` option, and deprecates `herokai_only` (#35). Thanks
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.0
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-04 00:00:00.000000000 Z
11
+ date: 2014-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-heroku