linsc 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linsc/merger.rb +1 -1
- data/linsc.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6592e6700dca1d71ba381695184a01b2893dd35a
|
4
|
+
data.tar.gz: 229bb6f3900be5049e472400c75c6d447e62b0ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50f58ae940d139005e6ba95aad136a9bb263c0df45a07db492500c3c6153a2942d8c735ade047648df7ed46bf45f7fadbdc1a125d7fcd279270346f98791d784
|
7
|
+
data.tar.gz: 279f1cfe337987b1e348a8a2beb7240a82dc2253123284f9244aa1b4081c2d4b69f12e7ec857f8134155250654439ddc2c1ec276be8d011912d061b59f24b568
|
data/lib/linsc/merger.rb
CHANGED
@@ -8,7 +8,7 @@ class Merger
|
|
8
8
|
@input_dir, @output_path, @mapping = input_dir, output_path, mapping
|
9
9
|
recruiter_file = Pathname.new(File.dirname __dir__).realdirpath + '../data/recruiters.txt'
|
10
10
|
@recruiters = recruiter_file.read.split(",").collect{|r| r.strip}
|
11
|
-
@lin_files = @input_dir.children.select{|fn| fn.to_s.match(/^LIN.+\.csv/)}
|
11
|
+
@lin_files = @input_dir.children.select{|fn| fn.basename.to_s.match(/^LIN.+\.csv/)}
|
12
12
|
if mapping
|
13
13
|
@headers = mapping.values
|
14
14
|
else
|
data/linsc.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "linsc"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.5"
|
8
8
|
spec.authors = ["Dan Molloy"]
|
9
9
|
spec.email = ["danieljmolloy1@gmail.com"]
|
10
10
|
spec.date = '2016-03-31'
|