pushofy 0.0.12 → 0.0.13

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: 49abac5d3fad6f5f03b4391e05e79c02a1180e59
4
- data.tar.gz: f4bb0cf73e8e9c30c28c1362f33e8c09733dcd47
3
+ metadata.gz: f535ff40fd0c0dacd23c1ed5dfd9316b8855982b
4
+ data.tar.gz: 1fb4a627adac7323fad8cc8891d7f41d251db3cf
5
5
  SHA512:
6
- metadata.gz: 42350107b98b435aed2e048456badb721332e796657d9b98f1fc4c5a1b48a3ea19177c9ce145c5d8e5a916bb99f9d3a6c082a60b9e6a6d283dd24c263e8ce77c
7
- data.tar.gz: 89f321dfe709ac1e8e26176856251a0a061c047fd9d71daf09f90f5440d12b7c2de7dc4cef929c75d677b668aac70d198bf67c090dbd855cd363714ad126034c
6
+ metadata.gz: 239107f67f7ff7511d1a07c2cbc3793e2b21c1de64ee00b01e74b999028333b01cbfe4f809403477ad561551228ea3fab83dddb68684af09db8bb403a73ccf29
7
+ data.tar.gz: 2da399d03b613d168051586e6d2eb13af01d1090da358455835c6b4011572515b6a1569efa72a943cde8e69e3438fa3c3bb177b893ba52f0a9f22a859bf4db8d
@@ -15,10 +15,8 @@ module Pushofy
15
15
  @port = port
16
16
  end
17
17
  def push
18
- host = 'gateway.push.apple.com'
19
- # path = Dir.pwd + '/app/controllers/ProductionCertificate.pem'
20
18
  path = @cert_name
21
- ssl_client = Pushofy::ConnectionToAppleServer::ssl_connect(@host,@port, @password,'../DevCert.pem')
19
+ ssl_client = Pushofy::ConnectionToAppleServer::ssl_connect(@host,@port, @password,@cert_name)
22
20
  ssl_client.connect
23
21
  device = [@deviceTokenHex]
24
22
  device_token_binary = device.pack('H*')
@@ -1,3 +1,3 @@
1
1
  module Pushofy
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
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.12
4
+ version: 0.0.13
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-01 00:00:00.000000000 Z
11
+ date: 2014-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler