active_record_openid_store 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.rubyforge_project = "active_record_openid_store"
15
15
 
16
16
  s.add_dependency 'ruby-openid', '~> 2.1.0'
17
+ s.add_dependency 'activerecord', '~> 3.0.0'
17
18
 
18
19
  s.add_development_dependency 'rake'
19
20
  s.add_development_dependency 'rspec', '~> 2.5.0'
@@ -1,5 +1,6 @@
1
1
  require 'openid/association'
2
2
  require 'time'
3
+ require 'active_record'
3
4
 
4
5
  class ActiveRecordOpenidStore::Association < ActiveRecord::Base
5
6
  set_table_name 'open_id_associations'
@@ -1,3 +1,5 @@
1
+ require 'active_record'
2
+
1
3
  class ActiveRecordOpenidStore::Nonce < ActiveRecord::Base
2
4
  set_table_name 'open_id_nonces'
3
5
  end
@@ -1,5 +1,6 @@
1
1
  require 'openid'
2
2
  require 'openid/store/interface'
3
+ require 'active_record'
3
4
  require 'active_record_openid_store/association'
4
5
  require 'active_record_openid_store/nonce'
5
6
 
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordOpenidStore
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: active_record_openid_store
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alan Skorkin
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-20 00:00:00 +10:00
13
+ date: 2011-07-21 00:00:00 +10:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -25,38 +25,49 @@ dependencies:
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: activerecord
29
29
  prerelease: false
30
30
  requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ~>
34
+ - !ruby/object:Gem::Version
35
+ version: 3.0.0
36
+ type: :runtime
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: rake
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
31
42
  none: false
32
43
  requirements:
33
44
  - - ">="
34
45
  - !ruby/object:Gem::Version
35
46
  version: "0"
36
47
  type: :development
37
- version_requirements: *id002
48
+ version_requirements: *id003
38
49
  - !ruby/object:Gem::Dependency
39
50
  name: rspec
40
51
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirement: &id004 !ruby/object:Gem::Requirement
42
53
  none: false
43
54
  requirements:
44
55
  - - ~>
45
56
  - !ruby/object:Gem::Version
46
57
  version: 2.5.0
47
58
  type: :development
48
- version_requirements: *id003
59
+ version_requirements: *id004
49
60
  - !ruby/object:Gem::Dependency
50
61
  name: json
51
62
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
63
+ requirement: &id005 !ruby/object:Gem::Requirement
53
64
  none: false
54
65
  requirements:
55
66
  - - ~>
56
67
  - !ruby/object:Gem::Version
57
68
  version: 1.4.3
58
69
  type: :development
59
- version_requirements: *id004
70
+ version_requirements: *id005
60
71
  description: A store is required by an OpenID server and optionally by the consumer to store associations, nonces, and auth key information across requests and processes. If rails is distributed across several machines, they must must all have access to the same OpenID store data, so the FilesystemStore won't do. The code here is copied from the openid-ruby library examples. All I did was move some things around, add a namespace and package it all up as a rails engine/plugin, with some conveniences, for use with Rails 3.
61
72
  email:
62
73
  - alan@skorks.com