effective_bootstrap 0.10.4 → 0.10.5

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: ce183f7b5ec8710057b26c596d126df576635f2f056c2b5f691c817aa043d49d
4
- data.tar.gz: 2e4697f95f477939c744e6fd7e7e44426f15975b192fae10c7061baaab384096
3
+ metadata.gz: 1c6383d06acf8e9dd6cc19e7f92fe5490a097155b30d06e8cb4f115f52e422ad
4
+ data.tar.gz: 5d5b66cd66c32a3be2837dd3b98eee4455f249f1d34698a689ee725ed9aa1d80
5
5
  SHA512:
6
- metadata.gz: bf040655168c88bfe628a87182d061147ecc7b82554e268fa9b1ac75cbbf2cdb911326642c730a568d60438762cb71da7fcdc57f2f46622bf40f99d8051d9392
7
- data.tar.gz: 01ab704d07b028abc72d72311e6ac090bc68de56993c1be93d8b74945d8cccb560275d50ba71fcdfb798834cb99f07ee615f378c262236a284791bdf6f98fc78
6
+ metadata.gz: 0d8a7fc1a63268357e5d7f8897616600b4fa69d3f8d93dafe2fe7113a5bf09e93f353ecef7490c5aeba0d28340e00d4fbc251c8d3b99ea04883d0ec82190d421
7
+ data.tar.gz: 6604b919e861cb11fc3957130c94fa4058b31be939ad49b219c45766d1a75061e682ee9dc521bcdd5776163832f241097e623480bae1c25b442146e5835406e9
@@ -105,7 +105,7 @@ module EffectiveBootstrapHelper
105
105
  def collapse(label, opts = {}, &block)
106
106
  raise 'expected a block' unless block_given?
107
107
 
108
- return accordian_collapse(label, opts, &block) if @_accordion_active
108
+ return accordion_collapse(label, opts, &block) if @_accordion_active
109
109
 
110
110
  id = "collapse-#{effective_bootstrap_unique_id}"
111
111
  show = (opts.delete(:show) == true)
@@ -492,7 +492,7 @@ module EffectiveBootstrapHelper
492
492
  raise 'expected a block' unless block_given?
493
493
 
494
494
  @_tab_mode = :tablist
495
- @_tab_active = (active || :first)
495
+ @_tab_active = :first if active.nil?
496
496
  @_tab_unique = effective_bootstrap_unique_id if unique
497
497
 
498
498
  content_tag(:ul, {class: 'nav nav-tabs', role: 'tablist'}.merge(list)) do
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.10.4'.freeze
2
+ VERSION = '0.10.5'.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.10.4
4
+ version: 0.10.5
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: 2022-01-21 00:00:00.000000000 Z
11
+ date: 2022-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails