data-confirm-modal 1.6.0 → 1.6.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: 499d44b1254e1733f2c500c502ec93ebaeb2019c
4
- data.tar.gz: 40188e1811123f215a49d6e9ab5b1092605e0ccb
3
+ metadata.gz: 8e43b456cdb22c7ec4cb17bf6d2de3ba2d6cc98c
4
+ data.tar.gz: 29c97b739e4923291eb10c5a64ec7aa31409fc05
5
5
  SHA512:
6
- metadata.gz: 06ff311becfd5eca22ccbb8f01af4df98875e07b0aea4cedf42b7730d0d9876d68bbd947b5145958528cfac27e21529741c4b53d4196449fa41b356639cafe3f
7
- data.tar.gz: 334261aef657e5fb3ae2b5cb4f717741541ae143403061bcd3115b765a1c323e2066c096a382c790b44609b81f89ae1f024ed70be94ed405255bef36517e039f
6
+ metadata.gz: 739801c29ed6606349189ab5f45aadc3fdcfb89d589ed50a0c09f374da160b0f531c3a4f9053645627a693249bd431b0b3bfcadfaa21f68c24066d79ee8548e3
7
+ data.tar.gz: 63c9c5a48634e9db202fbda0253751d35fa23812b70dc25d1884745b95d68272a3e05f47e794d8f44ab053e98589c333e7d73298e42d3c174ea5b2824e5a5a4f
@@ -1,3 +1,3 @@
1
1
  module DataConfirmModal
2
- VERSION = '1.6.0'
2
+ VERSION = '1.6.1'
3
3
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "data-confirm-modal",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Makes Rails' link_to confirm: 'foo' build a Bootstrap Modal instead of calling the browser's confirm() API.",
5
5
  "main": "vendor/assets/javascripts/data-confirm-modal.js",
6
6
  "repository": "https://github.com/ifad/data-confirm-modal.git",
@@ -268,11 +268,11 @@
268
268
  $('body').append(modal);
269
269
 
270
270
  modal.spawn = function() {
271
- return modal.modal({
271
+ return modal.modal($.extend({}, {
272
272
  backdrop: options.backdrop,
273
273
  keyboard: options.keyboard,
274
274
  show: options.show
275
- });
275
+ }));
276
276
  };
277
277
 
278
278
  return modal;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data-confirm-modal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcello Barnaba
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-19 00:00:00.000000000 Z
11
+ date: 2018-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties