lib/inky.rb in inky-rb-1.3.7.5 vs lib/inky.rb in inky-rb-1.3.8.0
- old
+ new
@@ -19,10 +19,10 @@
center: 'center',
callout: 'callout',
spacer: 'spacer',
wrapper: 'wrapper',
menu_item: 'item'
- }.merge(options[:components] || {})
+ }.merge(::Inky.configuration.components).merge(options[:components] || {})
self.component_lookup = components.invert
self.column_count = options[:column_count] || ::Inky.configuration.column_count