zendesk_remote_authentication 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/zendesk_remote_authentication.rb +2 -2
- data/zendesk_remote_authentication.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.8.0
|
|
@@ -29,7 +29,7 @@ module RemoteAuthenticationHelper
|
|
|
29
29
|
token = Zendesk::RemoteAuthentication.token
|
|
30
30
|
timestamp = params[:timestamp] || Time.now.to_i.to_s
|
|
31
31
|
name = params[:name]
|
|
32
|
-
email = params[:email]
|
|
32
|
+
email = params[:email]
|
|
33
33
|
external_id = params[:external_id]
|
|
34
34
|
hash = Digest::MD5.hexdigest(name + email + external_id + token + now)
|
|
35
35
|
back = params[:return_to]
|
|
@@ -40,7 +40,7 @@ module RemoteAuthenticationHelper
|
|
|
40
40
|
'×tamp=' + now,
|
|
41
41
|
'&hash=' + hash,
|
|
42
42
|
'&return_to=' + back
|
|
43
|
-
].join
|
|
43
|
+
].join
|
|
44
44
|
|
|
45
45
|
Zendesk::RemoteAuthentication.auth_url + auth_params
|
|
46
46
|
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{zendesk_remote_authentication}
|
|
8
|
-
s.version = "0.
|
|
8
|
+
s.version = "0.8.0"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["James Wachira"]
|
|
12
|
-
s.date = %q{2010-11-
|
|
12
|
+
s.date = %q{2010-11-05}
|
|
13
13
|
s.description = %q{Allow users to authenticate remotely}
|
|
14
14
|
s.email = %q{jamomathenge@gmail.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zendesk_remote_authentication
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 63
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
8
|
+
- 8
|
|
9
9
|
- 0
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.8.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- James Wachira
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-11-
|
|
18
|
+
date: 2010-11-05 00:00:00 -07:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|