remotty-rails 0.1.0 → 0.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f6ccd78f35337a9c3c3d792fdabde36039f5d6f
|
4
|
+
data.tar.gz: c7843836c41da3fe9ada856e5251fde05f869302
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 605523b11aa7f6db42d58e2e4b704b53aa3f5ed2fa1f2a3ede9677e0d7a278b28e4fb89a61d06d3ff78256ab5a321b2239d2a3271a99695e1c42f93f16027e79
|
7
|
+
data.tar.gz: 9d79cce96ee058f90a70b09eefe81f727075e8a6871b6696708c32ad7634fdac92e1c94300ec470a3e6905aeff93fd254ba4b575d1196b4b505eadd800f55a6b
|
data/CHANGELOG.md
CHANGED
@@ -46,7 +46,7 @@ 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()
|
49
|
+
render :inline => "<script>(window.opener || window).oauthCallback(#{@ret.to_json}); if(window.opener) { window.close(); }</script>",
|
50
50
|
:content_type => 'text/html'
|
51
51
|
end
|
52
52
|
|
@@ -58,7 +58,7 @@ class Remotty::Users::OmniauthCallbacksController < Devise::OmniauthCallbacksCon
|
|
58
58
|
}
|
59
59
|
}
|
60
60
|
|
61
|
-
render :inline => "<script>window.opener.oauthCallback(#{@ret.to_json}); window.close()
|
61
|
+
render :inline => "<script>(window.opener || window).oauthCallback(#{@ret.to_json}); if(window.opener) { window.close(); }</script>",
|
62
62
|
:content_type => 'text/html'
|
63
63
|
end
|
64
64
|
|
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.1.
|
4
|
+
version: 0.1.1
|
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:
|
12
|
+
date: 2015-05-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack-cors
|
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
253
|
version: '0'
|
254
254
|
requirements: []
|
255
255
|
rubyforge_project:
|
256
|
-
rubygems_version: 2.4.
|
256
|
+
rubygems_version: 2.4.6
|
257
257
|
signing_key:
|
258
258
|
specification_version: 4
|
259
259
|
summary: rails base package by remotty
|