dedup_csv 0.1.1-x64-mingw-ucrt → 0.1.2-x64-mingw-ucrt

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: 46fc4a873daaad9dde681799944fbb1fa0b690a93ddb2eb3d20d427f3daeec43
4
- data.tar.gz: 8f9ca5affca5f5d82f4ba6a68644d46a5c95fe9f505efbbc17b7d0fa2c5bf397
3
+ metadata.gz: 646a3051039f84851fa98c466c3a31b70d6169f4ae03bd832805c728b27fb548
4
+ data.tar.gz: 17c267ef6ac68dd7e5a06926d73136ce7b01a511fa88fe63d6d35fe98e1009e9
5
5
  SHA512:
6
- metadata.gz: ffc92418bb4c8259c90d576d36a55d557b818ce08cb6e886e0b9c2f5d7f7ada15f765535ee30c2420497ef7cc12a6abe02336718ad44f9dce2536bb4a60e323c
7
- data.tar.gz: db4d0953c057bc30efa41268d403e7496dccfd45141aeb3229604da3fddfc71a5730b01b6d6559672088545acd73fee186849f7c217089142a8ba16fc5d051a3
6
+ metadata.gz: e01e23a5bf463419325fd8dd6c46b626fa4459ee43da99c7ae7dd2ac57d0db90aa3b25c54938a5a3cd82a02b926374975e1c0c3511c89c9aac6235068e2f3c47
7
+ data.tar.gz: 11570897637b3762c5d798a0d7aaad75a2a1abdc38d61d3af0b37aa8f5819d560931aaf813bced831927eefb94518dd36a1c8d8a9dc3f962505dca552b84f5da
data/.rubocop.yml CHANGED
@@ -7,6 +7,9 @@ Style/StringLiterals:
7
7
  Enabled: true
8
8
  EnforcedStyle: single_quotes
9
9
 
10
+ Style/Documentation:
11
+ Enabled: false
12
+
10
13
  Style/StringLiteralsInInterpolation:
11
14
  Enabled: true
12
15
  EnforcedStyle: double_quotes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dedup_csv (0.1.1)
4
+ dedup_csv (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
  rubocop (~> 1.21)
68
68
 
69
69
  BUNDLED WITH
70
- 2.4.4
70
+ 2.4.10
data/README.md CHANGED
@@ -11,7 +11,7 @@ gem install dedup_csv
11
11
  ## Usage
12
12
 
13
13
  ```irb
14
- require 'dedup_csv/3.2/dedup_csv'
14
+ require 'dedup_csv'
15
15
  DedupCsv.dedup('file1.csv', 'file2.csv', 'output.csv')
16
16
  ```
17
17
 
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DedupCsv
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
data/lib/dedup_csv.rb CHANGED
@@ -1,9 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # load native extension
4
+ begin
5
+ ruby_version = /(\d+\.\d+)/.match(RUBY_VERSION)
6
+ require_relative "#{ruby_version}/dedup_csv"
7
+ rescue LoadError
8
+ require_relative 'dedup_csv/dedup_csv'
9
+ end
10
+
3
11
  require_relative 'dedup_csv/version'
4
- require_relative 'dedup_csv/dedup_csv'
5
12
 
6
13
  module DedupCsv
7
- class Error < StandardError; end
8
- # Your code goes here...
9
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dedup_csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - kingsley.hendrickse
@@ -10,7 +10,8 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Given 2 csv files of the same shape will find a delta
13
+ description: Given 2 CSV files, remove all rows from the second CSV that are present
14
+ in the first CSV.
14
15
  email:
15
16
  - kingsley.hendrickse@patchwork.health
16
17
  executables: []
@@ -33,10 +34,11 @@ files:
33
34
  - lib/dedup_csv/3.2/dedup_csv.so
34
35
  - lib/dedup_csv/version.rb
35
36
  - sig/dedup_csv.rbs
36
- homepage: http://github.com
37
+ homepage: http://github.com/kingsleyh/dedup_csv
37
38
  licenses: []
38
39
  metadata:
39
- homepage_uri: http://github.com
40
+ homepage_uri: http://github.com/kingsleyh/dedup_csv
41
+ source_code_uri: http://github.com/kingsleyh/dedup_csv
40
42
  rubygems_mfa_required: 'true'
41
43
  post_install_message:
42
44
  rdoc_options: []