secure_escrow 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,15 +53,18 @@
53
53
 
54
54
  var formSubmitSelector = 'form';
55
55
 
56
- $(document.body).on('submit.secure_escrow', 'form', function(event) {
57
- var form = $(this),
58
- escrow = form.data('escrow'),
59
- isEscrow = escrow !== undefined;
60
-
61
- if (isEscrow && 'iframe' === escrow) {
62
- handleRemoteEscrowSubmission(form);
63
- }
56
+ $(function() {
57
+ $(document.body).on('submit.secure_escrow', 'form',
58
+ function(event) {
59
+ var form = $(this),
60
+ escrow = form.data('escrow'),
61
+ isEscrow = escrow !== undefined;
64
62
 
63
+ if (isEscrow && 'iframe' === escrow) {
64
+ handleRemoteEscrowSubmission(form);
65
+ }
66
+ }
67
+ );
65
68
  });
66
69
 
67
70
  }(jQuery));
@@ -1,3 +1,3 @@
1
1
  module SecureEscrow
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secure_escrow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70188511603340 !ruby/object:Gem::Requirement
16
+ requirement: &70160254229060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70188511603340
24
+ version_requirements: *70160254229060
25
25
  description: SecureEscrow provides a content proxy for Rails applications allowing
26
26
  POSTing to secure actions from insecure domains without full-page refreshes
27
27
  email: