pubnub 3.7.1 → 3.7.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pubnub might be problematic. Click here for more details.

@@ -53,34 +53,35 @@ module Pubnub
53
53
  current_start_tt = start_tt
54
54
 
55
55
  if sync
56
-
57
- puts "page = #{page}"
58
- envelopes = nil
59
- page.times do
60
- envelopes = self.history(:channel => channel, :http_sync => true, :count => limit, :start => current_start_tt, :end => end_tt)
61
- current_start_tt = envelopes.last.history_start.to_i - 1
56
+ envelopes = []
57
+ page.times do |i|
58
+ Pubnub.logger.debug(:pubnub){"\n\nFetching page no. #{i}"}
59
+ Pubnub.logger.debug(:pubnub){"Current start tt #{current_start_tt}\n"}
60
+ envelopes << history(:channel => channel, :http_sync => true, :count => limit, :start => current_start_tt, :end => end_tt)
61
+ envelopes.flatten!
62
+
63
+ Pubnub.logger.debug(:pubnub){"\n\nHistroy start: #{envelopes.last.history_start}"}
64
+ Pubnub.logger.debug(:pubnub){"History end: #{envelopes.last.history_end}\n"}
65
+ current_start_tt = envelopes.last.history_start.to_i
66
+
67
+ unless i == page - 1
68
+ envelopes = []
62
69
  end
70
+ end
63
71
 
64
- envelopes.each do |envelope|
65
- callback.call envelope
66
- end if callback
67
-
68
-
72
+ envelopes.flatten!
73
+ envelopes.each do |envelope|
74
+ callback.call envelope
75
+ end if callback
76
+ envelopes
69
77
  else
78
+ start_event_machine
70
79
  EM.defer do
71
- until msgs.size <= page * entries
72
- msgs.merge!(self.history(:channel => channel, :http_sync => true, :start => start_tt, :end => end_tt, :limit => entries))
73
- end
74
-
75
- msgs.reverse[0..entries].each do |envelope|
76
- callback.call envelope
77
- end
78
-
80
+ sync_options = options.dup
81
+ sync_options[:http_sync] = true
82
+ self.paged_history(sync_options, &block)
79
83
  end
80
84
  end
81
-
82
- envelopes
83
-
84
85
  end
85
86
 
86
87
  def state_for(origin = DEFAULT_ORIGIN)
@@ -226,6 +227,10 @@ module Pubnub
226
227
  @env[:uuid]
227
228
  end
228
229
 
230
+ def auth_key
231
+ @env[:auth_key]
232
+ end
233
+
229
234
  def set_auth_key(auth_key)
230
235
  leave_all unless @env[:subscriptions].empty?
231
236
  @env[:auth_key] = auth_key
@@ -1,6 +1,5 @@
1
1
  module Pubnub
2
2
  module Event
3
-
4
3
  attr_reader :fired, :finished
5
4
 
6
5
  def initialize(options, app)
@@ -477,7 +476,7 @@ module Pubnub
477
476
  if envelope.channel_group && app.env[:callbacks_pool][:channel_group][@origin][envelope.channel_group]
478
477
  app.env[:callbacks_pool][:channel_group][@origin][envelope.channel_group][:callback].call(envelope) if !envelope.error && !envelope.timetoken_update
479
478
  else
480
- app.env[:callbacks_pool][:channel][@origin][envelope.channel][:callback].call(envelope) if !envelope.error && !envelope.timetoken_update
479
+ app.env[:callbacks_pool][:channel][@origin][encode_channel(envelope.channel)][:callback].call(envelope) if !envelope.error && !envelope.timetoken_update
481
480
  end
482
481
  end
483
482
  Pubnub.logger.debug(:pubnub){'We can send next request now'}
@@ -46,9 +46,9 @@ module Pubnub
46
46
  'presence',
47
47
  'sub-key',
48
48
  @subscribe_key,
49
- ('channel' if @channel_group),
50
- (',' if @channel_group)
51
- ].join('/')
49
+ ('channel' unless @channel_group.blank?),
50
+ (',' unless @channel_group.blank?)
51
+ ].delete_if{|e| e.nil? }.join('/')
52
52
  end
53
53
  end
54
54
 
@@ -61,8 +61,8 @@ module Pubnub
61
61
  end
62
62
 
63
63
  def channels_for_url(channels)
64
- channel = channels.join(',')
65
- channel = ',' if channel.empty?
64
+ channel = channels.join('%2C')
65
+ channel = '%2C' if channel.empty?
66
66
  channel
67
67
  end
68
68
 
@@ -11,7 +11,7 @@ module Pubnub
11
11
  def signature(app)
12
12
  channel = @original_channel.first
13
13
  message = "#{@subscribe_key}\n#{@publish_key}\n#{@event}\n#{variables_for_signature(app)}"
14
- Base64.urlsafe_encode64(OpenSSL::HMAC.digest(OpenSSL::Digest::Digest.new('sha256'), @secret_key.to_s, message)).strip
14
+ Base64.urlsafe_encode64(OpenSSL::HMAC.digest(OpenSSL::Digest.new('sha256'), @secret_key.to_s, message)).strip
15
15
  end
16
16
 
17
17
  def parameters(app, signature = false)
@@ -1,3 +1,3 @@
1
1
  module Pubnub
2
- VERSION = '3.7.1'
2
+ VERSION = '3.7.5'
3
3
  end
@@ -0,0 +1,284 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'Client#paged_history' do
4
+
5
+ before(:each) do
6
+
7
+ EM.stop if EM.reactor_running?
8
+ while EM.reactor_running? do end
9
+ sleep(0.1)
10
+
11
+ @response_output = StringIO.new
12
+ @message_output = StringIO.new
13
+
14
+ @callback = lambda { |envelope|
15
+ Pubnub.logger.debug 'FIRING CALLBACK FROM TEST'
16
+ @response_output.write envelope.response
17
+ @message_output.write envelope.msg
18
+ @after_callback = true
19
+ }
20
+
21
+ @error_callback = lambda { |envelope|
22
+ Pubnub.logger.debug 'FIRING ERROR CALLBACK FROM TEST'
23
+ @response_output.write envelope.response
24
+ @message_output.write envelope.msg
25
+ @after_error_callback = true
26
+ }
27
+
28
+ @pn = Pubnub.new(:max_retries => 0, :subscribe_key => :demo, :publish_key => :demo, :auth_key => :demoish_authkey, :secret_key => 'some_secret_key', :error_callback => @error_callback)
29
+ @pn.uuid = 'rubytests'
30
+
31
+ end
32
+
33
+ context 'uses ssl' do
34
+ context 'sync' do
35
+ it 'works with basic usage' do
36
+ VCR.use_cassette("paged-history-ssl-sync", :record => :once) do
37
+ @pn.paged_history(:ssl => true, :http_sync => true, :channel => :bot, :callback => @callback)
38
+
39
+ eventually do
40
+ @after_callback.should eq true
41
+ @response_output.seek 0
42
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
43
+ @message_output.seek 0
44
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
45
+ end
46
+ end
47
+ end
48
+
49
+ it 'works with given start' do
50
+ VCR.use_cassette("paged-history-start-ssl-sync", :record => :once) do
51
+ @pn.paged_history(:ssl => true, :http_sync => true, :channel => :bot, :callback => @callback, :start => 14319447984449246)
52
+
53
+ eventually do
54
+ @after_callback.should eq true
55
+ @response_output.seek 0
56
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
57
+ @message_output.seek 0
58
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
59
+ end
60
+ end
61
+ end
62
+
63
+ it 'works with given pages' do
64
+ VCR.use_cassette("paged-history-pages-ssl-sync", :record => :once) do
65
+ @pn.paged_history(:ssl => true, :http_sync => true, :channel => :bot, :callback => @callback, :page => 3)
66
+
67
+ eventually do
68
+ @after_callback.should eq true
69
+ @response_output.seek 0
70
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
71
+ @message_output.seek 0
72
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
73
+ end
74
+ end
75
+
76
+
77
+ end
78
+
79
+ it 'works with given pages and start' do
80
+ VCR.use_cassette("paged-history-pages-start-ssl-sync", :record => :once) do
81
+ @pn.paged_history(:ssl => true, :http_sync => true, :channel => :bot, :callback => @callback, :start => 14319447984449246, :page => 2)
82
+ end
83
+
84
+
85
+ end
86
+ end
87
+
88
+ context 'async' do
89
+ it 'works with basic usage' do
90
+ VCR.use_cassette("paged-history-ssl-async", :record => :once) do
91
+ @pn.paged_history(:ssl => true, :http_sync => false, :channel => :bot, :callback => @callback)
92
+
93
+ eventually do
94
+ @after_callback.should eq true
95
+ @response_output.seek 0
96
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
97
+ @message_output.seek 0
98
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
99
+ end
100
+ end
101
+
102
+ end
103
+
104
+ it 'works with given start' do
105
+ VCR.use_cassette("paged-history-start-ssl-async", :record => :once) do
106
+ @pn.paged_history(:ssl => true, :http_sync => false, :channel => :bot, :callback => @callback, :start => 14319447984449246)
107
+
108
+ eventually do
109
+ @after_callback.should eq true
110
+ @response_output.seek 0
111
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
112
+ @message_output.seek 0
113
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
114
+ end
115
+ end
116
+
117
+
118
+ end
119
+
120
+ it 'works with given pages' do
121
+ VCR.use_cassette("paged-history-pages-ssl-async", :record => :once) do
122
+ @pn.paged_history(:ssl => true, :http_sync => false, :channel => :bot, :callback => @callback, :page => 3)
123
+
124
+ eventually do
125
+ @after_callback.should eq true
126
+ @response_output.seek 0
127
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
128
+ @message_output.seek 0
129
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
130
+ end
131
+ end
132
+
133
+
134
+ end
135
+
136
+ it 'works with given pages and start' do
137
+ VCR.use_cassette("paged-history-pages-start-ssl-async", :record => :once) do
138
+ @pn.paged_history(:ssl => true, :http_sync => false, :channel => :bot, :callback => @callback, :start => 14319447984449246, :page => 2)
139
+
140
+ eventually do
141
+ @after_callback.should eq true
142
+ @response_output.seek 0
143
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
144
+ @message_output.seek 0
145
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
146
+ end
147
+ end
148
+
149
+
150
+ end
151
+ end
152
+ end
153
+
154
+ context 'uses non-ssl' do
155
+ context 'sync' do
156
+ it 'works with basic usage' do
157
+ VCR.use_cassette("paged-history-sync", :record => :once) do
158
+ @pn.paged_history(:ssl => false, :http_sync => true, :channel => :bot, :callback => @callback)
159
+
160
+ eventually do
161
+ @after_callback.should eq true
162
+ @response_output.seek 0
163
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
164
+ @message_output.seek 0
165
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
166
+ end
167
+ end
168
+
169
+ end
170
+
171
+ it 'works with given start' do
172
+ VCR.use_cassette("paged-history-start-sync", :record => :once) do
173
+ @pn.paged_history(:ssl => false, :http_sync => true, :channel => :bot, :callback => @callback, :start => 14319447984449246)
174
+
175
+ eventually do
176
+ @after_callback.should eq true
177
+ @response_output.seek 0
178
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
179
+ @message_output.seek 0
180
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
181
+ end
182
+ end
183
+
184
+
185
+ end
186
+
187
+ it 'works with given pages' do
188
+ VCR.use_cassette("paged-history-pages-sync", :record => :once) do
189
+ @pn.paged_history(:ssl => false, :http_sync => true, :channel => :bot, :callback => @callback, :page => 3)
190
+
191
+ eventually do
192
+ @after_callback.should eq true
193
+ @response_output.seek 0
194
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
195
+ @message_output.seek 0
196
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
197
+ end
198
+ end
199
+
200
+
201
+ end
202
+
203
+ it 'works with given pages and start' do
204
+ VCR.use_cassette("paged-history-pages-start-sync", :record => :once) do
205
+ @pn.paged_history(:ssl => false, :http_sync => true, :channel => :bot, :callback => @callback, :start => 14319447984449246, :page => 2)
206
+
207
+ eventually do
208
+ @after_callback.should eq true
209
+ @response_output.seek 0
210
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
211
+ @message_output.seek 0
212
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
213
+ end
214
+ end
215
+
216
+
217
+ end
218
+ end
219
+
220
+ context 'async' do
221
+ it 'works with basic usage' do
222
+ VCR.use_cassette("paged-history-async", :record => :once) do
223
+ @pn.paged_history(:ssl => false, :http_sync => false, :channel => :bot, :callback => @callback)
224
+
225
+ eventually do
226
+ @after_callback.should eq true
227
+ @response_output.seek 0
228
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
229
+ @message_output.seek 0
230
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
231
+ end
232
+ end
233
+
234
+ end
235
+
236
+ it 'works with given start' do
237
+ VCR.use_cassette("paged-history-start-async", :record => :once) do
238
+ @pn.paged_history(:ssl => false, :http_sync => false, :channel => :bot, :callback => @callback, :start => 14319447984449246)
239
+
240
+ eventually do
241
+ @after_callback.should eq true
242
+ @response_output.seek 0
243
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
244
+ @message_output.seek 0
245
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
246
+ end
247
+ end
248
+
249
+
250
+ end
251
+
252
+ it 'works with given pages' do
253
+ VCR.use_cassette("paged-history-pages-async", :record => :once) do
254
+ @pn.paged_history(:ssl => false, :http_sync => false, :channel => :bot, :callback => @callback, :page => 3)
255
+
256
+ eventually do
257
+ @after_callback.should eq true
258
+ @response_output.seek 0
259
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
260
+ @message_output.seek 0
261
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
262
+ end
263
+ end
264
+
265
+
266
+ end
267
+
268
+ it 'works with given pages and start' do
269
+ VCR.use_cassette("paged-history-pages-start-async", :record => :once) do
270
+ @pn.paged_history(:ssl => false, :http_sync => false, :channel => :bot, :callback => @callback, :start => 14319447984449246, :page => 2)
271
+
272
+ eventually do
273
+ @after_callback.should eq true
274
+ @response_output.seek 0
275
+ @response_output.read.should eq '[["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237][["****........... 7887 - 2015-05-18 04:52:57","*****.......... 7888 - 2015-05-18 04:52:59"],14319499779635079,14319501800508237]'
276
+ @message_output.seek 0
277
+ @message_output.read.should eq '****........... 7887 - 2015-05-18 04:52:57*****.......... 7888 - 2015-05-18 04:52:59'
278
+ end
279
+ end
280
+
281
+ end
282
+ end
283
+ end
284
+ end
metadata CHANGED
@@ -1,69 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubnub
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.1
4
+ version: 3.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - PubNub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-16 00:00:00.000000000 Z
11
+ date: 2015-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.8'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.8'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: net-http-persistent
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.9'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.9'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.6'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.6'
69
69
  description: Ruby anywhere in the world in 250ms with PubNub!
@@ -73,7 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - ".gitignore"
76
+ - .gitignore
77
77
  - 3.5_to_3.6_upgrade_notes.md
78
78
  - CHANGELOG.txt
79
79
  - Gemfile
@@ -456,6 +456,22 @@ files:
456
456
  - fixtures/vcr_cassettes/new_ones/publish/publish-https-non200-valid.yml
457
457
  - fixtures/vcr_cassettes/new_ones/publish/publish-plain-array-of-hashes.yml
458
458
  - fixtures/vcr_cassettes/non-heartbeated-subscribe.yml
459
+ - fixtures/vcr_cassettes/paged-history-async.yml
460
+ - fixtures/vcr_cassettes/paged-history-pages-async.yml
461
+ - fixtures/vcr_cassettes/paged-history-pages-ssl-async.yml
462
+ - fixtures/vcr_cassettes/paged-history-pages-ssl-sync.yml
463
+ - fixtures/vcr_cassettes/paged-history-pages-start-async.yml
464
+ - fixtures/vcr_cassettes/paged-history-pages-start-ssl-async.yml
465
+ - fixtures/vcr_cassettes/paged-history-pages-start-ssl-sync.yml
466
+ - fixtures/vcr_cassettes/paged-history-pages-start-sync.yml
467
+ - fixtures/vcr_cassettes/paged-history-pages-sync.yml
468
+ - fixtures/vcr_cassettes/paged-history-ssl-async.yml
469
+ - fixtures/vcr_cassettes/paged-history-ssl-sync.yml
470
+ - fixtures/vcr_cassettes/paged-history-start-async.yml
471
+ - fixtures/vcr_cassettes/paged-history-start-ssl-async.yml
472
+ - fixtures/vcr_cassettes/paged-history-start-ssl-sync.yml
473
+ - fixtures/vcr_cassettes/paged-history-start-sync.yml
474
+ - fixtures/vcr_cassettes/paged-history-sync.yml
459
475
  - fixtures/vcr_cassettes/pam1.yml
