[ANN] glimmer 2.7.9 Released

Glimmer (DSL Framework for Ruby GUI and More) version 2.7.8 & 2.7.9 have been released.

GitHub Project : GitHub - AndyObtiva/glimmer: DSL Framework consisting of a DSL Engine and a Data-Binding Library used in Glimmer DSL for SWT (JRuby Desktop Development GUI Framework), Glimmer DSL for Opal (Pure Ruby Web GUI), Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development GUI Library), Glimmer DSL for Tk (Ruby Tk Desktop Development GUI Library), Glimmer DSL for GTK (Ruby-GNOME Desktop Development GUI Library), Glimmer DSL for XML (& HTML), and Glimmer DSL for CSS

Ruby Gem : glimmer | RubyGems.org | your community gem host

Change Log

2.7.9

  • Optimize performance of Glimmer::DataBinding::ObservableModel#add_observer by removing OpenStruct constant check.

2.7.8

  • Allow passing BindExpression only 1 argument (e.g. presenter.todos) or 1 argument + 1 hash (e.g. presenter.todos, on_read: → {})

  • ObserveExpression always uses ModelBinding for arguments to leverage its advanced features, like nested/computed/indexed/keyed data-binding

  • In Opal, ModelBinding converters/hooks do not require an argument anymore (e.g. can invoke after_write: → { do_something } without block args)

  • Fix issue whereby observing model, :collection was not firing on collection changes, but observing model.collection was firing on collection changes (now both fire on collection changes)