patchwork_csv_utils 0.1.12-arm64-darwin → 0.1.14-arm64-darwin

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: b7519fbd1b436e3f4602de66aa2393ca727c90db477c6edffc7fb08e9c2ab40d
4
- data.tar.gz: 8cd0ee225cb6fda320b6f839a4b9459270910f5d0493eea4f8e2eb60e3ef8e36
3
+ metadata.gz: 172c8e0bf5ad90f820bdcbf4d8b257371cf6ddab0b921e5554041df750aa1697
4
+ data.tar.gz: f1147bce506cb6ecbb3e0c57715824457fabb41bcb31e6f5ccedf3857e9eff8c
5
5
  SHA512:
6
- metadata.gz: 02c93b89707680857a780321e0969f118c80db5e8d4bae023419261fa78e5b3197609e9ae8caac9240e54abe6fa61b57bf81c8d36cb4a544fd9079f6077268eb
7
- data.tar.gz: 69baa42921aab09bee7fa8c147e88f2f97b690a12ffe2085dee4df59dc7ce1e736c8572fb952f864656e4f8033f144af76239f041b12963d051212f3a58c3d12
6
+ metadata.gz: 0f003e674fdc18bed44adca8e78bd05bc3c3d515520735b53dce3cdbcf8c9c0b51352bbccd030533c1b9a1e806148d5dfea9442f15fd9dba40a65ec5ef43dd60
7
+ data.tar.gz: 265f55bbcfd7c74e82702145b44abc9f2380b6ec60be2fc23cf58a5b24a5cd0acf506c5bf59e7beec467e96b927b1602a22bc3665a249b703bb2b08aebf5153d
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: arm64-darwin
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: