devise_capturable 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/assets/javascripts/devise_capturable.js +3 -2
- data/lib/devise_capturable/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 644bbd9ac34e9e0e96685a4626fd1d680955761f
|
4
|
+
data.tar.gz: 37700b34d7429bd51ed96f1c3fd8f48b069c5a2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f910d625c110ec01d7cfd635b7b629025f961ef6b8202654e9817f1f78c7ab336a658468de49198f59736adf634d4eb314fbe45136d44e2409de46c0e7d69b18
|
7
|
+
data.tar.gz: 878d25efc4c8410bb944e91490542514aaa41d57bfa24354a47a2647001731f798e3f4e246625fa700c1d2517a58cb70fb4bab3d8f17bf3496e7c7825f20e83a
|
data/README.md
CHANGED
@@ -188,7 +188,7 @@ Finally, I can also provide an optional path to send the Janrain `authorizationC
|
|
188
188
|
|
189
189
|
```erb
|
190
190
|
janrain.events.onCaptureRegistrationSuccess.addHandler(function(result) {
|
191
|
-
afterJanrainLogin(result, '<%= new_admin_session_path %>');
|
191
|
+
afterJanrainLogin(result, '<%= new_admin_session_path %>', "get");
|
192
192
|
});
|
193
193
|
```
|
194
194
|
|
@@ -1,9 +1,10 @@
|
|
1
|
-
function afterJanrainLogin(result, path)
|
1
|
+
function afterJanrainLogin(result, path, method)
|
2
2
|
{
|
3
3
|
path = path || "/users/sign_in";
|
4
|
+
method = method || "post"
|
4
5
|
|
5
6
|
// create form
|
6
|
-
var form = $('<form accept-charset="UTF-8" action="' + path + '" method="
|
7
|
+
var form = $('<form accept-charset="UTF-8" action="' + path + '" method="' + method +'" id="capturable-inject-form"></form>')
|
7
8
|
|
8
9
|
// create hidden div in form
|
9
10
|
var hidden_els = $('<div style="margin:0;padding:0;display:inline"></div>')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_capturable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rune Skjoldborg Madsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|