rack-oauth_proxy 0.0.2 → 0.0.3

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: 03b5738980f0775d20b8505e8b56f8ece23a8658
4
- data.tar.gz: 070e7ee990a8a7d5c154051b13822bda04b2efcc
3
+ metadata.gz: b1ed93602b7c511210f8a959e0ff4460bb27bc30
4
+ data.tar.gz: 0fa3909de26d926aed9852cac86e0edd73443e54
5
5
  SHA512:
6
- metadata.gz: f27d0b1707012cacf1fd3c5497436fca3db68136b56b3b2ac51103236460f1fbc3619a76320c77e3f7c6f4323ecf8e72b00480db3aeba8461ad5f562759f15a3
7
- data.tar.gz: c2c9b6324fefa1215b938ce067cffb32f11c92ff6cec6bdc70c4df1d9fd17f063ab906b0644e5dcfba275c15e0f7368952f477b5601eed72bad0bb8f2278b7b9
6
+ metadata.gz: c51c3a74817b05ca080bb42657da82bc217580f1fe6b7c2f03eb7ea4ffcfac2965708033ce1663c84e712064debcfe8338ade1039e0bdc5b6da6a9a984683475
7
+ data.tar.gz: 4f1a0d043ebc144ae09c83f7cee454c8c24e480cabfee93ccbe4c066cf206ccccf51c562301d11dff4024af00c35fabecbeed4171345f7b39ebfddd585f42c8d
@@ -1,3 +1,6 @@
1
+ ## 0.0.3
2
+ * Fix :bug: of `?access_token=...` handling
3
+
1
4
  ## 0.0.2
2
5
  * Support HTTPS request
3
6
 
@@ -13,8 +13,8 @@ module Rack
13
13
 
14
14
  def has_any_valid_credentials?
15
15
  authorization.present? ||
16
- rack_request.params[:access_token].present? ||
17
- rack_request.params[:bearer_token].present?
16
+ rack_request.params["access_token"].present? ||
17
+ rack_request.params["bearer_token"].present?
18
18
  end
19
19
 
20
20
  def rack_request
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class OauthProxy
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-oauth_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-16 00:00:00.000000000 Z
11
+ date: 2014-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport