bootstrap_help 0.0.22 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39be16dcf5d67e88f2f353a3ae50f5e138574f57
4
- data.tar.gz: 03b194a1de87bd8ec95a7237458ff1686cbee12a
3
+ metadata.gz: 75126011c7ddf66d689e4e6a6066212f946d10cb
4
+ data.tar.gz: 3354ae06e4372efa6d96090389ddddda5f6b15e7
5
5
  SHA512:
6
- metadata.gz: 25fdfa891955c2b0adf7327cbd3e79aa6307696145067a9c426b05b12154c776264f96e90ed28d40a3136c4d43afb0ee0de59e5b99184119e5ec2e48ee26ff4b
7
- data.tar.gz: 0bd733d9e1fd1c605e40ff72a838c59d583db8a96617a17564e42f9bf03520b6a3a4f6ce3a6a2663a6c16aa8213e5d9b40493187a8ba435909a6674ed32eeb1e
6
+ metadata.gz: c8e7e30ccd5c11fcc1f88db3ff13fa100aa88399a426e385aef7e87d35810422b82d4d26a82e7bc04a633b09566825b8a83d6731a77a2bc5d8df7ee31ec72fd8
7
+ data.tar.gz: d2da5818465674520b8058d1c53ee993a67df8d4c26db09e393a3a69ffbac703064226a9ef88ed5b9728a3e6da7de05371ed4f4ccf0c5f7878ddedba36b28a8d
@@ -15,11 +15,11 @@ module BootstrapHelp
15
15
  end
16
16
  end
17
17
  end
18
- nil
19
18
  end
20
19
 
21
20
  def button(icon_suffix, options)
22
21
  @buttons << {icon_suffix: icon_suffix, options: options}
22
+ nil
23
23
  end
24
24
 
25
25
  private
@@ -57,11 +57,11 @@ module BootstrapHelp
57
57
 
58
58
  def parse_column(column, item)
59
59
  if column[:block].present?
60
- output = column[:block].call(item)
60
+ output = capture(&column[:block])
61
61
  else
62
62
  output = item.send(column.fetch(:value))
63
63
  end
64
- concat(draw_column { concat(output) })
64
+ concat(draw_column { output })
65
65
  end
66
66
  end
67
67
  end
@@ -1,3 +1,3 @@
1
1
  module BootstrapHelp
2
- VERSION = "0.0.22"
2
+ VERSION = "0.0.23"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_help
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Klina