plataforma_social 0.0.29 → 0.0.30

Sign up to get free protection for your applications and to get access to all the features.
@@ -87,7 +87,9 @@ module PlataformaSocial
87
87
  end
88
88
 
89
89
  def load_oauth
90
- if request.present?
90
+ if params[:callback_url].present?
91
+ callback_url = params[:callback_url]
92
+ elsif request.present?
91
93
  callback_url = "#{request.protocol}#{request.host_with_port}#{request.fullpath}"
92
94
  else
93
95
  callback_url = PlataformaSocial.facebook_callback_url.to_s
@@ -1,3 +1,3 @@
1
1
  module PlataformaSocial
2
- VERSION = "0.0.29"
2
+ VERSION = "0.0.30"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plataforma_social
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-04 00:00:00.000000000 Z
12
+ date: 2013-12-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano