mongoid_traffic 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -0
- data/lib/mongoid_traffic.rb +3 -1
- data/lib/mongoid_traffic/logger.rb +0 -1
- data/lib/mongoid_traffic/logger/browser.rb +2 -0
- data/lib/mongoid_traffic/version.rb +1 -1
- data/test/test_helper.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf4d620d49237e71867b64bd7a22a4c8f9aeb58a
|
4
|
+
data.tar.gz: 37472e818324e9b2a2ac98806468a66468645545
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bd178089d1d2471e02796b85cf055f2b9c99ede31b2d78ef489065561f2b2be43e0631383df724b7fab8aa5b52c2c1495d31ba06c6354de34e8f61e0a4f30e9
|
7
|
+
data.tar.gz: b75bad4a25337c6191cf4403016e9051c05a61522456f92a79af417c6f1b856da4042e494f040fff5f8f56bccb576a8945490c749ea8834894f7f195731bd82a
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -216,6 +216,10 @@ The scope query accepts regular expressions, which allows for aggregations on sp
|
|
216
216
|
Mongoid::TrafficLog.monthly(8, 2014).scoped_to(/\A\/blog/).aggregate_on(:countries)
|
217
217
|
```
|
218
218
|
|
219
|
+
## TODO
|
220
|
+
|
221
|
+
* JavaScript + Rails helper to track client-side properties (screen/browser size)
|
222
|
+
|
219
223
|
## Further reading
|
220
224
|
|
221
225
|
Based on the approach described by John Nunemaker [here](http://www.railstips.org/blog/archives/2011/06/28/counters-everywhere/) and [here](http://www.railstips.org/blog/archives/2011/07/31/counters-everywhere-part-2/).
|
data/lib/mongoid_traffic.rb
CHANGED
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid_traffic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Celizna
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: geoip
|