lib/rubyrep/replication_difference.rb in rubyrep-1.1.2 vs lib/rubyrep/replication_difference.rb in rubyrep-1.2.0
- old
+ new
@@ -17,9 +17,13 @@
# * :+right+: change in right database
# * :+conflict+: change in both databases
# * :+no_diff+: changes in both databases constitute no difference
attr_accessor :type
+ # Is set to +true+ if first replication attempt failed but it should be tried again later
+ attr_accessor :second_chance
+ alias_method :second_chance?, :second_chance
+
# A hash with keys :+left+ and / or :+right+.
# Hash values are LoggedChange instances.
def changes
@changes ||= {}
end
\ No newline at end of file