ruby-openid 2.2.3 → 2.3.0
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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +11 -0
- data/README.md +1 -2
- data/examples/rails_openid/Gemfile +41 -0
- data/examples/rails_openid/README.rdoc +261 -0
- data/examples/rails_openid/Rakefile +4 -7
- data/examples/rails_openid/app/assets/images/rails.png +0 -0
- data/examples/rails_openid/app/assets/javascripts/application.js +15 -0
- data/examples/rails_openid/app/assets/stylesheets/application.css +13 -0
- data/examples/rails_openid/app/controllers/application_controller.rb +3 -0
- data/examples/rails_openid/app/controllers/consumer_controller.rb +1 -0
- data/examples/rails_openid/app/helpers/application_helper.rb +0 -1
- data/examples/rails_openid/app/views/consumer/{index.rhtml → index.html.erb} +0 -0
- data/examples/rails_openid/app/views/layouts/{server.rhtml → server.html.erb} +4 -2
- data/examples/rails_openid/app/views/login/{index.rhtml → index.html.erb} +0 -0
- data/examples/rails_openid/app/views/server/{decide.rhtml → decide.html.erb} +1 -0
- data/examples/rails_openid/config.ru +4 -0
- data/examples/rails_openid/config/application.rb +62 -0
- data/examples/rails_openid/config/boot.rb +4 -17
- data/examples/rails_openid/config/database.yml +15 -64
- data/examples/rails_openid/config/environment.rb +4 -53
- data/examples/rails_openid/config/environments/development.rb +32 -14
- data/examples/rails_openid/config/environments/production.rb +61 -13
- data/examples/rails_openid/config/environments/test.rb +33 -15
- data/examples/rails_openid/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/rails_openid/config/initializers/inflections.rb +15 -0
- data/examples/rails_openid/config/initializers/mime_types.rb +5 -0
- data/examples/rails_openid/config/initializers/rails_root.rb +1 -0
- data/examples/rails_openid/config/initializers/secret_token.rb +7 -0
- data/examples/rails_openid/config/initializers/session_store.rb +8 -0
- data/examples/rails_openid/config/initializers/wrap_parameters.rb +14 -0
- data/examples/rails_openid/config/locales/en.yml +5 -0
- data/examples/rails_openid/config/routes.rb +65 -18
- data/examples/rails_openid/db/development.sqlite3 +0 -0
- data/examples/rails_openid/db/seeds.rb +7 -0
- data/examples/rails_openid/doc/README_FOR_APP +1 -1
- data/examples/rails_openid/log/development.log +2052 -0
- data/examples/rails_openid/public/404.html +23 -5
- data/examples/rails_openid/public/422.html +26 -0
- data/examples/rails_openid/public/500.html +22 -5
- data/examples/rails_openid/public/javascripts/application.js +2 -0
- data/examples/rails_openid/public/javascripts/controls.js +586 -373
- data/examples/rails_openid/public/javascripts/dragdrop.js +575 -186
- data/examples/rails_openid/public/javascripts/effects.js +763 -489
- data/examples/rails_openid/public/javascripts/prototype.js +3420 -885
- data/examples/rails_openid/public/robots.txt +5 -1
- data/examples/rails_openid/script/rails +6 -0
- data/examples/rails_openid/test/performance/browsing_test.rb +12 -0
- data/examples/rails_openid/test/test_helper.rb +7 -22
- data/lib/openid/association.rb +1 -1
- data/lib/openid/consumer/checkid_request.rb +1 -1
- data/lib/openid/consumer/discovery.rb +1 -1
- data/lib/openid/consumer/html_parse.rb +3 -1
- data/lib/openid/consumer/idres.rb +1 -1
- data/lib/openid/extensions/ax.rb +2 -3
- data/lib/openid/extensions/ui.rb +3 -3
- data/lib/openid/extras.rb +2 -2
- data/lib/openid/server.rb +2 -2
- data/lib/openid/store/memory.rb +1 -2
- data/lib/openid/store/nonce.rb +1 -1
- data/lib/openid/trustroot.rb +1 -1
- data/lib/openid/util.rb +2 -2
- data/lib/openid/version.rb +1 -1
- data/lib/openid/yadis/xrds.rb +1 -1
- data/test/test_accept.rb +20 -21
- data/test/test_association.rb +4 -8
- data/test/test_associationmanager.rb +1 -1
- data/test/test_ax.rb +0 -1
- data/test/test_checkid_request.rb +7 -8
- data/test/test_dh.rb +1 -1
- data/test/test_discover.rb +7 -8
- data/test/test_extension.rb +1 -1
- data/test/test_fetchers.rb +7 -11
- data/test/test_filters.rb +0 -4
- data/test/test_idres.rb +5 -5
- data/test/test_kvpost.rb +0 -1
- data/test/test_message.rb +10 -11
- data/test/test_parsehtml.rb +0 -1
- data/test/test_server.rb +11 -30
- data/test/test_stores.rb +2 -2
- data/test/test_trustroot.rb +1 -1
- data/test/test_urinorm.rb +1 -1
- data/test/test_xrds.rb +1 -1
- data/test/test_yadis_discovery.rb +0 -2
- metadata +34 -33
- data/examples/rails_openid/app/controllers/application.rb +0 -4
- data/examples/rails_openid/script/about +0 -3
- data/examples/rails_openid/script/breakpointer +0 -3
- data/examples/rails_openid/script/console +0 -3
- data/examples/rails_openid/script/destroy +0 -3
- data/examples/rails_openid/script/generate +0 -3
- data/examples/rails_openid/script/performance/benchmarker +0 -3
- data/examples/rails_openid/script/performance/profiler +0 -3
- data/examples/rails_openid/script/plugin +0 -3
- data/examples/rails_openid/script/process/reaper +0 -3
- data/examples/rails_openid/script/process/spawner +0 -3
- data/examples/rails_openid/script/process/spinner +0 -3
- data/examples/rails_openid/script/runner +0 -3
- data/examples/rails_openid/script/server +0 -3
data/test/test_extension.rb
CHANGED
data/test/test_fetchers.rb
CHANGED
@@ -121,7 +121,6 @@ EOHTML
|
|
121
121
|
lambda { |req, resp|
|
122
122
|
resp['Content-Type'] = "text/html; charset=utf-8"
|
123
123
|
body = UTF8_PAGE_CONTENT.dup
|
124
|
-
body.force_encoding("ASCII-8BIT") if body.respond_to?(:force_encoding)
|
125
124
|
resp.body = body
|
126
125
|
}
|
127
126
|
end
|
@@ -130,7 +129,6 @@ EOHTML
|
|
130
129
|
lambda { |req, resp|
|
131
130
|
resp['Content-Type'] = "text/html"
|
132
131
|
body = "unencoded-body"
|
133
|
-
body.force_encoding("ASCII-8BIT") if body.respond_to?(:force_encoding)
|
134
132
|
resp.body = body
|
135
133
|
}
|
136
134
|
end
|
@@ -139,7 +137,6 @@ EOHTML
|
|
139
137
|
lambda { |req, resp|
|
140
138
|
resp['Content-Type'] = "text/html; charset=wtf"
|
141
139
|
body = "badly-encoded-body"
|
142
|
-
body.force_encoding("ASCII-8BIT") if body.respond_to?(:force_encoding)
|
143
140
|
resp.body = body
|
144
141
|
}
|
145
142
|
end
|
@@ -150,7 +147,7 @@ EOHTML
|
|
150
147
|
end
|
151
148
|
@fetcher = OpenID::StandardFetcher.new
|
152
149
|
@logfile = StringIO.new
|
153
|
-
@weblog = WEBrick::Log.new(logfile
|
150
|
+
@weblog = WEBrick::Log.new(@logfile)
|
154
151
|
@server = WEBrick::HTTPServer.new(:Port => 0,
|
155
152
|
:Logger => @weblog,
|
156
153
|
:AccessLog => [])
|
@@ -183,7 +180,7 @@ EOHTML
|
|
183
180
|
|
184
181
|
def _uri_build(path='/')
|
185
182
|
u = URI::HTTP.build({
|
186
|
-
:host =>
|
183
|
+
:host => "localhost",
|
187
184
|
:port => @server.config[:Port],
|
188
185
|
:path => path,
|
189
186
|
})
|
@@ -261,15 +258,14 @@ EOHTML
|
|
261
258
|
end
|
262
259
|
|
263
260
|
def test_unencoded_page
|
264
|
-
if defined?(Encoding.default_external)
|
265
|
-
Encoding.default_external = Encoding::SHIFT_JIS
|
266
|
-
end
|
267
261
|
uri = _uri_build('/unencoded_page')
|
268
262
|
response = @fetcher.fetch(uri)
|
269
263
|
assert_equal("unencoded-body", response.body)
|
270
|
-
|
271
|
-
|
272
|
-
|
264
|
+
# The actual encoding seems to depend on the server
|
265
|
+
# setting in case it is not defined explicitely
|
266
|
+
# if defined?(Encoding.default_external)
|
267
|
+
# assert_equal(Encoding::UTF_8, response.body.encoding)
|
268
|
+
# end
|
273
269
|
end
|
274
270
|
|
275
271
|
def test_badly_encoded_page
|
data/test/test_filters.rb
CHANGED
data/test/test_idres.rb
CHANGED
@@ -368,7 +368,7 @@ module OpenID
|
|
368
368
|
end
|
369
369
|
|
370
370
|
OpenID.with_method_overridden(:make_kv_post, send_resp) do
|
371
|
-
|
371
|
+
call_check_auth do |idres|
|
372
372
|
idres.instance_def(:create_check_auth_request) {
|
373
373
|
:req
|
374
374
|
}
|
@@ -389,7 +389,7 @@ module OpenID
|
|
389
389
|
|
390
390
|
OpenID.with_method_overridden(:make_kv_post, send_resp) do
|
391
391
|
assert_protocol_error("Testing") do
|
392
|
-
|
392
|
+
call_check_auth do |idres|
|
393
393
|
idres.instance_def(:create_check_auth_request) { :req }
|
394
394
|
idres.instance_def(:process_check_auth_response) do |resp|
|
395
395
|
me.assert_equal(:expected_response, resp)
|
@@ -447,7 +447,7 @@ module OpenID
|
|
447
447
|
end
|
448
448
|
|
449
449
|
def test_invalid
|
450
|
-
|
450
|
+
['false', 'monkeys'].each do
|
451
451
|
@message.set_arg(OPENID_NS, 'is_valid', 'false')
|
452
452
|
assert_protocol_error("Server #{@server_url} responds") {
|
453
453
|
assert_log_matches() { call_process }
|
@@ -462,7 +462,7 @@ module OpenID
|
|
462
462
|
|
463
463
|
def test_invalid_invalidate
|
464
464
|
@message.set_arg(OPENID_NS, 'invalidate_handle', 'cheese')
|
465
|
-
|
465
|
+
['false', 'monkeys'].each do
|
466
466
|
@message.set_arg(OPENID_NS, 'is_valid', 'false')
|
467
467
|
assert_protocol_error("Server #{@server_url} responds") {
|
468
468
|
assert_log_matches("Received 'invalidate_handle'") {
|
@@ -870,7 +870,7 @@ module OpenID
|
|
870
870
|
|
871
871
|
idres = IdResHandler.new(nil, nil)
|
872
872
|
assert_log_matches() {
|
873
|
-
|
873
|
+
idres.send(:verify_discovery_single, @endpoint, to_match)
|
874
874
|
}
|
875
875
|
end
|
876
876
|
end
|
data/test/test_kvpost.rb
CHANGED
data/test/test_message.rb
CHANGED
@@ -127,19 +127,19 @@ module OpenID
|
|
127
127
|
end
|
128
128
|
|
129
129
|
def test_get_arg_bare
|
130
|
-
get_arg_tests(
|
130
|
+
get_arg_tests(BARE_NS, 'foo')
|
131
131
|
end
|
132
132
|
|
133
133
|
def test_get_arg_ns1
|
134
|
-
get_arg_tests(
|
134
|
+
get_arg_tests(OPENID1_NS, 'foo')
|
135
135
|
end
|
136
136
|
|
137
137
|
def test_get_arg_ns2
|
138
|
-
get_arg_tests(
|
138
|
+
get_arg_tests(OPENID2_NS, 'foo')
|
139
139
|
end
|
140
140
|
|
141
141
|
def test_get_arg_ns3
|
142
|
-
get_arg_tests(
|
142
|
+
get_arg_tests('urn:nothing-significant', 'foo')
|
143
143
|
end
|
144
144
|
|
145
145
|
def test_get_args
|
@@ -296,8 +296,7 @@ module OpenID
|
|
296
296
|
|
297
297
|
def test_get_aliased_arg_with_ns_default
|
298
298
|
@m = Message.from_post_args({})
|
299
|
-
assert_equal('monkeys!', @m.get_aliased_arg('ns.invalid',
|
300
|
-
default="monkeys!"))
|
299
|
+
assert_equal('monkeys!', @m.get_aliased_arg('ns.invalid', "monkeys!"))
|
301
300
|
end
|
302
301
|
|
303
302
|
def test_to_post_args
|
@@ -391,23 +390,23 @@ module OpenID
|
|
391
390
|
end
|
392
391
|
|
393
392
|
def test_get_arg_bare
|
394
|
-
get_arg_tests(
|
393
|
+
get_arg_tests(BARE_NS, 'mode')
|
395
394
|
end
|
396
395
|
|
397
396
|
def test_get_arg_ns
|
398
|
-
get_arg_tests(
|
397
|
+
get_arg_tests(OPENID_NS, 'mode', 'error')
|
399
398
|
end
|
400
399
|
|
401
400
|
def test_get_arg_ns1
|
402
|
-
get_arg_tests(
|
401
|
+
get_arg_tests(OPENID1_NS, 'mode', 'error')
|
403
402
|
end
|
404
403
|
|
405
404
|
def test_get_arg_ns2
|
406
|
-
get_arg_tests(
|
405
|
+
get_arg_tests(OPENID2_NS, 'mode')
|
407
406
|
end
|
408
407
|
|
409
408
|
def test_get_arg_ns3
|
410
|
-
get_arg_tests(
|
409
|
+
get_arg_tests('urn:nothing-significant', 'mode')
|
411
410
|
end
|
412
411
|
|
413
412
|
def test_get_args
|
data/test/test_parsehtml.rb
CHANGED
data/test/test_server.rb
CHANGED
@@ -56,7 +56,7 @@ module OpenID
|
|
56
56
|
'openid.error' => 'plucky',
|
57
57
|
}
|
58
58
|
|
59
|
-
|
59
|
+
_, result_args = e.encode_to_url.split('?', 2)
|
60
60
|
result_args = Util.parse_query(result_args)
|
61
61
|
assert_equal(result_args, expected_args)
|
62
62
|
end
|
@@ -80,7 +80,7 @@ module OpenID
|
|
80
80
|
'openid.error' => 'plucky',
|
81
81
|
}
|
82
82
|
|
83
|
-
|
83
|
+
_, result_args = e.encode_to_url.split('?', 2)
|
84
84
|
result_args = Util.parse_query(result_args)
|
85
85
|
assert_equal(result_args, expected_args)
|
86
86
|
end
|
@@ -98,12 +98,6 @@ module OpenID
|
|
98
98
|
})
|
99
99
|
e = Server::ProtocolError.new(args, "plucky")
|
100
100
|
assert(e.has_return_to)
|
101
|
-
expected_args = {
|
102
|
-
'openid.ns' => OPENID2_NS,
|
103
|
-
'openid.mode' => 'error',
|
104
|
-
'openid.error' => 'plucky',
|
105
|
-
}
|
106
|
-
|
107
101
|
assert(e.which_encoding == Server::ENCODE_HTML_FORM)
|
108
102
|
assert(e.to_form_markup == e.to_message.to_form_markup(
|
109
103
|
args.get_arg(OPENID_NS, 'return_to')))
|
@@ -127,7 +121,7 @@ module OpenID
|
|
127
121
|
|
128
122
|
assert(e.which_encoding == Server::ENCODE_URL)
|
129
123
|
|
130
|
-
|
124
|
+
_, result_args = e.encode_to_url.split('?', 2)
|
131
125
|
result_args = Util.parse_query(result_args)
|
132
126
|
assert_equal(result_args, expected_args)
|
133
127
|
end
|
@@ -661,7 +655,7 @@ module OpenID
|
|
661
655
|
args = {'openid.ns' => 'Vegetables',
|
662
656
|
'openid.mode' => 'associate'}
|
663
657
|
begin
|
664
|
-
|
658
|
+
@decode.call(args)
|
665
659
|
rescue Server::ProtocolError => err
|
666
660
|
assert(err.openid_message)
|
667
661
|
assert(err.to_s.index('Vegetables'))
|
@@ -1204,9 +1198,8 @@ module OpenID
|
|
1204
1198
|
|
1205
1199
|
def test_answerAllowWithNoIdentity
|
1206
1200
|
@request.identity = IDENTIFIER_SELECT
|
1207
|
-
selected_id = 'http://anon.unittest/9861'
|
1208
1201
|
assert_raise(ArgumentError) {
|
1209
|
-
|
1202
|
+
@request.answer(true, nil, nil)
|
1210
1203
|
}
|
1211
1204
|
end
|
1212
1205
|
|
@@ -1233,7 +1226,7 @@ module OpenID
|
|
1233
1226
|
@request.op_endpoint = nil
|
1234
1227
|
|
1235
1228
|
assert_raise(ArgumentError) {
|
1236
|
-
|
1229
|
+
@request.answer(false)
|
1237
1230
|
}
|
1238
1231
|
end
|
1239
1232
|
|
@@ -1249,7 +1242,7 @@ module OpenID
|
|
1249
1242
|
url = @request.encode_to_url(server_url)
|
1250
1243
|
assert(url.starts_with?(server_url))
|
1251
1244
|
|
1252
|
-
|
1245
|
+
_, query = url.split("?", 2)
|
1253
1246
|
args = Util.parse_query(query)
|
1254
1247
|
|
1255
1248
|
m = Message.from_post_args(args)
|
@@ -1447,7 +1440,7 @@ module OpenID
|
|
1447
1440
|
result = @request.encode_to_url(server_url)
|
1448
1441
|
|
1449
1442
|
# How to check? How about a round-trip test.
|
1450
|
-
|
1443
|
+
_, result_args = result.split('?', 2)
|
1451
1444
|
result_args = Util.parse_query(result_args)
|
1452
1445
|
message = Message.from_post_args(result_args)
|
1453
1446
|
rebuilt_request = Server::CheckIDRequest.from_message(message,
|
@@ -1919,16 +1912,6 @@ module OpenID
|
|
1919
1912
|
end
|
1920
1913
|
end
|
1921
1914
|
|
1922
|
-
class Counter
|
1923
|
-
def initialize
|
1924
|
-
@count = 0
|
1925
|
-
end
|
1926
|
-
|
1927
|
-
def inc
|
1928
|
-
@count += 1
|
1929
|
-
end
|
1930
|
-
end
|
1931
|
-
|
1932
1915
|
class UnhandledError < Exception
|
1933
1916
|
end
|
1934
1917
|
|
@@ -1946,7 +1929,7 @@ module OpenID
|
|
1946
1929
|
request.mode = "monkeymode"
|
1947
1930
|
request.message = Message.new(OPENID1_NS)
|
1948
1931
|
assert_raise(RuntimeError) {
|
1949
|
-
|
1932
|
+
@server.handle_request(request)
|
1950
1933
|
}
|
1951
1934
|
end
|
1952
1935
|
|
@@ -1961,8 +1944,6 @@ module OpenID
|
|
1961
1944
|
end
|
1962
1945
|
|
1963
1946
|
def test_dispatch
|
1964
|
-
monkeycalled = Counter.new()
|
1965
|
-
|
1966
1947
|
@server.extend(InstanceDefExtension)
|
1967
1948
|
@server.instance_def(:openid_monkeymode) do |request|
|
1968
1949
|
raise UnhandledError
|
@@ -1972,7 +1953,7 @@ module OpenID
|
|
1972
1953
|
request.mode = "monkeymode"
|
1973
1954
|
request.message = Message.new(OPENID1_NS)
|
1974
1955
|
assert_raise(UnhandledError) {
|
1975
|
-
|
1956
|
+
@server.handle_request(request)
|
1976
1957
|
}
|
1977
1958
|
end
|
1978
1959
|
|
@@ -2060,7 +2041,7 @@ module OpenID
|
|
2060
2041
|
'session_type' => 'no-encryption',
|
2061
2042
|
})
|
2062
2043
|
|
2063
|
-
|
2044
|
+
Server::AssociateRequest.from_message(m)
|
2064
2045
|
}
|
2065
2046
|
end
|
2066
2047
|
|
data/test/test_stores.rb
CHANGED
@@ -99,7 +99,7 @@ module OpenID
|
|
99
99
|
# More recent, and expires earlier than assoc2 or assoc. Make sure
|
100
100
|
# that we're picking the one with the latest issued date and not
|
101
101
|
# taking into account the expiration.
|
102
|
-
assoc3 = _gen_assoc(issued=2,
|
102
|
+
assoc3 = _gen_assoc(issued=2, 100)
|
103
103
|
@store.store_association(server_url, assoc3)
|
104
104
|
|
105
105
|
_check_retrieve(server_url, nil, assoc3)
|
@@ -188,7 +188,7 @@ module OpenID
|
|
188
188
|
|
189
189
|
orig_skew = Nonce.skew
|
190
190
|
Nonce.skew = 0
|
191
|
-
|
191
|
+
@store.cleanup_nonces
|
192
192
|
Nonce.skew = 1000000
|
193
193
|
ts, salt = Nonce::split_nonce(old_nonce1)
|
194
194
|
assert(@store.use_nonce(server_url, ts, salt), "oldnonce1")
|
data/test/test_trustroot.rb
CHANGED
data/test/test_urinorm.rb
CHANGED
data/test/test_xrds.rb
CHANGED
@@ -160,7 +160,7 @@ END
|
|
160
160
|
|
161
161
|
def test_multisegment_xri
|
162
162
|
xmldoc = Yadis.parseXRDS(read_xrds_data_file('subsegments.xrds'))
|
163
|
-
|
163
|
+
Yadis.get_canonical_id('xri://=nishitani*masaki', xmldoc)
|
164
164
|
end
|
165
165
|
end
|
166
166
|
end
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-openid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 2.2.3
|
4
|
+
version: 2.3.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- JanRain, Inc
|
9
8
|
autorequire: openid
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-09-14 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description:
|
15
14
|
email: openid@janrain.com
|
@@ -31,32 +30,51 @@ files:
|
|
31
30
|
- examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
|
32
31
|
- examples/active_record_openid_store/XXX_upgrade_open_id_store.rb
|
33
32
|
- examples/discover
|
34
|
-
- examples/rails_openid/app/
|
33
|
+
- examples/rails_openid/app/assets/images/rails.png
|
34
|
+
- examples/rails_openid/app/assets/javascripts/application.js
|
35
|
+
- examples/rails_openid/app/assets/stylesheets/application.css
|
36
|
+
- examples/rails_openid/app/controllers/application_controller.rb
|
35
37
|
- examples/rails_openid/app/controllers/consumer_controller.rb
|
36
38
|
- examples/rails_openid/app/controllers/login_controller.rb
|
37
39
|
- examples/rails_openid/app/controllers/server_controller.rb
|
38
40
|
- examples/rails_openid/app/helpers/application_helper.rb
|
39
41
|
- examples/rails_openid/app/helpers/login_helper.rb
|
40
42
|
- examples/rails_openid/app/helpers/server_helper.rb
|
41
|
-
- examples/rails_openid/app/views/consumer/index.
|
42
|
-
- examples/rails_openid/app/views/layouts/server.
|
43
|
-
- examples/rails_openid/app/views/login/index.
|
44
|
-
- examples/rails_openid/app/views/server/decide.
|
43
|
+
- examples/rails_openid/app/views/consumer/index.html.erb
|
44
|
+
- examples/rails_openid/app/views/layouts/server.html.erb
|
45
|
+
- examples/rails_openid/app/views/login/index.html.erb
|
46
|
+
- examples/rails_openid/app/views/server/decide.html.erb
|
47
|
+
- examples/rails_openid/config/application.rb
|
45
48
|
- examples/rails_openid/config/boot.rb
|
46
49
|
- examples/rails_openid/config/database.yml
|
47
50
|
- examples/rails_openid/config/environment.rb
|
48
51
|
- examples/rails_openid/config/environments/development.rb
|
49
52
|
- examples/rails_openid/config/environments/production.rb
|
50
53
|
- examples/rails_openid/config/environments/test.rb
|
54
|
+
- examples/rails_openid/config/initializers/backtrace_silencers.rb
|
55
|
+
- examples/rails_openid/config/initializers/inflections.rb
|
56
|
+
- examples/rails_openid/config/initializers/mime_types.rb
|
57
|
+
- examples/rails_openid/config/initializers/rails_root.rb
|
58
|
+
- examples/rails_openid/config/initializers/secret_token.rb
|
59
|
+
- examples/rails_openid/config/initializers/session_store.rb
|
60
|
+
- examples/rails_openid/config/initializers/wrap_parameters.rb
|
61
|
+
- examples/rails_openid/config/locales/en.yml
|
51
62
|
- examples/rails_openid/config/routes.rb
|
63
|
+
- examples/rails_openid/config.ru
|
64
|
+
- examples/rails_openid/db/development.sqlite3
|
65
|
+
- examples/rails_openid/db/seeds.rb
|
52
66
|
- examples/rails_openid/doc/README_FOR_APP
|
67
|
+
- examples/rails_openid/Gemfile
|
68
|
+
- examples/rails_openid/log/development.log
|
53
69
|
- examples/rails_openid/public/404.html
|
70
|
+
- examples/rails_openid/public/422.html
|
54
71
|
- examples/rails_openid/public/500.html
|
55
72
|
- examples/rails_openid/public/dispatch.cgi
|
56
73
|
- examples/rails_openid/public/dispatch.fcgi
|
57
74
|
- examples/rails_openid/public/dispatch.rb
|
58
75
|
- examples/rails_openid/public/favicon.ico
|
59
76
|
- examples/rails_openid/public/images/openid_login_bg.gif
|
77
|
+
- examples/rails_openid/public/javascripts/application.js
|
60
78
|
- examples/rails_openid/public/javascripts/controls.js
|
61
79
|
- examples/rails_openid/public/javascripts/dragdrop.js
|
62
80
|
- examples/rails_openid/public/javascripts/effects.js
|
@@ -64,21 +82,11 @@ files:
|
|
64
82
|
- examples/rails_openid/public/robots.txt
|
65
83
|
- examples/rails_openid/Rakefile
|
66
84
|
- examples/rails_openid/README
|
67
|
-
- examples/rails_openid/
|
68
|
-
- examples/rails_openid/script/
|
69
|
-
- examples/rails_openid/script/console
|
70
|
-
- examples/rails_openid/script/destroy
|
71
|
-
- examples/rails_openid/script/generate
|
72
|
-
- examples/rails_openid/script/performance/benchmarker
|
73
|
-
- examples/rails_openid/script/performance/profiler
|
74
|
-
- examples/rails_openid/script/plugin
|
75
|
-
- examples/rails_openid/script/process/reaper
|
76
|
-
- examples/rails_openid/script/process/spawner
|
77
|
-
- examples/rails_openid/script/process/spinner
|
78
|
-
- examples/rails_openid/script/runner
|
79
|
-
- examples/rails_openid/script/server
|
85
|
+
- examples/rails_openid/README.rdoc
|
86
|
+
- examples/rails_openid/script/rails
|
80
87
|
- examples/rails_openid/test/functional/login_controller_test.rb
|
81
88
|
- examples/rails_openid/test/functional/server_controller_test.rb
|
89
|
+
- examples/rails_openid/test/performance/browsing_test.rb
|
82
90
|
- examples/rails_openid/test/test_helper.rb
|
83
91
|
- examples/README
|
84
92
|
- lib/hmac/hmac.rb
|
@@ -221,6 +229,7 @@ homepage: https://github.com/openid/ruby-openid
|
|
221
229
|
licenses:
|
222
230
|
- Ruby
|
223
231
|
- Apache Software License 2.0
|
232
|
+
metadata: {}
|
224
233
|
post_install_message:
|
225
234
|
rdoc_options:
|
226
235
|
- --main
|
@@ -228,28 +237,20 @@ rdoc_options:
|
|
228
237
|
require_paths:
|
229
238
|
- lib
|
230
239
|
required_ruby_version: !ruby/object:Gem::Requirement
|
231
|
-
none: false
|
232
240
|
requirements:
|
233
|
-
- -
|
241
|
+
- - '>='
|
234
242
|
- !ruby/object:Gem::Version
|
235
|
-
segments:
|
236
|
-
- 0
|
237
|
-
hash: -848479263465910560
|
238
243
|
version: '0'
|
239
244
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
-
none: false
|
241
245
|
requirements:
|
242
|
-
- -
|
246
|
+
- - '>='
|
243
247
|
- !ruby/object:Gem::Version
|
244
|
-
segments:
|
245
|
-
- 0
|
246
|
-
hash: -848479263465910560
|
247
248
|
version: '0'
|
248
249
|
requirements: []
|
249
250
|
rubyforge_project:
|
250
|
-
rubygems_version:
|
251
|
+
rubygems_version: 2.0.3
|
251
252
|
signing_key:
|
252
|
-
specification_version:
|
253
|
+
specification_version: 4
|
253
254
|
summary: A library for consuming and serving OpenID identities.
|
254
255
|
test_files:
|
255
256
|
- test/data/accept.txt
|