dr-apns 0.1.6 → 0.1.7

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 (4) hide show
  1. checksums.yaml +7 -0
  2. data/README.textile +3 -3
  3. data/Rakefile +7 -7
  4. metadata +8 -10
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f8aa0d3ff437e9c3fa999d157ace08778766fdc9
4
+ data.tar.gz: 912b67c2940d6f3e67970331e4bee067a650353d
5
+ SHA512:
6
+ metadata.gz: acefa63c41b7a1823e5eb10a38733532d208f8fcc323c3f61190b22687b234deaf74f3ffd52bd736762ee13dc9a6d08b13bd6c247b1ec33e7b1f0e57b120a386
7
+ data.tar.gz: e183433f776145df8d96cdafa32b59b8312b0e92d414aa12e6eabed22d2eb99dbccd940a67f3f8ccb6c34df854ee91e9732da78cc9e9ec67d89b364975b29ec0
data/README.textile CHANGED
@@ -78,8 +78,8 @@ device_token = '123abc456def'
78
78
  APNS.send_notification(device_token, 'Hello iPhone!')
79
79
  APNS.send_notification(device_token, :aps => {:alert => 'Hello iPhone!', :badge => 1, :sound => 'default'})
80
80
 
81
- thread = APNS.send_notification_thread(device_token, 'Hello iPhone!')
82
- thread = APNS.send_notification_thread(device_token, :aps => {:alert => 'Hello iPhone!', :badge => 1, :sound => 'default'})
81
+ thread = APNS.send_notification_async(device_token, 'Hello iPhone!')
82
+ thread = APNS.send_notification_async(device_token, :aps => {:alert => 'Hello iPhone!', :badge => 1, :sound => 'default'})
83
83
  thread.join
84
84
  </pre>
85
85
 
@@ -95,7 +95,7 @@ n2 = [device_token, :aps => { :alert => '... iPhone!', :badge => 1, :sound => 'd
95
95
 
96
96
  APNS.send_notifications([n1, n2])
97
97
 
98
- thread = APNS.send_notifications_thread([n1, n2])
98
+ thread = APNS.send_notifications_async([n1, n2])
99
99
  thread.join
100
100
  </pre>
101
101
 
data/Rakefile CHANGED
@@ -4,12 +4,12 @@ require 'rubygems/specification'
4
4
  require 'date'
5
5
  require 'spec/rake/spectask'
6
6
 
7
- GEM = 'apns'
8
- GEM_NAME = 'apns'
9
- GEM_VERSION = '0.9.0'
10
- AUTHORS = ['James Pozdena']
11
- EMAIL = "jpoz@jpoz.net"
12
- HOMEPAGE = "http://github.com/jpoz/apns"
7
+ GEM = 'dr-apns'
8
+ GEM_NAME = 'dr-apns'
9
+ GEM_VERSION = '0.1.7'
10
+ AUTHORS = ['Dongri Jin']
11
+ EMAIL = "dongriat@gmail.com"
12
+ HOMEPAGE = "http://github.com/dongri/DR-APNS"
13
13
  SUMMARY = "Simple Apple push notification service gem"
14
14
 
15
15
  spec = Gem::Specification.new do |s|
@@ -50,4 +50,4 @@ task :make_spec do
50
50
  File.open("#{GEM}.gemspec", "w") do |file|
51
51
  file.puts spec.to_ruby
52
52
  end
53
- end
53
+ end
metadata CHANGED
@@ -1,18 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dr-apns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
5
- prerelease:
4
+ version: 0.1.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Dongri Jin
9
8
  autorequire: apns
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-06-28 00:00:00.000000000 Z
11
+ date: 2014-11-22 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Simple Apple push notification service gem
15
- email: dongriab@gmail.com
14
+ email: dongriat@gmail.com
16
15
  executables: []
17
16
  extensions: []
18
17
  extra_rdoc_files:
@@ -23,27 +22,26 @@ files:
23
22
  - Rakefile
24
23
  - lib/apns/core.rb
25
24
  - lib/apns.rb
26
- homepage: http://github.com/dongriab/dr-apns
25
+ homepage: http://github.com/dongri/DR-APNS
27
26
  licenses: []
27
+ metadata: {}
28
28
  post_install_message:
29
29
  rdoc_options: []
30
30
  require_paths:
31
31
  - lib
32
32
  required_ruby_version: !ruby/object:Gem::Requirement
33
- none: false
34
33
  requirements:
35
- - - ! '>='
34
+ - - '>='
36
35
  - !ruby/object:Gem::Version
37
36
  version: '0'
38
37
  required_rubygems_version: !ruby/object:Gem::Requirement
39
- none: false
40
38
  requirements:
41
- - - ! '>='
39
+ - - '>='
42
40
  - !ruby/object:Gem::Version
43
41
  version: '0'
44
42
  requirements: []
45
43
  rubyforge_project:
46
- rubygems_version: 1.8.24
44
+ rubygems_version: 2.0.14
47
45
  signing_key:
48
46
  specification_version: 3
49
47
  summary: Simple Apple push notification service gem