pubnub 4.0.21 → 4.0.22

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.

Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/.pubnub.yml +91 -84
  3. data/CHANGELOG.md +9 -0
  4. data/Gemfile.lock +1 -1
  5. data/VERSION +1 -1
  6. data/fixtures/vcr_cassettes/lib/signatures/all-letters.yml +43 -0
  7. data/fixtures/vcr_cassettes/lib/signatures/channel_registration.yml +180 -0
  8. data/fixtures/vcr_cassettes/lib/signatures/heartbeat.yml +46 -0
  9. data/fixtures/vcr_cassettes/lib/signatures/here_now.yml +47 -0
  10. data/fixtures/vcr_cassettes/lib/signatures/history.yml +46 -0
  11. data/fixtures/vcr_cassettes/lib/signatures/leave.yml +46 -0
  12. data/fixtures/vcr_cassettes/lib/signatures/presence.yml +40 -0
  13. data/fixtures/vcr_cassettes/lib/signatures/publish.yml +40 -0
  14. data/fixtures/vcr_cassettes/lib/signatures/special.yml +43 -0
  15. data/fixtures/vcr_cassettes/lib/signatures/state.yml +92 -0
  16. data/fixtures/vcr_cassettes/lib/signatures/subscribe.yml +40 -0
  17. data/fixtures/vcr_cassettes/lib/signatures/where_now.yml +47 -0
  18. data/fixtures/vcr_cassettes/lib/signatures/wildcard.yml +43 -0
  19. data/lib/pubnub/event/signature.rb +1 -3
  20. data/lib/pubnub/events/channel_registration.rb +2 -2
  21. data/lib/pubnub/events/here_now.rb +1 -1
  22. data/lib/pubnub/events/history.rb +1 -1
  23. data/lib/pubnub/events/presence.rb +1 -1
  24. data/lib/pubnub/events/publish.rb +1 -1
  25. data/lib/pubnub/events/set_state.rb +1 -1
  26. data/lib/pubnub/events/state.rb +1 -1
  27. data/lib/pubnub/events/where_now.rb +1 -1
  28. data/lib/pubnub/formatter.rb +4 -4
  29. data/lib/pubnub/pam.rb +4 -7
  30. data/lib/pubnub/version.rb +1 -1
  31. data/spec/lib/event_spec.rb +52 -52
  32. data/spec/lib/signatures_spec.rb +277 -0
  33. metadata +18 -3
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: 4.0.21
4
+ version: 4.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - PubNub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-24 00:00:00.000000000 Z
11
+ date: 2017-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid
@@ -10481,6 +10481,19 @@ files:
10481
10481
  - fixtures/vcr_cassettes/lib/events/where-now.yml
10482
10482
  - fixtures/vcr_cassettes/lib/multiple_ciphers.yml
10483
10483
  - fixtures/vcr_cassettes/lib/multiple_ciphers_history.yml
10484
+ - fixtures/vcr_cassettes/lib/signatures/all-letters.yml
10485
+ - fixtures/vcr_cassettes/lib/signatures/channel_registration.yml
10486
+ - fixtures/vcr_cassettes/lib/signatures/heartbeat.yml
10487
+ - fixtures/vcr_cassettes/lib/signatures/here_now.yml
10488
+ - fixtures/vcr_cassettes/lib/signatures/history.yml
10489
+ - fixtures/vcr_cassettes/lib/signatures/leave.yml
10490
+ - fixtures/vcr_cassettes/lib/signatures/presence.yml
10491
+ - fixtures/vcr_cassettes/lib/signatures/publish.yml
10492
+ - fixtures/vcr_cassettes/lib/signatures/special.yml
10493
+ - fixtures/vcr_cassettes/lib/signatures/state.yml
10494
+ - fixtures/vcr_cassettes/lib/signatures/subscribe.yml
10495
+ - fixtures/vcr_cassettes/lib/signatures/where_now.yml
10496
+ - fixtures/vcr_cassettes/lib/signatures/wildcard.yml
10484
10497
  - fixtures/vcr_cassettes/lib/ssl-error.yml
10485
10498
  - fixtures/vcr_cassettes/lib/super_admin/cg.yml
10486
10499
  - fixtures/vcr_cassettes/lib/super_admin/here_now.yml
@@ -10598,6 +10611,7 @@ files:
10598
10611
  - spec/lib/keep_alive_spec.rb
10599
10612
  - spec/lib/multiple_ciphers_spec.rb
10600
10613
  - spec/lib/pubnub_spec.rb
10614
+ - spec/lib/signatures_spec.rb
10601
10615
  - spec/lib/ssl_error_spec.rb
10602
10616
  - spec/lib/super_admin_spec.rb
10603
10617
  - spec/lib/uuid_spec.rb
@@ -10623,7 +10637,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
10623
10637
  version: '0'
10624
10638
  requirements: []
10625
10639
  rubyforge_project:
10626
- rubygems_version: 2.5.2
10640
+ rubygems_version: 2.2.5
10627
10641
  signing_key:
10628
10642
  specification_version: 4
10629
10643
  summary: PubNub Official Ruby gem.
@@ -10668,6 +10682,7 @@ test_files:
10668
10682
  - spec/lib/keep_alive_spec.rb
10669
10683
  - spec/lib/multiple_ciphers_spec.rb
10670
10684
  - spec/lib/pubnub_spec.rb
10685
+ - spec/lib/signatures_spec.rb
10671
10686
  - spec/lib/ssl_error_spec.rb
10672
10687
  - spec/lib/super_admin_spec.rb
10673
10688
  - spec/lib/uuid_spec.rb