authlete 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,9 +15,6 @@
15
15
  # limitations under the License.
16
16
 
17
17
 
18
- require 'base64'
19
-
20
-
21
18
  module Authlete
22
19
  module Utility
23
20
  def extract_value(hash, key)
@@ -39,7 +36,7 @@ module Authlete
39
36
  header = request.env['HTTP_AUTHORIZATION']
40
37
 
41
38
  if /^Bearer[ ]+(.+)/i =~ header
42
- return Base64.decode64($1)
39
+ return $1
43
40
  end
44
41
 
45
42
  return request['access_token']
@@ -1,3 +1,3 @@
1
1
  module Authlete
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlete
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-22 00:00:00.000000000 Z
12
+ date: 2014-11-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client