-
Notifications
You must be signed in to change notification settings - Fork 67
Convert timestamps to milliseconds and update Ruby compatibility #127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
563ea00
cab679c
0f0869a
f4ff820
4550f23
06aa6d0
3cc6b8c
45789d7
b60716e
b077128
da8a51e
f6c8371
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ | |
| '$token' => 'TEST TOKEN', | ||
| '$group_key' => 'TEST GROUP KEY', | ||
| '$group_id' => 'TEST GROUP ID', | ||
| '$time' => @time_now.to_i * 1000, | ||
| '$time' => (@time_now.to_f * 1000).to_i, | ||
|
||
| '$set' => { | ||
| '$groupname' => 'Mixpanel', | ||
| '$grouprevenue' => 200 | ||
|
|
@@ -39,7 +39,7 @@ | |
| '$token' => 'TEST TOKEN', | ||
| '$group_key' => 'TEST GROUP KEY', | ||
| '$group_id' => 'TEST GROUP ID', | ||
| '$time' => @time_now.to_i * 1000, | ||
| '$time' => (@time_now.to_f * 1000).to_i, | ||
| '$set' => { | ||
| 'created_at' => '2013-01-02T03:04:05' | ||
| } | ||
|
|
@@ -54,7 +54,7 @@ | |
| '$token' => 'TEST TOKEN', | ||
| '$group_key' => 'TEST GROUP KEY', | ||
| '$group_id' => 'TEST GROUP ID', | ||
| '$time' => @time_now.to_i * 1000, | ||
| '$time' => (@time_now.to_f * 1000).to_i, | ||
| '$set' => { | ||
| 'created_at' => '2013-01-02T02:04:05' | ||
| } | ||
|
|
@@ -70,7 +70,7 @@ | |
| '$token' => 'TEST TOKEN', | ||
| '$group_key' => 'TEST GROUP KEY', | ||
| '$group_id' => 'TEST GROUP ID', | ||
| '$time' => @time_now.to_i * 1000, | ||
| '$time' => (@time_now.to_f * 1000).to_i, | ||
| '$set' => { | ||
| 'created_at' => '2013-01-02T02:04:05' | ||
| } | ||
|
|
@@ -86,7 +86,7 @@ | |
| '$token' => 'TEST TOKEN', | ||
| '$group_key' => 'TEST GROUP KEY', | ||
| '$group_id' => 'TEST GROUP ID', | ||
| '$time' => @time_now.to_i * 1000, | ||
| '$time' => (@time_now.to_f * 1000).to_i, | ||
| '$set_once' => { | ||
| '$groupname' => 'Mixpanel', | ||
| '$grouprevenue' => 200 | ||
|
|
@@ -102,7 +102,7 @@ | |
| '$token' => 'TEST TOKEN', | ||
| '$group_key' => 'TEST GROUP KEY', | ||
| '$group_id' => 'TEST GROUP ID', | ||
| '$time' => @time_now.to_i * 1000, | ||
| '$time' => (@time_now.to_f * 1000).to_i, | ||
| '$remove' => { | ||
| 'Albums' => 'Diamond Dogs' | ||
| } | ||
|
|
@@ -117,7 +117,7 @@ | |
| '$token' => 'TEST TOKEN', | ||
| '$group_key' => 'TEST GROUP KEY', | ||
| '$group_id' => 'TEST GROUP ID', | ||
| '$time' => @time_now.to_i * 1000, | ||
| '$time' => (@time_now.to_f * 1000).to_i, | ||
| '$union' => { | ||
| 'Albums' => ['Diamond Dogs'] | ||
| } | ||
|
|
@@ -130,7 +130,7 @@ | |
| '$token' => 'TEST TOKEN', | ||
| '$group_key' => 'TEST GROUP KEY', | ||
| '$group_id' => 'TEST GROUP ID', | ||
| '$time' => @time_now.to_i * 1000, | ||
| '$time' => (@time_now.to_f * 1000).to_i, | ||
| '$unset' => ['Albums'] | ||
| }]]) | ||
| end | ||
|
|
@@ -141,7 +141,7 @@ | |
| '$token' => 'TEST TOKEN', | ||
| '$group_key' => 'TEST GROUP KEY', | ||
| '$group_id' => 'TEST GROUP ID', | ||
| '$time' => @time_now.to_i * 1000, | ||
| '$time' => (@time_now.to_f * 1000).to_i, | ||
| '$unset' => ['Albums', 'Vinyls'] | ||
| }]]) | ||
| end | ||
|
|
@@ -152,7 +152,7 @@ | |
| '$token' => 'TEST TOKEN', | ||
| '$group_key' => 'TEST GROUP KEY', | ||
| '$group_id' => 'TEST GROUP ID', | ||
| '$time' => @time_now.to_i * 1000, | ||
| '$time' => (@time_now.to_f * 1000).to_i, | ||
| '$delete' => '' | ||
| }]]) | ||
| end | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually the active version is only 3.*.
<2.2 we have some dep issues.