pubnub 4.0.19 → 4.0.20
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 +4 -4
- data/.pubnub.yml +30 -1
- data/.rubocop.yml +4 -1
- data/.travis.yml +7 -8
- data/Gemfile +1 -1
- data/README.md +2 -1
- data/VERSION +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/1.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/101.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/103.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/105.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/107.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/109.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/11.yml +4 -4
- data/fixtures/vcr_cassettes/examples/subscribe/111.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/113.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/115.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/117.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/119.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/121.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/123.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/125.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/127.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/129.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/13.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/131.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/133.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/135.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/137.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/139.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/141.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/143.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/145.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/147.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/149.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/15.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/151.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/153.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/155.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/157.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/159.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/161.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/163.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/165.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/167.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/169.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/17.yml +3 -3
- data/fixtures/vcr_cassettes/examples/subscribe/171.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/173.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/175.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/177.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/179.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/181.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/183.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/185.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/187.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/189.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/19.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/191.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/193.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/195.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/197.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/199.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/201.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/203.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/205.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/207.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/209.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/21.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/211.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/213.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/215.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/217.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/219.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/221.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/223.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/225.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/227.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/229.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/23.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/231.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/233.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/235.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/237.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/239.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/241.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/243.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/245.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/247.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/249.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/25.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/251.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/253.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/255.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/257.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/259.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/261.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/263.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/265.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/267.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/269.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/27.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/271.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/273.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/275.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/277.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/279.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/281.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/283.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/285.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/287.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/289.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/29.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/291.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/293.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/295.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/297.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/299.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/3.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/301.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/303.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/305.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/307.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/309.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/31.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/311.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/313.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/315.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/317.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/319.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/321.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/323.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/325.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/327.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/329.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/33.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/331.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/333.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/335.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/337.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/339.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/341.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/343.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/345.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/347.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/349.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/35.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/351.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/353.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/355.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/357.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/359.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/361.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/363.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/365.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/367.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/369.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/37.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/371.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/379.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/381.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/383.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/385.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/387.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/389.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/39.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/397.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/399.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/401.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/403.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/405.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/407.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/41.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/415.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/417.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/419.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/421.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/423.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/425.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/43.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/433.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/435.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/437.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/439.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/441.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/443.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/45.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/47.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/49.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/5.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/51.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/53.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/55.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/57.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/59.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/61.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/63.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/65.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/67.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/69.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/7.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/71.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/73.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/75.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/77.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/79.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/81.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/83.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/85.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/87.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/89.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/9.yml +2 -2
- data/fixtures/vcr_cassettes/examples/subscribe/91.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/93.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/95.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/97.yml +1 -1
- data/fixtures/vcr_cassettes/examples/subscribe/99.yml +1 -1
- data/fixtures/vcr_cassettes/lib/callable_cipher_key.yml +78 -0
- data/fixtures/vcr_cassettes/lib/events/heartbeat-sub.yml +46 -3
- data/fixtures/vcr_cassettes/lib/events/presence_delta.yml +193 -0
- data/fixtures/vcr_cassettes/lib/multiple_ciphers.yml +188 -0
- data/fixtures/vcr_cassettes/lib/multiple_ciphers_history.yml +163 -0
- data/lib/pubnub/client/getters_setters.rb +127 -0
- data/lib/pubnub/client.rb +3 -112
- data/lib/pubnub/configuration.rb +1 -1
- data/lib/pubnub/constants.rb +5 -2
- data/lib/pubnub/crypto.rb +5 -5
- data/lib/pubnub/event/formatter.rb +45 -0
- data/lib/pubnub/event/signature.rb +41 -0
- data/lib/pubnub/event.rb +41 -97
- data/lib/pubnub/events/history.rb +4 -3
- data/lib/pubnub/events/publish.rb +37 -37
- data/lib/pubnub/formatter.rb +1 -1
- data/lib/pubnub/pam.rb +9 -9
- data/lib/pubnub/single_event.rb +1 -1
- data/lib/pubnub/subscribe_event/formatter.rb +4 -4
- data/lib/pubnub/subscriber.rb +28 -28
- data/lib/pubnub/validators/client.rb +1 -1
- data/lib/pubnub/validators/common_validator.rb +2 -2
- data/lib/pubnub/version.rb +1 -1
- data/pubnub.gemspec +0 -2
- data/spec/examples/presence_examples_spec.rb +2 -1
- data/spec/examples/subscribe_examples_spec.rb +1080 -1080
- data/spec/lib/client_spec.rb +5 -5
- data/spec/lib/events/presence_delta_spec.rb +38 -0
- data/spec/lib/multiple_ciphers_spec.rb +145 -0
- data/spec/spec_helper.rb +2 -2
- metadata +15 -7
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.