apns 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/apns/core.rb +1 -1
  3. metadata +2 -2
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.3'
9
+ GEM_VERSION = '0.0.4'
10
10
  AUTHORS = ['James Pozdena']
11
11
  EMAIL = "jpoz@jpoz.net"
12
12
  HOMEPAGE = "http://github.com/jpoz/apns"
@@ -46,7 +46,7 @@ module APNS
46
46
  def self.apns_from_hash(hash)
47
47
  other = hash.delete(:other)
48
48
  aps = {'aps'=> hash }
49
- aps.merge(other) if other
49
+ aps.merge!(other) if other
50
50
  aps.to_json
51
51
  end
52
52
 
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.3
4
+ version: 0.0.4
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-10-28 00:00:00 -07:00
12
+ date: 2010-01-18 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15