rio 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +171 -0
- data/README +3 -16
- data/RUNME.1st.rb +1 -3
- data/Rakefile +10 -7
- data/VERSION +1 -1
- data/doc/ANNOUNCE +1 -1
- data/doc/RELEASE_NOTES +3 -4
- data/ex/colx.rb +8 -0
- data/ex/findinruby +16 -0
- data/ex/findruby +15 -0
- data/ex/passwd_report.rb +8 -0
- data/ex/prompt.rb +25 -0
- data/ex/rgb.txt.gz +0 -0
- data/ex/riocat +35 -0
- data/ex/riogunzip +31 -0
- data/ex/riogzip +24 -0
- data/ex/rioprompt.rb +6 -0
- data/ex/targz2zip +17 -0
- data/ex/tolf +11 -0
- data/lib/rio.rb +0 -3
- data/lib/rio/construct.rb +14 -20
- data/lib/rio/dir.rb +2 -2
- data/lib/rio/doc/INTRO.rb +12 -16
- data/lib/rio/ext.rb +2 -1
- data/lib/rio/ext/csv.rb +5 -1
- data/lib/rio/ext/yaml.rb +11 -12
- data/lib/rio/filter.rb +1 -1
- data/lib/rio/ftp.rb +1 -1
- data/lib/rio/if/dir.rb +2 -2
- data/lib/rio/if/grande.rb +7 -1
- data/lib/rio/if/yaml.rb +1 -1
- data/lib/rio/ioh.rb +11 -1
- data/lib/rio/ops/construct.rb +11 -10
- data/lib/rio/ops/dir.rb +38 -19
- data/lib/rio/rl/ioi.rb +2 -2
- data/lib/rio/scheme/temp.rb +2 -2
- data/lib/rio/state.rb +1 -1
- data/lib/rio/stream/open.rb +9 -6
- data/lib/rio/util.rb +49 -0
- data/lib/rio/version.rb +1 -1
- data/test/tc/all.rb +3 -1
- data/test/tc/cd1.rb +0 -3
- data/test/tc/clearsel.rb +1 -2
- data/test/tc/copy-from.rb +0 -3
- data/test/tc/copy-to.rb +0 -3
- data/test/tc/copyarray.rb +1 -4
- data/test/tc/copydir.rb +0 -3
- data/test/tc/copydirlines.rb +0 -3
- data/test/tc/copynonex.rb +0 -3
- data/test/tc/csv.rb +0 -3
- data/test/tc/dir.rb +0 -3
- data/test/tc/dir_iter.rb +384 -0
- data/test/tc/dirautoclose.rb +4 -7
- data/test/tc/dirent.rb +3 -5
- data/test/tc/dirss.rb +2 -5
- data/test/tc/each.rb +3 -3
- data/test/tc/each_break.rb +17 -28
- data/test/tc/edf.rb +1 -2
- data/test/tc/entary.rb +1 -4
- data/test/tc/expand_path.rb +1 -2
- data/test/tc/ext.rb +0 -3
- data/test/tc/fileno.rb +1 -2
- data/test/tc/get.rb +151 -0
- data/test/tc/lineno.rb +1 -2
- data/test/tc/methods.rb +1 -1
- data/test/tc/misc.rb +1 -5
- data/test/tc/nolines.rb +3 -4
- data/test/tc/noqae.rb +1 -4
- data/test/tc/pa.rb +1 -2
- data/test/tc/pathop.rb +0 -3
- data/test/tc/paths.rb +1 -3
- data/test/tc/qae.rb +1 -2
- data/test/tc/qae_riovar.rb +1 -2
- data/test/tc/records.rb +1 -2
- data/test/tc/rename.rb +1 -3
- data/test/tc/rename_assign.rb +0 -3
- data/test/tc/riorl.rb +82 -52
- data/test/tc/selnosel.rb +0 -3
- data/test/tc/sub.rb +0 -3
- data/test/tc/symlink.rb +1 -2
- data/test/tc/symlink0.rb +1 -2
- data/test/tc/symlink1.rb +1 -2
- data/test/tc/temp.rb +0 -3
- data/test/tc/tempdir.rb +0 -3
- data/test/tc/tempfile.rb +0 -3
- data/test/tc/testcase.rb +9 -4
- data/test/tc/yaml.rb +11 -1
- metadata +141 -386
- data/doc/rdoc/classes/Kernel.html +0 -181
- data/doc/rdoc/classes/Kernel.src/M000214.html +0 -18
- data/doc/rdoc/classes/RIO.html +0 -621
- data/doc/rdoc/classes/RIO.src/M000001.html +0 -18
- data/doc/rdoc/classes/RIO.src/M000002.html +0 -18
- data/doc/rdoc/classes/RIO.src/M000003.html +0 -18
- data/doc/rdoc/classes/RIO/Doc.html +0 -138
- data/doc/rdoc/classes/RIO/Doc/HOWTO.html +0 -1040
- data/doc/rdoc/classes/RIO/Doc/INTRO.html +0 -1613
- data/doc/rdoc/classes/RIO/Doc/MISC.html +0 -443
- data/doc/rdoc/classes/RIO/Doc/SYNOPSIS.html +0 -338
- data/doc/rdoc/classes/RIO/IF.html +0 -114
- data/doc/rdoc/classes/RIO/IF/CSV.html +0 -202
- data/doc/rdoc/classes/RIO/IF/CSV.src/M000004.html +0 -19
- data/doc/rdoc/classes/RIO/IF/CSV.src/M000005.html +0 -16
- data/doc/rdoc/classes/RIO/IF/CSV.src/M000006.html +0 -16
- data/doc/rdoc/classes/RIO/IF/YAML.html +0 -499
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000007.html +0 -19
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000008.html +0 -16
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000009.html +0 -16
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000010.html +0 -16
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000011.html +0 -16
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000012.html +0 -16
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000013.html +0 -16
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000014.html +0 -16
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000015.html +0 -16
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000016.html +0 -16
- data/doc/rdoc/classes/RIO/IF/YAML.src/M000017.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.html +0 -7121
- data/doc/rdoc/classes/RIO/Rio.src/M000018.html +0 -18
- data/doc/rdoc/classes/RIO/Rio.src/M000019.html +0 -20
- data/doc/rdoc/classes/RIO/Rio.src/M000020.html +0 -27
- data/doc/rdoc/classes/RIO/Rio.src/M000021.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000023.html +0 -19
- data/doc/rdoc/classes/RIO/Rio.src/M000024.html +0 -20
- data/doc/rdoc/classes/RIO/Rio.src/M000025.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000026.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000027.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000028.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000029.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000030.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000031.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000032.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000033.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000034.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000035.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000036.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000037.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000038.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000039.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000040.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000041.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000042.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000043.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000044.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000045.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000046.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000047.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000048.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000049.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000050.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000051.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000052.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000053.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000054.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000055.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000056.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000057.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000058.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000059.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000060.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000061.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000062.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000063.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000064.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000065.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000066.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000067.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000068.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000069.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000070.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000071.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000072.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000073.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000074.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000075.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000076.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000077.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000078.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000079.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000080.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000081.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000082.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000083.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000084.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000085.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000086.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000087.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000088.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000089.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000090.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000091.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000092.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000093.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000094.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000095.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000096.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000097.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000098.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000099.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000100.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000101.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000102.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000103.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000104.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000105.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000106.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000107.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000108.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000109.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000110.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000111.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000112.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000113.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000114.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000115.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000116.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000117.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000118.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000119.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000120.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000121.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000122.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000123.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000124.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000125.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000126.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000127.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000128.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000129.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000130.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000131.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000132.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000133.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000134.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000135.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000136.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000137.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000138.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000139.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000140.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000141.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000142.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000143.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000144.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000145.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000146.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000147.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000148.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000149.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000150.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000151.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000152.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000153.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000154.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000155.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000156.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000157.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000158.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000159.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000160.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000161.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000162.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000163.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000164.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000165.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000166.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000167.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000168.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000169.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000170.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000171.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000172.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000173.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000174.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000175.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000176.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000177.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000178.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000179.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000180.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000181.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000182.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000183.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000184.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000185.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000186.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000187.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000188.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000189.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000190.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000191.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000192.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000193.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000194.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000195.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000196.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000197.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000198.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000199.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000200.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000201.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000202.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000203.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000204.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000205.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000206.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000207.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000208.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000209.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000210.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000211.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000212.html +0 -16
- data/doc/rdoc/classes/RIO/Rio.src/M000213.html +0 -16
- data/doc/rdoc/created.rid +0 -1
- data/doc/rdoc/files/README.html +0 -243
- data/doc/rdoc/files/lib/rio/constructor_rb.html +0 -142
- data/doc/rdoc/files/lib/rio/doc/HOWTO_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/doc/INTRO_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/doc/MISC_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/doc/SYNOPSIS_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/basic_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/csv_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/dir_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/file_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/fileordir_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/grande_entry_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/grande_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/grande_stream_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/internal_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/path_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/stream_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/string_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/temp_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/test_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/if/yaml_rb.html +0 -135
- data/doc/rdoc/files/lib/rio/kernel_rb.html +0 -142
- data/doc/rdoc/files/lib/rio_rb.html +0 -154
- data/doc/rdoc/fr_class_index.html +0 -37
- data/doc/rdoc/fr_file_index.html +0 -49
- data/doc/rdoc/fr_method_index.html +0 -241
- data/doc/rdoc/index.html +0 -24
- data/doc/rdoc/rdoc-style.css +0 -384
- data/test/methods/path.rb +0 -12
data/ChangeLog
CHANGED
@@ -1,4 +1,175 @@
|
|
1
1
|
------------------------------------------------------------------------
|
2
|
+
r139 | kit | 2005-11-25 14:44:43 -0800 (Fri, 25 Nov 2005) | 1 line
|
3
|
+
Changed paths:
|
4
|
+
M /rio/trunk/README
|
5
|
+
|
6
|
+
changed README
|
7
|
+
------------------------------------------------------------------------
|
8
|
+
r138 | kit | 2005-11-25 14:44:06 -0800 (Fri, 25 Nov 2005) | 1 line
|
9
|
+
Changed paths:
|
10
|
+
M /rio/trunk/README
|
11
|
+
|
12
|
+
changed README
|
13
|
+
------------------------------------------------------------------------
|
14
|
+
r136 | kit | 2005-11-25 14:34:23 -0800 (Fri, 25 Nov 2005) | 1 line
|
15
|
+
Changed paths:
|
16
|
+
M /rio/trunk/README
|
17
|
+
M /rio/trunk/lib/rio/scheme/cmdio.rb
|
18
|
+
|
19
|
+
release
|
20
|
+
------------------------------------------------------------------------
|
21
|
+
r135 | kit | 2005-11-25 14:31:23 -0800 (Fri, 25 Nov 2005) | 1 line
|
22
|
+
Changed paths:
|
23
|
+
M /rio/trunk/RUNME.1st.rb
|
24
|
+
M /rio/trunk/doc/ANNOUNCE
|
25
|
+
M /rio/trunk/doc/RELEASE_NOTES
|
26
|
+
M /rio/trunk/lib/rio/scheme/cmdio.rb
|
27
|
+
|
28
|
+
New release related stuff
|
29
|
+
------------------------------------------------------------------------
|
30
|
+
r134 | kit | 2005-11-25 14:05:59 -0800 (Fri, 25 Nov 2005) | 1 line
|
31
|
+
Changed paths:
|
32
|
+
M /rio/trunk/rio.gemspec
|
33
|
+
M /rio/trunk/test/tc/all.rb
|
34
|
+
|
35
|
+
modifications for window build
|
36
|
+
------------------------------------------------------------------------
|
37
|
+
r133 | kit | 2005-11-25 13:28:27 -0800 (Fri, 25 Nov 2005) | 1 line
|
38
|
+
Changed paths:
|
39
|
+
M /rio/trunk/Rakefile
|
40
|
+
M /rio/trunk/lib/rio/if/yaml.rb
|
41
|
+
M /rio/trunk/lib/rio/rl/ioi.rb
|
42
|
+
M /rio/trunk/lib/rio/version.rb
|
43
|
+
|
44
|
+
build fixes
|
45
|
+
------------------------------------------------------------------------
|
46
|
+
r132 | kit | 2005-11-25 10:23:09 -0800 (Fri, 25 Nov 2005) | 1 line
|
47
|
+
Changed paths:
|
48
|
+
M /rio/trunk/Rakefile
|
49
|
+
M /rio/trunk/lib/rio/doc/INTRO.rb
|
50
|
+
M /rio/trunk/lib/rio/scheme/temp.rb
|
51
|
+
M /rio/trunk/rio.gemspec
|
52
|
+
|
53
|
+
fixed gemspec
|
54
|
+
------------------------------------------------------------------------
|
55
|
+
r131 | kit | 2005-11-24 20:34:09 -0800 (Thu, 24 Nov 2005) | 1 line
|
56
|
+
Changed paths:
|
57
|
+
M /rio/trunk/Rakefile
|
58
|
+
M /rio/trunk/test/tc/cd1.rb
|
59
|
+
M /rio/trunk/test/tc/copynonex.rb
|
60
|
+
M /rio/trunk/test/tc/dirautoclose.rb
|
61
|
+
M /rio/trunk/test/tc/dirss.rb
|
62
|
+
M /rio/trunk/test/tc/edf.rb
|
63
|
+
M /rio/trunk/test/tc/fileno.rb
|
64
|
+
M /rio/trunk/test/tc/lineno.rb
|
65
|
+
M /rio/trunk/test/tc/pathop.rb
|
66
|
+
M /rio/trunk/test/tc/rename_assign.rb
|
67
|
+
M /rio/trunk/test/tc/sub.rb
|
68
|
+
|
69
|
+
more remove dependence on extensions
|
70
|
+
------------------------------------------------------------------------
|
71
|
+
r130 | kit | 2005-11-24 20:19:58 -0800 (Thu, 24 Nov 2005) | 1 line
|
72
|
+
Changed paths:
|
73
|
+
M /rio/trunk/lib/rio/ext/csv.rb
|
74
|
+
M /rio/trunk/lib/rio/ext.rb
|
75
|
+
M /rio/trunk/lib/rio/filter.rb
|
76
|
+
M /rio/trunk/lib/rio/ftp.rb
|
77
|
+
M /rio/trunk/lib/rio/ops/dir.rb
|
78
|
+
M /rio/trunk/lib/rio/scheme/temp.rb
|
79
|
+
M /rio/trunk/lib/rio/state.rb
|
80
|
+
M /rio/trunk/lib/rio/stream/open.rb
|
81
|
+
A /rio/trunk/lib/rio/util.rb
|
82
|
+
M /rio/trunk/lib/rio.rb
|
83
|
+
M /rio/trunk/test/tc/clearsel.rb
|
84
|
+
M /rio/trunk/test/tc/copy-from.rb
|
85
|
+
M /rio/trunk/test/tc/copy-to.rb
|
86
|
+
M /rio/trunk/test/tc/copyarray.rb
|
87
|
+
M /rio/trunk/test/tc/copydir.rb
|
88
|
+
M /rio/trunk/test/tc/copydirlines.rb
|
89
|
+
M /rio/trunk/test/tc/csv.rb
|
90
|
+
M /rio/trunk/test/tc/dir.rb
|
91
|
+
M /rio/trunk/test/tc/dir_iter.rb
|
92
|
+
M /rio/trunk/test/tc/dirautoclose.rb
|
93
|
+
M /rio/trunk/test/tc/dirent.rb
|
94
|
+
M /rio/trunk/test/tc/dirss.rb
|
95
|
+
M /rio/trunk/test/tc/each.rb
|
96
|
+
M /rio/trunk/test/tc/each_break.rb
|
97
|
+
M /rio/trunk/test/tc/edf.rb
|
98
|
+
M /rio/trunk/test/tc/entary.rb
|
99
|
+
M /rio/trunk/test/tc/expand_path.rb
|
100
|
+
M /rio/trunk/test/tc/ext.rb
|
101
|
+
M /rio/trunk/test/tc/fileno.rb
|
102
|
+
M /rio/trunk/test/tc/lineno.rb
|
103
|
+
M /rio/trunk/test/tc/methods.rb
|
104
|
+
M /rio/trunk/test/tc/misc.rb
|
105
|
+
M /rio/trunk/test/tc/nolines.rb
|
106
|
+
M /rio/trunk/test/tc/noqae.rb
|
107
|
+
M /rio/trunk/test/tc/pa.rb
|
108
|
+
M /rio/trunk/test/tc/paths.rb
|
109
|
+
M /rio/trunk/test/tc/qae.rb
|
110
|
+
M /rio/trunk/test/tc/qae_riovar.rb
|
111
|
+
M /rio/trunk/test/tc/records.rb
|
112
|
+
M /rio/trunk/test/tc/rename.rb
|
113
|
+
M /rio/trunk/test/tc/riorl.rb
|
114
|
+
M /rio/trunk/test/tc/selnosel.rb
|
115
|
+
M /rio/trunk/test/tc/symlink.rb
|
116
|
+
M /rio/trunk/test/tc/symlink0.rb
|
117
|
+
M /rio/trunk/test/tc/symlink1.rb
|
118
|
+
M /rio/trunk/test/tc/temp.rb
|
119
|
+
M /rio/trunk/test/tc/tempdir.rb
|
120
|
+
M /rio/trunk/test/tc/tempfile.rb
|
121
|
+
M /rio/trunk/test/tc/testcase.rb
|
122
|
+
|
123
|
+
remove dependence on extensions
|
124
|
+
------------------------------------------------------------------------
|
125
|
+
r129 | kit | 2005-11-23 22:12:19 -0800 (Wed, 23 Nov 2005) | 1 line
|
126
|
+
Changed paths:
|
127
|
+
M /rio/trunk/doc/RELEASE_NOTES
|
128
|
+
M /rio/trunk/lib/rio/if/dir.rb
|
129
|
+
|
130
|
+
release notes
|
131
|
+
------------------------------------------------------------------------
|
132
|
+
r128 | kit | 2005-11-16 14:25:03 -0800 (Wed, 16 Nov 2005) | 1 line
|
133
|
+
Changed paths:
|
134
|
+
M /rio/trunk/ex/findinruby
|
135
|
+
A /rio/trunk/ex/targz2zip
|
136
|
+
M /rio/trunk/lib/rio/construct.rb
|
137
|
+
M /rio/trunk/lib/rio/doc/INTRO.rb
|
138
|
+
M /rio/trunk/lib/rio/if/dir.rb
|
139
|
+
M /rio/trunk/lib/rio/ops/construct.rb
|
140
|
+
M /rio/trunk/test/tc/riorl.rb
|
141
|
+
|
142
|
+
tests and ex/targz2zip
|
143
|
+
------------------------------------------------------------------------
|
144
|
+
r127 | kit | 2005-11-15 14:00:07 -0800 (Tue, 15 Nov 2005) | 1 line
|
145
|
+
Changed paths:
|
146
|
+
M /rio/trunk/RUNME.1st.rb
|
147
|
+
M /rio/trunk/Rakefile
|
148
|
+
M /rio/trunk/lib/rio/construct.rb
|
149
|
+
M /rio/trunk/lib/rio/ext/yaml.rb
|
150
|
+
M /rio/trunk/lib/rio/if/grande.rb
|
151
|
+
M /rio/trunk/lib/rio/ops/construct.rb
|
152
|
+
M /rio/trunk/test/tc/get.rb
|
153
|
+
M /rio/trunk/test/tc/yaml.rb
|
154
|
+
|
155
|
+
YAML is not ready
|
156
|
+
------------------------------------------------------------------------
|
157
|
+
r126 | kit | 2005-11-15 12:02:42 -0800 (Tue, 15 Nov 2005) | 1 line
|
158
|
+
Changed paths:
|
159
|
+
M /rio/trunk/Rakefile
|
160
|
+
M /rio/trunk/lib/rio/dir.rb
|
161
|
+
M /rio/trunk/lib/rio/ioh.rb
|
162
|
+
M /rio/trunk/lib/rio/ops/dir.rb
|
163
|
+
M /rio/trunk/lib/rio/stream/open.rb
|
164
|
+
M /rio/trunk/test/tc/all.rb
|
165
|
+
A /rio/trunk/test/tc/dir_iter.rb
|
166
|
+
M /rio/trunk/test/tc/each_break.rb
|
167
|
+
A /rio/trunk/test/tc/get.rb
|
168
|
+
M /rio/trunk/test/tc/testcase.rb
|
169
|
+
M /rio/trunk/test/tc/yaml.rb
|
170
|
+
|
171
|
+
fix get and tighten dir iteration, more tests
|
172
|
+
------------------------------------------------------------------------
|
2
173
|
r124 | kit | 2005-11-14 20:49:23 -0800 (Mon, 14 Nov 2005) | 1 line
|
3
174
|
Changed paths:
|
4
175
|
M /rio/trunk/lib/rio/version.rb
|
data/README
CHANGED
@@ -27,10 +27,6 @@ Rio is a convenience class wrapping much of the functionality of
|
|
27
27
|
IO, File, Dir, Pathname, FileUtils, Tempfile, StringIO, OpenURI, Zlib, and CSV.
|
28
28
|
|
29
29
|
To create the documentation for Rio run the command
|
30
|
-
rake rdoc
|
31
|
-
from the distribution directory.
|
32
|
-
|
33
|
-
If your don't have rake installed try:
|
34
30
|
ruby RUNME.1st.rb
|
35
31
|
from the distribution directory.
|
36
32
|
|
@@ -43,12 +39,9 @@ Suggested Reading
|
|
43
39
|
* RIO::Rio
|
44
40
|
|
45
41
|
To install Rio untar the distribution and type
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
Until you do, you may want to try
|
51
|
-
ruby setup.rb
|
42
|
+
ruby setup.rb config
|
43
|
+
ruby setup.rb setup
|
44
|
+
ruby setup.rb install
|
52
45
|
|
53
46
|
Rio is also available as a gem. If you have rubygems installed use:
|
54
47
|
gem install rio
|
@@ -57,12 +50,6 @@ To use Rio as a rubygem:
|
|
57
50
|
require 'rubygems'
|
58
51
|
require 'rio'
|
59
52
|
|
60
|
-
|
61
|
-
To build the documentation without rake, try
|
62
|
-
rdoc --op doc/rdoc -m RIO::Doc::SYNOPSIS README lib/rio/doc/*.rb lib/rio.rb lib/rio/if/*.rb lib/rio/kernel.rb
|
63
|
-
|
64
|
-
Then point your browser at doc/rdoc.
|
65
|
-
|
66
53
|
To read the documentation without running rdoc, read the files:
|
67
54
|
* lib/rio/doc/SYNOPSIS.rb
|
68
55
|
* lib/rio/doc/INTRO.rb
|
data/RUNME.1st.rb
CHANGED
@@ -55,12 +55,11 @@ rdoc_files = [
|
|
55
55
|
rio('README'),
|
56
56
|
rio('lib/rio.rb'),
|
57
57
|
rio('lib/rio/')['kernel.rb','constructor.rb'],
|
58
|
-
rio('lib/rio/if')['*.rb'],
|
59
58
|
rio('lib/rio/doc')['*.rb'],
|
59
|
+
rio('lib/rio/if').skipfiles('yaml.rb').files['*.rb'],
|
60
60
|
]
|
61
61
|
|
62
62
|
cmd = sprintf("rdoc %s %s",RDOC_OPTIONS.join(' '),rdoc_files.join(' '))
|
63
|
-
rio(?-) << rio(?-,cmd)
|
64
63
|
|
65
64
|
docindex = (rdoc_dir/'index.html').abs.to_url
|
66
65
|
msg = "Please point your browser at '#{docindex}'"
|
@@ -72,4 +71,3 @@ puts "> " + msg + " >"
|
|
72
71
|
puts lin
|
73
72
|
|
74
73
|
|
75
|
-
|
data/Rakefile
CHANGED
@@ -39,6 +39,7 @@ require 'rake/testtask'
|
|
39
39
|
# General actions ##############################################################
|
40
40
|
|
41
41
|
$:.push 'lib'
|
42
|
+
require 'rio/version'
|
42
43
|
require 'rio/doc'
|
43
44
|
|
44
45
|
SVN_REPOSITORY_URL = 'file:///loc/svn/'
|
@@ -51,7 +52,7 @@ XMP_FILES = FileList['ex/*']
|
|
51
52
|
module PKG
|
52
53
|
NAME = "rio"
|
53
54
|
TITLE = RIO::TITLE
|
54
|
-
VERSION =
|
55
|
+
VERSION = '0.3.7'
|
55
56
|
FULLNAME = PKG::NAME + "-" + PKG::VERSION
|
56
57
|
SUMMARY = RIO::SUMMARY
|
57
58
|
DESCRIPTION = RIO::DESCRIPTION
|
@@ -61,7 +62,7 @@ module PKG
|
|
61
62
|
fl.exclude( /\bsvn\b/ )
|
62
63
|
fl.exclude( 'test/qp' )
|
63
64
|
fl.exclude( 'test/coverage' )
|
64
|
-
|
65
|
+
fl.exclude( 'doc/rdoc' )
|
65
66
|
end
|
66
67
|
OUT_DIR = 'pkg'
|
67
68
|
OUT_FILES = %w[.gem .tar.gz .zip].map { |ex| OUT_DIR + '/' + FULLNAME + ex }
|
@@ -102,12 +103,14 @@ task :doc => [:rdoc] do
|
|
102
103
|
# ruby %{-I../lib ../bin/webgen -V 2 }
|
103
104
|
end
|
104
105
|
|
105
|
-
RDOC_OPTIONS = ['--line-numbers'
|
106
|
+
RDOC_OPTIONS = ['--line-numbers']
|
106
107
|
rd = Rake::RDocTask.new do |rdoc|
|
107
108
|
rdoc.rdoc_dir = 'doc/rdoc'
|
108
109
|
rdoc.title = PKG::TITLE
|
109
110
|
rdoc.options = RDOC_OPTIONS
|
111
|
+
rdoc.main = 'RIO::Doc::SYNOPSIS'
|
110
112
|
DOC_FILES.to_a.each do |glb|
|
113
|
+
next if glb =~ /yaml.rb$/
|
111
114
|
rdoc.rdoc_files.include( glb )
|
112
115
|
end
|
113
116
|
rdoc.template = 'doc/generators/template/html/rio.rb'
|
@@ -152,9 +155,9 @@ task :no_old_pkg do
|
|
152
155
|
end
|
153
156
|
|
154
157
|
task :package => [:no_old_pkg, :gen_files]
|
155
|
-
PKG::OUT_FILES.each do |f|
|
156
|
-
file f => [:package]
|
157
|
-
end
|
158
|
+
#PKG::OUT_FILES.each do |f|
|
159
|
+
# file f => [:package]
|
160
|
+
#end
|
158
161
|
|
159
162
|
Rake::PackageTask.new( PKG::NAME, PKG::VERSION ) do |p|
|
160
163
|
p.need_tar_gz = true
|
@@ -206,7 +209,7 @@ else
|
|
206
209
|
#### Dependencies, requirements and files
|
207
210
|
|
208
211
|
s.files = PKG::FILES.to_a
|
209
|
-
s.add_dependency( 'extensions', '>= 0.6.0' )
|
212
|
+
# s.add_dependency( 'extensions', '>= 0.6.0' )
|
210
213
|
|
211
214
|
s.require_path = 'lib'
|
212
215
|
s.autorequire = 'rio'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.7
|
data/doc/ANNOUNCE
CHANGED
data/doc/RELEASE_NOTES
CHANGED
@@ -9,10 +9,6 @@ Rio is a convenience class wrapping much of the functionality of
|
|
9
9
|
IO, File, Dir, Pathname, FileUtils, Tempfile, StringIO, OpenURI, Zlib, and CSV.
|
10
10
|
|
11
11
|
To create the documentation for Rio run the command
|
12
|
-
rake rdoc
|
13
|
-
from the distribution directory.
|
14
|
-
|
15
|
-
If your don't have rake installed, install it, until you do try:
|
16
12
|
ruby RUNME.1st.rb
|
17
13
|
from the distribution directory.
|
18
14
|
|
@@ -24,6 +20,9 @@ Suggested Reading
|
|
24
20
|
* RIO::Doc::HOWTO
|
25
21
|
* RIO::Rio
|
26
22
|
|
23
|
+
== Version 0.3.7
|
24
|
+
* Maintenance release
|
25
|
+
|
27
26
|
== New for version 0.3.6
|
28
27
|
* Pipe operator and command pipes
|
29
28
|
|
data/ex/colx.rb
ADDED
data/ex/findinruby
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'rio'
|
4
|
+
require 'rio/argv'
|
5
|
+
|
6
|
+
re = ARGV.shift
|
7
|
+
|
8
|
+
is_ruby_exe = proc{ |f| f.executable? and f[0][0] =~ /^#!.+ruby/ }
|
9
|
+
|
10
|
+
RIO.ARGV.each do |rpath|
|
11
|
+
rpath.norecurse('.svn','pkg').files('*.rb',is_ruby_exe) do |f|
|
12
|
+
print f.lines[/#{re}/].map{ |line| "#{f}: #{line}" }
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
__END__
|
data/ex/findruby
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'rio'
|
4
|
+
require 'rio/argv'
|
5
|
+
|
6
|
+
#is_ruby_exe = proc{ |f| f.executable? and f[0][0] =~ /^#!.+ruby/ }
|
7
|
+
is_ruby_exe = proc{ |f| f.executable? and f.gets =~ /^#!.+ruby/ }
|
8
|
+
|
9
|
+
RIO.ARGV.each do |rpath|
|
10
|
+
rpath.norecurse('.svn','pkg').files('*.rb',is_ruby_exe) do |f|
|
11
|
+
puts f
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
__END__
|
data/ex/passwd_report.rb
ADDED
data/ex/prompt.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
require 'rio'
|
4
|
+
|
5
|
+
ans = rio(?-).chomp.print("Type Something: ").gets
|
6
|
+
rio(?-).puts("You typed '#{ans}'")
|
7
|
+
|
8
|
+
# Could also be written like this
|
9
|
+
#
|
10
|
+
#stdio = rio(?-).chomp
|
11
|
+
#ans = stdio.print("Type Something: ").gets
|
12
|
+
#stdio.puts("You typed '#{ans}'")
|
13
|
+
#
|
14
|
+
# Or even this
|
15
|
+
#
|
16
|
+
#stdio = rio(?-).chomp
|
17
|
+
#stdio.puts("You typed '#{stdio.print("Type Something: ").gets}'")
|
18
|
+
#
|
19
|
+
# Or this
|
20
|
+
#
|
21
|
+
#rio(?-).puts("You typed '#{rio(?-).chomp.print("Type Something: ").gets}'")
|
22
|
+
#
|
23
|
+
|
24
|
+
|
25
|
+
__END__
|
data/ex/rgb.txt.gz
ADDED
Binary file
|
data/ex/riocat
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'rio'
|
3
|
+
# riogzip: reads from stdin, gzips and writes it to stdout
|
4
|
+
# example use:
|
5
|
+
# riocat < afile.txt >bfile.txt
|
6
|
+
#
|
7
|
+
# explanation:
|
8
|
+
#
|
9
|
+
# rio(?-)
|
10
|
+
# rio(?-): a rio that will be connected to stdin or stdout depending how it is used
|
11
|
+
#
|
12
|
+
# rio(?-)
|
13
|
+
# rio(?-): a rio that will be connected to stdin or stdout depending how it is used
|
14
|
+
#
|
15
|
+
# <
|
16
|
+
# <: copy operator indicating rio on left is written to and the rio on the right is read from
|
17
|
+
#
|
18
|
+
rio(?-) < rio(?-)
|
19
|
+
|
20
|
+
#
|
21
|
+
# this could also be written
|
22
|
+
# rio(?-) > rio(?-)
|
23
|
+
#
|
24
|
+
# this is similar but reads the entire file before writing
|
25
|
+
#rio(?-).print!( rio(?-).slurp )
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
#rio(?-).print!( rio(?-).slurp)
|
30
|
+
|
31
|
+
|
32
|
+
# DONT TO THIS:
|
33
|
+
#io = rio(?-)
|
34
|
+
#io.print!( io.slurp )
|
35
|
+
|