urbanairship 5.0.0 → 5.0.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
  SHA1:
3
- metadata.gz: 6f0d564484013c5bd00e79332ba4627eed3c88d6
4
- data.tar.gz: 5539b387ffb95fe9275f16e26cd0d742d0ccce6d
3
+ metadata.gz: 38dbd9cfec000e72c2ce39c1fcd876dc62c31853
4
+ data.tar.gz: aff6da919afc6d7b7061effab19e1ef5daf14978
5
5
  SHA512:
6
- metadata.gz: a85f430e036579a1b331a8b80d119407deec4a3c4c4757a7af5819e39d5ac0aa7ece81e7be79735f9039abfab61fe040b9b518292c54435a5f4acd4f68f3e805
7
- data.tar.gz: c960ef78dda1bd889d8aae622b929bd1412fd7033e8612afa5ad9aed9210469887dd5de1e9bd04bd07ac70001e0fb5da658d8fce8e729c57d16bba962394825f
6
+ metadata.gz: 14018e2e9814907acb026aee25ca12fd3b1a84b79e8160faa97a605d07de8347d102bc0c04c76e33011d06d697981315538e4a3ade6a02a12c6ab21725ac7e80
7
+ data.tar.gz: 4c92f1fd30db43c76b81706ba299dd05992abeb0b7b90a32e9724ffaeb5f5fbf6faaa77eb8566091831cbcd3b5b9ddf7a84989a303512d35e83bc7a10b0bf316
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ --------------------
2
+ 5.0.1
3
+ --------------------
4
+ - Fix bug with named user association/disassociation
5
+
1
6
  --------------------
2
7
  5.0.0
3
8
  --------------------
@@ -19,7 +19,7 @@ module Urbanairship
19
19
 
20
20
  payload = {}
21
21
  payload['channel_id'] = channel_id
22
- payload['device_type'] = @device_type unless @device_type.nil?
22
+ payload['device_type'] = device_type unless device_type.nil?
23
23
  payload['named_user_id'] = @named_user_id
24
24
 
25
25
  response = @client.send_request(
@@ -35,7 +35,7 @@ module Urbanairship
35
35
  def disassociate(channel_id: required('channel_id'), device_type: nil)
36
36
  payload = {}
37
37
  payload['channel_id'] = channel_id
38
- payload['device_type'] = @device_type unless @device_type.nil?
38
+ payload['device_type'] = device_type unless device_type.nil?
39
39
  payload['named_user_id'] = @named_user_id unless @named_user_id.nil?
40
40
  response = @client.send_request(
41
41
  method: 'POST',
@@ -1,3 +1,3 @@
1
1
  module Urbanairship
2
- VERSION = '5.0.0'
2
+ VERSION = '5.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanairship
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Urban Airship
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-28 00:00:00.000000000 Z
11
+ date: 2018-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  version: '0'
195
195
  requirements: []
196
196
  rubyforge_project:
197
- rubygems_version: 2.5.2.1
197
+ rubygems_version: 2.4.5.1
198
198
  signing_key:
199
199
  specification_version: 4
200
200
  summary: Ruby Gem for using the Urban Airship API