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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37ba956b88f06cc8aeadba6756130b152c9ff553
4
- data.tar.gz: 7e4e662d80c7419faa69cbc27b1502a06bd9e9e5
3
+ metadata.gz: 644bbd9ac34e9e0e96685a4626fd1d680955761f
4
+ data.tar.gz: 37700b34d7429bd51ed96f1c3fd8f48b069c5a2a
5
5
  SHA512:
6
- metadata.gz: ab904609d00989eec21f9ec29abe896329b8d0a743f838c45308c5c891b9320bf0f6c6c1f4a93250dbbd1a39dde6b84580bb9178ceb976450f3719acbbcd3863
7
- data.tar.gz: 9dbf84aa409a29aa4501e2d49310fc029014a25030a80314fed00b24a94f578e9f0b9dafe195e3d1847d757db72b1fe5df7a6094066f72bb02d02ee5dbbf5ab9
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="post" id="capturable-inject-form"></form>')
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>')
@@ -1,5 +1,5 @@
1
1
  module Devise
2
2
  module Capturable
3
- VERSION = "0.0.10"
3
+ VERSION = "0.0.11"
4
4
  end
5
5
  end
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.10
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-03 00:00:00.000000000 Z
11
+ date: 2014-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty