Sha256: e49c4c80532d12a399ca4b688301dc25855ec22771c4f78b1d2098a4fc521ee9
Contents?: true
Size: 366 Bytes
Versions: 4
Compression:
Stored size: 366 Bytes
Contents
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "lib"))) require 'redis_analytics' RedisAnalytics.configure do |c| c.redis_connection = Redis.new c.add_path_filter(/^\/favicon.ico$/) end app = Rack::Builder.app do use RedisAnalytics::Tracker run Proc.new { |env| [200, {'Content-Type' => 'text/html'}, "You have been tracked!"] } end run app
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
redis_analytics-1.1.0 | config.ru |
redis_analytics-1.0.1 | config.ru |
redis_analytics-1.0.0 | config.ru |
redis_analytics-0.7.1 | config.ru |