twitter-bootstrap-rails-confirm 2.0.0 → 2.0.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: b4af854cb39f612728a02d3eb6197d9e39ca4243
|
4
|
+
data.tar.gz: 104a72de5382e6907e83300859c3fa8aad70b2a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1815f79cf919fb1c21d3348373bba37cbed840ba2cc18d07d246067ac2a12e9bad1aa70711d460d1c73d7ff7de652fdb4186b29ecd3c5cebc482772e6ab151d7
|
7
|
+
data.tar.gz: 1bf20de563029a8abd3fc399cec25d0d3db3c5a711591ea081ce966550c6acaad7bcfa3eb89cddcf0ba4abc84434e15f074cde86ff2ffb301bd4c7df1e75e8be
|
data/README.md
CHANGED
@@ -93,6 +93,10 @@ simple app that loads Bootstrap and this gem.
|
|
93
93
|
|
94
94
|
## Changelog
|
95
95
|
|
96
|
+
### 2.0.1 (January 14, 2018)
|
97
|
+
|
98
|
+
* [(eirvandelden)](https://github.com/eirvandelden) [Bootstrap 4 version is stored in Tooltip.VERSION](https://github.com/bluerail/twitter-bootstrap-rails-confirm/pull/38)
|
99
|
+
|
96
100
|
### 2.0.0 (April 26, 2018)
|
97
101
|
|
98
102
|
* [(mftaff)](https://github.com/mftaff) [Convert CoffeeScript to JavaScript](https://github.com/bluerail/twitter-bootstrap-rails-confirm/pull/37)
|
@@ -15,7 +15,15 @@
|
|
15
15
|
|
16
16
|
TwitterBootstrapConfirmBox = function(message, element, callback) {
|
17
17
|
var $dialog, bootstrap_version;
|
18
|
-
|
18
|
+
if (typeof $().emulateTransitionEnd === 'function') {
|
19
|
+
if ($.fn.tooltip.Constructor === undefined) {
|
20
|
+
bootstrap_version = Tooltip.VERSION[0]
|
21
|
+
} else {
|
22
|
+
bootstrap_version = $.fn.tooltip.Constructor.VERSION[0]
|
23
|
+
}
|
24
|
+
} else {
|
25
|
+
bootstrap_version = 2
|
26
|
+
}
|
19
27
|
|
20
28
|
switch (bootstrap_version) {
|
21
29
|
case 2:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-bootstrap-rails-confirm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rene van Lieshout
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Confirm dialogs using Twitter Bootstrap
|
14
14
|
email:
|
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
47
|
version: '0'
|
48
48
|
requirements: []
|
49
49
|
rubyforge_project:
|
50
|
-
rubygems_version: 2.
|
50
|
+
rubygems_version: 2.5.2.3
|
51
51
|
signing_key:
|
52
52
|
specification_version: 4
|
53
53
|
summary: Applies a custom confirm dialog for elements with a data-confirm attribute.
|