changeset 276:e5a0dd95f3e7

rename Reactionary to Hosting git-svn-id: https://luan-java.googlecode.com/svn/trunk@277 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Thu, 20 Nov 2014 04:20:34 +0000
parents 340656b18b74
children 8ac3eaf8ecd9
files core/src/luan/modules/Hosting.luan core/src/luan/modules/Reactionary.luan
diffstat 2 files changed, 26 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/src/luan/modules/Hosting.luan	Thu Nov 20 04:20:34 2014 +0000
@@ -0,0 +1,26 @@
+-- Hosting
+
+import "luan:Io"
+
+port = 9101
+socket = "socket:localhost:" .. port
+
+function put_site(domain,password,dir)
+	local pc = Io.Uri(socket).Pickle_client()
+	local pickle = pc.pickle
+	pc.call(%>
+		import "luan:Hosting"
+		Hosting.do_put_site(<%=pickle(domain)%>,<%=pickle(password)%>,<%=pickle(dir)%>)
+	<%)
+	pc.close()
+end
+
+function delete_site(domain,password)
+	local pc = Io.Uri(socket).Pickle_client()
+	local pickle = pc.pickle
+	pc.call(%>
+		import "luan:Hosting"
+		Hosting.do_delete_site(<%=pickle(domain)%>,<%=pickle(password)%>)
+	<%)
+	pc.close()
+end
--- a/core/src/luan/modules/Reactionary.luan	Wed Nov 19 07:32:54 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
--- Reactionary
-
-import "luan:Io"
-
-port = 9101
-socket = "socket:localhost:" .. port
-
-function put_site(domain,password,dir)
-	local pc = Io.Uri(socket).Pickle_client()
-	local pickle = pc.pickle
-	pc.call(%>
-		import "luan:Reactionary"
-		Reactionary.do_put_site(<%=pickle(domain)%>,<%=pickle(password)%>,<%=pickle(dir)%>)
-	<%)
-	pc.close()
-end
-
-function delete_site(domain,password)
-	local pc = Io.Uri(socket).Pickle_client()
-	local pickle = pc.pickle
-	pc.call(%>
-		import "luan:Reactionary"
-		Reactionary.do_delete_site(<%=pickle(domain)%>,<%=pickle(password)%>)
-	<%)
-	pc.close()
-end