460
476
  - fixtures/vcr_cassettes/pam10.yml
461
477
  - fixtures/vcr_cassettes/pam11.yml
@@ -742,6 +758,7 @@ files:
742
758
  - spec/lib/integration/leave_dpc_spec.rb
743
759
  - spec/lib/integration/leave_spec.rb
744
760
  - spec/lib/integration/multiplexed_subscribe_flow_spec.rb
761
+ - spec/lib/integration/paged_history_spec.rb
745
762
  - spec/lib/integration/presence_dpc_spec.rb
746
763
  - spec/lib/integration/presence_spec.rb
747
764
  - spec/lib/integration/publish_dpc_spec.rb
@@ -770,17 +787,17 @@ require_paths:
770
787
  - lib
771
788
  required_ruby_version: !ruby/object:Gem::Requirement
772
789
  requirements:
773
- - - ">="
790
+ - - '>='
774
791
  - !ruby/object:Gem::Version
775
792
  version: '0'
776
793
  required_rubygems_version: !ruby/object:Gem::Requirement
777
794
  requirements:
778
- - - ">="
795
+ - - '>='
779
796
  - !ruby/object:Gem::Version
780
797
  version: '0'
781
798
  requirements: []
782
799
  rubyforge_project:
783
- rubygems_version: 2.0.2
800
+ rubygems_version: 2.0.14
784
801
  signing_key:
785
802
  specification_version: 4
786
803
  summary: PubNub Official Ruby gem.
@@ -807,6 +824,7 @@ test_files:
807
824
  - spec/lib/integration/leave_dpc_spec.rb
808
825
  - spec/lib/integration/leave_spec.rb
809
826
  - spec/lib/integration/multiplexed_subscribe_flow_spec.rb
827
+ - spec/lib/integration/paged_history_spec.rb
810
828
  - spec/lib/integration/presence_dpc_spec.rb
811
829
  - spec/lib/integration/presence_spec.rb
812
830
  - spec/lib/integration/publish_dpc_spec.rb
@@ -825,4 +843,3 @@ test_files:
825
843
  - spec/lib/retry_logic_spec.rb
826
844
  - spec/lib/subscribe_event.rb
827
845
  - spec/spec_helper.rb
828
- has_rdoc: