smarter_csv 1.0.12 → 1.0.14
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.
- checksums.yaml +4 -4
- data/.travis.yml +23 -3
- data/README.md +8 -1
- data/lib/smarter_csv/version.rb +1 -1
- data/smarter_csv.gemspec +1 -0
- metadata +5 -5
- data/LICENSE +0 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0de809c12c1c25c789fbd6727e7cbf22c2ca163a
|
|
4
|
+
data.tar.gz: c58846fdda8db460d85445bdb4a13afb8b820c91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c362e175aae92eeab199f99fdb9eb49ba77ea5cea4decc1eb672dca166a3b11f4a74b2a416ff482e1c15b112597e5a94797178ff56ccb916ee8b2e387df4bfe7
|
|
7
|
+
data.tar.gz: 11c4f7357010aec018b73f32c3e9b9f279af27aa00c46a732979dea9c05bdce2476345b1c569e6b27efd88d9633ed10dcde29fafd76cea03dbd20f0312937f7e
|
data/.travis.yml
CHANGED
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
language: ruby
|
|
2
2
|
bundler_args: --without development
|
|
3
3
|
rvm:
|
|
4
|
-
-
|
|
5
|
-
-
|
|
6
|
-
-
|
|
4
|
+
- 1.8.7
|
|
5
|
+
- 1.9.2
|
|
6
|
+
- 1.9.3
|
|
7
|
+
- 2.0.0
|
|
8
|
+
- jruby-18mode
|
|
9
|
+
- jruby-19mode
|
|
10
|
+
- rbx-18mode
|
|
11
|
+
- rbx-19mode
|
|
12
|
+
- ruby-head
|
|
13
|
+
- jruby-head
|
|
14
|
+
- ree
|
|
15
|
+
jdk:
|
|
16
|
+
- oraclejdk7
|
|
17
|
+
- openjdk7
|
|
18
|
+
env: JRUBY_OPTS="--server -Xcompile.invokedynamic=false -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -J-Xms512m -J-Xmx1024m"
|
|
19
|
+
matrix:
|
|
20
|
+
allow_failures:
|
|
21
|
+
- rvm: jruby-head
|
|
22
|
+
- rvm: ruby-head
|
|
23
|
+
- rvm: ree
|
|
24
|
+
- rvm: 1.8.7
|
|
25
|
+
- rvm: jruby-18mode
|
|
26
|
+
- rvm: rbx-18mode
|
|
7
27
|
branches:
|
|
8
28
|
only:
|
|
9
29
|
- master
|
data/README.md
CHANGED
|
@@ -176,7 +176,8 @@ The options and the block are optional.
|
|
|
176
176
|
* if the chunk_size is > 0 , then the array may contain up to chunk_size Hashes.
|
|
177
177
|
* this can be very useful when passing chunked data to a post-processing step, e.g. through Resque
|
|
178
178
|
|
|
179
|
-
#### Known
|
|
179
|
+
#### Known Issues:
|
|
180
|
+
* if you are using 1.8.7 versions of Ruby, JRuby, or Ruby Enterprise Edition, `smarter_csv` will have problems with double-quoted fields, because of a bug in an underlying library.
|
|
180
181
|
* if your CSV data contains the :row_sep character, e.g. CR, smarter_csv will not be able to handle the data, but will report `CSV::MalformedCSVError: Unclosed quoted field`.
|
|
181
182
|
|
|
182
183
|
|
|
@@ -215,6 +216,12 @@ Or install it yourself as:
|
|
|
215
216
|
|
|
216
217
|
## Changes
|
|
217
218
|
|
|
219
|
+
#### 1.0.14 (2013-11-01)
|
|
220
|
+
* added GPL-2 and MIT license to GEM spec file; if you need another license contact me
|
|
221
|
+
|
|
222
|
+
#### 1.0.13 (2013-11-01) ### YANKED!
|
|
223
|
+
* added GPL-2 license to GEM spec file; if you need another license contact me
|
|
224
|
+
|
|
218
225
|
#### 1.0.12 (2013-10-15)
|
|
219
226
|
* added RSpec tests
|
|
220
227
|
|
data/lib/smarter_csv/version.rb
CHANGED
data/smarter_csv.gemspec
CHANGED
|
@@ -15,6 +15,7 @@ Gem::Specification.new do |gem|
|
|
|
15
15
|
gem.require_paths = ["lib"]
|
|
16
16
|
gem.requirements = ['csv'] # for CSV.parse() only needed in case we have quoted fields
|
|
17
17
|
gem.version = SmarterCSV::VERSION
|
|
18
|
+
gem.licenses = ['MIT','GPL-2']
|
|
18
19
|
gem.add_development_dependency "rspec"
|
|
19
20
|
# gem.add_development_dependency "guard-rspec"
|
|
20
21
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smarter_csv
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- |
|
|
@@ -11,7 +11,7 @@ autorequire:
|
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
13
|
|
|
14
|
-
date: 2013-
|
|
14
|
+
date: 2013-11-02 00:00:00 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rspec
|
|
@@ -41,7 +41,6 @@ files:
|
|
|
41
41
|
- .rvmrc
|
|
42
42
|
- .travis.yml
|
|
43
43
|
- Gemfile
|
|
44
|
-
- LICENSE
|
|
45
44
|
- README.md
|
|
46
45
|
- Rakefile
|
|
47
46
|
- lib/extensions/hash.rb
|
|
@@ -74,8 +73,9 @@ files:
|
|
|
74
73
|
- spec/spec/spec_helper.rb
|
|
75
74
|
- spec/spec_helper.rb
|
|
76
75
|
homepage: https://github.com/tilo/smarter_csv
|
|
77
|
-
licenses:
|
|
78
|
-
|
|
76
|
+
licenses:
|
|
77
|
+
- MIT
|
|
78
|
+
- GPL-2
|
|
79
79
|
metadata: {}
|
|
80
80
|
|
|
81
81
|
post_install_message:
|
data/LICENSE
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2012 Tilo Sloboda
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
MIT License
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
7
|
-
a copy of this software and associated documentation files (the
|
|
8
|
-
"Software"), to deal in the Software without restriction, including
|
|
9
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
10
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
11
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
12
|
-
the following conditions:
|
|
13
|
-
|
|
14
|
-
The above copyright notice and this permission notice shall be
|
|
15
|
-
included in all copies or substantial portions of the Software.
|
|
16
|
-
|
|
17
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
18
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
19
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
20
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
21
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
22
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
23
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|