devise_openid_authenticatable 1.1.1 → 1.1.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/README.md CHANGED
@@ -57,7 +57,7 @@ aren't using database_authenticatable:
57
57
  <p><%= f.submit "Sign in" %></p>
58
58
  <% end -%>
59
59
 
60
- Finally, you'll need to wire up Rack::OpenID in your Rails configuration:
60
+ Finally, *Rails 2* users, you'll need to wire up Rack::OpenID in your Rails configuration:
61
61
 
62
62
  config.middleware.insert_before(Warden::Manager, Rack::OpenID)
63
63
 
@@ -1,5 +1,6 @@
1
1
  require 'devise'
2
2
 
3
+ require 'devise_openid_authenticatable/railtie'
3
4
  require 'devise_openid_authenticatable/schema'
4
5
  require 'devise_openid_authenticatable/strategy'
5
6
 
@@ -0,0 +1,9 @@
1
+ if defined?(::Rails::Railtie)
2
+ module DeviseOpenidAuthenticatable
3
+ class Railtie < Rails::Railtie
4
+ initializer "devise.openid_initialization" do |config|
5
+ config.middleware.insert_before(Warden::Manager, Rack::OpenID)
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module DeviseOpenidAuthenticatable
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
data/rails/init.rb CHANGED
@@ -1 +1 @@
1
- require "devise_openid_authenticatable"
1
+ require "devise_openid_authenticatable"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_openid_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-25 00:00:00.000000000 Z
12
+ date: 2012-12-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack-openid
@@ -160,6 +160,7 @@ files:
160
160
  - devise_openid_authenticatable.gemspec
161
161
  - lib/devise_openid_authenticatable.rb
162
162
  - lib/devise_openid_authenticatable/model.rb
163
+ - lib/devise_openid_authenticatable/railtie.rb
163
164
  - lib/devise_openid_authenticatable/schema.rb
164
165
  - lib/devise_openid_authenticatable/strategy.rb
165
166
  - lib/devise_openid_authenticatable/version.rb
@@ -201,12 +202,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
201
202
  - - ! '>='
202
203
  - !ruby/object:Gem::Version
203
204
  version: '0'
205
+ segments:
206
+ - 0
207
+ hash: 881328794681141970
204
208
  required_rubygems_version: !ruby/object:Gem::Requirement
205
209
  none: false
206
210
  requirements:
207
211
  - - ! '>='
208
212
  - !ruby/object:Gem::Version
209
213
  version: '0'
214
+ segments:
215
+ - 0
216
+ hash: 881328794681141970
210
217
  requirements: []
211
218
  rubyforge_project:
212
219
  rubygems_version: 1.8.23
@@ -239,4 +246,3 @@ test_files:
239
246
  - spec/spec_helper.rb
240
247
  - spec/strategy_spec.rb
241
248
  - spec/support/migrations.rb
242
- has_rdoc: