lib/ahoy.rb in ahoy_matey-1.4.0 vs lib/ahoy.rb in ahoy_matey-1.4.1
- old
+ new
@@ -4,17 +4,18 @@
require "geocoder"
require "referer-parser"
require "user_agent_parser"
require "request_store"
require "uuidtools"
-require "safely_block"
+require "safely/core"
require "ahoy/version"
require "ahoy/tracker"
require "ahoy/controller"
require "ahoy/model"
require "ahoy/visit_properties"
+require "ahoy/properties"
require "ahoy/deckhands/location_deckhand"
require "ahoy/deckhands/request_deckhand"
require "ahoy/deckhands/technology_deckhand"
require "ahoy/deckhands/traffic_source_deckhand"
require "ahoy/deckhands/utm_parameter_deckhand"
@@ -22,10 +23,11 @@
require "ahoy/stores/active_record_store"
require "ahoy/stores/active_record_token_store"
require "ahoy/stores/log_store"
require "ahoy/stores/fluentd_store"
require "ahoy/stores/mongoid_store"
+require "ahoy/stores/kafka_store"
require "ahoy/stores/kinesis_firehose_store"
require "ahoy/stores/bunny_store"
require "ahoy/engine"
require "ahoy/warden" if defined?(Warden)
@@ -63,9 +65,12 @@
mattr_accessor :max_content_length
self.max_content_length = 8192
mattr_accessor :max_events_per_request
self.max_events_per_request = 10
+
+ mattr_accessor :mount
+ self.mount = true
mattr_accessor :throttle
self.throttle = true
mattr_accessor :throttle_limit