@@ -39,83 +39,83 @@ class Configuration
3939 def bots
4040 @bots ||= {
4141 # Indexers
42- ' AdsBot-Google' => ' Google Adwords' ,
43- ' Baidu' => ' Chinese search engine' ,
44- ' Baiduspider' => ' Chinese search engine' ,
45- ' bingbot' => ' Microsoft bing bot' ,
46- ' Butterfly' => ' Topsy Labs' ,
47- ' Gigabot' => ' Gigabot spider' ,
48- ' Googlebot' => ' Google spider' ,
49- ' MJ12bot' => ' Majestic-12 spider' ,
50- ' msnbot' => ' Microsoft bot' ,
51- ' rogerbot' => ' SeoMoz spider' ,
52- ' PaperLiBot' => ' PaperLi is another content curation service' ,
53- ' Slurp' => ' Yahoo spider' ,
54- ' Sogou' => ' Chinese search engine' ,
55- ' spider' => ' generic web spider' ,
56- ' UnwindFetchor' => ' Gnip crawler' ,
57- ' WordPress' => ' WordPress spider' ,
58- ' YandexAccessibilityBot' => ' Yandex accessibility spider' ,
59- ' YandexBot' => ' Yandex spider' ,
60- ' YandexMobileBot' => ' Yandex mobile spider' ,
61- ' ZIBB' => ' ZIBB spider' ,
42+ " AdsBot-Google" => " Google Adwords" ,
43+ " Baidu" => " Chinese search engine" ,
44+ " Baiduspider" => " Chinese search engine" ,
45+ " bingbot" => " Microsoft bing bot" ,
46+ " Butterfly" => " Topsy Labs" ,
47+ " Gigabot" => " Gigabot spider" ,
48+ " Googlebot" => " Google spider" ,
49+ " MJ12bot" => " Majestic-12 spider" ,
50+ " msnbot" => " Microsoft bot" ,
51+ " rogerbot" => " SeoMoz spider" ,
52+ " PaperLiBot" => " PaperLi is another content curation service" ,
53+ " Slurp" => " Yahoo spider" ,
54+ " Sogou" => " Chinese search engine" ,
55+ " spider" => " generic web spider" ,
56+ " UnwindFetchor" => " Gnip crawler" ,
57+ " WordPress" => " WordPress spider" ,
58+ " YandexAccessibilityBot" => " Yandex accessibility spider" ,
59+ " YandexBot" => " Yandex spider" ,
60+ " YandexMobileBot" => " Yandex mobile spider" ,
61+ " ZIBB" => " ZIBB spider" ,
6262
6363 # HTTP libraries
64- ' Apache-HttpClient' => ' Java http library' ,
65- ' AppEngine-Google' => ' Google App Engine' ,
66- ' curl' => ' curl unix CLI http client' ,
67- ' ColdFusion' => ' ColdFusion http library' ,
68- ' EventMachine HttpClient' => ' Ruby http library' ,
69- ' Go http package' => ' Go http library' ,
70- ' Go-http-client' => ' Go http library' ,
71- ' Java' => ' Generic Java http library' ,
72- ' libwww-perl' => ' Perl client-server library loved by script kids' ,
73- ' lwp-trivial' => ' Another Perl library loved by script kids' ,
74- ' Python-urllib' => ' Python http library' ,
75- ' PycURL' => ' Python http library' ,
76- ' Test Certificate Info' => ' C http library?' ,
77- ' Typhoeus' => ' Ruby http library' ,
78- ' Wget' => ' wget unix CLI http client' ,
64+ " Apache-HttpClient" => " Java http library" ,
65+ " AppEngine-Google" => " Google App Engine" ,
66+ " curl" => " curl unix CLI http client" ,
67+ " ColdFusion" => " ColdFusion http library" ,
68+ " EventMachine HttpClient" => " Ruby http library" ,
69+ " Go http package" => " Go http library" ,
70+ " Go-http-client" => " Go http library" ,
71+ " Java" => " Generic Java http library" ,
72+ " libwww-perl" => " Perl client-server library loved by script kids" ,
73+ " lwp-trivial" => " Another Perl library loved by script kids" ,
74+ " Python-urllib" => " Python http library" ,
75+ " PycURL" => " Python http library" ,
76+ " Test Certificate Info" => " C http library?" ,
77+ " Typhoeus" => " Ruby http library" ,
78+ " Wget" => " wget unix CLI http client" ,
7979
8080 # URL expanders / previewers
81- ' awe.sm' => ' Awe.sm URL expander' ,
82- ' bitlybot' => ' bit.ly bot' ,
83- ' bot@linkfluence.net' => ' Linkfluence bot' ,
84- ' facebookexternalhit' => ' facebook bot' ,
85- ' Facebot' => ' Facebook crawler' ,
86- ' Feedfetcher-Google' => ' Google Feedfetcher' ,
87- ' https://developers.google.com/+/web/snippet' => ' Google+ Snippet Fetcher' ,
88- ' LinkedInBot' => ' LinkedIn bot' ,
89- ' LongURL' => ' URL expander service' ,
90- ' NING' => ' NING - Yet Another Twitter Swarmer' ,
91- ' Pinterestbot' => ' Pinterest Bot' ,
92- ' redditbot' => ' Reddit Bot' ,
93- ' ShortLinkTranslate' => ' Link shortener' ,
94- ' Slackbot' => ' Slackbot link expander' ,
95- ' TweetmemeBot' => ' TweetMeMe Crawler' ,
96- ' Twitterbot' => ' Twitter URL expander' ,
97- ' UnwindFetch' => ' Gnip URL expander' ,
98- ' vkShare' => ' VKontake Sharer' ,
81+ " awe.sm" => " Awe.sm URL expander" ,
82+ " bitlybot" => " bit.ly bot" ,
83+ " bot@linkfluence.net" => " Linkfluence bot" ,
84+ " facebookexternalhit" => " facebook bot" ,
85+ " Facebot" => " Facebook crawler" ,
86+ " Feedfetcher-Google" => " Google Feedfetcher" ,
87+ " https://developers.google.com/+/web/snippet" => " Google+ Snippet Fetcher" ,
88+ " LinkedInBot" => " LinkedIn bot" ,
89+ " LongURL" => " URL expander service" ,
90+ " NING" => " NING - Yet Another Twitter Swarmer" ,
91+ " Pinterestbot" => " Pinterest Bot" ,
92+ " redditbot" => " Reddit Bot" ,
93+ " ShortLinkTranslate" => " Link shortener" ,
94+ " Slackbot" => " Slackbot link expander" ,
95+ " TweetmemeBot" => " TweetMeMe Crawler" ,
96+ " Twitterbot" => " Twitter URL expander" ,
97+ " UnwindFetch" => " Gnip URL expander" ,
98+ " vkShare" => " VKontake Sharer" ,
9999
100100 # Uptime monitoring
101- ' check_http' => ' Nagios monitor' ,
102- ' GoogleStackdriverMonitoring' => ' Google Cloud monitor' ,
103- ' NewRelicPinger' => ' NewRelic monitor' ,
104- ' Panopta' => ' Monitoring service' ,
105- ' Pingdom' => ' Pingdom monitoring' ,
106- ' SiteUptime' => ' Site monitoring services' ,
107- ' UptimeRobot' => ' Monitoring service' ,
101+ " check_http" => " Nagios monitor" ,
102+ " GoogleStackdriverMonitoring" => " Google Cloud monitor" ,
103+ " NewRelicPinger" => " NewRelic monitor" ,
104+ " Panopta" => " Monitoring service" ,
105+ " Pingdom" => " Pingdom monitoring" ,
106+ " SiteUptime" => " Site monitoring services" ,
107+ " UptimeRobot" => " Monitoring service" ,
108108
109109 # ???
110- ' DigitalPersona Fingerprint Software' => ' HP Fingerprint scanner' ,
111- ' ShowyouBot' => ' Showyou iOS app spider' ,
112- ' ZyBorg' => ' Zyborg? Hmmm....' ,
113- ' ELB-HealthChecker' => ' ELB Health Check'
110+ " DigitalPersona Fingerprint Software" => " HP Fingerprint scanner" ,
111+ " ShowyouBot" => " Showyou iOS app spider" ,
112+ " ZyBorg" => " Zyborg? Hmmm...." ,
113+ " ELB-HealthChecker" => " ELB Health Check"
114114 }
115115 end
116116
117117 def experiments = ( experiments )
118- raise InvalidExperimentsFormatError . new ( ' Experiments must be a Hash' ) unless experiments . respond_to? ( :keys )
118+ raise InvalidExperimentsFormatError . new ( " Experiments must be a Hash" ) unless experiments . respond_to? ( :keys )
119119 @experiments = experiments
120120 end
121121
@@ -232,7 +232,7 @@ def initialize
232232 @include_rails_helper = true
233233 @beta_probability_simulations = 10000
234234 @winning_alternative_recalculation_interval = 60 * 60 * 24 # 1 day
235- @redis = ENV . fetch ( ENV . fetch ( ' REDIS_PROVIDER' , ' REDIS_URL' ) , ' redis://localhost:6379' )
235+ @redis = ENV . fetch ( ENV . fetch ( " REDIS_PROVIDER" , " REDIS_URL" ) , " redis://localhost:6379" )
236236 @dashboard_pagination_default_per_page = 10
237237 end
238238
0 commit comments