mixpanel_client 2.2.2 → 2.2.3
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 +4 -0
- data/lib/mixpanel/client.rb +1 -1
- data/lib/mixpanel/version.rb +1 -1
- data/spec/mixpanel_client/mixpanel_client_spec.rb +2 -0
- metadata +4 -4
data/README.md
CHANGED
|
@@ -74,6 +74,9 @@ Create tag v2.0.2 and build and push mixpanel_client-2.0.2.gem to Rubygems
|
|
|
74
74
|
|
|
75
75
|
## Changelog
|
|
76
76
|
|
|
77
|
+
### v.2.2.3
|
|
78
|
+
* Added some more options.
|
|
79
|
+
|
|
77
80
|
### v.2.2.2
|
|
78
81
|
* Added some more options.
|
|
79
82
|
|
|
@@ -118,6 +121,7 @@ Create tag v2.0.2 and build and push mixpanel_client-2.0.2.gem to Rubygems
|
|
|
118
121
|
Feel free to add your name and link here.
|
|
119
122
|
|
|
120
123
|
[Keolo Keagy](http://github.com/keolo) (Author)
|
|
124
|
+
[Bill DeRusha](https://github.com/bderusha)
|
|
121
125
|
[Jason Logsdon](https://github.com/jasonlogsdon)
|
|
122
126
|
[James R](https://github.com/Cev)
|
|
123
127
|
[Mike Ferrier](http://github.com/mferrier)
|
data/lib/mixpanel/client.rb
CHANGED
|
@@ -18,7 +18,7 @@ module Mixpanel
|
|
|
18
18
|
# Available options for a Mixpanel API request
|
|
19
19
|
OPTIONS = [:resource, :event, :events, :funnel_id, :name, :type, :unit, :interval, :length, :limit,
|
|
20
20
|
:format, :bucket, :values, :from_date, :to_date, :on, :where, :buckets, :timezone,
|
|
21
|
-
:retention_type, :interval_count]
|
|
21
|
+
:retention_type, :interval_count, :born_event, :born_where]
|
|
22
22
|
|
|
23
23
|
# Dynamically define accessor methods for each option
|
|
24
24
|
OPTIONS.each do |option|
|
data/lib/mixpanel/version.rb
CHANGED
|
@@ -108,6 +108,8 @@ describe Mixpanel::Client do
|
|
|
108
108
|
buckets '5'
|
|
109
109
|
events [{"event" => "page:view"}, {"event" => "button:click"}].to_json
|
|
110
110
|
retention_type 'abc'
|
|
111
|
+
born_event 'test-event'
|
|
112
|
+
born_where '1 in properties["product_id"]'
|
|
111
113
|
interval_count 'def'
|
|
112
114
|
end
|
|
113
115
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mixpanel_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 1
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 2.2.
|
|
9
|
+
- 3
|
|
10
|
+
version: 2.2.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Keolo Keagy
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-
|
|
18
|
+
date: 2012-09-20 00:00:00 -07:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|