lib/the_comments/config.rb in the_comments-1.1.0 vs lib/the_comments/config.rb in the_comments-2.0.0

- old
+ new

@@ -8,17 +8,30 @@ end # Configuration class class Configuration include ActiveSupport::Configurable - config_accessor :tolerance_time, :empty_inputs, :max_reply_depth, :default_state, :default_owner_state, :default_title + + config_accessor :max_reply_depth, + :tolerance_time, + :default_state, + :default_owner_state, + :empty_inputs, + :default_title, + :template_engine, + :empty_trap_protection, + :tolerance_time_protection end configure do |config| config.max_reply_depth = 3 config.tolerance_time = 5 config.default_state = :draft config.default_owner_state = :published config.empty_inputs = [:message] config.default_title = 'Undefined title' + config.template_engine = :haml + + config.empty_trap_protection = true + config.tolerance_time_protection = true end end \ No newline at end of file