mparticle 1.0.4 → 1.0.9
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.
- checksums.yaml +5 -5
- data/README.md +5 -0
- data/docs/AppEvent.md +14 -14
- data/docs/Batch.md +1 -0
- data/docs/CCPAConsentState.md +10 -0
- data/docs/CommerceEvent.md +18 -18
- data/docs/ConsentState.md +4 -3
- data/docs/ScreenViewEvent.md +13 -13
- data/docs/UserIdentities.md +12 -0
- data/example/main.rb +41 -3
- data/lib/mparticle.rb +3 -0
- data/lib/mparticle/api_client.rb +1 -1
- data/lib/mparticle/models/app_event.rb +13 -4
- data/lib/mparticle/models/batch.rb +26 -4
- data/lib/mparticle/models/batch_context.rb +177 -0
- data/lib/mparticle/models/ccpa_consent_state.rb +233 -0
- data/lib/mparticle/models/commerce_event.rb +12 -4
- data/lib/mparticle/models/consent_state.rb +9 -0
- data/lib/mparticle/models/data_plan_context.rb +186 -0
- data/lib/mparticle/models/screen_view_event.rb +13 -4
- data/lib/mparticle/models/user_identities.rb +112 -4
- data/lib/mparticle/version.rb +1 -1
- data/mparticle.gemspec +2 -2
- data/spec/models/app_event_spec.rb +23 -0
- data/spec/models/ccpa_consent_state_spec.rb +34 -0
- data/spec/models/commerce_event_spec.rb +23 -0
- data/spec/models/consent_state_spec.rb +5 -0
- data/spec/models/data_plan_context_spec.rb +19 -0
- data/spec/models/screen_view_event_spec.rb +23 -0
- data/spec/models/user_identities_spec.rb +59 -0
- metadata +17 -8
@@ -23,6 +23,8 @@ module MParticle
|
|
23
23
|
|
24
24
|
attr_accessor :activity_type
|
25
25
|
|
26
|
+
attr_accessor :custom_flags
|
27
|
+
|
26
28
|
|
27
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
30
|
def self.attribute_map
|
@@ -36,7 +38,8 @@ module MParticle
|
|
36
38
|
:'location' => :'location',
|
37
39
|
:'device_current_state' => :'device_current_state',
|
38
40
|
:'screen_name' => :'screen_name',
|
39
|
-
:'activity_type' => :'activity_type'
|
41
|
+
:'activity_type' => :'activity_type',
|
42
|
+
:'custom_flags' => :'custom_flags',
|
40
43
|
}
|
41
44
|
end
|
42
45
|
|
@@ -52,7 +55,8 @@ module MParticle
|
|
52
55
|
:'location' => :'GeoLocation',
|
53
56
|
:'device_current_state' => :'DeviceCurrentState',
|
54
57
|
:'screen_name' => :'String',
|
55
|
-
:'activity_type' => :'String'
|
58
|
+
:'activity_type' => :'String',
|
59
|
+
:'custom_flags' => :'Hash<String, String>'
|
56
60
|
}
|
57
61
|
end
|
58
62
|
|
@@ -106,6 +110,10 @@ module MParticle
|
|
106
110
|
self.activity_type = attributes[:'activity_type']
|
107
111
|
end
|
108
112
|
|
113
|
+
if attributes.has_key?(:'custom_flags')
|
114
|
+
self.custom_flags = attributes[:'custom_flags']
|
115
|
+
end
|
116
|
+
|
109
117
|
end
|
110
118
|
|
111
119
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -140,7 +148,8 @@ module MParticle
|
|
140
148
|
location == o.location &&
|
141
149
|
device_current_state == o.device_current_state &&
|
142
150
|
screen_name == o.screen_name &&
|
143
|
-
activity_type == o.activity_type
|
151
|
+
activity_type == o.activity_type &&
|
152
|
+
custom_flags == o.custom_flags
|
144
153
|
end
|
145
154
|
|
146
155
|
# @see the `==` method
|
@@ -152,7 +161,7 @@ module MParticle
|
|
152
161
|
# Calculates hash code according to all attributes.
|
153
162
|
# @return [Fixnum] Hash code
|
154
163
|
def hash
|
155
|
-
[timestamp_unixtime_ms, event_id, source_message_id, session_id, session_uuid, custom_attributes, location, device_current_state, screen_name, activity_type].hash
|
164
|
+
[timestamp_unixtime_ms, event_id, source_message_id, session_id, session_uuid, custom_attributes, location, device_current_state, screen_name, activity_type, custom_flags].hash
|
156
165
|
end
|
157
166
|
|
158
167
|
# Builds the object from hash
|
@@ -23,6 +23,30 @@ module MParticle
|
|
23
23
|
|
24
24
|
attr_accessor :facebook_custom_audience_id
|
25
25
|
|
26
|
+
attr_accessor :other_id_2
|
27
|
+
|
28
|
+
attr_accessor :other_id_3
|
29
|
+
|
30
|
+
attr_accessor :other_id_4
|
31
|
+
|
32
|
+
attr_accessor :other_id_5
|
33
|
+
|
34
|
+
attr_accessor :other_id_6
|
35
|
+
|
36
|
+
attr_accessor :other_id_7
|
37
|
+
|
38
|
+
attr_accessor :other_id_8
|
39
|
+
|
40
|
+
attr_accessor :other_id_9
|
41
|
+
|
42
|
+
attr_accessor :other_id_10
|
43
|
+
|
44
|
+
attr_accessor :mobile_number
|
45
|
+
|
46
|
+
attr_accessor :phone_number_2
|
47
|
+
|
48
|
+
attr_accessor :phone_number_3
|
49
|
+
|
26
50
|
|
27
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
52
|
def self.attribute_map
|
@@ -36,7 +60,19 @@ module MParticle
|
|
36
60
|
:'yahoo' => :'yahoo',
|
37
61
|
:'email' => :'email',
|
38
62
|
:'_alias' => :'alias',
|
39
|
-
:'facebook_custom_audience_id' => :'facebook_custom_audience_id'
|
63
|
+
:'facebook_custom_audience_id' => :'facebook_custom_audience_id',
|
64
|
+
:'other_id_2' => :'other_id_2',
|
65
|
+
:'other_id_3' => :'other_id_3',
|
66
|
+
:'other_id_4' => :'other_id_4',
|
67
|
+
:'other_id_5' => :'other_id_5',
|
68
|
+
:'other_id_6' => :'other_id_6',
|
69
|
+
:'other_id_7' => :'other_id_7',
|
70
|
+
:'other_id_8' => :'other_id_8',
|
71
|
+
:'other_id_9' => :'other_id_9',
|
72
|
+
:'other_id_10' => :'other_id_10',
|
73
|
+
:'mobile_number' => :'mobile_number',
|
74
|
+
:'phone_number_2' => :'phone_number_2',
|
75
|
+
:'phone_number_3' => :'phone_number_3'
|
40
76
|
}
|
41
77
|
end
|
42
78
|
|
@@ -52,7 +88,19 @@ module MParticle
|
|
52
88
|
:'yahoo' => :'String',
|
53
89
|
:'email' => :'String',
|
54
90
|
:'_alias' => :'String',
|
55
|
-
:'facebook_custom_audience_id' => :'String'
|
91
|
+
:'facebook_custom_audience_id' => :'String',
|
92
|
+
:'other_id_2' => :'String',
|
93
|
+
:'other_id_3' => :'String',
|
94
|
+
:'other_id_4' => :'String',
|
95
|
+
:'other_id_5' => :'String',
|
96
|
+
:'other_id_6' => :'String',
|
97
|
+
:'other_id_7' => :'String',
|
98
|
+
:'other_id_8' => :'String',
|
99
|
+
:'other_id_9' => :'String',
|
100
|
+
:'other_id_10' => :'String',
|
101
|
+
:'mobile_number' => :'String',
|
102
|
+
:'phone_number_2' => :'String',
|
103
|
+
:'phone_number_3' => :'String'
|
56
104
|
}
|
57
105
|
end
|
58
106
|
|
@@ -104,6 +152,54 @@ module MParticle
|
|
104
152
|
self.facebook_custom_audience_id = attributes[:'facebook_custom_audience_id']
|
105
153
|
end
|
106
154
|
|
155
|
+
if attributes.has_key?(:'other_id_2')
|
156
|
+
self.other_id_2 = attributes[:'other_id_2']
|
157
|
+
end
|
158
|
+
|
159
|
+
if attributes.has_key?(:'other_id_3')
|
160
|
+
self.other_id_3 = attributes[:'other_id_3']
|
161
|
+
end
|
162
|
+
|
163
|
+
if attributes.has_key?(:'other_id_4')
|
164
|
+
self.other_id_4 = attributes[:'other_id_4']
|
165
|
+
end
|
166
|
+
|
167
|
+
if attributes.has_key?(:'other_id_5')
|
168
|
+
self.other_id_5 = attributes[:'other_id_5']
|
169
|
+
end
|
170
|
+
|
171
|
+
if attributes.has_key?(:'other_id_6')
|
172
|
+
self.other_id_6 = attributes[:'other_id_6']
|
173
|
+
end
|
174
|
+
|
175
|
+
if attributes.has_key?(:'other_id_7')
|
176
|
+
self.other_id_7 = attributes[:'other_id_7']
|
177
|
+
end
|
178
|
+
|
179
|
+
if attributes.has_key?(:'other_id_8')
|
180
|
+
self.other_id_8 = attributes[:'other_id_8']
|
181
|
+
end
|
182
|
+
|
183
|
+
if attributes.has_key?(:'other_id_9')
|
184
|
+
self.other_id_9 = attributes[:'other_id_9']
|
185
|
+
end
|
186
|
+
|
187
|
+
if attributes.has_key?(:'other_id_10')
|
188
|
+
self.other_id_10 = attributes[:'other_id_10']
|
189
|
+
end
|
190
|
+
|
191
|
+
if attributes.has_key?(:'mobile_number')
|
192
|
+
self.mobile_number = attributes[:'mobile_number']
|
193
|
+
end
|
194
|
+
|
195
|
+
if attributes.has_key?(:'phone_number_2')
|
196
|
+
self.phone_number_2 = attributes[:'phone_number_2']
|
197
|
+
end
|
198
|
+
|
199
|
+
if attributes.has_key?(:'phone_number_3')
|
200
|
+
self.phone_number_3 = attributes[:'phone_number_3']
|
201
|
+
end
|
202
|
+
|
107
203
|
end
|
108
204
|
|
109
205
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -133,7 +229,19 @@ module MParticle
|
|
133
229
|
yahoo == o.yahoo &&
|
134
230
|
email == o.email &&
|
135
231
|
_alias == o._alias &&
|
136
|
-
facebook_custom_audience_id == o.facebook_custom_audience_id
|
232
|
+
facebook_custom_audience_id == o.facebook_custom_audience_id &&
|
233
|
+
other_id_2 == o.other_id_2 &&
|
234
|
+
other_id_3 == o.other_id_3 &&
|
235
|
+
other_id_4 == o.other_id_4 &&
|
236
|
+
other_id_5 == o.other_id_5 &&
|
237
|
+
other_id_6 == o.other_id_6 &&
|
238
|
+
other_id_7 == o.other_id_7 &&
|
239
|
+
other_id_8 == o.other_id_8 &&
|
240
|
+
other_id_9 == o.other_id_9 &&
|
241
|
+
other_id_10 == o.other_id_10 &&
|
242
|
+
mobile_number == o.mobile_number &&
|
243
|
+
phone_number_2 == o.phone_number_2 &&
|
244
|
+
phone_number_3 == o.phone_number_3
|
137
245
|
end
|
138
246
|
|
139
247
|
# @see the `==` method
|
@@ -145,7 +253,7 @@ module MParticle
|
|
145
253
|
# Calculates hash code according to all attributes.
|
146
254
|
# @return [Fixnum] Hash code
|
147
255
|
def hash
|
148
|
-
[other, customerid, facebook, twitter, google, microsoft, yahoo, email, _alias, facebook_custom_audience_id].hash
|
256
|
+
[other, customerid, facebook, twitter, google, microsoft, yahoo, email, _alias, facebook_custom_audience_id, other_id_2, other_id_3, other_id_4, other_id_5, other_id_6, other_id_7, other_id_8, other_id_9, other_id_10, mobile_number, phone_number_2, phone_number_3].hash
|
149
257
|
end
|
150
258
|
|
151
259
|
# Builds the object from hash
|
data/lib/mparticle/version.rb
CHANGED
data/mparticle.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "mparticle"
|
3
|
-
s.version = "1.0.
|
3
|
+
s.version = "1.0.9"
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.authors = ["mParticle Inc."]
|
6
6
|
s.email = ["support@mparticle.com"]
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.required_ruby_version = ">= 1.9"
|
12
12
|
|
13
13
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
14
|
-
s.add_runtime_dependency 'json', '~>
|
14
|
+
s.add_runtime_dependency 'json', '~> 2.0', '>= 2.3.0'
|
15
15
|
|
16
16
|
s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
|
17
17
|
s.executables = []
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'mparticle'
|
2
|
+
|
3
|
+
describe 'AppEvent' do
|
4
|
+
it 'should create an instance of AppEvent' do
|
5
|
+
model = MParticle::AppEvent.new
|
6
|
+
expect(model).to be_an_instance_of MParticle::AppEvent
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'should have custom_flags' do
|
10
|
+
model = MParticle::AppEvent.new
|
11
|
+
model.custom_flags = {
|
12
|
+
"foo": 'bar',
|
13
|
+
'answer': 42,
|
14
|
+
'arrays': [
|
15
|
+
'foo', 'bar', 'baz'
|
16
|
+
]
|
17
|
+
}
|
18
|
+
expect(model.custom_flags[:foo]).to eq('bar')
|
19
|
+
expect(model.custom_flags[:answer]).to eq(42)
|
20
|
+
expect(model.custom_flags[:arrays]).to eq(['foo', 'bar', 'baz'])
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'mparticle'
|
2
|
+
|
3
|
+
describe 'CCPAConsentState' do
|
4
|
+
it 'should create an instance of CCPAConsentState' do
|
5
|
+
model = MParticle::CCPAConsentState.new
|
6
|
+
expect(model).to be_an_instance_of MParticle::CCPAConsentState
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'should have the property consented (base name: "consented")' do
|
10
|
+
model = MParticle::CCPAConsentState.new
|
11
|
+
model.consented = true
|
12
|
+
expect(model.consented).to eq true
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'should have the property timestamp_unixtime_ms {base name: "timestamp_unixtime_ms" }' do
|
16
|
+
now = Time.now.to_i
|
17
|
+
model = MParticle::CCPAConsentState.new
|
18
|
+
model.timestamp_unixtime_ms = now
|
19
|
+
expect(model.timestamp_unixtime_ms).to eq now
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'should have the property location {base name: "location" }' do
|
23
|
+
model = MParticle::CCPAConsentState.new
|
24
|
+
model.location = 'dtmgbank.com/signup'
|
25
|
+
expect(model.location).to eq 'dtmgbank.com/signup'
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'should have the property hardware_id {base name: "hardware_id" }' do
|
29
|
+
model = MParticle::CCPAConsentState.new
|
30
|
+
model.hardware_id = 'IDFA:a5d934n0-232f-4afc-2e9a-3832d95zc702'
|
31
|
+
expect(model.hardware_id).to eq 'IDFA:a5d934n0-232f-4afc-2e9a-3832d95zc702'
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'mparticle'
|
2
|
+
|
3
|
+
describe 'CommerceEvent' do
|
4
|
+
it 'should create an instance of CommerceEvent' do
|
5
|
+
model = MParticle::CommerceEvent.new
|
6
|
+
expect(model).to be_an_instance_of MParticle::CommerceEvent
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'should have custom_flags' do
|
10
|
+
model = MParticle::CommerceEvent.new
|
11
|
+
model.custom_flags = {
|
12
|
+
"foo": 'bar',
|
13
|
+
'answer': 42,
|
14
|
+
'arrays': [
|
15
|
+
'foo', 'bar', 'baz'
|
16
|
+
]
|
17
|
+
}
|
18
|
+
expect(model.custom_flags[:foo]).to eq('bar')
|
19
|
+
expect(model.custom_flags[:answer]).to eq(42)
|
20
|
+
expect(model.custom_flags[:arrays]).to eq(['foo', 'bar', 'baz'])
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require 'mparticle'
|
2
|
+
|
3
|
+
describe 'DataPlanContext' do
|
4
|
+
it 'should create an instance of DataPlanContext' do
|
5
|
+
model = MParticle::DataPlanContext.new
|
6
|
+
expect(model).to be_an_instance_of MParticle::DataPlanContext
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'should set context on batch' do
|
10
|
+
batch_model = MParticle::Batch.new
|
11
|
+
batch_model.context = MParticle::BatchContext.new
|
12
|
+
batch_model.context.data_plan = MParticle::DataPlanContext.new
|
13
|
+
batch_model.context.data_plan.plan_id = 'foo_dp_id'
|
14
|
+
batch_model.context.data_plan.plan_version = 5
|
15
|
+
expect(batch_model.context.data_plan.plan_id).to eq('foo_dp_id')
|
16
|
+
expect(batch_model.context.data_plan.plan_version).to eq(5)
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'mparticle'
|
2
|
+
|
3
|
+
describe 'ScreenViewEvent' do
|
4
|
+
it 'should create an instance of ScreenViewEvent' do
|
5
|
+
model = MParticle::ScreenViewEvent.new
|
6
|
+
expect(model).to be_an_instance_of MParticle::ScreenViewEvent
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'should have custom_flags' do
|
10
|
+
model = MParticle::ScreenViewEvent.new
|
11
|
+
model.custom_flags = {
|
12
|
+
"foo": 'bar',
|
13
|
+
'answer': 42,
|
14
|
+
'arrays': [
|
15
|
+
'foo', 'bar', 'baz'
|
16
|
+
]
|
17
|
+
}
|
18
|
+
expect(model.custom_flags[:foo]).to eq('bar')
|
19
|
+
expect(model.custom_flags[:answer]).to eq(42)
|
20
|
+
expect(model.custom_flags[:arrays]).to eq(['foo', 'bar', 'baz'])
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'mparticle'
|
2
|
+
|
3
|
+
describe 'UserIdentities' do
|
4
|
+
it 'should create an instance of UserIdentities' do
|
5
|
+
model = MParticle::UserIdentities.new
|
6
|
+
expect(model).to be_an_instance_of MParticle::UserIdentities
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'should set all identities' do
|
10
|
+
model = MParticle::UserIdentities.new
|
11
|
+
model.other = 'foo_other'
|
12
|
+
expect(model.other).to eq('foo_other')
|
13
|
+
model.customerid = 'foo_customerid'
|
14
|
+
expect(model.customerid).to eq('foo_customerid')
|
15
|
+
model.facebook = 'foo_facebook'
|
16
|
+
expect(model.facebook).to eq('foo_facebook')
|
17
|
+
model.twitter = 'foo_twitter'
|
18
|
+
expect(model.twitter).to eq('foo_twitter')
|
19
|
+
model.google = 'foo_google'
|
20
|
+
expect(model.google).to eq('foo_google')
|
21
|
+
model.microsoft = 'foo_microsoft'
|
22
|
+
expect(model.microsoft).to eq('foo_microsoft')
|
23
|
+
model.yahoo = 'foo_yahoo'
|
24
|
+
expect(model.yahoo).to eq('foo_yahoo')
|
25
|
+
model.email = 'foo_email'
|
26
|
+
expect(model.email).to eq('foo_email')
|
27
|
+
model._alias = 'foo_alias'
|
28
|
+
expect(model._alias).to eq('foo_alias')
|
29
|
+
model.facebook_custom_audience_id = 'foo_fbid'
|
30
|
+
expect(model.facebook_custom_audience_id).to eq('foo_fbid')
|
31
|
+
model.other_id_2 = 'foo_other_id_2'
|
32
|
+
expect(model.other_id_2).to eq('foo_other_id_2')
|
33
|
+
model.other_id_3 = 'foo_other_id_3'
|
34
|
+
expect(model.other_id_3).to eq('foo_other_id_3')
|
35
|
+
model.other_id_4 = 'foo_other_id_4'
|
36
|
+
expect(model.other_id_4).to eq('foo_other_id_4')
|
37
|
+
model.other_id_5 = 'foo_other_id_5'
|
38
|
+
expect(model.other_id_5).to eq('foo_other_id_5')
|
39
|
+
model.other_id_6 = 'foo_other_id_6'
|
40
|
+
expect(model.other_id_6).to eq('foo_other_id_6')
|
41
|
+
model.other_id_7 = 'foo_other_id_7'
|
42
|
+
expect(model.other_id_7).to eq('foo_other_id_7')
|
43
|
+
model.other_id_8 = 'foo_other_id_8'
|
44
|
+
expect(model.other_id_8).to eq('foo_other_id_8')
|
45
|
+
model.other_id_9 = 'foo_other_id_9'
|
46
|
+
expect(model.other_id_9).to eq('foo_other_id_9')
|
47
|
+
model.other_id_10 = 'foo_other_id_10'
|
48
|
+
expect(model.other_id_10).to eq('foo_other_id_10')
|
49
|
+
model.mobile_number = 'foo_mobile_number'
|
50
|
+
expect(model.mobile_number).to eq('foo_mobile_number')
|
51
|
+
model.phone_number_2 = 'foo_phone_number_2'
|
52
|
+
expect(model.phone_number_2).to eq('foo_phone_number_2')
|
53
|
+
model.phone_number_3 = 'foo_phone_number_3'
|
54
|
+
expect(model.phone_number_3).to eq('foo_phone_number_3')
|
55
|
+
|
56
|
+
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mparticle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mParticle Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -36,20 +36,20 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '2.0'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: 2.3.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
49
|
+
version: '2.0'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
52
|
+
version: 2.3.0
|
53
53
|
description: Use this client to send your data into the mParticle platform.
|
54
54
|
email:
|
55
55
|
- support@mparticle.com
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- docs/AttributionInfo.md
|
67
67
|
- docs/Batch.md
|
68
68
|
- docs/BreadcrumbEvent.md
|
69
|
+
- docs/CCPAConsentState.md
|
69
70
|
- docs/CommerceEvent.md
|
70
71
|
- docs/ConsentState.md
|
71
72
|
- docs/CrashReportEvent.md
|
@@ -107,10 +108,13 @@ files:
|
|
107
108
|
- lib/mparticle/models/application_state_transition_event.rb
|
108
109
|
- lib/mparticle/models/attribution_info.rb
|
109
110
|
- lib/mparticle/models/batch.rb
|
111
|
+
- lib/mparticle/models/batch_context.rb
|
110
112
|
- lib/mparticle/models/breadcrumb_event.rb
|
113
|
+
- lib/mparticle/models/ccpa_consent_state.rb
|
111
114
|
- lib/mparticle/models/commerce_event.rb
|
112
115
|
- lib/mparticle/models/consent_state.rb
|
113
116
|
- lib/mparticle/models/crash_report_event.rb
|
117
|
+
- lib/mparticle/models/data_plan_context.rb
|
114
118
|
- lib/mparticle/models/device_current_state.rb
|
115
119
|
- lib/mparticle/models/device_information.rb
|
116
120
|
- lib/mparticle/models/event_base.rb
|
@@ -137,9 +141,15 @@ files:
|
|
137
141
|
- lib/mparticle/models/user_identities.rb
|
138
142
|
- lib/mparticle/version.rb
|
139
143
|
- mparticle.gemspec
|
144
|
+
- spec/models/app_event_spec.rb
|
145
|
+
- spec/models/ccpa_consent_state_spec.rb
|
146
|
+
- spec/models/commerce_event_spec.rb
|
140
147
|
- spec/models/consent_state_spec.rb
|
148
|
+
- spec/models/data_plan_context_spec.rb
|
141
149
|
- spec/models/gdpr_consent_state_spec.rb
|
142
150
|
- spec/models/product_spec.rb
|
151
|
+
- spec/models/screen_view_event_spec.rb
|
152
|
+
- spec/models/user_identities_spec.rb
|
143
153
|
homepage: https://www.mparticle.com
|
144
154
|
licenses:
|
145
155
|
- Apache-2.0
|
@@ -159,8 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
169
|
- !ruby/object:Gem::Version
|
160
170
|
version: '0'
|
161
171
|
requirements: []
|
162
|
-
|
163
|
-
rubygems_version: 2.6.8
|
172
|
+
rubygems_version: 3.0.3
|
164
173
|
signing_key:
|
165
174
|
specification_version: 4
|
166
175
|
summary: Ruby client for the mParticle platform
|