linsc 0.0.13 → 0.0.14

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
  SHA1:
3
- metadata.gz: 860af1f8cbc663cbda78430c095ecf50238c6605
4
- data.tar.gz: dbc62551110192f40775c0768529351f543a9d2e
3
+ metadata.gz: f8720faceb31752c971113fb7dee9731fec3dc1f
4
+ data.tar.gz: c638639eb2db292688b660beef0bc55c7f92f1fa
5
5
  SHA512:
6
- metadata.gz: a6e6363cf30625e2a359b806a5c1c410e8bc58673ca8a5113acbafdd4e25e804750307cec179bc06f8b519e01318886d22fee4a378352127c32b860d1d3abdfe
7
- data.tar.gz: 7c617d9559c0e7eac42a178074903a70b72b19997c6d44c59f5dacf174536d10779d38ae79ee1f917ffc93c5c19e45eca9a68c7222f20ff500bd7f338e8f474d
6
+ metadata.gz: 2902803b1b5acbefae13a3c27d00c6dc64c59af4a138b2b61bafe055fcd6b592e96dc723d32951ec736a9a3adf7ff6aef23a3fd2b010f9103b0c9d48662c3c3a
7
+ data.tar.gz: 4333c9963f93ba9f93b83b2960054ab74ed9aa8df605fc70ee3b7f1e2ec39790fb8db0ff8d4589c53b634876c9f0c656226d0fd3f07c7bb08473e5326f1afb4a
data/.gitignore CHANGED
File without changes
data/.rspec CHANGED
File without changes
data/.travis.yml CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/bin/console CHANGED
File without changes
data/bin/linsc CHANGED
File without changes
data/bin/setup CHANGED
File without changes
data/data/agents.txt CHANGED
File without changes
data/data/cacert.pem CHANGED
File without changes
data/data/proxies.txt CHANGED
File without changes
data/data/recruiters.txt CHANGED
File without changes
File without changes
File without changes
File without changes
data/lib/linsc/duck.rb CHANGED
@@ -23,6 +23,7 @@ class DuckScraper
23
23
  working_dir, input_file, output_file, options[:noproxy]
24
24
 
25
25
  @headers = get_headers(@input_file)
26
+ @headers.delete("LinkedIn Profile")
26
27
  @headers << "Linkedin Import Status" unless @headers.include?("Linkedin Import Status")
27
28
  @headers << "Urls" unless @headers.include?("Urls")
28
29
  @input_length = CSV.read(@input_file).length - 1
@@ -49,6 +50,13 @@ class DuckScraper
49
50
  end
50
51
  puts "ddg #{count}/#{@input_length}"
51
52
  begin
53
+ lp = input_row["LinkedIn Profile"]
54
+ input_row.delete("LinkedIn Profile")
55
+ if lp && lp.include?('linkedin')
56
+ puts "Existing Linkedin url found, skipping DDG"
57
+ append_ddg_row(input_row, "Using existing url", lp)
58
+ next
59
+ end
52
60
  unless sufficient_data?(input_row)
53
61
  puts "Insufficient data, skipping"
54
62
  append_ddg_row(input_row, "Insufficient Data", nil)
data/lib/linsc/lin.rb CHANGED
File without changes
data/lib/linsc/merger.rb CHANGED
File without changes
data/lib/linsc/parsers.rb CHANGED
File without changes
data/lib/linsc/proxy.rb CHANGED
File without changes
File without changes
data/lib/linsc.rb CHANGED
File without changes
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.13"
7
+ spec.version = "0.0.14"
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.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Molloy
@@ -103,6 +103,7 @@ files:
103
103
  - data/cacert.pem
104
104
  - data/proxies.txt
105
105
  - data/recruiters.txt
106
+ - data/recruiters.txt~
106
107
  - lib/linsc.rb
107
108
  - lib/linsc/cross_ref.rb
108
109
  - lib/linsc/csv_handlers.rb