lib/landable/configuration.rb in landable-1.10.0.rc1 vs lib/landable/configuration.rb in landable-1.10.0.rc2
- old
+ new
@@ -7,11 +7,11 @@
attr_writer :screenshots_enabled
attr_writer :traffic_enabled
attr_writer :sitemap_exclude_categories, :sitemap_protocol, :sitemap_host, :sitemap_additional_paths
attr_writer :reserved_paths, :partials_to_templates, :database_schema_prefix
attr_writer :publicist_url, :audit_flags
- attr_writer :blank_user_agent_string
+ attr_writer :blank_user_agent_string, :untracked_paths
def authenticators
@authenticators || raise("No Landable authenticator configured.")
end
@@ -141,9 +141,13 @@
@screenshots ||= Screenshots.new
end
def blank_user_agent_string
@blank_user_agent_string ||= 'blank'
+ end
+
+ def untracked_paths
+ @untracked_paths ||= []
end
class Screenshots
attr_accessor :autorun
attr_accessor :browserstack_username, :browserstack_password