mparticle 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mparticle/api_client.rb +1 -1
- data/lib/mparticle/models/device_information.rb +2 -2
- data/mparticle.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c913a8245d602c812a7d248be5a2585cdf380a0018e0b3ec8bec9b6552477f7c
|
4
|
+
data.tar.gz: ee13e35cbf538ec7e45b306d5f6a723d9110bfe54db0b89ecbefdc791f7e73a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dd3ff99fd7117ae08690b69fb158d09c0ef6850e867c64506a4ced60f81f791fb83615b50bd9e1f9929f95ff5d289d476749d433fe35b9695ba78529f0b5908
|
7
|
+
data.tar.gz: 53639252fd0467e14a7dc248ae63518d8b6072f840f294b4aaa6dfdb936d769191469dd15a2ab4252d029ba6f5cdf3e3fddb3bb1677e9d793684c68d1f6925dd
|
data/lib/mparticle/api_client.rb
CHANGED
@@ -19,7 +19,7 @@ module MParticle
|
|
19
19
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
20
20
|
def initialize(config)
|
21
21
|
@config = config
|
22
|
-
@user_agent = "mParticle Ruby client/1.1.
|
22
|
+
@user_agent = "mParticle Ruby client/1.1.1"
|
23
23
|
@default_headers = {
|
24
24
|
'Content-Type' => "application/json",
|
25
25
|
'User-Agent' => @user_agent
|
@@ -345,7 +345,7 @@ module MParticle
|
|
345
345
|
# Check to see if the all the properties in the model are valid
|
346
346
|
# @return true if the model is valid
|
347
347
|
def valid?
|
348
|
-
platform_validator = EnumAttributeValidator.new('String', ["Unknown", "iOS", "Android", "tvOS"])
|
348
|
+
platform_validator = EnumAttributeValidator.new('String', ["Unknown", "iOS", "Android", "web", "tvOS", "roku", "out_of_band", "alexa", "smart_tv", "fire_tv", "xbox"])
|
349
349
|
att_validator = EnumAttributeValidator.new('String', ["authorized", "denied", "not_determined", "restricted"])
|
350
350
|
return false unless platform_validator.valid?(@platform)
|
351
351
|
return false unless att_validator.valid?(@att_authorization_status)
|
@@ -355,7 +355,7 @@ module MParticle
|
|
355
355
|
# Custom attribute writer method checking allowed values (enum).
|
356
356
|
# @param [Object] platform Object to be assigned
|
357
357
|
def platform=(platform)
|
358
|
-
validator = EnumAttributeValidator.new('String', ["Unknown", "iOS", "Android", "tvOS"])
|
358
|
+
validator = EnumAttributeValidator.new('String', ["Unknown", "iOS", "Android", "web", "tvOS", "roku", "out_of_band", "alexa", "smart_tv", "fire_tv", "xbox"])
|
359
359
|
unless validator.valid?(platform)
|
360
360
|
fail ArgumentError, "invalid value for 'platform', must be one of #{validator.allowable_values}."
|
361
361
|
end
|
data/mparticle.gemspec
CHANGED
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.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mParticle Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|