trailblazer / representable

Maps representation documents from and to Ruby objects. Includes JSON, XML and YAML support, plain properties and compositions.
http://trailblazer.to/2.1/docs/representable.html
MIT License
689 stars 108 forks source link

release 3.0.3 seems to get Reform form broken #213

Open ZombieHarvester opened 7 years ago

ZombieHarvester commented 7 years ago

hi @apotonick

3.0.3 release seems to get broken my reform form

NameError: uninitialized constant Uber::Options
require 'reform/form/coercion'

class PriceChangeForm < Reform::Form
  feature Coercion

  property :contract_item_id,  type: Types::Form::Int

property :contract_item_id, type: Types::Form::Int This is the line it's no longer happy about

    reform (2.2.3)
      disposable (>= 0.3.0, < 0.4.0)
      representable (>= 2.4.0, < 3.1.0)
      uber (>= 0.0.15, < 0.2.0)
    reform-rails (0.1.7)
      activemodel (>= 3.2)
      reform (>= 2.2.0)
    representable (3.0.3)
      declarative (< 0.1.0)
      declarative-option (< 0.2.0)
      uber (< 0.2.0)
    disposable (0.3.2)
      declarative (>= 0.0.8, < 1.0.0)
      representable (>= 2.4.0, <= 3.1.0)
      uber
apotonick commented 7 years ago

I know, sorry.

apotonick commented 7 years ago

Your Disposable is too old.

ZombieHarvester commented 7 years ago

@apotonick

isn't reform's latest release 2.2.3 which limits disposable to <0.4.0? https://rubygems.org/gems/reform/

apotonick commented 7 years ago

Yes, please use reform/master. We are working hard to crank out Reform 2.3.