mixpanel 0.6.0 → 0.6.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.
- data/README.rdoc +6 -0
- data/mixpanel.gemspec +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -16,6 +16,12 @@ http://mixpanel.com
|
|
16
16
|
|
17
17
|
== How to use it with a Rails application?
|
18
18
|
|
19
|
+
In your environment config file add this.
|
20
|
+
|
21
|
+
Rails::Initializer.run do |config|
|
22
|
+
|
23
|
+
config.middleware.use "MixpanelMiddleware", "YOUR_MIXPANEL_API_TOKEN"
|
24
|
+
|
19
25
|
In your application_controller class add a method to instance mixpanel.
|
20
26
|
|
21
27
|
before_filer :initialize_mixpanel
|
data/mixpanel.gemspec
CHANGED
@@ -2,7 +2,7 @@ files = ['README.rdoc', 'LICENSE', 'Rakefile', 'mixpanel.gemspec', '{spec,lib}/*
|
|
2
2
|
|
3
3
|
spec = Gem::Specification.new do |s|
|
4
4
|
s.name = "mixpanel"
|
5
|
-
s.version = "0.6.
|
5
|
+
s.version = "0.6.1"
|
6
6
|
s.rubyforge_project = "mixpanel"
|
7
7
|
s.description = "Simple lib to track events in Mixpanel service. It can be used in any rack based framework."
|
8
8
|
s.author = "Alvaro Gil"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mixpanel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 1
|
10
|
+
version: 0.6.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alvaro Gil
|