css_grid 2.3.2 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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: