pubnub-ruby 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/pubnub.rb +3 -3
  2. 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
- echo("Missing Channel.\n")
107
+ puts "Missing Channel."
108
108
  return false
109
109
  end
110
110
 
111
111
  ## Fail if missing callback
112
112
  if !callback
113
- echo("Missing Callback.\n")
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
- echo('Missing Channel')
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.4
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-06-05 00:00:00 Z
13
+ date: 2011-08-03 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json