effective_bootstrap 0.6.12 → 0.6.13

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
  SHA256:
3
- metadata.gz: 7ed56b7dd064cc313bf37578b7ae0924e1527541db0bdf8e6b0d7f67c9fef3e0
4
- data.tar.gz: 81a5f45ed28086b6c52768067c0c749b385360b2b771718ee100abc142a43775
3
+ metadata.gz: b3d04bbf79147ce531834750ed14cd478e0ade598109b99edb02c9ea802f699d
4
+ data.tar.gz: 315e01d14c50b6ad3ec6f39b4981e5030b911a0a525b11f7dc5da6fe512bd020
5
5
  SHA512:
6
- metadata.gz: c51da9f433f60255ad7fe395f3b706b0b50d05e9eae9ca7d8fbab25cbea93380e62086a5f41ff77de90f3bc6e8101aeda5838969b4c7cdb96137c03e1082773e
7
- data.tar.gz: 3661500e604cd195abc587d6fcdacacb651cdabd0c7195bbffcf4ce1943f4099a6b2e2402f242f97c23ea55b1b122043ecaa452751e2cb6a404ec38bc3beb613
6
+ metadata.gz: 3f5ab04bf8c5217f683cc7897a2dd7b3ade20628cb1ecb63940901e774e8f1e0927d7109cdda6bfe0ca9de38103d3df90355ecdb9fb0248f3febc2d7e3342f31
7
+ data.tar.gz: f9ff1619e0a42e7e7fe552ff7e6e5b5dc12c462e51ed119cadd8a0e11ead4a3f43513a1f62aa3984c355ac1d61949e5ce08e38e7b421d53e07dd96aac32f5d11
@@ -24,7 +24,12 @@ module EffectiveFormBuilderHelper
24
24
 
25
25
  remote_index = options.except(:model).hash.abs
26
26
 
27
- options[:remote] = true if respond_to?(:inline_datatable?) && inline_datatable?
27
+ options[:local] = true unless options.key?(:local)
28
+
29
+ if respond_to?(:inline_datatable?) && inline_datatable?
30
+ options[:remote] = true
31
+ options[:local] = false
32
+ end
28
33
 
29
34
  if options.delete(:remote) == true
30
35
  @_effective_remote_index ||= {}
@@ -8,7 +8,7 @@ module EffectiveIconsHelper
8
8
  options.reverse_merge!(nocomment: true)
9
9
  options[:class] = [options[:class], "eb-icon eb-icon-#{svg}"].compact.join(' ')
10
10
 
11
- inline_svg("icons/#{svg}.svg", options)
11
+ inline_svg_tag("icons/#{svg}.svg", options)
12
12
  end
13
13
 
14
14
  def icon_to(svg, url, options = {})
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.6.12'.freeze
2
+ VERSION = '0.6.13'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.12
4
+ version: 0.6.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-01 00:00:00.000000000 Z
11
+ date: 2019-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails