mparticle 1.1.0 → 1.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e643f74d5e885c07ad75683d3051bbab37e1736d423d013a03c9d69ac57eaea
4
- data.tar.gz: cdc2cc3d1adb8a2455cbe51eb081a2c3ce81ee72377ae7dac48fd88357ec5f0f
3
+ metadata.gz: c913a8245d602c812a7d248be5a2585cdf380a0018e0b3ec8bec9b6552477f7c
4
+ data.tar.gz: ee13e35cbf538ec7e45b306d5f6a723d9110bfe54db0b89ecbefdc791f7e73a9
5
5
  SHA512:
6
- metadata.gz: 412958414338ad3f126b1e57078c350d748593c5917f53252f1abaf3b8500d11a7cfd04e9cbe022cffc260d6ed908798e20bba1464d9ca84716bde3c35025816
7
- data.tar.gz: a57f039027d6d5106a9d63e2de08eabdbd99e18a9121bcc0178b7327a4566f939560abd1e9a1a6c2fb6e4c0aec6c1d02e33f063fa79dc941a73385bb8f8d4685
6
+ metadata.gz: 5dd3ff99fd7117ae08690b69fb158d09c0ef6850e867c64506a4ced60f81f791fb83615b50bd9e1f9929f95ff5d289d476749d433fe35b9695ba78529f0b5908
7
+ data.tar.gz: 53639252fd0467e14a7dc248ae63518d8b6072f840f294b4aaa6dfdb936d769191469dd15a2ab4252d029ba6f5cdf3e3fddb3bb1677e9d793684c68d1f6925dd
@@ -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.0"
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "mparticle"
3
- s.version = "1.1.0"
3
+ s.version = "1.1.1"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ["mParticle Inc."]
6
6
  s.email = ["support@mparticle.com"]
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.0
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-04-06 00:00:00.000000000 Z
11
+ date: 2021-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus