css_grid 2.3.2 → 2.4.0

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.
@@ -1,3 +1,3 @@
1
1
  module CssGrid
2
- VERSION = "2.3.2"
2
+ VERSION = "2.4.0"
3
3
  end
data/lib/css_grid.rb CHANGED
@@ -38,7 +38,7 @@ module GridHelper
38
38
  unstack = false
39
39
  end
40
40
 
41
- content_class = [GRID_CONFIG[:classes][tag], options.delete(:class)]
41
+ content_class = [GRID_CONFIG[:classes][tag], options.delete(:class)].compact
42
42
  content_class << "#{ GRID_CONFIG[:classes][:prepend] }_#{ prepend }" if prepend
43
43
  content_class << "#{ GRID_CONFIG[:classes][:append] }_#{ append }" if append
44
44
  content_class << GRID_CONFIG[:classes][:nested] if options.delete(:nested)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css_grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: