pubnub-ruby 3.3.0.6 → 3.3.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pubnub.rb +2 -1
- metadata +18 -3
data/lib/pubnub.rb
CHANGED
@@ -19,6 +19,7 @@ require 'pubnub_request'
|
|
19
19
|
require 'eventmachine'
|
20
20
|
require 'em-http-request'
|
21
21
|
require 'yajl'
|
22
|
+
require 'json'
|
22
23
|
require 'uuid'
|
23
24
|
require 'active_support/core_ext/hash/indifferent_access'
|
24
25
|
require 'active_support/core_ext/string/inflections'
|
@@ -37,7 +38,7 @@ class Pubnub
|
|
37
38
|
TIMEOUT_SUBSCRIBE = 310
|
38
39
|
TIMEOUT_NON_SUBSCRIBE = 5
|
39
40
|
|
40
|
-
PUBNUB_LOGGER = Logger.new("/
|
41
|
+
PUBNUB_LOGGER = Logger.new("#{Dir.tmpdir}/pubnubError.log", 10, 10000000)
|
41
42
|
PUBNUB_LOGGER.level = Logger::DEBUG
|
42
43
|
|
43
44
|
class PresenceError < RuntimeError;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pubnub-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.0.
|
4
|
+
version: 3.3.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -91,6 +91,22 @@ dependencies:
|
|
91
91
|
- - ! '>='
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: json
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
94
110
|
description: Ruby anywhere in the world in 250ms with PubNub!
|
95
111
|
email: support@pubnub.com
|
96
112
|
executables: []
|
@@ -121,9 +137,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
137
|
version: '0'
|
122
138
|
requirements: []
|
123
139
|
rubyforge_project:
|
124
|
-
rubygems_version: 1.8.
|
140
|
+
rubygems_version: 1.8.23
|
125
141
|
signing_key:
|
126
142
|
specification_version: 3
|
127
143
|
summary: PubNub Official Ruby gem
|
128
144
|
test_files: []
|
129
|
-
has_rdoc:
|