remotty-rails 0.0.15 → 0.0.16

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: 98b8b68b3c48d957040c1c9c46f7b4faf26afcca
4
- data.tar.gz: fcbde16f4d2efb79865ad55ef85c1937d430c756
3
+ metadata.gz: e4625b903b25f73e34fb29955c89a0a9b4b314e0
4
+ data.tar.gz: 591af7af1652d1395efe12be97de2cd300320656
5
5
  SHA512:
6
- metadata.gz: b4e80087fdd62933fb130a0373dc9d606901ea3e056adcf6307411cd5efdcbd8f4030b51c8c119735e20f6a9ff38042252b85826a29852d68c36c9170f35d89b
7
- data.tar.gz: 53fb3ea646979270fba856084cd39744b7c6175d4e7fb36b4dbbb7e9a6677c48fabc8d57bb4ae9894e36fd1d36ba78cea38072d0888a73815ededb3cd393593f
6
+ metadata.gz: 789a0af50186438202fb84847d0d78b6927c96856ebb27da28c2a35a953565ead1a4868e6f233712ccb1ba1c616bf6f81f99e3b5d0331e3d44257024f6659ada
7
+ data.tar.gz: 61c983330c0e4db52bbf1b315100b824fd3138d88a31e50454f3e0505c78e43f9f68fa05263e92fb0a877b68a3a363c61917108c5c06290248780ff6405339f6
@@ -46,7 +46,8 @@ class Remotty::Users::OmniauthCallbacksController < Devise::OmniauthCallbacksCon
46
46
  @ret[:error][:data] = user if user
47
47
  end
48
48
 
49
- render :inline => "<script>window.opener.oauthCallback(#{@ret.to_json}); window.close();</script>"
49
+ render :inline => "<script>window.opener.oauthCallback(#{@ret.to_json}); window.close();</script>",
50
+ :content_type => 'text/html'
50
51
  end
51
52
 
52
53
  def failure
@@ -57,7 +58,8 @@ class Remotty::Users::OmniauthCallbacksController < Devise::OmniauthCallbacksCon
57
58
  }
58
59
  }
59
60
 
60
- render :inline => "<script>window.opener.oauthCallback(#{@ret.to_json}); window.close();</script>"
61
+ render :inline => "<script>window.opener.oauthCallback(#{@ret.to_json}); window.close();</script>",
62
+ :content_type => 'text/html'
61
63
  end
62
64
 
63
65
  alias_method :facebook, :all
@@ -1,5 +1,5 @@
1
1
  module Remotty
2
2
  module Rails
3
- VERSION = '0.0.15'
3
+ VERSION = '0.0.16'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remotty-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chungsub Kim
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-05 00:00:00.000000000 Z
12
+ date: 2014-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack-cors
@@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
252
  version: '0'
253
253
  requirements: []
254
254
  rubyforge_project:
255
- rubygems_version: 2.2.2
255
+ rubygems_version: 2.4.1
256
256
  signing_key:
257
257
  specification_version: 4
258
258
  summary: rails base package by remotty