mixpanel-ruby 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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. One in particular is
43
- MetaEvents[https://github.com/swiftype/meta_events], a third party gem
44
- which provides support for client-side tracking in Rails applications,
45
- super-properties-like persistent properties, and a DSL for defining your events.
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)
@@ -1,3 +1,3 @@
1
1
  module Mixpanel
2
- VERSION = '1.6.0'
2
+ VERSION = '1.7.0'
3
3
  end
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.6.0
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: 2014-11-05 00:00:00.000000000 Z
12
+ date: 2015-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake