linsc 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/linsc/merger.rb +1 -1
  3. data/linsc.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61d2879139cd308af83918858f43cb5532e79d85
4
- data.tar.gz: 980e4e9f6f5a48e13362369d51a60866215ffe24
3
+ metadata.gz: 6592e6700dca1d71ba381695184a01b2893dd35a
4
+ data.tar.gz: 229bb6f3900be5049e472400c75c6d447e62b0ed
5
5
  SHA512:
6
- metadata.gz: 39748ef631269a18d68a7a542009e6e52eb241a0bdff105041dc5426f8ac529218cee1d909064cbd4f2b575881bbfe93ac228bfb4599a07c2777d25880395550
7
- data.tar.gz: 2432881fd81ece7e82ceb251df2b21889d52b1d9a3b3c6c7876534ef35333e076460763e5a1a5cbd669fc1db8a27b052f4541fda29f6fc268479d28ce36a2ec5
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.3"
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linsc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Molloy