lib/referehencible.rb in referehencible-1.1.0 vs lib/referehencible.rb in referehencible-1.1.1

- old
+ new

@@ -25,10 +25,10 @@ referenced_attrs.each do |reference_attribute, options| validates reference_attribute, presence: true, uniqueness: true, format: { - with: /[a-f0-9\-]{#{options[:length]}}/ }, + with: /[a-zA-Z0-9\-_=]{#{options[:length]}}/ }, length: { is: options[:length] } define_method(reference_attribute) do send("generate_#{options[:type]}_guid",