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: 4a02b0587ce8e3a13266610077615516117c0168
4
- data.tar.gz: 329b79a0f25cf9683fa231576274e2360fca4407
3
+ metadata.gz: 1fbfb0eb4f8f647fb0c0335942a604783730d715
4
+ data.tar.gz: 013d2ad9bc4f8dc6876490eb8235efa698365a70
5
5
  SHA512:
6
- metadata.gz: f76e56752b6f020871628c9789506e3a821cc606df7d864bdea3f32b9ce91d265aca2da1a43e25a1fed157df4c7665f88f642bc49391e2c8045b8deb42db7843
7
- data.tar.gz: b46639f7235fef4e04cecbeff7d81698919028586a6bbfcd21fb2748c85d3fc01879af5007e03ff67888a1e910e5f73630c8d65dfaaf2f410c2b83f809118b89
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]'
@@ -1,3 +1,3 @@
1
1
  module RailsBsPopcon
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-22 00:00:00.000000000 Z
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/popcon.coffee
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