sycsvpro 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. data/Gemfile.lock +3 -1
  2. data/README.md +21 -8
  3. data/README.rdoc +3 -2
  4. data/bin/sycsvpro +17 -6
  5. data/lib/sycsvpro/aggregator.rb +16 -5
  6. data/lib/sycsvpro/calculator.rb +19 -5
  7. data/lib/sycsvpro/counter.rb +17 -7
  8. data/lib/sycsvpro/dsl.rb +43 -0
  9. data/lib/sycsvpro/filter.rb +0 -7
  10. data/lib/sycsvpro/sorter.rb +28 -8
  11. data/lib/sycsvpro/version.rb +1 -1
  12. data/spec/sycsvpro/sorter_spec.rb +50 -0
  13. data/sycsvpro.gemspec +1 -0
  14. metadata +18 -66
  15. data/html/Dsl.html +0 -277
  16. data/html/Object.html +0 -187
  17. data/html/README_rdoc.html +0 -187
  18. data/html/Sycsvpro/Aggregator.html +0 -482
  19. data/html/Sycsvpro/Allocator.html +0 -293
  20. data/html/Sycsvpro/Analyzer.html +0 -239
  21. data/html/Sycsvpro/Calculator.html +0 -407
  22. data/html/Sycsvpro/Collector.html +0 -281
  23. data/html/Sycsvpro/ColumnFilter.html +0 -170
  24. data/html/Sycsvpro/ColumnTypeFilter.html +0 -191
  25. data/html/Sycsvpro/Counter.html +0 -492
  26. data/html/Sycsvpro/Extractor.html +0 -269
  27. data/html/Sycsvpro/Filter.html +0 -411
  28. data/html/Sycsvpro/Header.html +0 -239
  29. data/html/Sycsvpro/Inserter.html +0 -275
  30. data/html/Sycsvpro/Mapper.html +0 -288
  31. data/html/Sycsvpro/Profiler.html +0 -234
  32. data/html/Sycsvpro/RowFilter.html +0 -175
  33. data/html/Sycsvpro/ScriptCreator.html +0 -235
  34. data/html/Sycsvpro/ScriptList.html +0 -281
  35. data/html/Sycsvpro/Sorter.html +0 -346
  36. data/html/Sycsvpro.html +0 -155
  37. data/html/created.rid +0 -24
  38. data/html/fonts/Lato-Light.ttf +0 -0
  39. data/html/fonts/Lato-LightItalic.ttf +0 -0
  40. data/html/fonts/Lato-Regular.ttf +0 -0
  41. data/html/fonts/Lato-RegularItalic.ttf +0 -0
  42. data/html/fonts/SourceCodePro-Bold.ttf +0 -0
  43. data/html/fonts/SourceCodePro-Regular.ttf +0 -0
  44. data/html/fonts.css +0 -167
  45. data/html/images/add.png +0 -0
  46. data/html/images/arrow_up.png +0 -0
  47. data/html/images/brick.png +0 -0
  48. data/html/images/brick_link.png +0 -0
  49. data/html/images/bug.png +0 -0
  50. data/html/images/bullet_black.png +0 -0
  51. data/html/images/bullet_toggle_minus.png +0 -0
  52. data/html/images/bullet_toggle_plus.png +0 -0
  53. data/html/images/date.png +0 -0
  54. data/html/images/delete.png +0 -0
  55. data/html/images/find.png +0 -0
  56. data/html/images/loadingAnimation.gif +0 -0
  57. data/html/images/macFFBgHack.png +0 -0
  58. data/html/images/package.png +0 -0
  59. data/html/images/page_green.png +0 -0
  60. data/html/images/page_white_text.png +0 -0
  61. data/html/images/page_white_width.png +0 -0
  62. data/html/images/plugin.png +0 -0
  63. data/html/images/ruby.png +0 -0
  64. data/html/images/tag_blue.png +0 -0
  65. data/html/images/tag_green.png +0 -0
  66. data/html/images/transparent.png +0 -0
  67. data/html/images/wrench.png +0 -0
  68. data/html/images/wrench_orange.png +0 -0
  69. data/html/images/zoom.png +0 -0
  70. data/html/index.html +0 -225
  71. data/html/js/darkfish.js +0 -140
  72. data/html/js/jquery.js +0 -18
  73. data/html/js/navigation.js +0 -142
  74. data/html/js/search.js +0 -109
  75. data/html/js/search_index.js +0 -1
  76. data/html/js/searcher.js +0 -228
  77. data/html/rdoc.css +0 -580
  78. data/html/table_of_contents.html +0 -347
