apns 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/apns/core.rb +1 -1
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'spec/rake/spectask'
6
6
 
7
7
  GEM = 'apns'
8
8
  GEM_NAME = 'apns'
9
- GEM_VERSION = '0.0.2'
9
+ GEM_VERSION = '0.0.3'
10
10
  AUTHORS = ['James Pozdena']
11
11
  EMAIL = "jpoz@jpoz.net"
12
12
  HOMEPAGE = "http://github.com/jpoz/apns"
@@ -47,7 +47,7 @@ module APNS
47
47
  other = hash.delete(:other)
48
48
  aps = {'aps'=> hash }
49
49
  aps.merge(other) if other
50
- JSON.generate(aps)
50
+ aps.to_json
51
51
  end
52
52
 
53
53
  def self.open_connection
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Pozdena
@@ -9,7 +9,7 @@ autorequire: apns
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-09 00:00:00 -07:00
12
+ date: 2009-10-28 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -54,7 +54,7 @@ requirements: []
54
54
  rubyforge_project:
55
55
  rubygems_version: 1.3.5
56
56
  signing_key:
57
- specification_version: 2
57
+ specification_version: 3
58
58
  summary: Simple Apple push notification service gem
59
59
  test_files: []
60
60