openid_ar_store 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,6 @@
1
1
  require "openid/store/interface"
2
+ require "openid_ar_store/association"
3
+ require "openid_ar_store/nonce"
2
4
 
3
5
  module OpenIDArStore
4
6
  class ActiveRecordStore < OpenID::Store::Interface
@@ -1,3 +1,3 @@
1
1
  module OpenidArStore
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -145,3 +145,119 @@ Connecting to database specified by database.yml
145
145
  SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (issued + lifetime < 1385528958)
146
146
   (0.1ms) rollback transaction
147
147
  Connecting to database specified by database.yml
148
+ Connecting to database specified by database.yml
149
+  (0.4ms) begin transaction
150
+ OpenIDArStore::Nonce Load (1.2ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_nonces"."timestamp" = 1385534894 AND "open_id_nonces"."salt" = '2NL25Q' LIMIT 1
151
+  (0.1ms) SAVEPOINT active_record_1
152
+ SQL (21.1ms) INSERT INTO "open_id_nonces" ("salt", "server_url", "timestamp") VALUES (?, ?, ?) [["salt", "2NL25Q"], ["server_url", "http://www.myopenid.com/openid"], ["timestamp", 1385534894]]
153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
154
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_nonces"."timestamp" = 1385534894 AND "open_id_nonces"."salt" = '2NL25Q' LIMIT 1
155
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_nonces"."timestamp" = 1385534894 AND "open_id_nonces"."salt" = '2NL25Q' LIMIT 1
156
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_nonces"."timestamp" = 3600 AND "open_id_nonces"."salt" = 'UQqH9t' LIMIT 1
157
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = '' AND "open_id_nonces"."timestamp" = 1385534894 AND "open_id_nonces"."salt" = 'lHY9TQ' LIMIT 1
158
+  (0.0ms) SAVEPOINT active_record_1
159
+ SQL (0.2ms) INSERT INTO "open_id_nonces" ("salt", "server_url", "timestamp") VALUES (?, ?, ?) [["salt", "lHY9TQ"], ["server_url", ""], ["timestamp", 1385534894]]
160
+  (0.0ms) RELEASE SAVEPOINT active_record_1
161
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = '' AND "open_id_nonces"."timestamp" = 1385534894 AND "open_id_nonces"."salt" = 'lHY9TQ' LIMIT 1
162
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = '' AND "open_id_nonces"."timestamp" = 1385534894 AND "open_id_nonces"."salt" = 'lHY9TQ' LIMIT 1
163
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = '' AND "open_id_nonces"."timestamp" = 3600 AND "open_id_nonces"."salt" = 'Ae5qTL' LIMIT 1
164
+ SQL (0.1ms) DELETE FROM "open_id_nonces" WHERE (timestamp > 1385534894 OR timestamp < 1385534894)
165
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_nonces"."timestamp" = 1385514894 AND "open_id_nonces"."salt" = 'z0XOBj' LIMIT 1
166
+  (0.0ms) SAVEPOINT active_record_1
167
+ SQL (0.1ms) INSERT INTO "open_id_nonces" ("salt", "server_url", "timestamp") VALUES (?, ?, ?) [["salt", "z0XOBj"], ["server_url", "http://www.myopenid.com/openid"], ["timestamp", 1385514894]]
168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
169
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_nonces"."timestamp" = 1385524894 AND "open_id_nonces"."salt" = 'AWHLO1' LIMIT 1
170
+  (0.0ms) SAVEPOINT active_record_1
171
+ SQL (0.1ms) INSERT INTO "open_id_nonces" ("salt", "server_url", "timestamp") VALUES (?, ?, ?) [["salt", "AWHLO1"], ["server_url", "http://www.myopenid.com/openid"], ["timestamp", 1385524894]]
172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
173
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_nonces"."timestamp" = 1385534294 AND "open_id_nonces"."salt" = 's6I1Wd' LIMIT 1
174
+  (0.0ms) SAVEPOINT active_record_1
175
+ SQL (0.1ms) INSERT INTO "open_id_nonces" ("salt", "server_url", "timestamp") VALUES (?, ?, ?) [["salt", "s6I1Wd"], ["server_url", "http://www.myopenid.com/openid"], ["timestamp", 1385534294]]
176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
177
+ SQL (0.1ms) DELETE FROM "open_id_nonces" WHERE (timestamp > 1385535894 OR timestamp < 1385533894)
178
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_nonces"."timestamp" = 1385514894 AND "open_id_nonces"."salt" = 'z0XOBj' LIMIT 1
179
+  (0.0ms) SAVEPOINT active_record_1
180
+ SQL (0.1ms) INSERT INTO "open_id_nonces" ("salt", "server_url", "timestamp") VALUES (?, ?, ?) [["salt", "z0XOBj"], ["server_url", "http://www.myopenid.com/openid"], ["timestamp", 1385514894]]
181
+  (0.0ms) RELEASE SAVEPOINT active_record_1
182
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_nonces"."timestamp" = 1385524894 AND "open_id_nonces"."salt" = 'AWHLO1' LIMIT 1
183
+  (0.0ms) SAVEPOINT active_record_1
184
+ SQL (0.1ms) INSERT INTO "open_id_nonces" ("salt", "server_url", "timestamp") VALUES (?, ?, ?) [["salt", "AWHLO1"], ["server_url", "http://www.myopenid.com/openid"], ["timestamp", 1385524894]]
185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
186
+ OpenIDArStore::Nonce Load (0.1ms) SELECT "open_id_nonces".* FROM "open_id_nonces" WHERE "open_id_nonces"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_nonces"."timestamp" = 1385534294 AND "open_id_nonces"."salt" = 's6I1Wd' LIMIT 1
187
+  (0.1ms) rollback transaction
188
+  (0.0ms) begin transaction
189
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid'
190
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR')
191
+  (0.1ms) SAVEPOINT active_record_1
192
+ SQL (0.2ms) INSERT INTO "open_id_associations" ("assoc_type", "handle", "issued", "lifetime", "secret", "server_url") VALUES (?, ?, ?, ?, ?, ?) [["assoc_type", "HMAC-SHA1"], ["handle", "7F};n)^DB}m\"I}(3Zho|`6Qr'Y&,/Ko1^%g1]x'l\\s1Y+oh)A1N%/}YL:`\\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\\]|z:K+W4:8J5\\nWfs\"<yy=zY5?.,PR"], ["issued", 1385534894], ["lifetime", 600], ["secret", "\xA86\x9E\xA8\xF2\xA6\xDC\x94=\xA5\x1EwW`\xC4\v\x12\xAFH\x05"], ["server_url", "http://www.myopenid.com/openid"]]
193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
194
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid'
195
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid'
196
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR')
197
+  (0.0ms) SAVEPOINT active_record_1
198
+ SQL (0.2ms) INSERT INTO "open_id_associations" ("assoc_type", "handle", "issued", "lifetime", "secret", "server_url") VALUES (?, ?, ?, ?, ?, ?) [["assoc_type", "HMAC-SHA1"], ["handle", "7F};n)^DB}m\"I}(3Zho|`6Qr'Y&,/Ko1^%g1]x'l\\s1Y+oh)A1N%/}YL:`\\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\\]|z:K+W4:8J5\\nWfs\"<yy=zY5?.,PR"], ["issued", 1385534894], ["lifetime", 600], ["secret", "\xA86\x9E\xA8\xF2\xA6\xDC\x94=\xA5\x1EwW`\xC4\v\x12\xAFH\x05"], ["server_url", "http://www.myopenid.com/openid"]]
199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
200
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid'
201
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PRx')
202
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openidx' AND handle = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR')
203
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR')
204
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR')
205
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR')
206
+  (0.0ms) SAVEPOINT active_record_1
207
+ SQL (0.1ms) INSERT INTO "open_id_associations" ("assoc_type", "handle", "issued", "lifetime", "secret", "server_url") VALUES (?, ?, ?, ?, ?, ?) [["assoc_type", "HMAC-SHA1"], ["handle", "7F};n)^DB}m\"I}(3Zho|`6Qr'Y&,/Ko1^%g1]x'l\\s1Y+oh)A1N%/}YL:`\\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\\]|z:K+W4:8J5\\nWfs\"<yy=zY5?.,PR"], ["issued", 1385534894], ["lifetime", 600], ["secret", "\xA86\x9E\xA8\xF2\xA6\xDC\x94=\xA5\x1EwW`\xC4\v\x12\xAFH\x05"], ["server_url", "http://www.myopenid.com/openid"]]
208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
209
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '&1T|CbG:?R2x#O~PB.B{7{m+Q2g'';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53'')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`')
210
+  (0.0ms) SAVEPOINT active_record_1
211
+ SQL (0.1ms) INSERT INTO "open_id_associations" ("assoc_type", "handle", "issued", "lifetime", "secret", "server_url") VALUES (?, ?, ?, ?, ?, ?) [["assoc_type", "HMAC-SHA1"], ["handle", "&1T|CbG:?R2x#O~PB.B{7{m+Q2g';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`"], ["issued", 1385534895], ["lifetime", 600], ["secret", "\x89d\n\x14\xA8\xF2\x12\x00\xB5O.\xF3\x99\xEC/PP\eeY"], ["server_url", "http://www.myopenid.com/openid"]]
212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
213
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid'
214
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR'
215
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '&1T|CbG:?R2x#O~PB.B{7{m+Q2g'';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53'')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`'
216
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '^(,B''<UPPuQn$F9iR#=g6]P1!pZpA*c>bD&lxu'']#@.OoWRIm3X16Wm(>v8!(z5*~[93nFV`^qa#jZZ)O5{LtB''Y`B?%UMbSk&/@\~"UQpM4rB&5q[MyU%sO;(j>L<O0')
217
+  (0.0ms) SAVEPOINT active_record_1
218
+ SQL (0.1ms) INSERT INTO "open_id_associations" ("assoc_type", "handle", "issued", "lifetime", "secret", "server_url") VALUES (?, ?, ?, ?, ?, ?) [["assoc_type", "HMAC-SHA1"], ["handle", "^(,B'<UPPuQn$F9iR#=g6]P1!pZpA*c>bD&lxu']\#@.OoWRIm3X16Wm(>v8!(z5*~[93nFV`^qa#jZZ)O5{LtB'Y`B?%UMbSk&/@\\~\"UQpM4rB&5q[MyU%sO;(j>L<O0"], ["issued", 1385534896], ["lifetime", 100], ["secret", "\xA7\x99\xD4\xA0`\x10\x9A\xE0\xD6aYB\x95j\x82\xCF'\xC7\xDE\xDD"], ["server_url", "http://www.myopenid.com/openid"]]
219
+  (0.0ms) RELEASE SAVEPOINT active_record_1
220
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid'
221
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR'
222
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '&1T|CbG:?R2x#O~PB.B{7{m+Q2g'';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53'')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`'
223
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '^(,B''<UPPuQn$F9iR#=g6]P1!pZpA*c>bD&lxu'']#@.OoWRIm3X16Wm(>v8!(z5*~[93nFV`^qa#jZZ)O5{LtB''Y`B?%UMbSk&/@\~"UQpM4rB&5q[MyU%sO;(j>L<O0'
224
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '&1T|CbG:?R2x#O~PB.B{7{m+Q2g'';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53'')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`')
225
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid'
226
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR'
227
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '&1T|CbG:?R2x#O~PB.B{7{m+Q2g'';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53'')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`'
228
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '^(,B''<UPPuQn$F9iR#=g6]P1!pZpA*c>bD&lxu'']#@.OoWRIm3X16Wm(>v8!(z5*~[93nFV`^qa#jZZ)O5{LtB''Y`B?%UMbSk&/@\~"UQpM4rB&5q[MyU%sO;(j>L<O0'
229
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '&1T|CbG:?R2x#O~PB.B{7{m+Q2g'';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53'')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`')
230
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '^(,B''<UPPuQn$F9iR#=g6]P1!pZpA*c>bD&lxu'']#@.OoWRIm3X16Wm(>v8!(z5*~[93nFV`^qa#jZZ)O5{LtB''Y`B?%UMbSk&/@\~"UQpM4rB&5q[MyU%sO;(j>L<O0')
231
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid'
232
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR'
233
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '&1T|CbG:?R2x#O~PB.B{7{m+Q2g'';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53'')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`'
234
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '^(,B''<UPPuQn$F9iR#=g6]P1!pZpA*c>bD&lxu'']#@.OoWRIm3X16Wm(>v8!(z5*~[93nFV`^qa#jZZ)O5{LtB''Y`B?%UMbSk&/@\~"UQpM4rB&5q[MyU%sO;(j>L<O0'
235
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '&1T|CbG:?R2x#O~PB.B{7{m+Q2g'';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53'')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`')
236
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR')
237
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '^(,B''<UPPuQn$F9iR#=g6]P1!pZpA*c>bD&lxu'']#@.OoWRIm3X16Wm(>v8!(z5*~[93nFV`^qa#jZZ)O5{LtB''Y`B?%UMbSk&/@\~"UQpM4rB&5q[MyU%sO;(j>L<O0')
238
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid'
239
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR'
240
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '&1T|CbG:?R2x#O~PB.B{7{m+Q2g'';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53'')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`'
241
+ OpenIDArStore::Association Load (0.1ms) SELECT "open_id_associations".* FROM "open_id_associations" WHERE "open_id_associations"."server_url" = 'http://www.myopenid.com/openid' AND "open_id_associations"."handle" = '^(,B''<UPPuQn$F9iR#=g6]P1!pZpA*c>bD&lxu'']#@.OoWRIm3X16Wm(>v8!(z5*~[93nFV`^qa#jZZ)O5{LtB''Y`B?%UMbSk&/@\~"UQpM4rB&5q[MyU%sO;(j>L<O0'
242
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '&1T|CbG:?R2x#O~PB.B{7{m+Q2g'';uOocm,pODbGxobLtUjs2Xq|ro?Fi^a[p}dox~&s;tPlM$6^[Hkh50n}C>L@0~D*jCCH53'')_v!JQFY1_F>y7!^Vgz;ND(^tRL}`')
243
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '7F};n)^DB}m"I}(3Zho|`6Qr''Y&,/Ko1^%g1]x''l\s1Y+oh)A1N%/}YL:`\)9E%gtyv,DJq<@p`r{!9~}ii=uCOh*a7-fmDk%\]|z:K+W4:8J5\nWfs"<yy=zY5?.,PR')
244
+ SQL (0.0ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid' AND handle = '^(,B''<UPPuQn$F9iR#=g6]P1!pZpA*c>bD&lxu'']#@.OoWRIm3X16Wm(>v8!(z5*~[93nFV`^qa#jZZ)O5{LtB''Y`B?%UMbSk&/@\~"UQpM4rB&5q[MyU%sO;(j>L<O0')
245
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (issued + lifetime < 1385534894)
246
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid1' AND handle = 'D97Zg%#?DUq.?9DQY`]#p8<x}^"+UaAgq@MTTnbxPGzL^p|BPvex*{*TSj|w_9]"^''*/V"8b).~dk8#9aE-A$7:g:XB4cS!Jn2Q:T@X5xd1Z''XDG<sALRuP<o<)iyj6u')
247
+  (0.0ms) SAVEPOINT active_record_1
248
+ SQL (0.1ms) INSERT INTO "open_id_associations" ("assoc_type", "handle", "issued", "lifetime", "secret", "server_url") VALUES (?, ?, ?, ?, ?, ?) [["assoc_type", "HMAC-SHA1"], ["handle", "D97Zg%#?DUq.?9DQY`]#p8<x}^\"+UaAgq@MTTnbxPGzL^p|BPvex*{*TSj|w_9]\"^'*/V\"8b).~dk8#9aE-A$7:g:XB4cS!Jn2Q:T@X5xd1Z'XDG<sALRuP<o<)iyj6u"], ["issued", 1385531294], ["lifetime", 7200], ["secret", "\xCA\nv\xD9X\x18X\xBBF.\xDB\xB1\xE9\\\x86\xB6\x7F\x05\x15\x92"], ["server_url", "http://www.myopenid.com/openid1"]]
249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
250
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid1' AND handle = 'GyU-WMg8R%g\&Oo''0<8I?gf"~58hr''uURGq[T.*F=hB[!LkYgH<''b''TDK+k7X?=Du~j+;(KQ_Q_pw}''_4;Xe%M8$''4aKJ7XaxzR`i1|RB^IxBO#m/l(P&x}iQmM83.|3')
251
+  (0.0ms) SAVEPOINT active_record_1
252
+ SQL (0.1ms) INSERT INTO "open_id_associations" ("assoc_type", "handle", "issued", "lifetime", "secret", "server_url") VALUES (?, ?, ?, ?, ?, ?) [["assoc_type", "HMAC-SHA1"], ["handle", "GyU-WMg8R%g\\&Oo'0<8I?gf\"~58hr'uURGq[T.*F=hB[!LkYgH<'b'TDK+k7X?=Du~j+;(KQ_Q_pw}'_4;Xe%M8$'4aKJ7XaxzR`i1|RB^IxBO#m/l(P&x}iQmM83.|3"], ["issued", 1385527694], ["lifetime", 3600], ["secret", "\x0F\xDEN1`\xBB8\x80w\xE6\xC7\xF8\x8E/\xE74\xA1S22"], ["server_url", "http://www.myopenid.com/openid1"]]
253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
254
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid2' AND handle = '^IDZJ?!O|x7B9sy:+<bbvrE9GzVOeoZ}\-iPiAoC?f5v''*;48H3x)9hI`YW3=B6.UrpuxHx_^})j3~[Y</jPY<LHGFu|9U8x=flZ6g:tyl6:NqOxzVteNXP$a"`lWCH7')
255
+  (0.0ms) SAVEPOINT active_record_1
256
+ SQL (0.1ms) INSERT INTO "open_id_associations" ("assoc_type", "handle", "issued", "lifetime", "secret", "server_url") VALUES (?, ?, ?, ?, ?, ?) [["assoc_type", "HMAC-SHA1"], ["handle", "^IDZJ?!O|x7B9sy:+<bbvrE9GzVOeoZ}\\-iPiAoC?f5v'*;48H3x)9hI`YW3=B6.UrpuxHx_^})j3~[Y</jPY<LHGFu|9U8x=flZ6g:tyl6:NqOxzVteNXP$a\"`lWCH7"], ["issued", 1385527694], ["lifetime", 3600], ["secret", "t\xA6o\x14\x8D\x99]\xAA\xFE\xED\xC7\xD5h\r\x06\xA0\xFA\xBFM0"], ["server_url", "http://www.myopenid.com/openid2"]]
257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
258
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (server_url = 'http://www.myopenid.com/openid3' AND handle = ':AF/4(Jf;p`ylU>GF4%;*~$qU9[<&E`3P0u:/^Vi._OV=Bqq*Iq6]r?)d4a?e|,R.t9Z^U5?wk'')pR(i86iSu9FQR]vW{<%Yn)1C$''bcY"boY|-{msEkU8E5^g~mQ]''%')
259
+  (0.0ms) SAVEPOINT active_record_1
260
+ SQL (0.1ms) INSERT INTO "open_id_associations" ("assoc_type", "handle", "issued", "lifetime", "secret", "server_url") VALUES (?, ?, ?, ?, ?, ?) [["assoc_type", "HMAC-SHA1"], ["handle", ":AF/4(Jf;p`ylU>GF4%;*~$qU9[<&E`3P0u:/^Vi._OV=Bqq*Iq6]r?)d4a?e|,R.t9Z^U5?wk')pR(i86iSu9FQR]vW{<%Yn)1C$'bcY\"boY|-{msEkU8E5^g~mQ]'%"], ["issued", 1385534889], ["lifetime", 600], ["secret", "\x1C=\xD6hq\x7F\x94\xC1}sA\rMx\xC4\xD9Lp\x06\xA9"], ["server_url", "http://www.myopenid.com/openid3"]]
261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
262
+ SQL (0.1ms) DELETE FROM "open_id_associations" WHERE (issued + lifetime < 1385534894)
263
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openid_ar_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -82,11 +82,11 @@ executables: []
82
82
  extensions: []
83
83
  extra_rdoc_files: []
84
84
  files:
85
- - app/models/openid_ar_store/association.rb
86
- - app/models/openid_ar_store/nonce.rb
87
85
  - db/migrate/20131127045846_open_id_store.rb
86
+ - lib/openid_ar_store/association.rb
88
87
  - lib/openid_ar_store/active_record_store.rb
89
88
  - lib/openid_ar_store/version.rb
89
+ - lib/openid_ar_store/nonce.rb
90
90
  - lib/openid_ar_store/engine.rb
91
91
  - lib/openid_ar_store.rb
92
92
  - lib/tasks/openid_ar_store_tasks.rake
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
142
142
  version: '0'
143
143
  segments:
144
144
  - 0
145
- hash: -1994792129115732314
145
+ hash: -2675508004525203179
146
146
  required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  none: false
148
148
  requirements:
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  segments:
153
153
  - 0
154
- hash: -1994792129115732314
154
+ hash: -2675508004525203179
155
155
  requirements: []
156
156
  rubyforge_project:
157
157
  rubygems_version: 1.8.23
File without changes
File without changes