fridge 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fridge/access_token.rb +2 -1
- data/lib/fridge/version.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: 7b2248d0ddeb7dc668406ecea9c532907a0d74d1
|
4
|
+
data.tar.gz: ebe408428baf8791ec128a2cf0619bbd4a9be649
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfcc33168644143623f1bfe2ad4e2c6cba31a859e7ee3000de551bf77029a89eea7a5931c2161749a01910ba7d86d6c14ba84efcdd0193995010f6c853d65228
|
7
|
+
data.tar.gz: 839cccdb099017c71d61d0a3c123e5a2523b48025d38b8d83209269a16804ba3e35b6466c2379ace31ca0ab6117058e4e0eac0eed2109914a2fbc9a8d4289c63
|
data/lib/fridge/access_token.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'jwt'
|
2
|
+
require 'active_support'
|
2
3
|
|
3
4
|
module Fridge
|
4
5
|
class AccessToken
|
@@ -19,7 +20,7 @@ module Fridge
|
|
19
20
|
send "#{key}=", options.delete(key)
|
20
21
|
end
|
21
22
|
self.attributes = options.reject { |k, v| v.nil? }
|
22
|
-
attributes.
|
23
|
+
self.attributes = Hash[attributes.map { |k, v| [k.to_sym, v] }]
|
23
24
|
end
|
24
25
|
# rubocop:enable MethodLength
|
25
26
|
|
data/lib/fridge/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fridge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02
|
11
|
+
date: 2014-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_config
|