smarter_csv 1.1.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +133 -0
- data/CHANGELOG.md +218 -0
- data/CONTRIBUTORS.md +50 -0
- data/Gemfile +7 -4
- data/LICENSE.txt +21 -0
- data/README.md +125 -175
- data/Rakefile +14 -19
- data/ext/smarter_csv/extconf.rb +14 -0
- data/ext/smarter_csv/smarter_csv.c +86 -0
- data/lib/extensions/hash.rb +4 -4
- data/lib/smarter_csv/version.rb +3 -1
- data/lib/smarter_csv.rb +521 -4
- data/smarter_csv.gemspec +35 -16
- metadata +92 -111
- data/.gitignore +0 -8
- data/.rspec +0 -2
- data/.travis.yml +0 -29
- data/lib/smarter_csv/smarter_csv.rb +0 -248
- data/spec/fixtures/basic.csv +0 -8
- data/spec/fixtures/binary.csv +0 -1
- data/spec/fixtures/carriage_returns_n.csv +0 -18
- data/spec/fixtures/carriage_returns_quoted.csv +0 -3
- data/spec/fixtures/carriage_returns_r.csv +0 -1
- data/spec/fixtures/carriage_returns_rn.csv +0 -18
- data/spec/fixtures/chunk_cornercase.csv +0 -10
- data/spec/fixtures/empty.csv +0 -5
- data/spec/fixtures/line_endings_n.csv +0 -4
- data/spec/fixtures/line_endings_r.csv +0 -1
- data/spec/fixtures/line_endings_rn.csv +0 -4
- data/spec/fixtures/lots_of_columns.csv +0 -2
- data/spec/fixtures/money.csv +0 -3
- data/spec/fixtures/no_header.csv +0 -7
- data/spec/fixtures/numeric.csv +0 -5
- data/spec/fixtures/pets.csv +0 -5
- data/spec/fixtures/quoted.csv +0 -5
- data/spec/fixtures/separator.csv +0 -4
- data/spec/fixtures/with_dashes.csv +0 -8
- data/spec/fixtures/with_dates.csv +0 -4
- data/spec/smarter_csv/binary_file2_spec.rb +0 -24
- data/spec/smarter_csv/binary_file_spec.rb +0 -22
- data/spec/smarter_csv/carriage_return_spec.rb +0 -170
- data/spec/smarter_csv/chunked_reading_spec.rb +0 -14
- data/spec/smarter_csv/column_separator_spec.rb +0 -11
- data/spec/smarter_csv/convert_values_to_numeric_spec.rb +0 -48
- data/spec/smarter_csv/header_transformation_spec.rb +0 -21
- data/spec/smarter_csv/keep_headers_spec.rb +0 -24
- data/spec/smarter_csv/key_mapping_spec.rb +0 -25
- data/spec/smarter_csv/line_ending_spec.rb +0 -43
- data/spec/smarter_csv/load_basic_spec.rb +0 -20
- data/spec/smarter_csv/no_header_spec.rb +0 -24
- data/spec/smarter_csv/not_downcase_header_spec.rb +0 -24
- data/spec/smarter_csv/quoted_spec.rb +0 -13
- data/spec/smarter_csv/remove_empty_values_spec.rb +0 -13
- data/spec/smarter_csv/remove_keys_from_hashes_spec.rb +0 -25
- data/spec/smarter_csv/remove_not_mapped_keys_spec.rb +0 -35
- data/spec/smarter_csv/remove_values_matching_spec.rb +0 -26
- data/spec/smarter_csv/remove_zero_values_spec.rb +0 -25
- data/spec/smarter_csv/strings_as_keys_spec.rb +0 -24
- data/spec/smarter_csv/strip_chars_from_headers_spec.rb +0 -24
- data/spec/smarter_csv/value_converters_spec.rb +0 -52
- data/spec/spec/spec_helper.rb +0 -17
- data/spec/spec.opts +0 -2
- data/spec/spec_helper.rb +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ab42c787dba96369ba0f499294d5421cc2fc9a514b1cff039e5017d19fd2ff4c
|
4
|
+
data.tar.gz: f3605e56395d498169c449657945c00c677a75d17e2a7cbcca1a4f4e65aa45f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a264574b464219fd53a862be345c008fc0a93c076345d62be4c75935a148f9a469ccbea14fb2f821cedaada1f2b4ec875468ef50b3ae173bcbb76a5079d43406
|
7
|
+
data.tar.gz: 978236fa33bf4656eba89d929545c81ec2dc28b179890dd4254fb04cfa9b8646f4040aa2a62d44361dea221714f1cba0d7e4c858d338d30080c4a0e43c003552
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,133 @@
|
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.5 # purposely an old Ruby version
|
3
|
+
|
4
|
+
Layout/SpaceBeforeBlockBraces:
|
5
|
+
Enabled: false
|
6
|
+
|
7
|
+
Layout/SpaceInsideBlockBraces:
|
8
|
+
Enabled: false
|
9
|
+
|
10
|
+
Layout/SpaceInsideHashLiteralBraces:
|
11
|
+
Enabled: false
|
12
|
+
|
13
|
+
Layout/SpaceAroundOperators:
|
14
|
+
Enabled: false
|
15
|
+
|
16
|
+
Metrics/AbcSize:
|
17
|
+
Enabled: false
|
18
|
+
|
19
|
+
Metrics/BlockLength:
|
20
|
+
Enabled: false
|
21
|
+
|
22
|
+
Metrics/BlockNesting:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
Metrics/CyclomaticComplexity: # BS rule
|
26
|
+
Enabled: false
|
27
|
+
|
28
|
+
Metrics/MethodLength:
|
29
|
+
Enabled: false
|
30
|
+
|
31
|
+
Metrics/ModuleLength:
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
Metrics/PerceivedComplexity: # BS rule
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
Naming/PredicateName:
|
38
|
+
Enabled: false
|
39
|
+
|
40
|
+
Naming/VariableName:
|
41
|
+
Enabled: false
|
42
|
+
|
43
|
+
Naming/VariableNumber:
|
44
|
+
Enabled: false
|
45
|
+
|
46
|
+
Style/ClassEqualityComparison:
|
47
|
+
Enabled: false
|
48
|
+
|
49
|
+
Style/ConditionalAssignment:
|
50
|
+
Enabled: false
|
51
|
+
|
52
|
+
Style/CommentedKeyword:
|
53
|
+
Enabled: false
|
54
|
+
|
55
|
+
Style/Documentation:
|
56
|
+
Enabled: false
|
57
|
+
|
58
|
+
Style/DoubleNegation: # that's how to make true boolean results - this rule is nonsense
|
59
|
+
Enabled: false
|
60
|
+
|
61
|
+
Style/EmptyElse:
|
62
|
+
Enabled: false
|
63
|
+
|
64
|
+
Style/Encoding:
|
65
|
+
Enabled: false
|
66
|
+
|
67
|
+
Style/EvalWithLocation:
|
68
|
+
Enabled: false
|
69
|
+
|
70
|
+
Style/FormatString:
|
71
|
+
Enabled: false
|
72
|
+
|
73
|
+
Style/FormatStringToken:
|
74
|
+
Enabled: false
|
75
|
+
|
76
|
+
Style/GuardClause:
|
77
|
+
Enabled: false
|
78
|
+
|
79
|
+
Style/IfInsideElse:
|
80
|
+
Enabled: false
|
81
|
+
|
82
|
+
Style/IfUnlessModifier:
|
83
|
+
Enabled: false
|
84
|
+
|
85
|
+
Style/NestedTernaryOperator:
|
86
|
+
Enabled: false
|
87
|
+
|
88
|
+
Style/PreferredHashMethods:
|
89
|
+
Enabled: false
|
90
|
+
|
91
|
+
Style/NumericPredicate:
|
92
|
+
Enabled: false
|
93
|
+
|
94
|
+
Style/PercentLiteralDelimiters:
|
95
|
+
Enabled: false
|
96
|
+
|
97
|
+
Style/RegexpLiteral:
|
98
|
+
Enabled: false
|
99
|
+
|
100
|
+
Style/SafeNavigation:
|
101
|
+
Enabled: false
|
102
|
+
|
103
|
+
Style/SlicingWithRange:
|
104
|
+
Enabled: false
|
105
|
+
|
106
|
+
Style/SpecialGlobalVars: # DANGER: unsafe rule!!
|
107
|
+
Enabled: false
|
108
|
+
|
109
|
+
Style/StringLiterals:
|
110
|
+
Enabled: false
|
111
|
+
EnforcedStyle: double_quotes
|
112
|
+
|
113
|
+
Style/StringLiteralsInInterpolation:
|
114
|
+
Enabled: false
|
115
|
+
EnforcedStyle: double_quotes
|
116
|
+
|
117
|
+
Style/SymbolProc: # old Ruby versions can't do this
|
118
|
+
Enabled: false
|
119
|
+
|
120
|
+
Style/TrailingCommaInHashLiteral:
|
121
|
+
Enabled: false
|
122
|
+
|
123
|
+
Style/TrailingUnderscoreVariable:
|
124
|
+
Enabled: false
|
125
|
+
|
126
|
+
# Style/UnlessModifier:
|
127
|
+
# Enabled: false
|
128
|
+
|
129
|
+
Style/ZeroLengthPredicate:
|
130
|
+
Enabled: false
|
131
|
+
|
132
|
+
Layout/LineLength:
|
133
|
+
Max: 240
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,218 @@
|
|
1
|
+
|
2
|
+
# SmarterCSV 1.x Change Log
|
3
|
+
|
4
|
+
## 1.7.1 (2022-07-31)
|
5
|
+
* bugfix (thanks to Viacheslav Markin, Nicolas Rodriguez)
|
6
|
+
## 1.7.0 (2022-06-26)
|
7
|
+
* added native code to accellerate line parsing by >10x over 1.6.0
|
8
|
+
* added option `acceleration`, defaulting to `true`, to enable native code.
|
9
|
+
Disable this option to use the ruby code for line parsing.
|
10
|
+
* increased test coverage to 100%
|
11
|
+
* rubocop changes
|
12
|
+
|
13
|
+
## 1.7.0.pre5 (2022-06-20)
|
14
|
+
* fixed compiling
|
15
|
+
* rubocop changes
|
16
|
+
* published pre-release
|
17
|
+
|
18
|
+
## 1.7.0.pre1 (2022-05-23)
|
19
|
+
* added native code to accellerate line parsing by >10x over 1.6.0
|
20
|
+
* added option `acceleration`, defaulting to `true`, to enable native code.
|
21
|
+
Disable this option to use the ruby code for line parsing.
|
22
|
+
* increased test coverage to 100%
|
23
|
+
|
24
|
+
## 1.6.1 (2022-05-06)
|
25
|
+
* unused keys in `key_mapping` now generate a warning, no longer raise an exception
|
26
|
+
This is preferable when `key_mapping` is done defensively for variabilities in the CSV files.
|
27
|
+
|
28
|
+
## 1.6.0 (2022-05-03)
|
29
|
+
* completely rewrote line parser
|
30
|
+
* added methods `SmarterCSV.raw_headers` and `SmarterCSV.headers` to allow easy examination of how the headers are processed.
|
31
|
+
|
32
|
+
## 1.5.2 (2022-04-29)
|
33
|
+
* added missing keys to the SmarterCSV::KeyMappingError exception message #189 (thanks to John Dell)
|
34
|
+
|
35
|
+
## 1.5.1 (2022-04-27)
|
36
|
+
* added raising of `KeyMappingError` if `key_mapping` refers to a non-existent key
|
37
|
+
* added option `duplicate_header_suffix` (thanks to Skye Shaw)
|
38
|
+
When given a non-nil string, it uses the suffix to append numbering 2..n to duplicate headers.
|
39
|
+
If your code will need to process arbitrary CSV files, please set `duplicate_header_suffix`.
|
40
|
+
|
41
|
+
## 1.5.0 (2022-04-25)
|
42
|
+
* fixed bug with trailing col_sep characters, introduced in 1.4.0
|
43
|
+
* Fix deprecation warning in Ruby 3.0.3 / $INPUT_RECORD_SEPARATOR (thanks to Joel Fouse )
|
44
|
+
|
45
|
+
* changed default for `comment_regexp` to be `nil` for a safer default behavior (thanks to David Lazar)
|
46
|
+
**Note**
|
47
|
+
This no longer assumes that lines starting with `#` are comments.
|
48
|
+
If you want to treat lines starting with '#' as comments, use `comment_regexp: /\A#/`
|
49
|
+
|
50
|
+
## 1.4.2 (2022-02-12)
|
51
|
+
* fixed issue with simplecov
|
52
|
+
|
53
|
+
## 1.4.1 (2022-02-12) (PULLED)
|
54
|
+
* minor fix: also support `col_sep: :auto`
|
55
|
+
* added simplecov
|
56
|
+
|
57
|
+
## 1.4.0 (2022-02-11)
|
58
|
+
* dropped GPL license, smarter_csv is now only using the MIT License
|
59
|
+
* added experimental option `col_sep: 'auto` to auto-detect the column separator (issue #183)
|
60
|
+
The default behavior is still to assume `,` is the column separator.
|
61
|
+
* fixed buggy behavior when using `remove_empty_values: false` (issue #168)
|
62
|
+
* fixed Ruby 3.0 deprecation
|
63
|
+
|
64
|
+
## 1.3.0 (2022-02-06) Breaking code change if you used `--key_mappings`
|
65
|
+
* fix bug for key_mappings (issue #181)
|
66
|
+
The values of the `key_mappings` hash will now be used "as is", and no longer forced to be symbols
|
67
|
+
|
68
|
+
**Users with existing code with `--key_mappings` need to change their code** to
|
69
|
+
* either use symbols in the `key_mapping` hash
|
70
|
+
* or change the expected keys from symbols to strings
|
71
|
+
|
72
|
+
## 1.2.9 (2021-11-22) (PULLED)
|
73
|
+
* fix bug for key_mappings (issue #181)
|
74
|
+
The values of the `key_mappings` hash will now be used "as is", and no longer forced to be symbols
|
75
|
+
|
76
|
+
## 1.2.8 (2020-02-04)
|
77
|
+
* fix deprecation warnings on Ruby 2.7 (thank to Diego Salido)
|
78
|
+
|
79
|
+
## 1.2.7 (2020-02-03)
|
80
|
+
|
81
|
+
## 1.2.6 (2018-11-13)
|
82
|
+
* fixing error caused by calling f.close when we do not hand in a file
|
83
|
+
|
84
|
+
## 1.2.5 (2018-09-16)
|
85
|
+
* fixing issue #136 with comments in CSV files
|
86
|
+
* fixing error class hierarchy
|
87
|
+
|
88
|
+
## 1.2.4 (2018-08-06)
|
89
|
+
* using Rails blank? if it's available
|
90
|
+
|
91
|
+
## 1.2.3 (2018-01-27)
|
92
|
+
* fixed regression / test
|
93
|
+
* fuxed quote_char interpolation for headers, but not data (thanks to Colin Petruno)
|
94
|
+
* bugfix (thanks to Joshua Smith for reporting)
|
95
|
+
|
96
|
+
## 1.2.0 (2018-01-20)
|
97
|
+
* add default validation that a header can only appear once
|
98
|
+
* add option `required_headers`
|
99
|
+
|
100
|
+
## 1.1.5 (2017-11-05)
|
101
|
+
* fix issue with invalid byte sequences in header (issue #103, thanks to Dave Myron)
|
102
|
+
* fix issue with invalid byte sequences in multi-line data (thanks to Ivan Ushakov)
|
103
|
+
* analyze only 500 characters by default when `:row_sep => :auto` is used.
|
104
|
+
added option `row_sep_auto_chars` to change the default if necessary. (thanks to Matthieu Paret)
|
105
|
+
|
106
|
+
## 1.1.4 (2017-01-16)
|
107
|
+
* fixing UTF-8 related bug which was introduced in 1.1.2 (thanks to Tirdad C.)
|
108
|
+
|
109
|
+
## 1.1.3 (2016-12-30)
|
110
|
+
* added warning when options indicate UTF-8 processing, but input filehandle is not opened with r:UTF-8 option
|
111
|
+
|
112
|
+
## 1.1.2 (2016-12-29)
|
113
|
+
* added option `invalid_byte_sequence` (thanks to polycarpou)
|
114
|
+
* added comments on handling of UTF-8 encoding when opening from File vs. OpenURI (thanks to KevinColemanInc)
|
115
|
+
|
116
|
+
## 1.1.1 (2016-11-26)
|
117
|
+
* added option to `skip_lines` (thanks to wal)
|
118
|
+
* added option to `force_utf8` encoding (thanks to jordangraft)
|
119
|
+
* bugfix if no headers in input data (thanks to esBeee)
|
120
|
+
* ensure input file is closed (thanks to waldyr)
|
121
|
+
* improved verbose output (thankd to benmaher)
|
122
|
+
* improved documentation
|
123
|
+
|
124
|
+
## 1.1.0 (2015-07-26)
|
125
|
+
* added feature :value_converters, which allows parsing of dates, money, and other things (thanks to Raphaël Bleuse, Lucas Camargo de Almeida, Alejandro)
|
126
|
+
* added error if :headers_in_file is set to false, and no :user_provided_headers are given (thanks to innhyu)
|
127
|
+
* added support to convert dashes to underscore characters in headers (thanks to César Camacho)
|
128
|
+
* fixing automatic detection of \r\n line-endings (thanks to feens)
|
129
|
+
|
130
|
+
## 1.0.19 (2014-10-29)
|
131
|
+
* added option :keep_original_headers to keep CSV-headers as-is (thanks to Benjamin Thouret)
|
132
|
+
|
133
|
+
## 1.0.18 (2014-10-27)
|
134
|
+
* added support for multi-line fields / csv fields containing CR (thanks to Chris Hilton) (issue #31)
|
135
|
+
|
136
|
+
## 1.0.17 (2014-01-13)
|
137
|
+
* added option to set :row_sep to :auto , for automatic detection of the row-separator (issue #22)
|
138
|
+
|
139
|
+
## 1.0.16 (2014-01-13)
|
140
|
+
* :convert_values_to_numeric option can now be qualified with :except or :only (thanks to Hugo Lepetit)
|
141
|
+
* removed deprecated `process_csv` method
|
142
|
+
|
143
|
+
## 1.0.15 (2013-12-07)
|
144
|
+
* new option:
|
145
|
+
* :remove_unmapped_keys to completely ignore columns which were not mapped with :key_mapping (thanks to Dave Sanders)
|
146
|
+
|
147
|
+
## 1.0.14 (2013-11-01)
|
148
|
+
* added GPL-2 and MIT license to GEM spec file; if you need another license contact me
|
149
|
+
|
150
|
+
## 1.0.12 (2013-10-15)
|
151
|
+
* added RSpec tests
|
152
|
+
|
153
|
+
## 1.0.11 (2013-09-28)
|
154
|
+
* bugfix : fixed issue #18 - fixing issue with last chunk not being properly returned (thanks to Jordan Running)
|
155
|
+
* added RSpec tests
|
156
|
+
|
157
|
+
## 1.0.10 (2013-06-26)
|
158
|
+
* bugfix : fixed issue #14 - passing options along to CSV.parse (thanks to Marcos Zimmermann)
|
159
|
+
|
160
|
+
## 1.0.9 (2013-06-19)
|
161
|
+
* bugfix : fixed issue #13 with negative integers and floats not being correctly converted (thanks to Graham Wetzler)
|
162
|
+
|
163
|
+
## 1.0.8 (2013-06-01)
|
164
|
+
|
165
|
+
* bugfix : fixed issue with nil values in inputs with quote-char (thanks to Félix Bellanger)
|
166
|
+
* new options:
|
167
|
+
* :force_simple_split : to force simiple splitting on :col_sep character for non-standard CSV-files. e.g. without properly escaped :quote_char
|
168
|
+
* :verbose : print out line number while processing (to track down problems in input files)
|
169
|
+
|
170
|
+
## 1.0.7 (2013-05-20)
|
171
|
+
|
172
|
+
* allowing process to work with objects with a 'readline' method (thanks to taq)
|
173
|
+
* added options:
|
174
|
+
* :file_encoding : defaults to utf8 (thanks to MrTin, Paxa)
|
175
|
+
|
176
|
+
## 1.0.6 (2013-05-19)
|
177
|
+
|
178
|
+
* bugfix : quoted fields are now correctly parsed
|
179
|
+
|
180
|
+
## 1.0.5 (2013-05-08)
|
181
|
+
|
182
|
+
* bugfix : for :headers_in_file option
|
183
|
+
|
184
|
+
## 1.0.4 (2012-08-17)
|
185
|
+
|
186
|
+
* renamed the following options:
|
187
|
+
* :strip_whitepace_from_values => :strip_whitespace - removes leading/trailing whitespace from headers and values
|
188
|
+
|
189
|
+
## 1.0.3 (2012-08-16)
|
190
|
+
|
191
|
+
* added the following options:
|
192
|
+
* :strip_whitepace_from_values - removes leading/trailing whitespace from values
|
193
|
+
|
194
|
+
## 1.0.2 (2012-08-02)
|
195
|
+
|
196
|
+
* added more options for dealing with headers:
|
197
|
+
* :user_provided_headers ,user provided Array with header strings or symbols, to precisely define what the headers should be, overriding any in-file headers (default: nil)
|
198
|
+
* :headers_in_file , if the file contains headers as the first line (default: true)
|
199
|
+
|
200
|
+
## 1.0.1 (2012-07-30)
|
201
|
+
|
202
|
+
* added the following options:
|
203
|
+
* :downcase_header
|
204
|
+
* :strings_as_keys
|
205
|
+
* :remove_zero_values
|
206
|
+
* :remove_values_matching
|
207
|
+
* :remove_empty_hashes
|
208
|
+
* :convert_values_to_numeric
|
209
|
+
|
210
|
+
* renamed the following options:
|
211
|
+
* :remove_empty_fields => :remove_empty_values
|
212
|
+
|
213
|
+
|
214
|
+
## 1.0.0 (2012-07-29)
|
215
|
+
|
216
|
+
* renamed `SmarterCSV.process_csv` to `SmarterCSV.process`.
|
217
|
+
|
218
|
+
## 1.0.0.pre1 (2012-07-29)
|
data/CONTRIBUTORS.md
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# A Big Thank You to all the Contributors!!
|
2
|
+
|
3
|
+
|
4
|
+
A Big Thank you to everyone who filed issues, sent comments, and who contributed with pull requests:
|
5
|
+
|
6
|
+
* [Jack 0](https://github.com/xjlin0)
|
7
|
+
* [Alejandro](https://github.com/agaviria)
|
8
|
+
* [Lucas Camargo de Almeida](https://github.com/lcalmeida)
|
9
|
+
* [Raphaël Bleuse](https://github.com/bleuse)
|
10
|
+
* [feens](https://github.com/feens)
|
11
|
+
* [César Camacho](https://github.com/chanko)
|
12
|
+
* [innhyu](https://github.com/innhyu)
|
13
|
+
* [Benjamin Thouret](https://github.com/benichu)
|
14
|
+
* [Chris Hilton](https://github.com/chrismhilton)
|
15
|
+
* [Sean Duckett](http://github.com/sduckett)
|
16
|
+
* [Alex Ong](http://github.com/khaong)
|
17
|
+
* [Martin Nilsson](http://github.com/MrTin)
|
18
|
+
* [Eustáquio Rangel](http://github.com/taq)
|
19
|
+
* [Pavel](http://github.com/paxa)
|
20
|
+
* [Félix Bellanger](https://github.com/Keeguon)
|
21
|
+
* [Graham Wetzler](https://github.com/grahamwetzler)
|
22
|
+
* [Marcos G. Zimmermann](https://github.com/marcosgz)
|
23
|
+
* [Jordan Running](https://github.com/jrunning)
|
24
|
+
* [Dave Sanders](https://github.com/DaveSanders)
|
25
|
+
* [Hugo Lepetit](https://github.com/giglemad)
|
26
|
+
* [esBeee](https://github.com/esBeee)
|
27
|
+
* [Waldyr de Souza](https://github.com/waldyr)
|
28
|
+
* [Ben Maher](https://github.com/benmaher)
|
29
|
+
* [Wal McConnell](https://github.com/wal)
|
30
|
+
* [Jordan Graft](https://github.com/jordangraft)
|
31
|
+
* [Michael](https://github.com/polycarpou)
|
32
|
+
* [Kevin Coleman](https://github.com/KevinColemanInc)
|
33
|
+
* [Tirdad C.](https://github.com/tridadc)
|
34
|
+
* [Dave Myron](https://github.com/contentfree)
|
35
|
+
* [Ivan Ushakov](https://github.com/IvanUshakov)
|
36
|
+
* [Matthieu Paret](https://github.com/mtparet)
|
37
|
+
* [Rohit Amarnath](https://github.com/ramarnat)
|
38
|
+
* [Joshua Smith](https://github.com/enviable)
|
39
|
+
* [Colin Petruno](https://github.com/colinpetruno)
|
40
|
+
* [Diego Salido](https://github.com/salidux)
|
41
|
+
* [Elie](https://github.com/elieteyssedou)
|
42
|
+
* [Chris Wong](https://github.com/lightwave)
|
43
|
+
* [Olle Jonsson](https://github.com/olleolleolle)
|
44
|
+
* [Nicolas Guillemain](https://github.com/Viiruus)
|
45
|
+
* [Sp6](https://github.com/sp6)
|
46
|
+
* [Joel Fouse](https://github.com/jfouse)
|
47
|
+
* [John Dell](https://github.com/spovich)
|
48
|
+
* [Viacheslav Markin](https://github.com/KXEinc)
|
49
|
+
* [Nicolas Rodriguez](https://github.com/n-rodriguez)
|
50
|
+
* [Hirotaka Mizutani ](https://github.com/hirotaka)
|
data/Gemfile
CHANGED
@@ -1,11 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
source 'https://rubygems.org'
|
2
4
|
|
3
5
|
# Specify your gem's dependencies in smarter_csv.gemspec
|
4
6
|
gemspec
|
5
7
|
|
8
|
+
gem "rake" # , "< 11"
|
9
|
+
gem "rake-compiler"
|
6
10
|
|
7
|
-
gem
|
11
|
+
gem 'pry'
|
8
12
|
|
9
|
-
|
10
|
-
|
11
|
-
end
|
13
|
+
gem "rspec"
|
14
|
+
gem "rubocop"
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2012..2022 Tilo Sloboda
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|