mixpanel_client 3.1.3 → 3.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +17 -1
- data/lib/mixpanel/version.rb +1 -1
- data/mixpanel_client.gemspec +4 -2
- metadata +37 -15
data/README.md
CHANGED
@@ -26,12 +26,24 @@ or if you use a Gemfile
|
|
26
26
|
values: '["uno", "dos"]',
|
27
27
|
type: 'unique',
|
28
28
|
unit: 'day',
|
29
|
-
|
29
|
+
from_date: '2013-12-1',
|
30
|
+
to_date: '2014-3-1',
|
30
31
|
limit: 5,
|
31
32
|
})
|
32
33
|
|
33
34
|
puts data.inspect
|
34
35
|
|
36
|
+
# The API also supports passing a time interval rather than an explicit date range
|
37
|
+
data = client.request('events/properties', {
|
38
|
+
event: 'splash features',
|
39
|
+
name: 'feature',
|
40
|
+
values: '["uno", "dos"]',
|
41
|
+
type: 'unique',
|
42
|
+
unit: 'day',
|
43
|
+
interval: 7,
|
44
|
+
limit: 5,
|
45
|
+
})
|
46
|
+
|
35
47
|
|
36
48
|
# use the import API, which allows one to specify a time in the past, unlike the track API.
|
37
49
|
# note that you need to include your api token in the data. More details at:
|
@@ -104,6 +116,10 @@ Create tag v2.0.2 and build and push mixpanel_client-2.0.2.gem to Rubygems
|
|
104
116
|
|
105
117
|
## Changelog
|
106
118
|
|
119
|
+
### v3.1.4
|
120
|
+
* Updated docs
|
121
|
+
* Updated to latest typhoeus gem
|
122
|
+
|
107
123
|
### v3.1.3
|
108
124
|
* Added support for the import API.
|
109
125
|
* Allow setting of custom expiry.
|
data/lib/mixpanel/version.rb
CHANGED
data/mixpanel_client.gemspec
CHANGED
@@ -19,11 +19,13 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
20
20
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
21
21
|
s.require_paths = ['lib']
|
22
|
-
s.add_runtime_dependency('json',
|
23
|
-
s.add_runtime_dependency('typhoeus',
|
22
|
+
s.add_runtime_dependency('json', '~> 1.6') if RUBY_VERSION < '1.9'
|
23
|
+
s.add_runtime_dependency('typhoeus', '~> 0.6.7')
|
24
24
|
s.add_development_dependency('bundler', '>=1.2')
|
25
25
|
s.add_development_dependency('rake', '>=0.9.2.2')
|
26
26
|
s.add_development_dependency('rdoc', '>=3.11')
|
27
27
|
s.add_development_dependency('rspec', '>=2.5.0')
|
28
28
|
s.add_development_dependency('webmock', '>=1.9.0')
|
29
|
+
s.add_development_dependency('pry', '>=0.9.12.6')
|
30
|
+
s.add_development_dependency('rubocop', '>=0.19.0')
|
29
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mixpanel_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: typhoeus
|
16
|
-
requirement: &
|
16
|
+
requirement: &70354295127700 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.6.7
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70354295127700
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70354295127200 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '1.2'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70354295127200
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &70354295126740 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.9.2.2
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70354295126740
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rdoc
|
49
|
-
requirement: &
|
49
|
+
requirement: &70354295126120 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '3.11'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70354295126120
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rspec
|
60
|
-
requirement: &
|
60
|
+
requirement: &70354295125180 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 2.5.0
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70354295125180
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: webmock
|
71
|
-
requirement: &
|
71
|
+
requirement: &70354295124600 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,7 +76,29 @@ dependencies:
|
|
76
76
|
version: 1.9.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70354295124600
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: pry
|
82
|
+
requirement: &70354295124040 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 0.9.12.6
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70354295124040
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: rubocop
|
93
|
+
requirement: &70354295123300 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 0.19.0
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70354295123300
|
80
102
|
description: Simple ruby client interface to the Mixpanel API.
|
81
103
|
email:
|
82
104
|
- keolo@dreampointmedia.com
|