patchwork_csv_utils 0.1.12-x86_64-darwin → 0.1.14-x86_64-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: 6641485d47a1ac2560273f63ee4666a84648b03c2fd493fdbf822f71b95b5058
4
- data.tar.gz: 1c0d98407df7fbd7b1d50a16457cc672a6542bf854655ac402b546ff58fed05c
3
+ metadata.gz: 4fd4159c51eef4f66d0c52126f2242f13ccd217ba22c7404a40be722d2af7035
4
+ data.tar.gz: 1adac7eeea69b0f42eb95da36292c49abd7db140d83da9d81725296e93953fba
5
5
  SHA512:
6
- metadata.gz: d0e184033fa2e6ed8418ccafd4f7747aa8111e490167031295efbc147f5d1a12f991ff3934af269e65872c3f1d2ef2140c11160ce8fb6143b52e4f790c4ad5cf
7
- data.tar.gz: d767afc020114a7ae899ac63e775f20e3bdc4547aecaae86199d6ca87d08c982a32397447d2340a6fd4aa3872f77624f46219803eaa186ad2cd37a286992b194
6
+ metadata.gz: 1aa2f37e56f6fb6a12b7320236f16c6fef82d26eae4dafb189eb61e3413dd6207898c4f333a22ebef788d8fa523c45ad19ab02026bb9e788027c03b58c877973
7
+ data.tar.gz: e7b3bac31e3783f2cdc4701be85bc22e88d58be796d15138ecea4d2786075448982bb14e40600429edb929de0ecc24a649a76cbcfde0b6aadcae76c3562122c3
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-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: