patchwork_csv_utils 0.1.12-x86_64-linux → 0.1.14-x86_64-linux

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f1ff8917cb0cdd1a3f57ac35dcada6b4eaca668d5c543686123c52c82eeb122
4
- data.tar.gz: 6068c35072c1c2ff03359f62f7af722552e81fe01b0f6b9087cc13610c1d21cd
3
+ metadata.gz: 30d63239e5166c8534e462461e4973a5dadd39ab450226b7dbd6c3c7cddaa7d0
4
+ data.tar.gz: cab1593e1171eea64b7c529665be9114547e0264df60eba459c0de524f79fa91
5
5
  SHA512:
6
- metadata.gz: 6a4f942409488f71d987cf79bf22a772974965c5ad027d02ef32229909fad20132e50b08f7f5e93f1fe9dd64e1bfa9933a4d492ed14f6ddc4ed3feb137a3fc3e
7
- data.tar.gz: eaef6d732137590f8d010442655edfbd17135b98ad961da4a0831644121e67564b674fe78a9877a52dee1a15ea8ffaa6e8a7fdb6343e0e106e60316c2813dec6
6
+ metadata.gz: 4a7fbc1d06a848cf787460005b0824f9bb7a0b8d66616b8568467fcf9c118d102571100edf5b66c663854afdf97a0deedd0ff174d1c03ab72d8a71146f09fb76
7
+ data.tar.gz: 2b2a9dd72e61a2fec34e5e52fe75ca1da66e3a4b481e902b4581e824eda187271c08d85ac5859a5d3ef6dc61a7949faf632801f6055cf47bd5bc1adfebbe61df
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- patchwork_csv_utils (0.1.12)
4
+ patchwork_csv_utils (0.1.14)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -42,8 +42,7 @@ fn write_csv<W: Write>(ruby: &Ruby, dest: &mut W, range: &Range<Data>,
42
42
  header_map: HashMap<String, usize>, exclusions: Vec<String>,
43
43
  mandatory_headers: Vec<String>,
44
44
  headers_list: Vec<String>) -> magnus::error::Result<()> {
45
- let n = range.get_size().1 - 1;
46
-
45
+ let n = mandatory_headers.len() - 1;
47
46
  let request_id = header_map.get("Request Id").ok_or(missing_header(ruby, "Request Id"))?;
48
47
  let date = header_map.get("Date").ok_or(missing_header(ruby, "Date"))?;
49
48
  let start = header_map.get("Start").ok_or(missing_header(ruby, "Start"))?;
@@ -150,7 +149,6 @@ fn clean_strings(s: &str) -> String {
150
149
  s.replace("\n", " ")
151
150
  .replace("\r", " ")
152
151
  .replace("\"", "")
153
- .replace("'", "")
154
152
  }
155
153
 
156
154
  struct XlsMandatoryColumn<'a> {
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CsvUtils
4
- VERSION = '0.1.12'
4
+ VERSION = '0.1.14'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: patchwork_csv_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.14
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - kingsley.hendrickse
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Deduplication of CSV files and XLS to CSV conversion.
14
14
  email: