kete_browserid 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kete_browserid}
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Walter McGinnis"]
12
- s.date = %q{2012-08-02}
12
+ s.date = %q{2013-01-23}
13
13
  s.description = %q{An add-on for Kete (http://kete.net.nz) that replaces normal login with a browserid based login.}
14
14
  s.email = %q{walter@katipo.co.nz}
15
15
  s.extra_rdoc_files = [
@@ -14,7 +14,7 @@ AccountController.class_eval do
14
14
  def login_via_browserid
15
15
  assertion = params[:assertion]
16
16
 
17
- browserid_response = Faraday.post 'https://browserid.org/verify', { :assertion => assertion, :audience => Kete.site_url }
17
+ browserid_response = Faraday.post 'https://verifier.login.persona.org/verify', { :assertion => assertion, :audience => Kete.site_url }
18
18
 
19
19
  browserid_hash = ::ActiveSupport::JSON.decode(browserid_response.body)
20
20
 
@@ -4,7 +4,7 @@ ApplicationController.class_eval do
4
4
  # set up our browserid javascript loading
5
5
  def set_add_on_scripts_and_links
6
6
  browserid_login_url = "/#{@site_basket.urlified_name}/account/login_via_browserid"
7
- head_js = " <script src=\"https://browserid.org/include.js\" type=\"text/javascript\"></script>"
7
+ head_js = " <script src=\"https://login.persona.org/include.js\" type=\"text/javascript\"></script>"
8
8
 
9
9
  head_js += " <script type=\"text/javascript\">
10
10
  function setUpBrowserIDForm() {
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kete_browserid
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Walter McGinnis
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-02 00:00:00 +12:00
18
+ date: 2013-01-23 00:00:00 +13:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency