trafficlogger 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +4 -1
- data/lib/trafficlogger/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -20,6 +20,10 @@ The gem tracks incoming HTTP requests coming to your site and logs them with det
|
|
20
20
|
- HTTP_CONNECTION
|
21
21
|
And More!
|
22
22
|
|
23
|
+
Also it has inbuilt parser to extract Operating System,Platform,Device from HTTP_USER_AGENT. When the logger runs the Parser auto-extracts these information wherever applicable. Neverthless you can re-use the component yourself in your App anytime by running
|
24
|
+
`Trafficlogger::UAParse.extract(your_string)`
|
25
|
+
Example => `Trafficlogger::UAParse.extract('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.151 Safari/535.19')`
|
26
|
+
|
23
27
|
## Demonstration
|
24
28
|
|
25
29
|
Sample App - https://github.com/raycoding/rTracker
|
@@ -51,7 +55,6 @@ Once integrated with your App you can see the log entries in DB Table and also t
|
|
51
55
|
|
52
56
|
- Ruby 1.9.3+
|
53
57
|
- Rails 3.2.13
|
54
|
-
- MySQL
|
55
58
|
- will_paginate
|
56
59
|
|
57
60
|
### ToDo
|