mjfreshyfresh-mini_fb 0.1.14 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mini_fb.rb +1 -1
  2. metadata +2 -2
data/lib/mini_fb.rb CHANGED
@@ -156,7 +156,7 @@ module MiniFB
156
156
 
157
157
  # Hash with secret
158
158
  arg_string = String.new
159
- # todo: convert symbols to strings, symbols break the next line
159
+ kwargs.each { |k,v| (kwargs[k.to_s] = v ; kwargs.delete(k)) if k.is_a? Symbol }
160
160
  kwargs.sort.each { |kv| arg_string << kv[0] << "=" << kv[1].to_s }
161
161
  kwargs["sig"] = Digest::MD5.hexdigest( arg_string + secret.value.call )
162
162
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mjfreshyfresh-mini_fb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2010-01-21 00:00:00 -08:00
13
+ date: 2010-01-29 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies: []
16
16