mixpanel 2.0.1 → 2.0.2

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 CHANGED
@@ -178,7 +178,7 @@ async calls using Resque.
178
178
  end
179
179
  ```
180
180
 
181
- ## Supported Platforms
181
+ ## Supported Ruby Platforms
182
182
 
183
183
  - 1.8.7
184
184
  - 1.9.2
@@ -211,3 +211,4 @@ Use this instead:
211
211
  * [Mark Cheverton](https://github.com/ennui2342)
212
212
  * [Jamie Quint](https://github.com/jamiequint)
213
213
  * [Ryan Schmukler](https://github.com/rschmukler)
214
+ * [Travis Pew](https://github.com/travisp)
@@ -80,13 +80,13 @@ module Mixpanel
80
80
  <script type="text/javascript">
81
81
  (function(c,a){window.mixpanel=a;var b,d,h,e;b=c.createElement("script");
82
82
  b.type="text/javascript";b.async=!0;b.src=("https:"===c.location.protocol?"https:":"http:")+
83
- '//cdn.mxpnl.com/libs/mixpanel-2.0.min.js';d=c.getElementsByTagName("script")[0];
83
+ '//cdn.mxpnl.com/libs/mixpanel-2.1.min.js';d=c.getElementsByTagName("script")[0];
84
84
  d.parentNode.insertBefore(b,d);a._i=[];a.init=function(b,c,f){function d(a,b){
85
85
  var c=b.split(".");2==c.length&&(a=a[c[0]],b=c[1]);a[b]=function(){a.push([b].concat(
86
86
  Array.prototype.slice.call(arguments,0)))}}var g=a;"undefined"!==typeof f?g=a[f]=[]:
87
87
  f="mixpanel";g.people=g.people||[];h=['disable','track','track_pageview','track_links',
88
88
  'track_forms','register','register_once','unregister','identify','name_tag',
89
- 'set_config','people.set','people.increment'];for(e=0;e<h.length;e++)d(g,h[e]);
89
+ 'set_config','people.identify','people.set','people.increment'];for(e=0;e<h.length;e++)d(g,h[e]);
90
90
  a._i.push([b,c,f])};a.__SV=1.1;})(document,window.mixpanel||[]);
91
91
 
92
92
  mixpanel.init("#{@token}");
data/mixpanel.gemspec CHANGED
@@ -2,7 +2,7 @@ files = ['README.md', 'LICENSE', 'Rakefile', 'mixpanel.gemspec', '{spec,lib}/**/
2
2
 
3
3
  spec = Gem::Specification.new do |s|
4
4
  s.name = "mixpanel"
5
- s.version = "2.0.1"
5
+ s.version = "2.0.2"
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: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 1
10
- version: 2.0.1
9
+ - 2
10
+ version: 2.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alvaro Gil
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-10 00:00:00 -03:00
18
+ date: 2012-09-10 00:00:00 -03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency