google_instance_id 0.1.2 → 0.1.3

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: 4929b4888383e19cd654d1b12e805236361fef7a
4
- data.tar.gz: 8f93f997e2d8fb5b07b6adfdc9396e77247fe06f
3
+ metadata.gz: 9d53d98321a970a07c129fe1f24ee92a6c34ffe2
4
+ data.tar.gz: 3be44e0c84e3b3616de989a5bde2eaed641ca4bb
5
5
  SHA512:
6
- metadata.gz: 25af5536eb52c8d570f736b1f5d70d6b96f7adc6a430e18a9d6f06a9f422a1f800816a33061ee2c273ba27be4f1f3c3b52902516aad0cc73b497b0f030382437
7
- data.tar.gz: a9a1092dcaf1da500520473f3661876602fcd5505451a99b8eee7f1bc62bd8ce9a2f1562c1176cfca0444064f7c2a89f7e581cd8990722a823d95d47cc19cd05
6
+ metadata.gz: ad87a5f3e63842e8204a48ace6ea7d357bdcbbe1f01f691978a3a14d4844c08c258398338b8020eed793194742bcafb6d34bcfbc3caf3c53d173e349cbeee93a
7
+ data.tar.gz: 226ae8d1890b1c5d448dc5785da226ec46f18e5082ae4040759665e032431b230d8228b7143aa52333f0bca9b905b4cb463eaf40a4028fa0133c5da214fd6bc3
@@ -37,7 +37,7 @@ attr_accessor :timeout, :api_key
37
37
  end
38
38
 
39
39
  def manage_relationship_maps(registration_tokens, topic, action = :add)
40
- body = { registration_tokens: registration_tokens, to: topic }
40
+ body = { registration_tokens: registration_tokens, to: "/topics/#{topic}" }
41
41
  path = action == :add ? '/v1:batchAdd' : '/v1:batchRemove'
42
42
  response = self.class.post(path, build_params(body))
43
43
  Hashie::Mash.new(build_manage_relationship_response(response, registration_tokens))
@@ -1,3 +1,3 @@
1
1
  class GoogleInstanceId
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_instance_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Milare