kete_browserid 0.0.2 → 0.0.3

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.2
1
+ 0.0.3
@@ -0,0 +1,3 @@
1
+ <% if !::KeteBrowserid::REPLACE_EXISTING_LOGIN || (Kete.is_configured? && anonymous_ok_for?(session[:return_to])) -%>
2
+ <div class="wrap"><%= submit_tag @button_text, { :class => @button_classes.join(' '), :tabindex => '1'} %></div>
3
+ <% end -%>
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kete_browserid}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
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"]
@@ -23,6 +23,7 @@ Gem::Specification.new do |s|
23
23
  "README.rdoc",
24
24
  "Rakefile",
25
25
  "VERSION",
26
+ "app/views/account/_login_button.html.erb",
26
27
  "app/views/account/_login_form.html.erb",
27
28
  "app/views/account/signup_as_browserid.html.erb",
28
29
  "config/locales/en.yml",
@@ -11,7 +11,8 @@ User.class_eval do
11
11
  alias :creating_with_browserid? :creating_with_browserid
12
12
 
13
13
  def password_required?
14
- !creating_with_browserid? && (crypted_password.blank? || !password.blank?)
14
+ new_record? &&
15
+ !creating_with_browserid? &&
16
+ (crypted_password.blank? || !password.blank?)
15
17
  end
16
18
  end
17
-
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: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Walter McGinnis
@@ -76,6 +76,7 @@ files:
76
76
  - README.rdoc
77
77
  - Rakefile
78
78
  - VERSION
79
+ - app/views/account/_login_button.html.erb
79
80
  - app/views/account/_login_form.html.erb
80
81
  - app/views/account/signup_as_browserid.html.erb
81
82
  - config/locales/en.yml