Sha256: 631f71f6b9e9f764cdcb668f116e9092a440431dd96e1db856135082841e8f08

Contents?: true

Size: 1.4 KB

Versions: 44

Compression:

Stored size: 1.4 KB

Contents

* Pass key/index as first block arg to :class and :extend
class: |key, hsh|

* Allow passing options to Binding#serialize.
	serialize(.., options{:exclude => ..})

document `XML::AttributeHash` etc

* cleanup ReadableWriteable
* deprecate Representable::*::ClassMethods (::from_hash and friends)

* Song < OpenStruct in test_helper

* have representable-options (:include, :exclude) and user-options

* make all properties "Object-like", even arrays of strings etc. This saves us from having `extend ObjectBinding if typed?` and we could just call to_hash/from_hash on all attributes. performance issues here? otherwise: implement!


def compile_fragment(doc)
module ReaderWriter
  def compile_fragment(doc)
    do whatever
    super
  end
=> do that for all "features" (what parts would that be?: getter/setter, reader/writer, readable/writeable )?

* make lambda options optional (arity == 0)

* pass args to methods when arity matches

* DISCUSS if Decorator.new.representable_attrs != Decorator.representable_attrs ? (what about performance?)
* REMOVE :from, make :a(lia)s authorative.

* does :instance not work with :decorator ?
* make it easy to override Binding#options via #to_hash(whatever: {hit: {decorator: HitDecorator}})

* DISCUSS: should inline representers be created at runtime, so we don't need ::representer_engine?
* deprecate `Decorator::Coercion`.

* cleanup XML so it matches the current #serialize standard.

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
representable-3.0.3 TODO
representable-3.0.2 TODO
representable-3.0.1 TODO
representable-3.0.0 TODO
representable-2.4.1 TODO
representable-2.4.0 TODO
representable-2.4.0.rc5 TODO
representable-2.4.0.rc4 TODO
representable-2.4.0.rc3 TODO
representable-2.4.0.rc2 TODO
representable-2.4.0.rc1 TODO
representable-2.3.0 TODO
representable-2.2.3 TODO
representable-2.2.2 TODO
representable-2.2.1 TODO
representable-2.2.0 TODO
representable-2.1.8 TODO
representable-2.1.7 TODO
representable-2.1.6 TODO
representable-2.1.5 TODO