analytics-rails 4.0.0.0 → 4.0.0.1
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.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/lib/analytics/rails/railtie.rb +6 -4
- data/lib/analytics/rails/version.rb +1 -1
- data/test/dummy/log/test.log +6 -0
- 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: cd16d24472ab33d76ece56e439fab697182ee82c
|
|
4
|
+
data.tar.gz: 1e80ee8ef5592db420ff74346c4d1ef9ce72133c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a58c3fa2e922ae18fc7d708d6a63f654a0988800906bbfc42e96c0c47418d1b16e6a0c1d8fd8f12f5067c494b791007638edaf4af80154c556dbc5b9d18a3ea
|
|
7
|
+
data.tar.gz: 2608ba4b89fd78319bc73b342c58924a06099a75a67fe8225e1d4eff8329d4c6c5453223faa79ecf5ab57a15d7865b03d61bc0259f310d72beb1afc9a1c6345d
|
data/README.md
CHANGED
|
@@ -53,6 +53,12 @@ You can add label, value and other options too if you want:
|
|
|
53
53
|
<%= google_analytics_event_tag 'Video', 'play', 'demo.mp4', 42, category: 'product' %>
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
## Contributing
|
|
57
|
+
|
|
58
|
+
Any issue, pull request, comment of any kind is more than welcome!
|
|
59
|
+
|
|
60
|
+
I will mainly ensure compatibility to PostgreSQL, AWS, Redis, Elasticsearch, FreeBSD and Memcached.
|
|
61
|
+
|
|
56
62
|
## Credits
|
|
57
63
|
|
|
58
64
|
This gem is maintained and funded by [mmontossi](https://github.com/mmontossi).
|
|
@@ -2,10 +2,12 @@ module Analytics
|
|
|
2
2
|
module Rails
|
|
3
3
|
class Railtie < ::Rails::Railtie
|
|
4
4
|
|
|
5
|
-
initializer 'analytics.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
initializer 'analytics.action_view' do
|
|
6
|
+
ActiveSupport.on_load :action_view do
|
|
7
|
+
::ActionView::Base.include(
|
|
8
|
+
Analytics::Rails::Extensions::ActionView::Base
|
|
9
|
+
)
|
|
10
|
+
end
|
|
9
11
|
end
|
|
10
12
|
|
|
11
13
|
end
|
data/test/dummy/log/test.log
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: analytics-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.0.
|
|
4
|
+
version: 4.0.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- mmontossi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-12-
|
|
11
|
+
date: 2016-12-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|