lib/dyna/wrapper/table.rb in dyna-0.2.1.beta1 vs lib/dyna/wrapper/table.rb in dyna-0.2.1.beta2

- old
+ new

@@ -78,10 +78,10 @@ ttl = aws_time_to_live unless %w/ENABLED DISABLED/.include?(ttl.time_to_live_status) raise "time to live status is #{ttl.time_to_live_status} and must be ENABLED or DISABLED to apply" end same_status = dsl.time_to_live_specification.enabled.to_s == 'false' && ttl.time_to_live_status == 'DISABLED' || dsl.time_to_live_specification.enabled.to_s == 'true' && ttl.time_to_live_status == 'ENABLED' - same_name = dsl.time_to_live_specification.attribute_name.to_s == ttl.attribute_name + same_name = dsl.time_to_live_specification.attribute_name.to_s == ttl.attribute_name.to_s same_status && same_name end def auto_scaling_eql?(dsl)