lib/itamae/resource/link.rb in itamae-1.9.1 vs lib/itamae/resource/link.rb in itamae-1.9.2

- old
+ new

@@ -4,10 +4,10 @@ module Resource class Link < Base define_attribute :action, default: :create define_attribute :link, type: String, default_name: true define_attribute :to, type: String, required: true - define_attribute :force, default: false + define_attribute :force, type: [TrueClass, FalseClass], default: false def pre_action case @current_action when :create attributes.exist = true