pushofy 0.0.14 → 0.0.15

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: dd13a3f77df2b411d059e05d8702c2a0fa73c15c
4
- data.tar.gz: eb698765062be8877f1fd07a86adf592b70617b0
3
+ metadata.gz: 04756d3defad1dec265ce5819d159988225880ff
4
+ data.tar.gz: 9dcb2cec3d06541393da88d510e9af9402d44e4e
5
5
  SHA512:
6
- metadata.gz: c2cce899e91e48defee8a262f8c251468afe44cc5bf30b362a58596e66be48e3f2d4df51ee0cb03e1238b7d97873d64e7c39b2c53c5c016f772ea99357dd2018
7
- data.tar.gz: 45c6ff027e23f1f4279e5616304a804a9b5d97f0b8c1b3735ed94841ed4d33f0bf4596a952cf2bfc1a8b7e5819c097fc44e0652ad883e2d6eb3363de639b7250
6
+ metadata.gz: 7e74f84c2f1079d9e9c29dc54add173d64bbcec34c73990005595c662fe1e4e4f727a6d40d4fb75766c1d764c1aafcfd434dfe8b0135af974f86c169f02ffba7
7
+ data.tar.gz: 5d5bdc88e83331da34bc2bcab63b1f6e73c2f2776f6b26c3850fa9ab708fe5dbf2908221c31ed9aafca2552b3ed0f974b9b300fcbf3e23d5c6fb34c8ef0dda28
data/bin/pushofy.rb CHANGED
@@ -81,6 +81,5 @@ android_payload = { 'message' => "You have a new #{app} from #{from}" }
81
81
  android_payload['app'] = app
82
82
  android_payload['url'] = url
83
83
  body['data'] = android_payload
84
- p body
85
84
  a = Pushofy::AndroidPush.new(body,"AIzaSyCoTPiIlC9OKuLh6i66focOp3zygWWOKXs")
86
85
  a.push
@@ -12,7 +12,6 @@ module Pushofy
12
12
  def push
13
13
  uri = URI('https://android.googleapis.com/gcm/send')
14
14
  auth_key = "key=#{@api_key}"
15
- p auth_key
16
15
  headers = { 'Content-Type' => 'application/json',
17
16
  'Authorization' => auth_key }
18
17
  http = Net::HTTP.new(uri.host, uri.port)
@@ -1,3 +1,3 @@
1
1
  module Pushofy
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pushofy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ankur Kothari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-02 00:00:00.000000000 Z
11
+ date: 2014-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler