patchwork_csv_utils 0.1.12-aarch64-linux → 0.1.14-aarch64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a9baa054dc47d677049c1a18ea775cee2ee3735fc8bae291c1664d00d102031
4
- data.tar.gz: 2c1699a7e30283e44d2e4f79f486acebe17295566b988008914b3224007ac25c
3
+ metadata.gz: 422d2afff63c53510b9a1bb0c88247f744f9d5f9069d95826a3e08f4fcbf2fa4
4
+ data.tar.gz: 6bdd3003161ce3be0a7a5eae1063246652655f3cbe0eab8bb141b159ec95c7b3
5
5
  SHA512:
6
- metadata.gz: 16b13c0311dc0190910e74010637a9c45e29237a393670b47dd279f660cd16335688b4ce090977768972c44bbfafcc03f47dcb172096c9b03179245b18b6c1c5
7
- data.tar.gz: 00f0f1fadd89f4df9741556b9c6d1733d7c46b78bbe3aa4c1c640c892c723fdf840805d6f3c82dc4c2f0c2f5cd5d3153aa0a9242d3a6823e230368c6a5f7f9d3
6
+ metadata.gz: 8225046c33463cabea12bc3cf36c50b9a7cb729586df4df54f05b37d46df70989ee881afc2251cf0a645ec87279847688c36f9be6dd2f168450841622529ef70
7
+ data.tar.gz: 3177cfa282238919c6e81f40f000cc24b6f4c797c3890c2f4b757979c95e05b12119d876a164c62cba03c27ffd7a8c4b4f9f122b22d6dfe5ea69bb3d2846f635
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: aarch64-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: