sinatra-authentication 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/views/login.haml +4 -4
- data/lib/views/signup.haml +4 -4
- data/sinatra-authentication.gemspec +2 -2
- metadata +2 -2
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ begin
|
|
6
6
|
|
7
7
|
Jeweler::Tasks.new do |gemspec|
|
8
8
|
gemspec.name = 'sinatra-authentication'
|
9
|
-
gemspec.version = '0.2.
|
9
|
+
gemspec.version = '0.2.3'
|
10
10
|
gemspec.description = "Simple authentication plugin for sinatra."
|
11
11
|
gemspec.summary = "Simple authentication plugin for sinatra."
|
12
12
|
gemspec.homepage = "http://github.com/maxjustus/sinatra-authentication"
|
data/lib/views/login.haml
CHANGED
@@ -13,8 +13,8 @@
|
|
13
13
|
%input{:value => "login", :type => "submit"}
|
14
14
|
%a{:href => "/signup", :class => 'sinatra_authentication_link'}
|
15
15
|
Signup
|
16
|
-
.
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
- if Sinatra.const_defined?('FacebookObject')
|
17
|
+
.third_party_signup
|
18
|
+
%h3.section_title One click login:
|
19
|
+
.login_link.facebook_login
|
20
20
|
= render_facebook_connect_link('Login using facebook', :size => 'large')
|
data/lib/views/signup.haml
CHANGED
@@ -17,8 +17,8 @@
|
|
17
17
|
%input{ :value => "Create account", :type => "submit" }
|
18
18
|
%a{:href => "/login", :class => 'sinatra_authentication_link'}
|
19
19
|
Login
|
20
|
-
.
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
- if Sinatra.const_defined?('FacebookObject')
|
21
|
+
.third_party_signup
|
22
|
+
%h3.section_title One click signup:
|
23
|
+
.login_link.facebook_login
|
24
24
|
= render_facebook_connect_link('Signup using facebook', :size => 'large')
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sinatra-authentication}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Max Justus Spransy"]
|
12
|
-
s.date = %q{2010-01-
|
12
|
+
s.date = %q{2010-01-14}
|
13
13
|
s.description = %q{Simple authentication plugin for sinatra.}
|
14
14
|
s.email = %q{maxjustus@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Justus Spransy
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-14 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|