apple_shove 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/apple_shove/demultiplexer.rb +1 -1
- data/lib/apple_shove/logger.rb +7 -1
- data/lib/apple_shove/version.rb +1 -1
- metadata +4 -4
data/lib/apple_shove/logger.rb
CHANGED
@@ -43,7 +43,13 @@ module AppleShove
|
|
43
43
|
|
44
44
|
def self.log(severity, msg, connection, notification)
|
45
45
|
output = ''
|
46
|
-
|
46
|
+
|
47
|
+
if connection && connection.respond_to?("name")
|
48
|
+
output += "#{connection.name}\t"
|
49
|
+
elsif connection.kind_of? String
|
50
|
+
output += "#{connection}\t"
|
51
|
+
end
|
52
|
+
|
47
53
|
output += "#{notification.device_token}\t" if notification
|
48
54
|
output += msg
|
49
55
|
|
data/lib/apple_shove/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apple_shove
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -155,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
segments:
|
157
157
|
- 0
|
158
|
-
hash:
|
158
|
+
hash: 3767349799964953849
|
159
159
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
version: '0'
|
165
165
|
segments:
|
166
166
|
- 0
|
167
|
-
hash:
|
167
|
+
hash: 3767349799964953849
|
168
168
|
requirements: []
|
169
169
|
rubyforge_project:
|
170
170
|
rubygems_version: 1.8.24
|