data/html/Sycsvpro.html DELETED
@@ -1,155 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>module Sycsvpro - Your application title</title>
8
-
9
- <link href="./fonts.css" rel="stylesheet">
10
- <link href="./rdoc.css" rel="stylesheet">
11
-
12
- <script type="text/javascript">
13
- var rdoc_rel_prefix = "./";
14
- </script>
15
-
16
- <script src="./js/jquery.js"></script>
17
- <script src="./js/navigation.js"></script>
18
- <script src="./js/search_index.js"></script>
19
- <script src="./js/search.js"></script>
20
- <script src="./js/searcher.js"></script>
21
- <script src="./js/darkfish.js"></script>
22
-
23
-
24
- <body id="top" role="document" class="module">
25
- <nav role="navigation">
26
- <div id="project-navigation">
27
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
- <h2>
29
- <a href="./index.html" rel="home">Home</a>
30
- </h2>
31
-
32
- <div id="table-of-contents-navigation">
33
- <a href="./table_of_contents.html#pages">Pages</a>
34
- <a href="./table_of_contents.html#classes">Classes</a>
35
- <a href="./table_of_contents.html#methods">Methods</a>
36
- </div>
37
- </div>
38
-
39
- <div id="search-section" role="search" class="project-section initially-hidden">
40
- <form action="#" method="get" accept-charset="utf-8">
41
- <div id="search-field-wrapper">
42
- <input id="search-field" role="combobox" aria-label="Search"
43
- aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
45
- title="Type to search, Up and Down to navigate, Enter to load">
46
- </div>
47
-
48
- <ul id="search-results" aria-label="Search Results"
49
- aria-busy="false" aria-expanded="false"
50
- aria-atomic="false" class="initially-hidden"></ul>
51
- </form>
52
- </div>
53
-
54
- </div>
55
-
56
-
57
-
58
- <div id="class-metadata">
59
-
60
-
61
-
62
-
63
-
64
- </div>
65
- </nav>
66
-
67
- <main role="main" aria-labelledby="module-Sycsvpro">
68
- <h1 id="module-Sycsvpro" class="module">
69
- module Sycsvpro
70
- </h1>
71
-
72
- <section class="description">
73
-
74
- <p>Operating csv files</p>
75
-
76
- <p>Operating csv files</p>
77
-
78
- <p>Operating csv files</p>
79
-
80
- <p>Operating csv files</p>
81
-
82
- <p>Operating csv files</p>
83
-
84
- <p>Operating csv files</p>
85
-
86
- <p>Operating csv files</p>
87
-
88
- <p>Operating csv files</p>
89
-
90
- <p>Operating csv files</p>
91
-
92
- <p>Operating csv files</p>
93
-
94
- <p>Operating csv files</p>
95
-
96
- <p>Operating csv files</p>
97
-
98
- <p>Operating csv files</p>
99
-
100
- <p>Operating csv files</p>
101
-
102
- <p>Operating csv files</p>
103
-
104
- <p>Operating csv files</p>
105
-
106
- <p>Operating csv files</p>
107
-
108
- <p>Operating csv files</p>
109
-
110
- <p>Operating csv files</p>
111
-
112
- </section>
113
-
114
-
115
-
116
-
117
- <section id="5Buntitled-5D" class="documentation-section">
118
-
119
-
120
-
121
-
122
-
123
- <section class="constants-list">
124
- <header>
125
- <h3>Constants</h3>
126
- </header>
127
- <dl>
128
-
129
- <dt id="Result">Result
130
-
131
- <dd><p>Holds the analytics of the file</p>
132
-
133
-
134
- <dt id="VERSION">VERSION
135
-
136
- <dd><p>Version number of sycsvpro</p>
137
-
138
-
139
- </dl>
140
- </section>
141
-
142
-
143
-
144
-
145
-
146
- </section>
147
- </main>
148
-
149
-
150
- <footer id="validator-badges" role="contentinfo">
151
- <p><a href="http://validator.w3.org/check/referer">Validate</a>
152
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
153
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
154
- </footer>
155
-
data/html/created.rid DELETED
@@ -1,24 +0,0 @@
1
- Wed, 12 Mar 2014 23:51:45 +0100
2
- README.rdoc Thu, 06 Mar 2014 18:59:37 +0100
3
- lib/sycsvpro.rb Tue, 04 Mar 2014 21:03:44 +0100
4
- lib/sycsvpro/aggregator.rb Tue, 04 Mar 2014 21:40:52 +0100
5
- lib/sycsvpro/allocator.rb Fri, 07 Mar 2014 22:30:55 +0100
6
- lib/sycsvpro/analyzer.rb Tue, 18 Feb 2014 19:57:28 +0100
7
- lib/sycsvpro/calculator.rb Wed, 12 Mar 2014 23:47:35 +0100
8
- lib/sycsvpro/collector.rb Sun, 16 Feb 2014 20:59:27 +0100
9
- lib/sycsvpro/column_filter.rb Fri, 28 Feb 2014 08:24:47 +0100
10
- lib/sycsvpro/column_type_filter.rb Fri, 28 Feb 2014 18:17:46 +0100
11
- lib/sycsvpro/counter.rb Thu, 06 Mar 2014 15:41:41 +0100
12
- lib/sycsvpro/dsl.rb Sun, 02 Mar 2014 17:59:05 +0100
13
- lib/sycsvpro/extractor.rb Sat, 22 Feb 2014 17:58:18 +0100
14
- lib/sycsvpro/filter.rb Thu, 06 Mar 2014 12:08:45 +0100
15
- lib/sycsvpro/header.rb Tue, 18 Feb 2014 19:50:26 +0100
16
- lib/sycsvpro/inserter.rb Tue, 25 Feb 2014 22:40:30 +0100
17
- lib/sycsvpro/mapper.rb Tue, 18 Feb 2014 19:45:47 +0100
18
- lib/sycsvpro/profiler.rb Sun, 16 Feb 2014 21:31:39 +0100
19
- lib/sycsvpro/row_filter.rb Tue, 18 Feb 2014 19:45:25 +0100
20
- lib/sycsvpro/script_creator.rb Sun, 23 Feb 2014 20:35:21 +0100
21
- lib/sycsvpro/script_list.rb Sun, 23 Feb 2014 21:03:22 +0100
22
- lib/sycsvpro/sorter.rb Sun, 02 Mar 2014 21:07:30 +0100
23
- lib/sycsvpro/version.rb Wed, 12 Mar 2014 21:37:56 +0100
24
- bin/sycsvpro Wed, 12 Mar 2014 23:41:41 +0100
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/html/fonts.css DELETED
@@ -1,167 +0,0 @@
1
- /*
2
- * Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
3
- * with Reserved Font Name "Source". All Rights Reserved. Source is a
4
- * trademark of Adobe Systems Incorporated in the United States and/or other
5
- * countries.
6
- *
7
- * This Font Software is licensed under the SIL Open Font License, Version
8
- * 1.1.
9
- *
10
- * This license is copied below, and is also available with a FAQ at:
11
- * http://scripts.sil.org/OFL
12
- */
13
-
14
- @font-face {
15
- font-family: "Source Code Pro";
16
- font-style: normal;
17
- font-weight: 400;
18
- src: local("Source Code Pro"),
19
- local("SourceCodePro-Regular"),
20
- url("fonts/SourceCodePro-Regular.ttf") format("truetype");
21
- }
22
-
23
- @font-face {
24
- font-family: "Source Code Pro";
25
- font-style: normal;
26
- font-weight: 700;
27
- src: local("Source Code Pro Bold"),
28
- local("SourceCodePro-Bold"),
29
- url("fonts/SourceCodePro-Bold.ttf") format("truetype");
30
- }
31
-
32
- /*
33
- * Copyright (c) 2010, Łukasz Dziedzic (dziedzic@typoland.com),
34
- * with Reserved Font Name Lato.
35
- *
36
- * This Font Software is licensed under the SIL Open Font License, Version
37
- * 1.1.
38
- *
39
- * This license is copied below, and is also available with a FAQ at:
40
- * http://scripts.sil.org/OFL
41
- */
42
-
43
- @font-face {
44
- font-family: "Lato";
45
- font-style: normal;
46
- font-weight: 300;
47
- src: local("Lato Light"),
48
- local("Lato-Light"),
49
- url("fonts/Lato-Light.ttf") format("truetype");
50
- }
51
-
52
- @font-face {
53
- font-family: "Lato";
54
- font-style: italic;
55
- font-weight: 300;
56
- src: local("Lato Light Italic"),
57
- local("Lato-LightItalic"),
58
- url("fonts/Lato-LightItalic.ttf") format("truetype");
59
- }
60
-
61
- @font-face {
62
- font-family: "Lato";
63
- font-style: normal;
64
- font-weight: 700;
65
- src: local("Lato Regular"),
66
- local("Lato-Regular"),
67
- url("fonts/Lato-Regular.ttf") format("truetype");
68
- }
69
-
70
- @font-face {
71
- font-family: "Lato";
72
- font-style: italic;
73
- font-weight: 700;
74
- src: local("Lato Italic"),
75
- local("Lato-Italic"),
76
- url("fonts/Lato-RegularItalic.ttf") format("truetype");
77
- }
78
-
79
- /*
80
- * -----------------------------------------------------------
81
- * SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
82
- * -----------------------------------------------------------
83
- *
84
- * PREAMBLE
85
- * The goals of the Open Font License (OFL) are to stimulate worldwide
86
- * development of collaborative font projects, to support the font creation
87
- * efforts of academic and linguistic communities, and to provide a free and
88
- * open framework in which fonts may be shared and improved in partnership
89
- * with others.
90
- *
91
- * The OFL allows the licensed fonts to be used, studied, modified and
92
- * redistributed freely as long as they are not sold by themselves. The
93
- * fonts, including any derivative works, can be bundled, embedded,
94
- * redistributed and/or sold with any software provided that any reserved
95
- * names are not used by derivative works. The fonts and derivatives,
96
- * however, cannot be released under any other type of license. The
97
- * requirement for fonts to remain under this license does not apply
98
- * to any document created using the fonts or their derivatives.
99
- *
100
- * DEFINITIONS
101
- * "Font Software" refers to the set of files released by the Copyright
102
- * Holder(s) under this license and clearly marked as such. This may
103
- * include source files, build scripts and documentation.
104
- *
105
- * "Reserved Font Name" refers to any names specified as such after the
106
- * copyright statement(s).
107
- *
108
- * "Original Version" refers to the collection of Font Software components as
109
- * distributed by the Copyright Holder(s).
110
- *
111
- * "Modified Version" refers to any derivative made by adding to, deleting,
112
- * or substituting -- in part or in whole -- any of the components of the
113
- * Original Version, by changing formats or by porting the Font Software to a
114
- * new environment.
115
- *
116
- * "Author" refers to any designer, engineer, programmer, technical
117
- * writer or other person who contributed to the Font Software.
118
- *
119
- * PERMISSION & CONDITIONS
120
- * Permission is hereby granted, free of charge, to any person obtaining
121
- * a copy of the Font Software, to use, study, copy, merge, embed, modify,
122
- * redistribute, and sell modified and unmodified copies of the Font
123
- * Software, subject to the following conditions:
124
- *
125
- * 1) Neither the Font Software nor any of its individual components,
126
- * in Original or Modified Versions, may be sold by itself.
127
- *
128
- * 2) Original or Modified Versions of the Font Software may be bundled,
129
- * redistributed and/or sold with any software, provided that each copy
130
- * contains the above copyright notice and this license. These can be
131
- * included either as stand-alone text files, human-readable headers or
132
- * in the appropriate machine-readable metadata fields within text or
133
- * binary files as long as those fields can be easily viewed by the user.
134
- *
135
- * 3) No Modified Version of the Font Software may use the Reserved Font
136
- * Name(s) unless explicit written permission is granted by the corresponding
137
- * Copyright Holder. This restriction only applies to the primary font name as
138
- * presented to the users.
139
- *
140
- * 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
141
- * Software shall not be used to promote, endorse or advertise any
142
- * Modified Version, except to acknowledge the contribution(s) of the
143
- * Copyright Holder(s) and the Author(s) or with their explicit written
144
- * permission.
145
- *
146
- * 5) The Font Software, modified or unmodified, in part or in whole,
147
- * must be distributed entirely under this license, and must not be
148
- * distributed under any other license. The requirement for fonts to
149
- * remain under this license does not apply to any document created
150
- * using the Font Software.
151
- *
152
- * TERMINATION
153
- * This license becomes null and void if any of the above conditions are
154
- * not met.
155
- *
156
- * DISCLAIMER
157
- * THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
158
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
159
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
160
- * OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
161
- * COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
162
- * INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
163
- * DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
164
- * FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
165
- * OTHER DEALINGS IN THE FONT SOFTWARE.
166
- */
167
-
data/html/images/add.png DELETED
Binary file
Binary file
Binary file
Binary file
data/html/images/bug.png DELETED
Binary file
Binary file
Binary file
Binary file
data/html/images/date.png DELETED
Binary file
Binary file
data/html/images/find.png DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/html/images/ruby.png DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/html/images/zoom.png DELETED
Binary file
data/html/index.html DELETED
@@ -1,225 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="UTF-8">
6
-
7
- <title>Your application title</title>
8
-
9
- <link href="./fonts.css" rel="stylesheet">
10
- <link href="./rdoc.css" rel="stylesheet">
11
-
12
- <script type="text/javascript">
13
- var rdoc_rel_prefix = "./";
14
- </script>
15
-
16
- <script src="./js/jquery.js"></script>
17
- <script src="./js/navigation.js"></script>
18
- <script src="./js/search_index.js"></script>
19
- <script src="./js/search.js"></script>
20
- <script src="./js/searcher.js"></script>
21
- <script src="./js/darkfish.js"></script>
22
-
23
-
24
- <body id="top" role="document" class="file">
25
- <nav role="navigation">
26
- <div id="project-navigation">
27
- <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
- <h2>
29
- <a href="./index.html" rel="home">Home</a>
30
- </h2>
31
-
32
- <div id="table-of-contents-navigation">
33
- <a href="./table_of_contents.html#pages">Pages</a>
34
- <a href="./table_of_contents.html#classes">Classes</a>
35
- <a href="./table_of_contents.html#methods">Methods</a>
36
- </div>
37
- </div>
38
-
39
-
40
- <div id="search-section" role="search" class="project-section initially-hidden">
41
- <form action="#" method="get" accept-charset="utf-8">
42
- <div id="search-field-wrapper">
43
- <input id="search-field" role="combobox" aria-label="Search"
44
- aria-autocomplete="list" aria-controls="search-results"
45
- type="text" name="search" placeholder="Search" spellcheck="false"
46
- title="Type to search, Up and Down to navigate, Enter to load">
47
- </div>
48
-
49
- <ul id="search-results" aria-label="Search Results"
50
- aria-busy="false" aria-expanded="false"
51
- aria-atomic="false" class="initially-hidden"></ul>
52
- </form>
53
- </div>
54
-
55
- </div>
56
-
57
- <div id="project-metadata">
58
- <div id="fileindex-section" class="nav-section">
59
- <h3>Pages</h3>
60
-
61
- <ul class="link-list">
62
-
63
- <li><a href="./README_rdoc.html">README</a>
64
-
65
- </ul>
66
- </div>
67
-
68
- <div id="classindex-section" class="nav-section">
69
- <h3>Class and Module Index</h3>
70
-
71
- <ul class="link-list">
72
-
73
- <li><a href="./Dsl.html">Dsl</a>
74
-
75
- <li><a href="./Object.html">Object</a>
76
-
77
- <li><a href="./Sycsvpro.html">Sycsvpro</a>
78
-
79
- <li><a href="./Sycsvpro/Aggregator.html">Sycsvpro::Aggregator</a>
80
-
81
- <li><a href="./Sycsvpro/Allocator.html">Sycsvpro::Allocator</a>
82
-
83
- <li><a href="./Sycsvpro/Analyzer.html">Sycsvpro::Analyzer</a>
84
-
85
- <li><a href="./Sycsvpro/Calculator.html">Sycsvpro::Calculator</a>
86
-
87
- <li><a href="./Sycsvpro/Collector.html">Sycsvpro::Collector</a>
88
-
89
- <li><a href="./Sycsvpro/ColumnFilter.html">Sycsvpro::ColumnFilter</a>
90
-
91
- <li><a href="./Sycsvpro/ColumnTypeFilter.html">Sycsvpro::ColumnTypeFilter</a>
92
-
93
- <li><a href="./Sycsvpro/Counter.html">Sycsvpro::Counter</a>
94
-
95
- <li><a href="./Sycsvpro/Extractor.html">Sycsvpro::Extractor</a>
96
-
97
- <li><a href="./Sycsvpro/Filter.html">Sycsvpro::Filter</a>
98
-
99
- <li><a href="./Sycsvpro/Header.html">Sycsvpro::Header</a>
100
-
101
- <li><a href="./Sycsvpro/Inserter.html">Sycsvpro::Inserter</a>
102
-
103
- <li><a href="./Sycsvpro/Mapper.html">Sycsvpro::Mapper</a>
104
-
105
- <li><a href="./Sycsvpro/Profiler.html">Sycsvpro::Profiler</a>
106
-
107
- <li><a href="./Sycsvpro/RowFilter.html">Sycsvpro::RowFilter</a>
108
-
109
- <li><a href="./Sycsvpro/ScriptCreator.html">Sycsvpro::ScriptCreator</a>
110
-
111
- <li><a href="./Sycsvpro/ScriptList.html">Sycsvpro::ScriptList</a>
112
-
113
- <li><a href="./Sycsvpro/Sorter.html">Sycsvpro::Sorter</a>
114
-
115
- </ul>
116
- </div>
117
-
118
- </div>
119
- </nav>
120
-
121
- <main role="main">
122
-
123
-
124
- <h1 id="label-sycsvpro">sycsvpro<span><a href="#label-sycsvpro">&para;</a> <a href="#documentation">&uarr;</a></span></h1>
125
- <dl class="rdoc-list note-list"><dt>Author
126
- <dd>
127
- <p>Pierre Sugar (<a
128
- href="mailto:pierre@sugaryourcoffee.de">pierre@sugaryourcoffee.de</a>)</p>
129
- </dd><dt>Copyright
130
- <dd>
131
- <p>Copyright © 2014 by Pierre Sugar</p>
132
- </dd><dt>License
133
- <dd>
134
- <p>Distributed uder the MIT license, see LICENSE in the source distro</p>
135
- </dd></dl>
136
-
137
- <p>The application provides an interface for analyzing, cleaning and operating
138
- on csv files</p>
139
-
140
- <p><a href="http://badge.fury.io/rb/sycsvpro"><img
141
- src="https://badge.fury.io/rb/sycsvpro.png" alt="Gem Version" /></a></p>
142
-
143
- <h2 id="label-Install">Install<span><a href="#label-Install">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
144
-
145
- <p>Install:</p>
146
-
147
- <pre>gem install sycsvpro</pre>
148
-
149
- <h2 id="label-Use">Use<span><a href="#label-Use">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
150
-
151
- <pre>sycsvpro --help</pre>
152
-
153
- <h2 id="label-Developing+for+%60sycsvpro%60">Developing for `sycsvpro`<span><a href="#label-Developing+for+%60sycsvpro%60">&para;</a> <a href="#documentation">&uarr;</a></span></h2>
154
-
155
- <p>First install bundler</p>
156
-
157
- <pre>gem install bundler</pre>
158
-
159
- <p>Get the development dependencies</p>
160
-
161
- <pre>bundle install</pre>
162
-
163
- <p>The code is in</p>
164
-
165
- <pre>lib/sycsvpro
166
- bin</pre>
167
-
168
- <p>Tests are in</p>
169
-
170
- <pre>spec/sycsvpro</pre>
171
-
172
- <p>Test files are in</p>
173
-
174
- <pre>spec/sycsvpro/files</pre>
175
-
176
- <h1 id="label-sycsvpro">sycsvpro<span><a href="#label-sycsvpro">&para;</a> <a href="#documentation">&uarr;</a></span></h1>
177
-
178
- <p>NAME</p>
179
-
180
- <pre>sycsvpro - Processing CSV files</pre>
181
-
182
- <p>SYNOPSIS</p>
183
-
184
- <pre>sycsvpro [global options] command [command options] [arguments...]</pre>
185
-
186
- <p>VERSION</p>
187
-
188
- <pre>0.1.0</pre>
189
-
190
- <p>GLOBAL OPTIONS</p>
191
-
192
- <pre>-f, --file=FILE - CSV file to operate on (default: none)
193
- --help - Show this message
194
- -o, --out=OUT_FILE - CSV file to write the result to (default: none)
195
- -s, --[no-]silent - Silent progress doesn&#39;t show progress indicator
196
- --version - Display the program version</pre>
197
-
198
- <p>COMMANDS</p>
199
-
200
- <pre>aggregate - Aggregates the occurences of row values. Optionally adds a sum row
201
- allocate - Allocate specified columns from the file to a key value
202
- analyze - Analyze the CSV file regarding columns, rows and content
203
- calc - Process math operations on columns. Optionally adds a sum row
204
- collect - Collect values of specified rows and columns from the file and group them in
205
- categories
206
- count - Counts the occurences of column values. Uses column values as headings with count as
207
- values. Columns with a condition will be added as new columns and the condition will
208
- be set as column name. Optionally adds a sum row
209
- execute - Executes the code provided in a file
210
- extract - Extract specified rows and columns from the file
211
- help - Shows a list of commands or help for one command
212
- insert - Inserts rows from a file to a csv-file
213
- list - List scripts in the scripts directory with optionally listing methods
214
- map - Map values in columns to new values
215
- sort - Sort columns based on column values</pre>
216
- </main>
217
-
218
-
219
-
220
- <footer id="validator-badges" role="contentinfo">
221
- <p><a href="http://validator.w3.org/check/referer">Validate</a>
222
- <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
223
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
224
- </footer>
225
-