external 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/History +5 -0
  2. data/MIT-LICENSE +21 -0
  3. data/README +168 -0
  4. data/lib/ext_arc.rb +108 -0
  5. data/lib/ext_arr.rb +727 -0
  6. data/lib/ext_ind.rb +1120 -0
  7. data/lib/external/base.rb +85 -0
  8. data/lib/external/chunkable.rb +105 -0
  9. data/lib/external/enumerable.rb +137 -0
  10. data/lib/external/io.rb +398 -0
  11. data/lib/external.rb +3 -0
  12. data/test/benchmarks/benchmarks_20070918.txt +45 -0
  13. data/test/benchmarks/benchmarks_20070921.txt +91 -0
  14. data/test/benchmarks/benchmarks_20071006.txt +147 -0
  15. data/test/benchmarks/test_copy_file.rb +80 -0
  16. data/test/benchmarks/test_pos_speed.rb +47 -0
  17. data/test/benchmarks/test_read_time.rb +55 -0
  18. data/test/cached_ext_ind_test.rb +219 -0
  19. data/test/check/benchmark_check.rb +441 -0
  20. data/test/check/namespace_conflicts_check.rb +23 -0
  21. data/test/check/pack_check.rb +90 -0
  22. data/test/ext_arc_test.rb +286 -0
  23. data/test/ext_arr/alt_sep.txt +3 -0
  24. data/test/ext_arr/cr_lf_input.txt +3 -0
  25. data/test/ext_arr/input.index +0 -0
  26. data/test/ext_arr/input.txt +1 -0
  27. data/test/ext_arr/inputb.index +0 -0
  28. data/test/ext_arr/inputb.txt +1 -0
  29. data/test/ext_arr/lf_input.txt +3 -0
  30. data/test/ext_arr/lines.txt +19 -0
  31. data/test/ext_arr/without_index.txt +1 -0
  32. data/test/ext_arr_test.rb +534 -0
  33. data/test/ext_ind_test.rb +1472 -0
  34. data/test/external/base_test.rb +74 -0
  35. data/test/external/chunkable_test.rb +182 -0
  36. data/test/external/index/input.index +0 -0
  37. data/test/external/index/inputb.index +0 -0
  38. data/test/external/io_test.rb +414 -0
  39. data/test/external_test_helper.rb +31 -0
  40. data/test/external_test_suite.rb +4 -0
  41. data/test/test_array.rb +1192 -0
  42. metadata +104 -0
metadata ADDED
@@ -0,0 +1,104 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: external
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Simon Chiang
8
+ autorequire: external
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2007-12-10 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: simon.chiang@uchsc.edu
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - README
24
+ - MIT-LICENSE
25
+ - History
26
+ files:
27
+ - test/benchmarks
28
+ - test/benchmarks/benchmarks_20070918.txt
29
+ - test/benchmarks/benchmarks_20070921.txt
30
+ - test/benchmarks/benchmarks_20071006.txt
31
+ - test/benchmarks/test_copy_file.rb
32
+ - test/benchmarks/test_pos_speed.rb
33
+ - test/benchmarks/test_read_time.rb
34
+ - test/cached_ext_ind_test.rb
35
+ - test/check
36
+ - test/check/benchmark_check.rb
37
+ - test/check/namespace_conflicts_check.rb
38
+ - test/check/pack_check.rb
39
+ - test/ext_arc_test.rb
40
+ - test/ext_arr
41
+ - test/ext_arr/alt_sep.txt
42
+ - test/ext_arr/cr_lf_input.txt
43
+ - test/ext_arr/input.index
44
+ - test/ext_arr/input.txt
45
+ - test/ext_arr/inputb.index
46
+ - test/ext_arr/inputb.txt
47
+ - test/ext_arr/lf_input.txt
48
+ - test/ext_arr/lines.txt
49
+ - test/ext_arr/without_index.txt
50
+ - test/ext_arr_test.rb
51
+ - test/ext_ind_test.rb
52
+ - test/external
53
+ - test/external/base_test.rb
54
+ - test/external/chunkable_test.rb
55
+ - test/external/index
56
+ - test/external/index/input.index
57
+ - test/external/index/inputb.index
58
+ - test/external/io_test.rb
59
+ - test/external_test_helper.rb
60
+ - test/external_test_suite.rb
61
+ - test/test_array.rb
62
+ - lib/ext_arc.rb
63
+ - lib/ext_arr.rb
64
+ - lib/ext_ind.rb
65
+ - lib/external
66
+ - lib/external/base.rb
67
+ - lib/external/chunkable.rb
68
+ - lib/external/enumerable.rb
69
+ - lib/external/io.rb
70
+ - lib/external.rb
71
+ - README
72
+ - MIT-LICENSE
73
+ - History
74
+ has_rdoc: true
75
+ homepage: http://rubyforge.org/projects/external/
76
+ post_install_message:
77
+ rdoc_options:
78
+ - --title
79
+ - External
80
+ - --main
81
+ - README
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: "0"
89
+ version:
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: "0"
95
+ version:
96
+ requirements: []
97
+
98
+ rubyforge_project:
99
+ rubygems_version: 0.9.5
100
+ signing_key:
101
+ specification_version: 2
102
+ summary: Array access to external data files.
103
+ test_files:
104
+ - test/external_test_suite.rb