smarter_csv 1.2.5 → 1.2.6
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/README.md +3 -0
- data/lib/smarter_csv/smarter_csv.rb +1 -1
- data/lib/smarter_csv/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77507cc3d8322b2da611aaf3ff9493e7c8a19d2753d219a26c82f7bf2d7f3c02
|
|
4
|
+
data.tar.gz: 4041685f5b56b9f7973f69a24963bda588feaf9677e59eda209676160683b96e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a4a12f41d69fe9323b75ec04d6710fc239a7ad9728477e3fb19c47e8b8fc8ff1f31aaff164c677303a42911d16f30ba91e4ee5b3574d21661e0d3e6649270b15
|
|
7
|
+
data.tar.gz: 84ce000df312ec06afd794150c923ae066db955095a2e612aaf31ee1afe2097b95f12087637a98e7adb838040b8df08ac701a94e7a5891f0f8f4ba3b666591ba
|
data/README.md
CHANGED
|
@@ -324,6 +324,9 @@ Planned in the next releases:
|
|
|
324
324
|
|
|
325
325
|
## Changes
|
|
326
326
|
|
|
327
|
+
#### 1.2.6 (2018-11-13)
|
|
328
|
+
* fixing error caused by calling f.close when we do not hand in a file
|
|
329
|
+
|
|
327
330
|
#### 1.2.5 (2018-09-16)
|
|
328
331
|
* fixing issue #136 with comments in CSV files
|
|
329
332
|
* fixing error class hierarchy
|
|
@@ -248,7 +248,7 @@ module SmarterCSV
|
|
|
248
248
|
end
|
|
249
249
|
ensure
|
|
250
250
|
$/ = old_row_sep # make sure this stupid global variable is always reset to it's previous value after we're done!
|
|
251
|
-
f.close
|
|
251
|
+
f.close if f.respond_to?(:close)
|
|
252
252
|
end
|
|
253
253
|
if block_given?
|
|
254
254
|
return chunk_count # when we do processing through a block we only care how many chunks we processed
|
data/lib/smarter_csv/version.rb
CHANGED
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.2.
|
|
4
|
+
version: 1.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 'Tilo Sloboda
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2018-
|
|
13
|
+
date: 2018-11-13 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rspec
|