mixpanel-ruby 1.6.0 → 1.7.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.rdoc +7 -4
- data/lib/mixpanel-ruby/consumer.rb +5 -0
- data/lib/mixpanel-ruby/version.rb +1 -1
- metadata +2 -2
data/Readme.rdoc
CHANGED
|
@@ -39,10 +39,13 @@ For more information please visit:
|
|
|
39
39
|
|
|
40
40
|
The official Mixpanel gem is built with simplicity and broad applicability in
|
|
41
41
|
mind, but there are also third party Ruby libraries that can work with the library
|
|
42
|
-
to provide useful features in common situations
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
to provide useful features in common situations, and support different development
|
|
43
|
+
points of view.
|
|
44
|
+
|
|
45
|
+
In particular, for Rails apps, the following projects are currently actively maintained:
|
|
46
|
+
|
|
47
|
+
* MetaEvents[https://github.com/swiftype/meta_events]
|
|
48
|
+
* Mengpaneel[https://github.com/DouweM/mengpaneel]
|
|
46
49
|
|
|
47
50
|
== Changes
|
|
48
51
|
|
|
@@ -115,6 +115,11 @@ module Mixpanel
|
|
|
115
115
|
|
|
116
116
|
client = Net::HTTP.new(uri.host, uri.port)
|
|
117
117
|
client.use_ssl = true
|
|
118
|
+
client.open_timeout = 2
|
|
119
|
+
client.continue_timeout = 10
|
|
120
|
+
client.read_timeout = 10
|
|
121
|
+
client.ssl_timeout = 2
|
|
122
|
+
|
|
118
123
|
Mixpanel.with_http(client)
|
|
119
124
|
|
|
120
125
|
response = client.request(request)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mixpanel-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.7.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2015-02-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|