facebooker 1.0.72 → 1.0.73

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,11 +44,7 @@ module ::ActionController
44
44
 
45
45
  def rewrite_url_with_facebooker(*args)
46
46
  options = args.first.is_a?(Hash) ? args.first : args.last
47
- if Rails.version >= '2.3.8'
48
- is_link_to_canvas = @request.env["REQUEST_METHOD"] == "POST" && link_to_canvas?(@request.request_parameters, options)
49
- else
50
- is_link_to_canvas = link_to_canvas?(@request.request_parameters, options)
51
- end
47
+ is_link_to_canvas = link_to_canvas?(@request.request_parameters, options)
52
48
  if is_link_to_canvas && !options.has_key?(:host)
53
49
  options[:host] = Facebooker.canvas_server_base
54
50
  end
@@ -2,7 +2,7 @@ module Facebooker #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 72
5
+ TINY = 73
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facebooker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.72
4
+ version: 1.0.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Fowler
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-23 00:00:00 -04:00
17
+ date: 2010-06-24 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency