ruby-openid 2.1.7 → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ruby-openid might be problematic. Click here for more details.

Files changed (38) hide show
  1. data/CHANGELOG +207 -27
  2. data/NOTICE +1 -1
  3. data/README +3 -4
  4. data/examples/discover +0 -0
  5. data/examples/rails_openid/app/controllers/consumer_controller.rb +1 -1
  6. data/examples/rails_openid/script/about +0 -0
  7. data/examples/rails_openid/script/breakpointer +0 -0
  8. data/examples/rails_openid/script/console +0 -0
  9. data/examples/rails_openid/script/destroy +0 -0
  10. data/examples/rails_openid/script/generate +0 -0
  11. data/examples/rails_openid/script/performance/benchmarker +0 -0
  12. data/examples/rails_openid/script/performance/profiler +0 -0
  13. data/examples/rails_openid/script/plugin +0 -0
  14. data/examples/rails_openid/script/process/reaper +0 -0
  15. data/examples/rails_openid/script/process/spawner +0 -0
  16. data/examples/rails_openid/script/process/spinner +0 -0
  17. data/examples/rails_openid/script/runner +0 -0
  18. data/examples/rails_openid/script/server +0 -0
  19. data/lib/openid.rb +1 -1
  20. data/lib/openid/association.rb +2 -2
  21. data/lib/openid/consumer.rb +1 -1
  22. data/lib/openid/consumer/associationmanager.rb +1 -1
  23. data/lib/openid/consumer/discovery.rb +1 -2
  24. data/lib/openid/consumer/html_parse.rb +1 -1
  25. data/lib/openid/consumer/idres.rb +3 -3
  26. data/lib/openid/consumer/responses.rb +1 -1
  27. data/lib/openid/cryptutil.rb +22 -4
  28. data/lib/openid/extensions/ax.rb +28 -5
  29. data/lib/openid/extensions/oauth.rb +91 -0
  30. data/lib/openid/fetchers.rb +22 -2
  31. data/lib/openid/yadis/xrires.rb +4 -11
  32. data/test/data/test_discover/openid_utf8.html +11 -0
  33. data/test/test_ax.rb +44 -2
  34. data/test/test_discover.rb +14 -0
  35. data/test/test_fetchers.rb +28 -1
  36. data/test/test_idres.rb +77 -36
  37. data/test/test_oauth.rb +175 -0
  38. metadata +206 -226
@@ -0,0 +1,175 @@
1
+ require 'openid/extensions/oauth'
2
+ require 'openid/message'
3
+ require 'openid/server'
4
+ require 'openid/consumer/responses'
5
+ require 'openid/consumer/discovery'
6
+
7
+ module OpenID
8
+ module OAuthTest
9
+ class OAuthRequestTestCase < Test::Unit::TestCase
10
+ def setup
11
+ @req = OAuth::Request.new
12
+ end
13
+
14
+ def test_construct
15
+ assert_nil(@req.consumer)
16
+ assert_nil(@req.scope)
17
+ assert_equal('oauth', @req.ns_alias)
18
+
19
+ req2 = OAuth::Request.new("CONSUMER","http://sample.com/some_scope")
20
+ assert_equal("CONSUMER",req2.consumer)
21
+ assert_equal("http://sample.com/some_scope",req2.scope)
22
+ end
23
+
24
+ def test_add_consumer
25
+ @req.consumer="CONSUMER"
26
+ assert_equal("CONSUMER",@req.consumer)
27
+ end
28
+
29
+ def test_add_scope
30
+ @req.scope="http://sample.com/some_scope"
31
+ assert_equal("http://sample.com/some_scope",@req.scope)
32
+ end
33
+
34
+ def test_get_extension_args
35
+ assert_equal({}, @req.get_extension_args)
36
+ @req.consumer="CONSUMER"
37
+ assert_equal({'consumer' => 'CONSUMER'}, @req.get_extension_args)
38
+ @req.scope="http://sample.com/some_scope"
39
+ assert_equal({'consumer' => 'CONSUMER', 'scope' => 'http://sample.com/some_scope'}, @req.get_extension_args)
40
+ end
41
+
42
+ def test_parse_extension_args
43
+ args = {'consumer' => 'CONSUMER', 'scope' => 'http://sample.com/some_scope'}
44
+ @req.parse_extension_args(args)
45
+ assert_equal("CONSUMER",@req.consumer)
46
+ assert_equal("http://sample.com/some_scope",@req.scope)
47
+ end
48
+
49
+ def test_parse_extension_args_empty
50
+ @req.parse_extension_args({})
51
+ assert_nil( @req.consumer )
52
+ assert_nil( @req.scope )
53
+ end
54
+
55
+ def test_from_openid_request
56
+ openid_req_msg = Message.from_openid_args({
57
+ 'mode' => 'checkid_setup',
58
+ 'ns' => OPENID2_NS,
59
+ 'ns.oauth' => OAuth::NS_URI,
60
+ 'oauth.consumer' => 'CONSUMER',
61
+ 'oauth.scope' => "http://sample.com/some_scope"
62
+ })
63
+ oid_req = Server::OpenIDRequest.new
64
+ oid_req.message = openid_req_msg
65
+ req = OAuth::Request.from_openid_request(oid_req)
66
+ assert_equal("CONSUMER",req.consumer)
67
+ assert_equal("http://sample.com/some_scope",req.scope)
68
+ end
69
+
70
+ def test_from_openid_request_no_oauth
71
+ message = Message.new
72
+ openid_req = Server::OpenIDRequest.new
73
+ openid_req.message = message
74
+ oauth_req = OAuth::Request.from_openid_request(openid_req)
75
+ assert(oauth_req.nil?)
76
+ end
77
+
78
+ end
79
+
80
+ class DummySuccessResponse
81
+ attr_accessor :message
82
+
83
+ def initialize(message, signed_stuff)
84
+ @message = message
85
+ @signed_stuff = signed_stuff
86
+ end
87
+
88
+ def get_signed_ns(ns_uri)
89
+ return @signed_stuff
90
+ end
91
+
92
+ end
93
+
94
+ class OAuthResponseTestCase < Test::Unit::TestCase
95
+ def setup
96
+ @req = OAuth::Response.new
97
+ end
98
+
99
+ def test_construct
100
+ assert_nil(@req.request_token)
101
+ assert_nil(@req.scope)
102
+
103
+ req2 = OAuth::Response.new("REQUESTTOKEN","http://sample.com/some_scope")
104
+ assert_equal("REQUESTTOKEN",req2.request_token)
105
+ assert_equal("http://sample.com/some_scope",req2.scope)
106
+ end
107
+
108
+ def test_add_request_token
109
+ @req.request_token="REQUESTTOKEN"
110
+ assert_equal("REQUESTTOKEN",@req.request_token)
111
+ end
112
+
113
+ def test_add_scope
114
+ @req.scope="http://sample.com/some_scope"
115
+ assert_equal("http://sample.com/some_scope",@req.scope)
116
+ end
117
+
118
+ def test_get_extension_args
119
+ assert_equal({}, @req.get_extension_args)
120
+ @req.request_token="REQUESTTOKEN"
121
+ assert_equal({'request_token' => 'REQUESTTOKEN'}, @req.get_extension_args)
122
+ @req.scope="http://sample.com/some_scope"
123
+ assert_equal({'request_token' => 'REQUESTTOKEN', 'scope' => 'http://sample.com/some_scope'}, @req.get_extension_args)
124
+ end
125
+
126
+ def test_parse_extension_args
127
+ args = {'request_token' => 'REQUESTTOKEN', 'scope' => 'http://sample.com/some_scope'}
128
+ @req.parse_extension_args(args)
129
+ assert_equal("REQUESTTOKEN",@req.request_token)
130
+ assert_equal("http://sample.com/some_scope",@req.scope)
131
+ end
132
+
133
+ def test_parse_extension_args_empty
134
+ @req.parse_extension_args({})
135
+ assert_nil( @req.request_token )
136
+ assert_nil( @req.scope )
137
+ end
138
+
139
+ def test_from_success_response
140
+
141
+ openid_req_msg = Message.from_openid_args({
142
+ 'mode' => 'id_res',
143
+ 'ns' => OPENID2_NS,
144
+ 'ns.oauth' => OAuth::NS_URI,
145
+ 'ns.oauth' => OAuth::NS_URI,
146
+ 'oauth.request_token' => 'REQUESTTOKEN',
147
+ 'oauth.scope' => "http://sample.com/some_scope"
148
+ })
149
+ signed_stuff = {
150
+ 'request_token' => 'REQUESTTOKEN',
151
+ 'scope' => "http://sample.com/some_scope"
152
+ }
153
+ oid_req = DummySuccessResponse.new(openid_req_msg, signed_stuff)
154
+ req = OAuth::Response.from_success_response(oid_req)
155
+ assert_equal("REQUESTTOKEN",req.request_token)
156
+ assert_equal("http://sample.com/some_scope",req.scope)
157
+ end
158
+
159
+ def test_from_success_response_unsigned
160
+ openid_req_msg = Message.from_openid_args({
161
+ 'mode' => 'id_res',
162
+ 'ns' => OPENID2_NS,
163
+ 'ns.oauth' => OAuth::NS_URI,
164
+ 'oauth.request_token' => 'REQUESTTOKEN',
165
+ 'oauth.scope' => "http://sample.com/some_scope"
166
+ })
167
+ signed_stuff = {}
168
+ endpoint = OpenIDServiceEndpoint.new
169
+ oid_req = Consumer::SuccessResponse.new(endpoint, openid_req_msg, signed_stuff)
170
+ req = OAuth::Response.from_success_response(oid_req)
171
+ assert(req.nil?, req.inspect)
172
+ end
173
+ end
174
+ end
175
+ end
metadata CHANGED
@@ -1,284 +1,264 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
3
- specification_version: 1
4
2
  name: ruby-openid
5
3
  version: !ruby/object:Gem::Version
6
- version: 2.1.7
7
- date: 2009-07-01 00:00:00 -07:00
8
- summary: A library for consuming and serving OpenID identities.
9
- require_paths:
10
- - lib
11
- email: openid@janrain.com
12
- homepage: http://openidenabled.com/ruby-openid/
13
- rubyforge_project:
14
- description:
15
- autorequire: openid
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 2
8
+ - 1
9
+ - 8
10
+ version: 2.1.8
25
11
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
12
  authors:
30
13
  - JanRain, Inc
14
+ autorequire: openid
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-07-22 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description:
23
+ email: openid@janrain.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README
30
+ - INSTALL
31
+ - LICENSE
32
+ - UPGRADE
31
33
  files:
32
34
  - examples/README
33
- - examples/active_record_openid_store
34
- - examples/rails_openid
35
- - examples/discover
36
- - examples/active_record_openid_store/lib
37
- - examples/active_record_openid_store/test
38
- - examples/active_record_openid_store/init.rb
39
- - examples/active_record_openid_store/README
40
- - examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
41
35
  - examples/active_record_openid_store/XXX_upgrade_open_id_store.rb
42
- - examples/active_record_openid_store/lib/association.rb
36
+ - examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
37
+ - examples/active_record_openid_store/README
38
+ - examples/active_record_openid_store/test/store_test.rb
39
+ - examples/active_record_openid_store/init.rb
43
40
  - examples/active_record_openid_store/lib/nonce.rb
44
41
  - examples/active_record_openid_store/lib/open_id_setting.rb
42
+ - examples/active_record_openid_store/lib/association.rb
45
43
  - examples/active_record_openid_store/lib/openid_ar_store.rb
46
- - examples/active_record_openid_store/test/store_test.rb
47
- - examples/rails_openid/app
48
- - examples/rails_openid/components
49
- - examples/rails_openid/config
50
- - examples/rails_openid/db
51
- - examples/rails_openid/doc
52
- - examples/rails_openid/lib
53
- - examples/rails_openid/log
54
- - examples/rails_openid/public
55
- - examples/rails_openid/script
56
- - examples/rails_openid/test
57
- - examples/rails_openid/vendor
58
- - examples/rails_openid/Rakefile
59
- - examples/rails_openid/README
60
- - examples/rails_openid/app/controllers
61
- - examples/rails_openid/app/helpers
62
- - examples/rails_openid/app/models
63
- - examples/rails_openid/app/views
64
- - examples/rails_openid/app/controllers/application.rb
65
- - examples/rails_openid/app/controllers/login_controller.rb
66
- - examples/rails_openid/app/controllers/server_controller.rb
67
- - examples/rails_openid/app/controllers/consumer_controller.rb
68
- - examples/rails_openid/app/helpers/application_helper.rb
69
- - examples/rails_openid/app/helpers/login_helper.rb
70
- - examples/rails_openid/app/helpers/server_helper.rb
71
- - examples/rails_openid/app/views/layouts
72
- - examples/rails_openid/app/views/login
73
- - examples/rails_openid/app/views/server
74
- - examples/rails_openid/app/views/consumer
75
- - examples/rails_openid/app/views/layouts/server.rhtml
76
- - examples/rails_openid/app/views/login/index.rhtml
77
- - examples/rails_openid/app/views/server/decide.rhtml
78
- - examples/rails_openid/app/views/consumer/index.rhtml
79
- - examples/rails_openid/config/environments
80
- - examples/rails_openid/config/database.yml
81
- - examples/rails_openid/config/boot.rb
82
- - examples/rails_openid/config/environment.rb
83
- - examples/rails_openid/config/routes.rb
84
- - examples/rails_openid/config/environments/development.rb
85
- - examples/rails_openid/config/environments/production.rb
86
- - examples/rails_openid/config/environments/test.rb
87
- - examples/rails_openid/doc/README_FOR_APP
88
- - examples/rails_openid/lib/tasks
89
- - examples/rails_openid/public/images
90
- - examples/rails_openid/public/javascripts
91
- - examples/rails_openid/public/stylesheets
92
- - examples/rails_openid/public/dispatch.cgi
93
- - examples/rails_openid/public/404.html
94
- - examples/rails_openid/public/500.html
95
- - examples/rails_openid/public/dispatch.fcgi
96
- - examples/rails_openid/public/dispatch.rb
97
- - examples/rails_openid/public/favicon.ico
98
- - examples/rails_openid/public/robots.txt
99
44
  - examples/rails_openid/public/images/openid_login_bg.gif
100
- - examples/rails_openid/public/javascripts/controls.js
101
45
  - examples/rails_openid/public/javascripts/dragdrop.js
102
46
  - examples/rails_openid/public/javascripts/effects.js
103
47
  - examples/rails_openid/public/javascripts/prototype.js
104
- - examples/rails_openid/script/performance
105
- - examples/rails_openid/script/process
106
- - examples/rails_openid/script/console
107
- - examples/rails_openid/script/about
108
- - examples/rails_openid/script/breakpointer
48
+ - examples/rails_openid/public/javascripts/controls.js
49
+ - examples/rails_openid/public/dispatch.fcgi
50
+ - examples/rails_openid/public/favicon.ico
51
+ - examples/rails_openid/public/500.html
52
+ - examples/rails_openid/public/dispatch.rb
53
+ - examples/rails_openid/public/robots.txt
54
+ - examples/rails_openid/public/dispatch.cgi
55
+ - examples/rails_openid/public/404.html
56
+ - examples/rails_openid/doc/README_FOR_APP
57
+ - examples/rails_openid/README
58
+ - examples/rails_openid/test/test_helper.rb
59
+ - examples/rails_openid/test/functional/server_controller_test.rb
60
+ - examples/rails_openid/test/functional/login_controller_test.rb
61
+ - examples/rails_openid/config/routes.rb
62
+ - examples/rails_openid/config/boot.rb
63
+ - examples/rails_openid/config/environments/production.rb
64
+ - examples/rails_openid/config/environments/test.rb
65
+ - examples/rails_openid/config/environments/development.rb
66
+ - examples/rails_openid/config/environment.rb
67
+ - examples/rails_openid/config/database.yml
109
68
  - examples/rails_openid/script/destroy
110
69
  - examples/rails_openid/script/generate
70
+ - examples/rails_openid/script/breakpointer
111
71
  - examples/rails_openid/script/plugin
112
- - examples/rails_openid/script/runner
113
72
  - examples/rails_openid/script/server
114
- - examples/rails_openid/script/performance/benchmarker
115
- - examples/rails_openid/script/performance/profiler
116
- - examples/rails_openid/script/process/spawner
117
73
  - examples/rails_openid/script/process/reaper
74
+ - examples/rails_openid/script/process/spawner
118
75
  - examples/rails_openid/script/process/spinner
119
- - examples/rails_openid/test/fixtures
120
- - examples/rails_openid/test/functional
121
- - examples/rails_openid/test/mocks
122
- - examples/rails_openid/test/unit
123
- - examples/rails_openid/test/test_helper.rb
124
- - examples/rails_openid/test/functional/login_controller_test.rb
125
- - examples/rails_openid/test/functional/server_controller_test.rb
126
- - examples/rails_openid/test/mocks/development
127
- - examples/rails_openid/test/mocks/test
128
- - lib/openid
129
- - lib/hmac
130
- - lib/openid.rb
131
- - lib/openid/cryptutil.rb
132
- - lib/openid/extras.rb
133
- - lib/openid/urinorm.rb
134
- - lib/openid/util.rb
135
- - lib/openid/trustroot.rb
136
- - lib/openid/message.rb
137
- - lib/openid/yadis
138
- - lib/openid/consumer
139
- - lib/openid/fetchers.rb
140
- - lib/openid/dh.rb
141
- - lib/openid/kvform.rb
142
- - lib/openid/association.rb
143
- - lib/openid/store
76
+ - examples/rails_openid/script/about
77
+ - examples/rails_openid/script/console
78
+ - examples/rails_openid/script/performance/profiler
79
+ - examples/rails_openid/script/performance/benchmarker
80
+ - examples/rails_openid/script/runner
81
+ - examples/rails_openid/Rakefile
82
+ - examples/rails_openid/app/helpers/server_helper.rb
83
+ - examples/rails_openid/app/helpers/login_helper.rb
84
+ - examples/rails_openid/app/helpers/application_helper.rb
85
+ - examples/rails_openid/app/controllers/application.rb
86
+ - examples/rails_openid/app/controllers/login_controller.rb
87
+ - examples/rails_openid/app/controllers/consumer_controller.rb
88
+ - examples/rails_openid/app/controllers/server_controller.rb
89
+ - examples/rails_openid/app/views/consumer/index.rhtml
90
+ - examples/rails_openid/app/views/login/index.rhtml
91
+ - examples/rails_openid/app/views/layouts/server.rhtml
92
+ - examples/rails_openid/app/views/server/decide.rhtml
93
+ - examples/discover
94
+ - lib/openid/extensions/sreg.rb
95
+ - lib/openid/extensions/ax.rb
96
+ - lib/openid/extensions/oauth.rb
97
+ - lib/openid/extensions/pape.rb
144
98
  - lib/openid/kvpost.rb
145
- - lib/openid/extensions
146
- - lib/openid/protocolerror.rb
147
- - lib/openid/server.rb
148
- - lib/openid/extension.rb
149
- - lib/openid/consumer.rb
150
- - lib/openid/yadis/htmltokenizer.rb
151
- - lib/openid/yadis/parsehtml.rb
152
- - lib/openid/yadis/filters.rb
153
- - lib/openid/yadis/xrds.rb
154
- - lib/openid/yadis/accept.rb
155
- - lib/openid/yadis/constants.rb
156
- - lib/openid/yadis/discovery.rb
157
- - lib/openid/yadis/xri.rb
158
- - lib/openid/yadis/xrires.rb
159
- - lib/openid/yadis/services.rb
99
+ - lib/openid/consumer/discovery_manager.rb
100
+ - lib/openid/consumer/associationmanager.rb
160
101
  - lib/openid/consumer/html_parse.rb
161
102
  - lib/openid/consumer/idres.rb
162
- - lib/openid/consumer/associationmanager.rb
163
- - lib/openid/consumer/discovery.rb
164
- - lib/openid/consumer/discovery_manager.rb
165
- - lib/openid/consumer/checkid_request.rb
166
103
  - lib/openid/consumer/responses.rb
167
- - lib/openid/store/filesystem.rb
168
- - lib/openid/store/interface.rb
104
+ - lib/openid/consumer/checkid_request.rb
105
+ - lib/openid/consumer/discovery.rb
106
+ - lib/openid/util.rb
107
+ - lib/openid/extension.rb
108
+ - lib/openid/server.rb
109
+ - lib/openid/protocolerror.rb
169
110
  - lib/openid/store/nonce.rb
170
111
  - lib/openid/store/memory.rb
171
112
  - lib/openid/store/memcache.rb
172
- - lib/openid/extensions/sreg.rb
173
- - lib/openid/extensions/ax.rb
174
- - lib/openid/extensions/pape.rb
113
+ - lib/openid/store/interface.rb
114
+ - lib/openid/store/filesystem.rb
115
+ - lib/openid/association.rb
116
+ - lib/openid/extras.rb
117
+ - lib/openid/consumer.rb
118
+ - lib/openid/cryptutil.rb
119
+ - lib/openid/message.rb
120
+ - lib/openid/trustroot.rb
121
+ - lib/openid/yadis/parsehtml.rb
122
+ - lib/openid/yadis/services.rb
123
+ - lib/openid/yadis/htmltokenizer.rb
124
+ - lib/openid/yadis/xrires.rb
125
+ - lib/openid/yadis/xri.rb
126
+ - lib/openid/yadis/accept.rb
127
+ - lib/openid/yadis/xrds.rb
128
+ - lib/openid/yadis/filters.rb
129
+ - lib/openid/yadis/constants.rb
130
+ - lib/openid/yadis/discovery.rb
131
+ - lib/openid/kvform.rb
132
+ - lib/openid/urinorm.rb
133
+ - lib/openid/fetchers.rb
134
+ - lib/openid/dh.rb
135
+ - lib/openid.rb
136
+ - lib/hmac/sha2.rb
175
137
  - lib/hmac/hmac.rb
176
138
  - lib/hmac/sha1.rb
177
- - lib/hmac/sha2.rb
178
- - test/data
179
- - test/test_association.rb
180
- - test/test_urinorm.rb
181
- - test/testutil.rb
182
- - test/test_util.rb
183
139
  - test/test_message.rb
184
- - test/test_cryptutil.rb
185
- - test/test_extras.rb
186
140
  - test/util.rb
187
- - test/test_trustroot.rb
188
- - test/test_parsehtml.rb
189
- - test/test_fetchers.rb
190
- - test/test_dh.rb
191
- - test/test_kvform.rb
192
- - test/test_openid_yadis.rb
193
- - test/test_linkparse.rb
194
- - test/test_stores.rb
195
- - test/test_filters.rb
196
- - test/test_xrds.rb
197
- - test/test_nonce.rb
198
- - test/test_accept.rb
199
- - test/test_kvpost.rb
200
- - test/test_associationmanager.rb
201
- - test/discoverdata.rb
202
- - test/test_server.rb
203
- - test/test_yadis_discovery.rb
204
- - test/test_sreg.rb
205
- - test/test_idres.rb
206
141
  - test/test_ax.rb
207
- - test/test_xri.rb
208
- - test/test_xrires.rb
209
- - test/test_discover.rb
210
- - test/test_consumer.rb
211
- - test/test_pape.rb
212
- - test/test_checkid_request.rb
213
- - test/test_discovery_manager.rb
214
- - test/test_responses.rb
215
142
  - test/test_extension.rb
216
- - test/data/test_xrds
217
- - test/data/urinorm.txt
218
- - test/data/n2b64
219
- - test/data/trustroot.txt
220
- - test/data/dh.txt
221
- - test/data/test1-parsehtml.txt
222
- - test/data/linkparse.txt
223
- - test/data/accept.txt
224
- - test/data/test_discover
225
- - test/data/example-xrds.xml
226
- - test/data/test1-discover.txt
227
- - test/data/test_xrds/ref.xrds
228
- - test/data/test_xrds/README
229
- - test/data/test_xrds/delegated-20060809-r1.xrds
230
- - test/data/test_xrds/delegated-20060809-r2.xrds
231
- - test/data/test_xrds/delegated-20060809.xrds
232
- - test/data/test_xrds/no-xrd.xml
143
+ - test/test_idres.rb
233
144
  - test/data/test_xrds/not-xrds.xml
234
- - test/data/test_xrds/prefixsometimes.xrds
145
+ - test/data/test_xrds/delegated-20060809-r2.xrds
146
+ - test/data/test_xrds/README
147
+ - test/data/test_xrds/status222.xrds
148
+ - test/data/test_xrds/ref.xrds
235
149
  - test/data/test_xrds/sometimesprefix.xrds
150
+ - test/data/test_xrds/=j3h.2007.11.14.xrds
151
+ - test/data/test_xrds/delegated-20060809.xrds
236
152
  - test/data/test_xrds/spoof1.xrds
153
+ - test/data/test_xrds/subsegments.xrds
154
+ - test/data/test_xrds/no-xrd.xml
155
+ - test/data/test_xrds/delegated-20060809-r1.xrds
237
156
  - test/data/test_xrds/spoof2.xrds
238
- - test/data/test_xrds/spoof3.xrds
239
- - test/data/test_xrds/status222.xrds
240
157
  - test/data/test_xrds/valid-populated-xrds.xml
241
- - test/data/test_xrds/=j3h.2007.11.14.xrds
242
- - test/data/test_xrds/subsegments.xrds
243
- - test/data/test_discover/openid2_xrds.xml
158
+ - test/data/test_xrds/spoof3.xrds
159
+ - test/data/test_xrds/prefixsometimes.xrds
160
+ - test/data/n2b64
161
+ - test/data/accept.txt
162
+ - test/data/linkparse.txt
163
+ - test/data/trustroot.txt
164
+ - test/data/dh.txt
244
165
  - test/data/test_discover/openid.html
245
- - test/data/test_discover/openid2.html
246
- - test/data/test_discover/openid2_xrds_no_local_id.xml
247
- - test/data/test_discover/openid_1_and_2.html
248
- - test/data/test_discover/openid_1_and_2_xrds.xml
249
- - test/data/test_discover/openid_and_yadis.html
250
- - test/data/test_discover/openid_1_and_2_xrds_bad_delegate.xml
251
- - test/data/test_discover/openid_no_delegate.html
252
- - test/data/test_discover/yadis_0entries.xml
253
166
  - test/data/test_discover/yadis_2_bad_local_id.xml
254
167
  - test/data/test_discover/yadis_2entries_delegate.xml
168
+ - test/data/test_discover/yadis_0entries.xml
169
+ - test/data/test_discover/openid_1_and_2.html
170
+ - test/data/test_discover/malformed_meta_tag.html
171
+ - test/data/test_discover/yadis_idp.xml
255
172
  - test/data/test_discover/yadis_2entries_idp.xml
173
+ - test/data/test_discover/openid2_xrds_no_local_id.xml
174
+ - test/data/test_discover/yadis_no_delegate.xml
175
+ - test/data/test_discover/openid_no_delegate.html
176
+ - test/data/test_discover/openid_and_yadis.html
177
+ - test/data/test_discover/openid_1_and_2_xrds.xml
178
+ - test/data/test_discover/openid2_xrds.xml
179
+ - test/data/test_discover/openid_1_and_2_xrds_bad_delegate.xml
180
+ - test/data/test_discover/openid_utf8.html
256
181
  - test/data/test_discover/yadis_another_delegate.xml
257
- - test/data/test_discover/yadis_idp.xml
258
182
  - test/data/test_discover/yadis_idp_delegate.xml
259
- - test/data/test_discover/yadis_no_delegate.xml
260
- - test/data/test_discover/malformed_meta_tag.html
183
+ - test/data/test_discover/openid2.html
184
+ - test/data/test1-discover.txt
185
+ - test/data/urinorm.txt
186
+ - test/data/test1-parsehtml.txt
187
+ - test/data/example-xrds.xml
188
+ - test/test_openid_yadis.rb
189
+ - test/test_dh.rb
190
+ - test/test_fetchers.rb
191
+ - test/test_discover.rb
192
+ - test/test_kvform.rb
193
+ - test/test_association.rb
194
+ - test/test_server.rb
195
+ - test/test_consumer.rb
196
+ - test/test_oauth.rb
197
+ - test/test_util.rb
198
+ - test/test_nonce.rb
199
+ - test/test_xrds.rb
200
+ - test/discoverdata.rb
201
+ - test/test_filters.rb
202
+ - test/test_associationmanager.rb
203
+ - test/test_checkid_request.rb
204
+ - test/test_responses.rb
205
+ - test/test_kvpost.rb
206
+ - test/test_yadis_discovery.rb
207
+ - test/test_xri.rb
208
+ - test/test_linkparse.rb
209
+ - test/test_trustroot.rb
210
+ - test/test_discovery_manager.rb
211
+ - test/test_parsehtml.rb
212
+ - test/test_pape.rb
213
+ - test/test_extras.rb
214
+ - test/testutil.rb
215
+ - test/test_sreg.rb
216
+ - test/test_accept.rb
217
+ - test/test_urinorm.rb
218
+ - test/test_cryptutil.rb
219
+ - test/test_xrires.rb
220
+ - test/test_stores.rb
261
221
  - NOTICE
262
222
  - CHANGELOG
263
223
  - README
264
224
  - INSTALL
265
225
  - LICENSE
266
226
  - UPGRADE
267
- test_files:
268
227
  - admin/runtests.rb
228
+ has_rdoc: true
229
+ homepage: http://github.com/openid/ruby-openid
230
+ licenses: []
231
+
232
+ post_install_message:
269
233
  rdoc_options:
270
234
  - --main
271
235
  - README
272
- extra_rdoc_files:
273
- - README
274
- - INSTALL
275
- - LICENSE
276
- - UPGRADE
277
- executables: []
278
-
279
- extensions: []
280
-
236
+ require_paths:
237
+ - lib
238
+ required_ruby_version: !ruby/object:Gem::Requirement
239
+ none: false
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ hash: 3
244
+ segments:
245
+ - 0
246
+ version: "0"
247
+ required_rubygems_version: !ruby/object:Gem::Requirement
248
+ none: false
249
+ requirements:
250
+ - - ">="
251
+ - !ruby/object:Gem::Version
252
+ hash: 3
253
+ segments:
254
+ - 0
255
+ version: "0"
281
256
  requirements: []
282
257
 
283
- dependencies: []
284
-
258
+ rubyforge_project:
259
+ rubygems_version: 1.3.7
260
+ signing_key:
261
+ specification_version: 3
262
+ summary: A library for consuming and serving OpenID identities.
263
+ test_files:
264
+ - admin/runtests.rb