Sha256: 5f839b98ea3be839b2784b1b0ca2d078454b4fe7931c1c402db4ffea75ebe59f

Contents?: true

Size: 964 Bytes

Versions: 14

Compression:

Stored size: 964 Bytes

Contents

gem 'split', :require => 'split/dashboard'

after_bundler do
  route %{match '/split/#{config['split_admin_secret']}', :to => Split::Dashboard, :anchor => false}
  
  initializer "split_config.rb", <<-RUBY
Split.configure do |config|
  config.db_failover = true # handle redis errors gracefully
  config.db_failover_on_db_error = proc{|error| Rails.logger.error(error.message) }
  config.allow_multiple_experiments = true
  # config.robot_regex = /my_custom_robot_regex/
  # config.ignore_ip_addresses << '81.19.48.130'
end
RUBY
end

__END__

name: Split
description: Rack Based AB testing framework
author: drnic
website: https://github.com/andrew/split
screencast: http://railscasts.com/episodes/331-a-b-testing-with-split

requires: [redis]
run_after: [redis]
run_before: []

category: other
exclusive: ab-testing

config:
  - split_admin_secret:
      type: string
      prompt: "Enter a secret string for the Split dashboard route /split/YOUR-SECRET-STRING:"

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
appscrolls-0.11.2 scrolls/split.rb
appscrolls-0.11.1 scrolls/split.rb
appscrolls-0.11.0 scrolls/split.rb
appscrolls-0.10.1 scrolls/split.rb
appscrolls-0.10.0 scrolls/split.rb
appscrolls-0.9.0 scrolls/split.rb
appscrolls-0.8.4 scrolls/split.rb
appscrolls-0.8.3 scrolls/split.rb
appscrolls-0.8.2 scrolls/split.rb
appscrolls-0.8.1 scrolls/split.rb
appscrolls-0.8.0 scrolls/split.rb
appscrolls-0.7.1 scrolls/split.rb
appscrolls-0.7.0 scrolls/split.rb
eldarscrolls-0.7.0 scrolls/split.rb