pubnub 3.6.9 → 3.6.10

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 129da4ca2af9417f9964d5f2730b6b1273b860db
4
- data.tar.gz: 3d385ff0bbcbb04cf250049a90ed34c9eb84cbdd
3
+ metadata.gz: 72ab3a0cc365b65f7d43792c3b48090ca98c8a2f
4
+ data.tar.gz: a4bfd82d2992245e27b3966f43d4d86c040435fa
5
5
  SHA512:
6
- metadata.gz: 55a1b93f43c5a1d6e8394cf6ca5c1001ee0aca4bb0beb250df7ff121221cb5648e0dbcd53d0f98d275771d873f0334ba81af48c54d5163b26606a297dbdc9c01
7
- data.tar.gz: 589b847e41ff538ced05e557b0d1f4d6376e9e8cdfeb9615e18a9691684a4923e7ce559ceef93e834d242bfe2662a4f07a9833e5dec85598a7282b23b75840d9
6
+ metadata.gz: 5fece7ee84335eea9608bb4a3a424f2eb96c6820f1f493b9d6430fa4a9b1e235d6e31f16906fec21b4e436d9357ec5179e9e51d8c6c4870bfb19ac0755fcad48
7
+ data.tar.gz: bdc45b7d2bc1f4c4332fe6698270cbf7d4c0f306371592e707773374de39292516eade4711e45b8656c5b6be96f8f605975c7db6c8ee7d76b9915da73b9701f9
data/CHANGELOG.txt CHANGED
@@ -1,3 +1,6 @@
1
+ 3.6.10 Release
2
+ . Envelope formatting fix
3
+
1
4
  3.6.9 Release
2
5
  . Double channel encoding fix
3
6
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Please direct all Support Questions and Concerns to Support@PubNub.com
2
2
 
3
- ## PubNub Gem version 3.6.9
3
+ ## PubNub Gem version 3.6.10
4
4
 
5
5
  ##### YOU MUST HAVE A PUBNUB ACCOUNT TO USE THE API.
6
6
  ##### http://www.pubnub.com/account
@@ -17,10 +17,10 @@ We've made the response format compatible across all operations. This may break
17
17
  Examples of affected operations can be found [here](3.5_to_3.6_upgrade_notes.md).
18
18
 
19
19
  ### Upgrading from PubNub 3.3.x and Earlier
20
- PubNub 3.6.9 is NOT compatible with earlier than 3.4 versions of Pubnub Ruby Client.
20
+ PubNub 3.6.10 is NOT compatible with earlier than 3.4 versions of Pubnub Ruby Client.
21
21
 
22
22
  ### Upgrading from PubNub 3.4 and higher versions
23
- PubNub 3.6.9 is compatible with 3.4 version.
23
+ PubNub 3.6.10 is compatible with 3.4 version.
24
24
 
25
25
  ## Important Notice about Blocking vs Non-Blocking Calls
26
26
 
@@ -486,15 +486,15 @@ HereNow shows us who is currently subscribing channel and how much clients are o
486
486
  pubnub.here_now(
487
487
  :channel => :pamam_moon_iv
488
488
  ) do |envelope|
489
- puts envelope.msg['uuids']
490
- puts envelope.msg['occupancy']
489
+ puts envelope.parsed_response['uuids']
490
+ puts envelope.parsed_response['occupancy']
491
491
  end
492
492
  ```
493
493
 
494
494
  You can also give no specific channel. Then you'll get global HereNow event response which holds all channels.
495
495
 
496
496
  ```ruby
497
- pubnub.here_now { |envelope| puts envelope.msg['channels'] }
497
+ pubnub.here_now { |envelope| puts envelope.parsed_response['channels'] }
498
498
  ```
499
499
 
500
500
 
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4
4
  gem 'rails', '4.0.0'
5
5
  gem 'thin'
6
- gem 'pubnub', :github => 'pubnub/ruby', :branch => '3.5.0beta'
6
+ gem 'pubnub', :github => 'pubnub/ruby', :branch => 'master'
7
7
  gem 'haml'
8
8
 
9
9
  # Use sqlite3 as the database for Active Record
@@ -8,14 +8,13 @@ GIT
8
8
 
9
9
  GIT
10
10
  remote: git://github.com/pubnub/ruby.git
11
- revision: 8ef5b518b2beae05fff0c4bd20e6a80eb94770c2
12
- branch: 3.5.0beta
11
+ revision: 56d4b50781f65602f5629ea71bd08740790d41ab
12
+ branch: master
13
13
  specs:
14
- pubnub (3.5.0beta)
15
- eventmachine
16
- faraday (~> 0.9)
17
- json
18
- net-http-persistent
14
+ pubnub (3.6.9)
15
+ eventmachine (~> 1.0)
16
+ json (~> 1.8)
17
+ net-http-persistent (~> 2.9)
19
18
 
20
19
  GEM
21
20
  remote: https://rubygems.org/
@@ -58,8 +57,6 @@ GEM
58
57
  erubis (2.7.0)
59
58
  eventmachine (1.0.3)
60
59
  execjs (2.0.2)
61
- faraday (0.9.0)
62
- multipart-post (>= 1.2, < 3)
63
60
  haml (4.0.5)
64
61
  tilt
65
62
  hike (1.2.3)
@@ -71,14 +68,13 @@ GEM
71
68
  railties (>= 3.0, < 5.0)
72
69
  thor (>= 0.14, < 2.0)
73
70
  json (1.8.1)
74
- libv8 (3.16.14.3)
71
+ libv8 (3.16.14.7)
75
72
  mail (2.5.4)
76
73
  mime-types (~> 1.16)
77
74
  treetop (~> 1.4.8)
78
75
  mime-types (1.25.1)
79
76
  minitest (4.7.5)
80
77
  multi_json (1.8.4)
81
- multipart-post (2.0.0)
82
78
  net-http-persistent (2.9.4)
83
79
  polyglot (0.3.4)
84
80
  rack (1.5.2)
@@ -14,7 +14,7 @@
14
14
  #messages
15
15
  #footer.panel-footer
16
16
  .input-group
17
- %span.input-group-btn
17
+ %span.input-group-btn{style: 'width: 200px'}
18
18
  %input{:type => 'text', :class => 'form-control', :placeholder => 'your name', :id => 'author-field'}
19
19
  %input{:type => 'text', :class => 'form-control', :placeholder => 'message', :id => 'message-field'}
20
20
  %span.input-group-btn
File without changes
File without changes
File without changes
@@ -48,8 +48,7 @@ module Pubnub
48
48
  :service => (parsed_response['service'] if parsed_response),
49
49
  :message => (parsed_response['message'] if parsed_response),
50
50
  :uuid => (parsed_response['uuid'] if parsed_response),
51
- :status => (parsed_response['status'] if parsed_response),
52
- :status => (parsed_response['channel'] if parsed_response)
51
+ :status => (parsed_response['status'] if parsed_response)
53
52
  },
54
53
  app
55
54
  )
@@ -1,3 +1,3 @@
1
1
  module Pubnub
2
- VERSION = '3.6.9'
2
+ VERSION = '3.6.10'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pubnub
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.9
4
+ version: 3.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - PubNub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-05 00:00:00.000000000 Z
11
+ date: 2015-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
@@ -753,7 +753,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
753
753
  version: '0'
754
754
  requirements: []
755
755
  rubyforge_project:
756
- rubygems_version: 2.0.3
756
+ rubygems_version: 2.0.2
757
757
  signing_key:
758
758
  specification_version: 4
759
759
  summary: PubNub Official Ruby gem.