fcm-ruby-push-notifications 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5043c1d56180cceaae2e9e0c47270dcdb18dc889
4
- data.tar.gz: 8e83ac1db715886036aab694901fe3e0ed220249
3
+ metadata.gz: 92aaf45d10e7dc812c3615bc4663ec3b87990992
4
+ data.tar.gz: 42ed874d7818f715a1b9266f6882a5e0c3ca9a70
5
5
  SHA512:
6
- metadata.gz: 51cdd15cb84d289715c4794333c11b0217ee2fe59b94b3f47e6c6ebba85ba55aa06e0351c840ef70078b099af1a53e407d3edb5f68646e1282eb48630ec0b02c
7
- data.tar.gz: 24fb35a54e114c538f36449047956cbb7e2aca35c516d1558e66b33a5de8595a5663943757c9cf76f11674e75d434737a7bcabd8d8b532706c5951e43b8fe700
6
+ metadata.gz: fdac35ac1497021bc52a9c18ff8fc95749e949dbb58ed4b8f7846769c27a4d51881f701a910839d6b84e3301fa0030ecc71000b37fc7280be03509680e8ce550
7
+ data.tar.gz: 1b552579192b59827efca222c16a2d420ac4f1fc0c255fcb2d9886780e780dd13a0c63a38a095894066bffa6dfd7a8b535a5067145bc62deb4d2616c50369f3b
@@ -40,7 +40,7 @@ module RubyPushNotifications
40
40
  }
41
41
  # TODO: remove to_json if causing error
42
42
  params = {
43
- body: notification.to_json,
43
+ body: notification,
44
44
  headers: {
45
45
  AUTHORIZATION_HEADER => "key=#{key}",
46
46
  CONTENT_TYPE_HEADER => JSON_CONTENT_TYPE
@@ -19,8 +19,6 @@ module RubyPushNotifications
19
19
  @params = params
20
20
  end
21
21
  def make_request
22
- puts '********** make_request *************'
23
- puts @params
24
22
  response = self.class.post('/send', @params)
25
23
  end
26
24
  end
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "fcm-ruby-push-notifications"
4
- spec.version = "1.2.0"
4
+ spec.version = "1.2.1"
5
5
  spec.authors = ['Santhu MS']
6
6
  spec.email = ['santhu.ms83@gmail.com']
7
7
  spec.summary = %q{iOS, Android and Windows Phone Push Notifications made easy!}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fcm-ruby-push-notifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Santhu MS