sinbook 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/sinbook.rb +1 -1
  2. data/sinbook.gemspec +2 -2
  3. metadata +2 -2
@@ -93,7 +93,7 @@ module Sinatra
93
93
  def valid?
94
94
  if app.params['fb_sig'] # canvas/iframe mode
95
95
  prefix = 'fb_sig'
96
- vars = app.params
96
+ vars = app.request.POST[prefix] ? app.request.POST : app.request.GET
97
97
  elsif app.request.cookies[api_key] # fbconnect mode
98
98
  prefix = api_key
99
99
  vars = app.request.cookies
@@ -1,7 +1,7 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'sinbook'
3
- s.version = '0.1.7'
4
- s.date = '2009-12-26'
3
+ s.version = '0.1.8'
4
+ s.date = '2009-12-27'
5
5
  s.summary = 'simple sinatra facebook extension in 300 lines of ruby'
6
6
  s.description = 'A full-featured facebook extension for the sinatra webapp framework'
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aman Gupta
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-26 00:00:00 -08:00
12
+ date: 2009-12-27 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency