nicolus 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +10 -0
- data/Manifest.txt +3 -0
- data/lib/nicolus.rb +1 -1
- data/test/listes2_en_colonnes.csv +5 -0
- data/test/listes_tabs.csv +5 -0
- data/test/listes_tabs_utf.csv +0 -0
- data/test/test_nicolus.rb +1 -8
- metadata +4 -1
data/History.txt
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
=== 1.2.1 / 2008-02-19
|
2
|
+
* same as 1.2.0 but frogot to update History
|
3
|
+
|
4
|
+
=== 1.2.0 / 2008-02-19
|
5
|
+
* handle utf16 encoding
|
6
|
+
* handle tab separated columns
|
7
|
+
|
8
|
+
=== 1.1.0 / 2008-02-14
|
9
|
+
* bin/nicolus wasn't working, fixed it
|
10
|
+
|
1
11
|
=== 1.0.0 / 2008-02-14
|
2
12
|
|
3
13
|
* project creation
|
data/Manifest.txt
CHANGED
data/lib/nicolus.rb
CHANGED
Binary file
|
data/test/test_nicolus.rb
CHANGED
@@ -7,28 +7,24 @@ class TestNicolus < Test::Unit::TestCase
|
|
7
7
|
comb = Nicolus::Combinaison.new("test/listes.csv", "test/combinaison_2_col.csv")
|
8
8
|
comb.run
|
9
9
|
assert File.exist?("test/combinaison_2_col.csv")
|
10
|
-
File.delete "test/combinaison_2_col.csv"
|
11
10
|
end
|
12
11
|
|
13
12
|
def test_run_2_col_inverse
|
14
13
|
comb = Nicolus::Combinaison.new("test/listes.csv", "test/combinaison_2_col_inverse.csv", true)
|
15
14
|
comb.run
|
16
15
|
assert File.exist?("test/combinaison_2_col_inverse.csv")
|
17
|
-
File.delete "test/combinaison_2_col_inverse.csv"
|
18
16
|
end
|
19
17
|
|
20
18
|
def test_run_3_col
|
21
19
|
comb = Nicolus::Combinaison.new("test/listes_3_col.csv", "test/combinaison_3_col.csv") #, true)
|
22
20
|
comb.run
|
23
21
|
assert File.exist?("test/combinaison_3_col.csv")
|
24
|
-
File.delete "test/combinaison_3_col.csv"
|
25
22
|
end
|
26
23
|
|
27
24
|
def test_run_3_col_inverse
|
28
25
|
comb = Nicolus::Combinaison.new("test/listes_3_col.csv", "test/combinaison_3_col_inverse.csv", true)
|
29
26
|
comb.run
|
30
27
|
assert File.exist?("test/combinaison_3_col_inverse.csv")
|
31
|
-
File.delete "test/combinaison_3_col_inverse.csv"
|
32
28
|
end
|
33
29
|
|
34
30
|
def test_run_tabs_utf
|
@@ -66,11 +62,8 @@ class TestNicolus < Test::Unit::TestCase
|
|
66
62
|
to_unquote.unquote!
|
67
63
|
assert_equal "ab\"c", to_unquote
|
68
64
|
end
|
69
|
-
<<<<<<< .mine
|
70
|
-
end
|
71
|
-
=======
|
72
65
|
|
73
66
|
def teardown
|
74
67
|
FileUtils.rm_f Dir['test/combinaison*']
|
75
68
|
end
|
76
|
-
end
|
69
|
+
end
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: nicolus
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.2.
|
6
|
+
version: 1.2.1
|
7
7
|
date: 2008-02-19 00:00:00 +01:00
|
8
8
|
summary: Nicolus is a simple program to make all possible combination out of 2 or more lists of words.
|
9
9
|
require_paths:
|
@@ -37,7 +37,10 @@ files:
|
|
37
37
|
- lib/nicolus.rb
|
38
38
|
- lib/opt_parse.rb
|
39
39
|
- test/listes.csv
|
40
|
+
- test/listes2_en_colonnes.csv
|
40
41
|
- test/listes_3_col.csv
|
42
|
+
- test/listes_tabs.csv
|
43
|
+
- test/listes_tabs_utf.csv
|
41
44
|
- test/test_nicolus.rb
|
42
45
|
test_files:
|
43
46
|
- test/test_nicolus.rb
|