spreet 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.rdoc +10 -6
- data/lib/spreet.rb +12 -336
- data/lib/spreet/cell.rb +87 -0
- data/lib/spreet/document.rb +54 -0
- data/lib/spreet/handlers.rb +5 -21
- data/lib/spreet/handlers/base.rb +19 -0
- data/lib/spreet/handlers/csv.rb +3 -38
- data/lib/spreet/handlers/excel_csv.rb +36 -0
- data/lib/spreet/handlers/open_document.rb +9 -6
- data/lib/spreet/sheet.rb +125 -0
- data/lib/spreet/sheets.rb +63 -0
- data/lib/spreet/version.rb +10 -0
- data/test/helper.rb +25 -3
- data/test/test_coordinates.rb +1 -1
- data/test/test_csv.rb +9 -18
- data/test/test_duration.rb +1 -1
- data/test/test_open_document.rb +2 -2
- data/test/test_spreet.rb +8 -11
- metadata +76 -42
- data/VERSION +0 -1
- data/lib/big_array.rb +0 -100
- data/test/test_big_array.rb +0 -24
data/test/test_big_array.rb
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
require 'helper'
|
3
|
-
|
4
|
-
class TestBigArray < Test::Unit::TestCase
|
5
|
-
|
6
|
-
def test_big_hash
|
7
|
-
assert_nothing_raised do
|
8
|
-
BigArray.new("MyBigArray", 2, 8)
|
9
|
-
end
|
10
|
-
array = nil
|
11
|
-
assert_nothing_raised do
|
12
|
-
array = BigArray::MyBigArray.new
|
13
|
-
end
|
14
|
-
assert_nothing_raised do
|
15
|
-
array[0] = 123
|
16
|
-
end
|
17
|
-
assert_equal(123, array[0])
|
18
|
-
assert_nothing_raised do
|
19
|
-
array[2**32 - 1] = "Test"
|
20
|
-
end
|
21
|
-
assert_equal("Test", array[2**32 - 1])
|
22
|
-
end
|
23
|
-
|
24
|
-
end
|