authlogic_wind 0.3.0 → 0.3.2

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 CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{authlogic_wind}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["James Stuart"]
@@ -40,7 +40,16 @@ module AuthlogicWind
40
40
 
41
41
  alias_method :auto_register=,:auto_register
42
42
 
43
- end
43
+ # Add this in your Session object to Auto Register a new user using openid via sreg
44
+ def login_only_with_wind(value=nil)
45
+ rw_config(:login_only_with_wind,value,false)
46
+ end
47
+
48
+ alias_method :login_only_with_wind=,:login_only_with_wind
49
+
50
+
51
+
52
+ end
44
53
 
45
54
 
46
55
  module Methods
@@ -124,6 +133,10 @@ module AuthlogicWind
124
133
  self.class.auto_register == true
125
134
  end
126
135
 
136
+ def login_only_with_wind?
137
+ self.class.login_only_with_wind == true
138
+ end
139
+
127
140
  def validate_by_wind
128
141
  validate_email_field = false
129
142
  if wind_response.blank?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlogic_wind
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Stuart