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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b49455bd0f488a16a7644a83d79f3c4cbb5d71b6
4
- data.tar.gz: c778c54e88438ef63194d90304860710026bc403
3
+ metadata.gz: 7b2248d0ddeb7dc668406ecea9c532907a0d74d1
4
+ data.tar.gz: ebe408428baf8791ec128a2cf0619bbd4a9be649
5
5
  SHA512:
6
- metadata.gz: 9cea20d8b86972656d086f046ddc8d0248215116200a3bbf2bb5b2b916919bd973b90bc8781325ffbb51e36079ad77396711508c44824ec252a76ae2223211c9
7
- data.tar.gz: 7d12fc628282bc7fb2910b0148c55e0a98186ca423b6bf34c2bea4ae8f33e59b5ee89df0755ce7c1c46ba8869b3bee9e368de09f3e06117fd02befc38c130c8b
6
+ metadata.gz: bfcc33168644143623f1bfe2ad4e2c6cba31a859e7ee3000de551bf77029a89eea7a5931c2161749a01910ba7d86d6c14ba84efcdd0193995010f6c853d65228
7
+ data.tar.gz: 839cccdb099017c71d61d0a3c123e5a2523b48025d38b8d83209269a16804ba3e35b6466c2379ace31ca0ab6117058e4e0eac0eed2109914a2fbc9a8d4289c63
@@ -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.symbolize_keys!
23
+ self.attributes = Hash[attributes.map { |k, v| [k.to_sym, v] }]
23
24
  end
24
25
  # rubocop:enable MethodLength
25
26
 
@@ -1,3 +1,3 @@
1
1
  module Fridge
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
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.0
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-28 00:00:00.000000000 Z
11
+ date: 2014-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_config