patchwork_csv_utils 0.1.12-x86_64-darwin → 0.1.13-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: 4f012eaf003161f08ade65aa3c2a54b0553feedae7216f3b44ba9441feeb7d33
4
+ data.tar.gz: f5814a46e7904e2978e7cebb4d7d9974f7d276103113614306ac5fcbadcf14a5
5
5
  SHA512:
6
- metadata.gz: d0e184033fa2e6ed8418ccafd4f7747aa8111e490167031295efbc147f5d1a12f991ff3934af269e65872c3f1d2ef2140c11160ce8fb6143b52e4f790c4ad5cf
7
- data.tar.gz: d767afc020114a7ae899ac63e775f20e3bdc4547aecaae86199d6ca87d08c982a32397447d2340a6fd4aa3872f77624f46219803eaa186ad2cd37a286992b194
6
+ metadata.gz: 423d649b923a34cf1f8c5108963defad7ad8df387e8f9e4c1383721634b769dbd14afc7416f044f94cc48556d0a2d56d1a6397b64c737b2f17751a0d939902a7
7
+ data.tar.gz: 816a069003eccda9ddfff97d5a47c32cde942172823d6bc3dad41092d3c7b8544fb6d41667d8e16e7b9a225498334ae3cdf93a9b93343213d59568fbd89fa4dc
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.13)
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"))?;
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.13'
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.13
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-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Deduplication of CSV files and XLS to CSV conversion.
14
14
  email: