Skip to content

Commit 18e1325

Browse files
committed
3.7.2
2 parents 992b575 + 7965451 commit 18e1325

File tree

57 files changed

+15401
-2354
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+15401
-2354
lines changed

.pubnub.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
name: unity
2-
version: 3.6.9.1
2+
version: 3.7.2
33
schema: 1
44
scm: github.com/pubnub/unity
55
changelog:
6+
- version: v3.7.2
7+
date:
8+
changes:
9+
- type: feature
10+
text: PubSub v2
11+
- type: feature
12+
text: Channel Groups
13+
- type: feature
14+
text: Message Filtering
15+
- type: feature
16+
text: Wildcard Subscribe
17+
- type: improvement
18+
text: Code optimizations
619
- version: v3.6.9.1
720
date:
821
changes:

Assets/PubnubExample.cs

Lines changed: 771 additions & 292 deletions
Large diffs are not rendered by default.

Assets/Scripts/Editor/BuildAccessManagerRequestsUnitTests.cs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -797,13 +797,15 @@ public void TestBuildGrantRequestCommon(string channel, bool ssl, bool read, boo
797797
ssl ? "s" : "", pubnub.Origin, Common.SubscribeKey);
798798

799799
string expected2 = string.Format ("{0}{1}&pnsdk={2}&r={3}&timestamp=",
800-
(channel=="")?"":"&channel=", channel, PubnubUnity.Version, Convert.ToInt32 (read).ToString());
800+
(channel=="")?"":"&channel=", channel,
801+
Utility.EncodeUricomponent(PubnubUnity.Version, ResponseType.GrantAccess, false, true),
802+
Convert.ToInt32 (read).ToString());
801803

802804
string expected3 = string.Format ("&ttl={0}&uuid={1}&w={2}",
803805
ttl, uuid, Convert.ToInt32 (write).ToString()
804806
);
805807

806-
string received = uri.ToString ();
808+
string received = uri.OriginalString;
807809
UnityEngine.Debug.Log("Expected:" + expected1);
808810
UnityEngine.Debug.Log("Expected:" + expected2);
809811
UnityEngine.Debug.Log("Expected:" + expected3);
@@ -952,11 +954,12 @@ public void TestBuildAuditRequestCommon(string channel, bool ssl, string cipherK
952954
ssl ? "s" : "", pubnub.Origin, Common.SubscribeKey);
953955

954956
string expected2 = string.Format ("{0}{1}&pnsdk={2}&timestamp=",
955-
(channel=="")?"":"&channel=", channel, PubnubUnity.Version);
957+
(channel=="")?"":"&channel=", channel,
958+
Utility.EncodeUricomponent(PubnubUnity.Version, ResponseType.AuditAccess, false, true));
956959

957960
string expected3 = string.Format ("&uuid={0}", uuid);
958961

959-
string received = uri.ToString ();
962+
string received = uri.OriginalString;
960963
UnityEngine.Debug.Log("Expected:" + expected1);
961964
UnityEngine.Debug.Log("Expected:" + expected2);
962965
UnityEngine.Debug.Log("Expected:" + expected3);

0 commit comments

Comments
 (0)