Sha256: 0e7aa649a9b3152681406146bb95d2230447dba77e0adaee93c5aece946e160d

Contents?: true

Size: 301 Bytes

Versions: 4

Compression:

Stored size: 301 Bytes

Contents

module Split
  class Configuration
    attr_accessor :robot_regex
    attr_accessor :ignore_ip_addresses

    def initialize()
      @robot_regex = /\b(Baidu|Gigabot|Googlebot|libwww-perl|lwp-trivial|msnbot|SiteUptime|Slurp|WordPress|ZIBB|ZyBorg)\b/i
      @ignore_ip_addresses = []
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
split-0.3.0 lib/split/configuration.rb
split-0.2.4 lib/split/configuration.rb
split-0.2.3 lib/split/configuration.rb
split-0.2.2 lib/split/configuration.rb