furnace: clean up using.
parent
45a060d362
commit
0177b77a01
|
@ -1,11 +1,8 @@
|
|||
USING: furnace.actions
|
||||
furnace.auth
|
||||
furnace.auth.login
|
||||
furnace.auth.providers
|
||||
furnace.auth.providers.db tools.test
|
||||
namespaces db db.sqlite db.tuples continuations
|
||||
io.files io.files.temp io.directories accessors kernel
|
||||
sequences system ;
|
||||
USING: accessors continuations db2.connections furnace.actions
|
||||
furnace.auth furnace.auth.login furnace.auth.providers
|
||||
furnace.auth.providers.db io.directories io.files io.files.temp
|
||||
kernel namespaces orm.tuples sequences sqlite.db2 system
|
||||
tools.test ;
|
||||
IN: furnace.auth.providers.db.tests
|
||||
|
||||
<action> "test" <login-realm> realm set
|
||||
|
|
|
@ -36,7 +36,7 @@ $nl
|
|||
{ $list
|
||||
"Continuations cannot be stored at all."
|
||||
{ "Object identity is not preserved between serialization and deserialization. That is, if an object is stored with " { $link sset } " and later retrieved with " { $link sget } ", the retrieved value will be " { $link = } " to the original, but not necessarily " { $link eq? } "." }
|
||||
{ "All objects reachable from the value passed to " { $link sset } " are serialized, so large structures should not be stored in the session state, and neither should anything that can reference the global namespace. Large structures should be persisted in the database directly instead, using " { $vocab-link "db.tuples" } "." }
|
||||
{ "All objects reachable from the value passed to " { $link sset } " are serialized, so large structures should not be stored in the session state, and neither should anything that can reference the global namespace. Large structures should be persisted in the database directly instead, using " { $vocab-link "orm.tuples" } "." }
|
||||
} ;
|
||||
|
||||
ARTICLE: "furnace.sessions" "Furnace sessions"
|
||||
|
|
|
@ -2,7 +2,7 @@ USING: tools.test http furnace.sessions furnace.actions
|
|||
http.server http.server.responses math namespaces make kernel
|
||||
accessors io.sockets io.servers prettyprint
|
||||
io.streams.string io.files io.files.temp io.directories
|
||||
splitting destructors sequences db db.tuples db.sqlite
|
||||
splitting destructors sequences orm.tuples sqlite.db2 db2.connections
|
||||
continuations urls math.parser furnace furnace.utilities ;
|
||||
IN: furnace.sessions.tests
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
USING: continuations db io.directories io.files.temp tools.test
|
||||
webapps.mason.backend webapps.utils ;
|
||||
USING: continuations io.directories io.files.temp tools.test
|
||||
webapps.mason.backend webapps.utils db2.transactions db2.connections ;
|
||||
IN: webapps.mason.backend.tests
|
||||
|
||||
[ "mason-test.db" temp-file delete-file ] ignore-errors
|
||||
[ "resource:mason-test.db" temp-file delete-file ] ignore-errors
|
||||
|
||||
{ 0 1 2 } [
|
||||
! Do it in a with-transaction to simulate semantics of
|
||||
|
|
Loading…
Reference in New Issue