browserid-auth-rails 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/app/assets/javascripts/browserid.js.coffee +3 -4
- data/lib/browserid/rails/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Modified fork of [https://github.com/mvxcvi/browserid-rails](https://github.com/mvxcvi/browserid-rails) to be compatible with Devise.
|
1
|
+
Modified fork of [https://github.com/mvxcvi/browserid-rails](https://github.com/mvxcvi/browserid-rails) to be compatible with Devise so these two gems cound be used together. This is not browserid integration for devise, for that check out [devise-browserid](https://github.com/ringe/devise-browserid).
|
2
2
|
|
3
3
|
# BrowserID::Rails
|
4
4
|
|
@@ -46,7 +46,7 @@ Logging out is also straightforward:
|
|
46
46
|
|
47
47
|
Add this line to your application's Gemfile:
|
48
48
|
|
49
|
-
gem 'browserid-rails'
|
49
|
+
gem 'browserid-auth-rails'
|
50
50
|
|
51
51
|
And then execute:
|
52
52
|
|
@@ -54,7 +54,7 @@ And then execute:
|
|
54
54
|
|
55
55
|
Or install it yourself as:
|
56
56
|
|
57
|
-
$ gem install browserid-rails
|
57
|
+
$ gem install browserid-auth-rails
|
58
58
|
|
59
59
|
## Usage
|
60
60
|
|
@@ -73,12 +73,11 @@
|
|
73
73
|
|
74
74
|
### Behavior Binding ###
|
75
75
|
|
76
|
-
|
77
|
-
$('.browserid_login'
|
76
|
+
$ ->
|
77
|
+
$(document).on 'click', '.browserid_login', ->
|
78
78
|
navigator.id.request()
|
79
79
|
false
|
80
80
|
|
81
|
-
|
82
|
-
$('.browserid_logout').click ->
|
81
|
+
$(document).on 'click', '.browserid_logout', ->
|
83
82
|
navigator.id.logout()
|
84
83
|
false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browserid-auth-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-06-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
segments:
|
131
131
|
- 0
|
132
|
-
hash: -
|
132
|
+
hash: -3150899119893586604
|
133
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
134
|
none: false
|
135
135
|
requirements:
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
segments:
|
140
140
|
- 0
|
141
|
-
hash: -
|
141
|
+
hash: -3150899119893586604
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project:
|
144
144
|
rubygems_version: 1.8.24
|