Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Gemspec and documentation tweaks

  • Loading branch information...
commit 5fadeba41e5d908191163487d436c8ad969e7a2d 1 parent 54280c0
Kali Donovan authored
Showing with 5 additions and 5 deletions.
  1. +2 −2 README.md
  2. +3 −3 rack-referrals.gemspec
View
4 README.md
@@ -1,13 +1,13 @@
Rack/Referrals
=============
-Rack/referrals is a rack middleware that extracts information from each request about the referring website. Specifically, it parses the HTTP-REFERER header and tells you if the request came from a known search engine (and if so, what the search terms were).
+Rack/referrals is a rack middleware that extracts information from each request about the referring website. Specifically, it parses the HTTP-REFERER header and tells you if the request came from a known search engine (and if so, what the search terms were). It was inspired by the [search_sniffer](https://github.com/squeejee/search_sniffer) plugin, but provides that functionality as a middleware.
Purpose
-------
-Ever wanted to know if the page is being viewed by a user who got there via a search engine? If so, ever wanted to show them a link like "Interested in <search term>? Click here to browse related widgets"?
+Ever wanted to know if the user viewing the current page got there via a search engine? If so, ever wanted to show them a link like "Interested in *[search term*]? Click here to browse related widgets"?
Yeah, this'll help.
View
6 rack-referrals.gemspec
@@ -8,8 +8,8 @@ Gem::Specification.new do |s|
s.authors = ["Kali Donovan"]
s.email = ["kali@deviantech.com"]
s.homepage = ""
- s.summary = %q{TODO: Write a gem summary}
- s.description = %q{TODO: Write a gem description}
+ s.summary = %q{Extracts referring search engine info.}
+ s.description = %q{If the user clicked through from a search engine, this middleware will detect the engine used and the terms searched.}
s.rubyforge_project = "rack-referrals"
@@ -22,5 +22,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "minitest"
s.add_development_dependency "rack-test"
s.add_development_dependency "rake"
- # s.add_runtime_dependency "rest-client"
+ s.add_dependency 'rack'
end
Please sign in to comment.
Something went wrong with that request. Please try again.