google_instance_id 0.1.1 → 0.1.2

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: ca0ddf646947a8865c9ae6f348cfb3286619be8d
4
- data.tar.gz: 793048ee99bab47216fb1ee2804dcbd790632e19
3
+ metadata.gz: 4929b4888383e19cd654d1b12e805236361fef7a
4
+ data.tar.gz: 8f93f997e2d8fb5b07b6adfdc9396e77247fe06f
5
5
  SHA512:
6
- metadata.gz: c0ea16af8e4071d4446427213abf65840eac1724e255931e5de16b1a6a9a944763da27b10413356b87ad2b9156af3f727b3928d365d7379b112d0d04723a0b06
7
- data.tar.gz: 423b4a9bd8d9967bdffca4c9a3eb8f8d1389bc2e1d15704c9b8251dea5e8558861359f07546b86c279ecf798766d18be50622ac300b823ed8e384da57eb18dd7
6
+ metadata.gz: 25af5536eb52c8d570f736b1f5d70d6b96f7adc6a430e18a9d6f06a9f422a1f800816a33061ee2c273ba27be4f1f3c3b52902516aad0cc73b497b0f030382437
7
+ data.tar.gz: a9a1092dcaf1da500520473f3661876602fcd5505451a99b8eee7f1bc62bd8ce9a2f1562c1176cfca0444064f7c2a89f7e581cd8990722a823d95d47cc19cd05
@@ -1,3 +1,3 @@
1
1
  class GoogleInstanceId
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -18,11 +18,11 @@ attr_accessor :timeout, :api_key
18
18
  end
19
19
 
20
20
  def add_topic(registration_tokens, topic)
21
- manage_relationship_maps(registration_tokens, topic, :add)
21
+ manage_relationship_maps(Array(registration_tokens), topic, :add)
22
22
  end
23
23
 
24
24
  def remove_topic(registration_tokens, topic)
25
- manage_relationship_maps(registration_tokens, topic, :remove)
25
+ manage_relationship_maps(Array(registration_tokens), topic, :remove)
26
26
  end
27
27
 
28
28
  def info(registration_token)
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Milare