Permalink
Browse files

Tweak readme, and roll 0.10.0

  • Loading branch information...
1 parent 711e1a1 commit dbc3e55ff87cc0ab57e5c8caa20bc79e245393aa @leehambley leehambley committed Nov 15, 2011
Showing with 10 additions and 11 deletions.
  1. +10 −11 README.md
View
@@ -26,38 +26,37 @@ Formerly this gem had an environments setting, that has been removed pending ref
config.gem 'rack-google-analytics', :lib => 'rack/google-analytics'
config.middleware.use Rack::GoogleAnalytics, :tracker => 'UA-xxxxxx-x'
-
### Options
-
+
* :async - sets to use asyncronous tracker
* :multiple - sets track for multiple sub domains. (must also set :domain)
* :top_level - sets tracker for multiple top-level domains. (must also set :domain)
-
Note: since 0.2.0 this will use the asynchronous google tracker code, for the traditional behaviour please use:
use Rack::GoogleAnalytics, :tracker => 'UA-xxxxxx-x', :async => false
-If you are not sure what's best, go with the defaults, and read here if you should opt-out
+If you are not sure what's best, go with the defaults, and read here if you should opt-out
## Thread Safety
This middleware *should* be thread safe. Although my experience in such areas is limited, having taken the advice of those with more experience; I defer the call to a shallow copy of the environment, if this is of consequence to you please review the implementation.
## Change Log
-* 0.9.2 Fixed a bug with lots of missing files from the Gem... how silly!
-* 0.9.1 Updated readme to reflect 0.9.0 merge from achiu
-* 0.9.0 Include name changed from 'rack-google-analytics' to 'rack/google-analytics' more inline with the norm
-* 0.6.0 Class now named Rack::GoogleAnalytics, in 0.5 and earlier this was incorrectly documented as Rack::GoogleTracker
-* 0.2.0 Asynchronous code is now the default.
+* 0.10.0 Include the Google pagespeed code, and `README` typos fixed.
+* 0.9.2 Fixed a bug with lots of missing files from the Gem... how silly!
+* 0.9.1 Updated readme to reflect 0.9.0 merge from achiu
+* 0.9.0 Include name changed from 'rack-google-analytics' to 'rack/google-analytics' more inline with the norm
+* 0.6.0 Class now named Rack::GoogleAnalytics, in 0.5 and earlier this was incorrectly documented as Rack::GoogleTracker
+* 0.2.0 Asynchronous code is now the default.
* 22-07-2010 Major re-write from Arthur Chiu, now correctly writes the Content-Length leader, and comes with tests (High five to @achiu) - this patch also backs-out the changes from @cimm - but they were un-tested (I intend to bring these back as soon as possible; this will probably constitute a 1.0 release when it happens)
* 19-01-2010 Second Release, patch from github.com/ralph - makes the default snippet the async version from google. Use regular synchronous code with: `:async => false`
* 27-12-2009 First Release, extracted from the Capistrano-Website project and packaged with Jeweler.
## Note on Patches/Pull Requests
-
+
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
@@ -68,5 +67,5 @@ This middleware *should* be thread safe. Although my experience in such areas is
## Copyright
-Copyright (c) 2009 Lee Hambley. See LICENSE for details.
+Copyright (c) 2009-2011 Lee Hambley. See LICENSE for details.
With thanks to Ralph von der Heyden http://github.com/ralph/ and Simon `cimm` Schoeters http://github.com/cimm/ - And the biggest hand to Arthur `achiu` Chiu for the huge work that went into the massive 0.9 re-factor.

0 comments on commit dbc3e55

Please sign in to comment.