widgit_accounts_sdk 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a8700049f4e5290a4821b727174056d1caa889f3dafb1431734f879d36aea10
4
- data.tar.gz: ae0399123fe9afe15bee081347e136e8085bf12e11466954fa168f5db8472520
3
+ metadata.gz: e86d598f05cce8432a51cfcbe65cb94c8778c47cd64105fb0e4d31447fbaf9f5
4
+ data.tar.gz: c3d709020421e239a22e157a3a3dd1e382ad27ac78b74d49bf5fa89c15c7edbd
5
5
  SHA512:
6
- metadata.gz: ec09a895498c0410489c564dafdc809a36834691e69b809355943f926fc1e546d85491e8d29044dcd8f310491080155c461d66767b2263a059f3b316196f5271
7
- data.tar.gz: 91403cee348a7c8dacc73e63bac01004903e895f248c32c6e073ec8315c8b207cd224ecd94f02ad08e84702f532caeee042ad86aff6006d9461e36ca3824adf2
6
+ metadata.gz: 03db3def928738a18e1f0690a1673a3bd19a8bb9160a5449986ff65cbdb17590e609c7fde5b657bc7276fb51adda7740b16cca37a31357742133a2da9a5597e1
7
+ data.tar.gz: 203f35427c3ad47ddac74e1ff34077c3a1195a7316406d500d95898015520c244268c9f2522c2dec300787ee6636a94a3ee6bec2629b5918e8f81bca4a309701
@@ -30,6 +30,7 @@ module WidgitAccountsSdk
30
30
  end
31
31
 
32
32
  def invite(email, first_name = nil, last_name = nil)
33
+ email = CGI.escape email # URL encode the string, for things like plus forwarding which get converted to spaces
33
34
  request_url = "/api/v1/accounts/invite?#{email.to_query(:email)}"
34
35
  request_url += "&#{first_name.to_query(:first_name)}" if first_name
35
36
  request_url += "&#{last_name.to_query(:last_name)}" if last_name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: widgit_accounts_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stu Wright
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-08-02 00:00:00.000000000 Z
12
+ date: 2023-11-16 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A Ruby client for interacting with the Widgit Accounts API
15
15
  email: james.sherriff@widgit.com