rails_bs_popcon 0.0.1 → 0.0.2
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: 1fbfb0eb4f8f647fb0c0335942a604783730d715
|
4
|
+
data.tar.gz: 013d2ad9bc4f8dc6876490eb8235efa698365a70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28cacc983497cf62ed3ff614fa3f7bec2cbacd5e712d001a7699f1c3116b69fe652d60a1f5cbb0e730956c7ae8aa65bf3205b1084f2e8a47ce33d85017c26cf9
|
7
|
+
data.tar.gz: 07e9f619328126e683c8d32116e6c52b32ba7b5076607898686ab62736e2ecb1ddc6093f570469ffae93ed11a529bd4b81999f6478525d5823486ce0ed9abfef
|
@@ -35,7 +35,7 @@ if (typeof $().popover == 'function') # test if bootstrap is loaded
|
|
35
35
|
|
36
36
|
if $.rails.fire(element, 'confirm')
|
37
37
|
if $(element).data('bs.popover') == undefined
|
38
|
-
options = $.extend {}, RailsBsPopcon.DEFAULTS
|
38
|
+
options = $.extend {}, RailsBsPopcon.DEFAULTS, $(element).data()
|
39
39
|
$content = $('<div>', html: options.content)
|
40
40
|
$content.prepend $('<p>', html: message) unless typeof(message) == 'boolean'
|
41
41
|
$content.find '[data-apply=confirmation]'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_bs_popcon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kadu Diógenes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -33,7 +33,7 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- MIT-LICENSE
|
35
35
|
- Rakefile
|
36
|
-
- app/assets/javascripts/rails_bs_popcon/
|
36
|
+
- app/assets/javascripts/rails_bs_popcon/index.coffee
|
37
37
|
- config/routes.rb
|
38
38
|
- lib/rails_bs_popcon.rb
|
39
39
|
- lib/rails_bs_popcon/engine.rb
|