dedup_csv 0.1.1-x86_64-linux-musl → 0.1.2-x86_64-linux-musl

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: c8d96c1554006e43d6327794ec8ffa67730660d50afba12addcca2e72551f1fc
4
- data.tar.gz: 609cf2a07320a051bfbfb46868d4f3d268ee7ee3765ce2834a7c7a64e00887ad
3
+ metadata.gz: 7536441d826a01cea77d710f2f829d2117b97f2d9d7197f578c3c12bd0a006e0
4
+ data.tar.gz: 8507d121674bbd259fd4acf45aedcd3a2901ff61a328223cc62c857715192e99
5
5
  SHA512:
6
- metadata.gz: 80fece252c1ddd8701fdb0fa8e070dff2545a82ae49e4d65e7d7c0754cc6fc07b973a5f8c0d8d654c99dedd9207d6be6ad4e68f80e35b44f4bfbda5804b61acd
7
- data.tar.gz: e78e7dbffaae44de88742c093ca33a374cad402aed48369941a1cb2bfe380af48f9ca5c30d1b36fde7141af23c3d8a420dc2c22544e4c37cbf63a277d0bcf650
6
+ metadata.gz: d3328c2967bd16e6c9e79b69a06363c86c97205d95fc6c47a760294fcf754890d5aff2d884a25428c6febe3065eb1bc235b6f846d10d8728f865a1434ea1ef3f
7
+ data.tar.gz: 54910ee3c215693e6a783c391578de2538b978693c877e0216e1edfb585272a4372355b5dd92cdee5cc3b25cd9a6d4a2c4fb23a713e95df31fd660d8d3d2b1f9
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
 
@@ -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: x86_64-linux-musl
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: []
@@ -35,10 +36,11 @@ files:
35
36
  - lib/dedup_csv/3.2/dedup_csv.so
36
37
  - lib/dedup_csv/version.rb
37
38
  - sig/dedup_csv.rbs
38
- homepage: http://github.com
39
+ homepage: http://github.com/kingsleyh/dedup_csv
39
40
  licenses: []
40
41
  metadata:
41
- homepage_uri: http://github.com
42
+ homepage_uri: http://github.com/kingsleyh/dedup_csv
43
+ source_code_uri: http://github.com/kingsleyh/dedup_csv
42
44
  rubygems_mfa_required: 'true'
43
45
  post_install_message:
44
46
  rdoc_options: []