pubnub-ruby 0.0.4 → 0.0.5
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.
- data/lib/pubnub.rb +3 -3
- metadata +2 -2
data/lib/pubnub.rb
CHANGED
@@ -104,13 +104,13 @@ class Pubnub
|
|
104
104
|
|
105
105
|
## Fail if missing channel
|
106
106
|
if !channel
|
107
|
-
|
107
|
+
puts "Missing Channel."
|
108
108
|
return false
|
109
109
|
end
|
110
110
|
|
111
111
|
## Fail if missing callback
|
112
112
|
if !callback
|
113
|
-
|
113
|
+
puts "Missing Callback."
|
114
114
|
return false
|
115
115
|
end
|
116
116
|
|
@@ -165,7 +165,7 @@ class Pubnub
|
|
165
165
|
|
166
166
|
## Fail if bad input.
|
167
167
|
if (!channel)
|
168
|
-
|
168
|
+
puts 'Missing Channel.'
|
169
169
|
return false
|
170
170
|
end
|
171
171
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: pubnub-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Luke Carpenter
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-08-03 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|