lib/avrolution/compatibility_break.rb in avrolution-0.2.0 vs lib/avrolution/compatibility_break.rb in avrolution-0.3.0
- old
+ new
@@ -33,7 +33,13 @@
end
def line
[name, fingerprint, with_compatibility, after_compatibility].compact.join(' ')
end
+
+ def register_options
+ { with_compatibility: with_compatibility }.tap do |options|
+ options[:after_compatibility] = after_compatibility if after_compatibility.present?
+ end
+ end
end
end