lib/roar/coercion.rb in roar-1.1.1 vs lib/roar/coercion.rb in roar-1.2.0

- old
+ new

@@ -1,9 +1,11 @@ -gem 'virtus' -require 'virtus' -require 'representable/coercion' +gem "dry-types", ">= 1.0.0" +require "dry-types" +require "representable/coercion" module Roar + Types = Representable::Coercion::Types + # Use the +:type+ option to specify the conversion type. # class ImmigrantSong # include Roar::JSON # include Roar::Coercion #