mixpanel-ruby 2.2.2 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 528783e14b23218c322ec9513d2a7ba3112a41b54b53d9dd0cd2abeed7630b54
4
- data.tar.gz: 5aded14afb1a1fca08fe5a02e386347edb665edc871677adf849a47af12658a2
3
+ metadata.gz: 0a4bc0206903c9c7d7e61253d7cfe248e17f698a754dac067e3d6997ee44688a
4
+ data.tar.gz: eda4910784b73583c7ff29fcbeaae86b1259e407d8cddf5c5c9ccb7ad9004661
5
5
  SHA512:
6
- metadata.gz: 58cdf71f0d7b8dfdcd85919fa6105694c24732a20b5f637b9e907d6fa5cb7d55c30e8f1ddd92d791708bf8425d0c886043bad13ccdf8dada91d8b2f6e328a235
7
- data.tar.gz: 3aee5d979f1a9f27ef93a7acbf20acdf23341c653bf234b0a6fe55b619d73e57c5ef544b8e22e51b0ace0d958e48414c34c71274e18bf258b497416d48e69b0a
6
+ metadata.gz: ba267b81907f663ef400b694973569c2e2e00c323e8e199bea82516d3552c73f2ffcc6c864c0fca2123f53a3e246218e60c64e58b51aab5ac96792dae8f76a13
7
+ data.tar.gz: 541c0b8b4da498f37a749d76542fad417c776c83f4d583c8ae5bbbfbba9979103cfb634bb4a3d8ae6748b6b302ca546524edc80258423eb2e862d279328d07f1
@@ -55,7 +55,7 @@ module Mixpanel
55
55
  properties = {
56
56
  'distinct_id' => distinct_id,
57
57
  'token' => @token,
58
- 'time' => Time.now.to_i,
58
+ 'time' => Time.now.to_f,
59
59
  'mp_lib' => 'ruby',
60
60
  '$lib_version' => Mixpanel::VERSION,
61
61
  }.merge(properties)
@@ -103,7 +103,7 @@ module Mixpanel
103
103
  properties = {
104
104
  'distinct_id' => distinct_id,
105
105
  'token' => @token,
106
- 'time' => Time.now.to_i,
106
+ 'time' => Time.now.to_f,
107
107
  'mp_lib' => 'ruby',
108
108
  '$lib_version' => Mixpanel::VERSION,
109
109
  }.merge(properties)
@@ -170,7 +170,7 @@ module Mixpanel
170
170
  def update(message)
171
171
  data = {
172
172
  '$token' => @token,
173
- '$time' => ((Time.now.to_f) * 1000.0).to_i,
173
+ '$time' => Time.now.to_f,
174
174
  }.merge(message)
175
175
 
176
176
  message = {'data' => data}
@@ -223,7 +223,7 @@ module Mixpanel
223
223
  def update(message)
224
224
  data = {
225
225
  '$token' => @token,
226
- '$time' => ((Time.now.to_f) * 1000.0).to_i,
226
+ '$time' => Time.now.to_f,
227
227
  }.merge(message)
228
228
 
229
229
  message = {'data' => data}
@@ -165,7 +165,7 @@ module Mixpanel
165
165
  properties = {
166
166
  'distinct_id' => distinct_id,
167
167
  'token' => @token,
168
- 'time' => Time.now.to_i,
168
+ 'time' => Time.now.to_f,
169
169
  'mp_lib' => 'ruby',
170
170
  '$lib_version' => Mixpanel::VERSION,
171
171
  }.merge(properties)
@@ -1,3 +1,3 @@
1
1
  module Mixpanel
2
- VERSION = '2.2.2'
2
+ VERSION = '2.3.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixpanel-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mixpanel
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-05 00:00:00.000000000 Z
11
+ date: 2022-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -102,7 +102,7 @@ homepage: https://mixpanel.com/help/reference/ruby
102
102
  licenses:
103
103
  - Apache License 2.0
104
104
  metadata: {}
105
- post_install_message:
105
+ post_install_message:
106
106
  rdoc_options: []
107
107
  require_paths:
108
108
  - lib
@@ -117,9 +117,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
- rubyforge_project:
121
- rubygems_version: 2.7.8
122
- signing_key:
120
+ rubygems_version: 3.3.7
121
+ signing_key:
123
122
  specification_version: 4
124
123
  summary: Official Mixpanel tracking library for ruby
125
124
  test_files: []