mixpanel_client 2.2.2 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
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)
@@ -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|
@@ -10,6 +10,6 @@ module Mixpanel
10
10
  # Return metrics from Mixpanel Data API
11
11
  class Client
12
12
  # Mixpanel::Client library version
13
- VERSION = '2.2.2'
13
+ VERSION = '2.2.3'
14
14
  end
15
15
  end
@@ -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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 2
9
- - 2
10
- version: 2.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-07-22 00:00:00 -07:00
18
+ date: 2012-09-20 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency