From e2c464f79ff80f83cd0600c970617ca83abb59f3 Mon Sep 17 00:00:00 2001 From: Michael Moen Date: Sat, 6 Jan 2007 23:09:10 +0000 Subject: [PATCH] Clean up and tweaks while working on a testing method --- README | 3 +++ install.rb | 11 +++++++++++ test/files/rails.png | Bin 0 -> 1787 bytes uninstall.rb | 7 +++++++ 4 files changed, 21 insertions(+) create mode 100644 install.rb create mode 100644 test/files/rails.png create mode 100644 uninstall.rb diff --git a/README b/README index d05805f..f55caa8 100644 --- a/README +++ b/README @@ -18,6 +18,9 @@ Sample usage: Basic install: ./script/plugin install http://svn.underpantsgnome.com/fckeditor_on_rails + + Drop a current copy of FCKeditor into public/fckeditor and setup whichever + method below you are using appable_plugins info: http://wiki.pluginaweek.org/Appable_plugins diff --git a/install.rb b/install.rb new file mode 100644 index 0000000..cb134db --- /dev/null +++ b/install.rb @@ -0,0 +1,11 @@ +require 'fileutils' + +FileUtils.ln_s( + File.join(File.dirname(__FILE__), 'test', 'fckeditor_controller_test.rb'), + File.join(File.dirname(__FILE__), '..', '..', 'test', 'functional', + 'fckeditor_controller_test.rb') +) rescue puts <<-EOM +Unable to link the functional test, if you want to include fckeditor_on_rails +in your testing copy test/functional/fckeditor_controller_test.rb from the +plugin directory into your app +EOM diff --git a/test/files/rails.png b/test/files/rails.png new file mode 100644 index 0000000000000000000000000000000000000000..b8441f182e06974083cf08f0acaf0e2fd612bd40 GIT binary patch literal 1787 zcmVCLdthj)A!BBmWB&y|X`RY;f`BJ<_ju%@N||NoLFD~mQl$aHGjq>;5dG_D{h(5s}0 z6&=HANU$m__3PuddU(lvR_xWj`}Oho@9EyQt-n!E*P(KhM@X_VFV2l&>deNZJT%y8iwA zoG>u1B`p2=_u9k4v1Mud`1+qvOZoHg#bITJ9U`qBAek?40RR96!AV3xRCwBy*IQ$v zN(=yC9IhRft9V64L`77pqF_Cx@c;kSNoGK)`?Ps*cP(EtGlYZ{D5cxspMQvjKH)Oh6X(pa|J{ zGy1J$Ej7=Z{uvmMfRRsE;v`p;45B~6*ep#hM^ji zl$+7qoWq~}ewG=61uFw0He{tJurMU&4Iv?=B^eR(wAHk!miA)O7p_+YR>lbmU3rmn ze?+ze(+sEd6foB&*l9+?zkr_a-5*v&p*?c}HOGtyHg6r{WFYpQ=#z0Hc7VWLx$>M3|b0|Gn z+5t#z6*ffSVc6DjpmB2?AAR@@vB!wCK?9Yl;33;Q7^%(401QW|k=R8b!OwtLJPjjm zO9Ia;qCq)rOq!1Ia*6#A%#xb}yDx1P*pWla>9j$bnMn3CBqe4`TRll_Iy29kmG?4fbKuF=XqU|?3b@B zA`&a?KIgZ|KJx5eND_c3Em=WZn@xW8hRJ^G&sY^b(FW?WC9W_sb;+lAPdLTdBaKIK;-f}*h4|1aTjw7qX_k~e{TWO7jqcekERN;Jyh%67)q4rKpL*CEYL;|#GY{B@5 zi52XoC?xsoorJKxsliugF#z38MJqrYCWV(t<=G&f;^Me13&AiI9{3jUZ$ zFM`*L(9qc^VMxkz1oaDH!1pcD^IXp>Z0Jb=_qs?Vsrs{mp<^{$N!EC9o+`CO-(o}E zJ`y{*;9s|wr22-QoJ87y^~;)Q@b%P4UgSSsx>2$o@Vd{%Pk0@4qZ^fhB(vt$c1TG> z*{Ad;foraENbld`=MCNm4?9kvlgK~&J>ialpJ7nua zx0oRzwG5;}Qne)Fg(N3kf?JVmB;}y&5(0+~r*aL$0Zof8fe!AtHWH>A^1Y)@G@GsA zup`R{Qg?{+MaxTq#2n{6w|)c&yaJ7{U4ngAH5v6I)*;@rEBE*ehIPBwKBQU)YKE8F0lR!Sm?sE4Xk-sj&E$|A-9n dP56HS1^^A-61FoN)nxzx002ovPDHLkV1kw_Sd9Px literal 0 HcmV?d00001 diff --git a/uninstall.rb b/uninstall.rb new file mode 100644 index 0000000..8746c74 --- /dev/null +++ b/uninstall.rb @@ -0,0 +1,7 @@ +require 'fileutils' + +file_path = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'test', + 'functional', 'fckeditor_controller_test.rb')) + +FileUtils.rm(file_path) rescue "Unable to remove #{file_path}" if + File.exist?(file_path)