linsc 0.0.14 → 0.0.15

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 +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8720faceb31752c971113fb7dee9731fec3dc1f
4
- data.tar.gz: c638639eb2db292688b660beef0bc55c7f92f1fa
3
+ metadata.gz: a1f5c825c166ae8ef260a5623a555f74fda6b586
4
+ data.tar.gz: 9e57106bf1fbe1e2e892af030150a638db8d2065
5
5
  SHA512:
6
- metadata.gz: 2902803b1b5acbefae13a3c27d00c6dc64c59af4a138b2b61bafe055fcd6b592e96dc723d32951ec736a9a3adf7ff6aef23a3fd2b010f9103b0c9d48662c3c3a
7
- data.tar.gz: 4333c9963f93ba9f93b83b2960054ab74ed9aa8df605fc70ee3b7f1e2ec39790fb8db0ff8d4589c53b634876c9f0c656226d0fd3f07c7bb08473e5326f1afb4a
6
+ metadata.gz: fd1f651f6a9c60d3ddc1d80592adcf939ab61039b82a6852df1771150b21db471179ac98fc545ff7fdd05402f7f817f3d2fc98c1af9877d90006d4627dea305b
7
+ data.tar.gz: 8ecea1e3e3d0c3ae711e1007c9f65cbd7463534b5e685af14931deec2c57cb9e35316535b125259a4e9f48990fbc2af5f277dff6c235c91fcf881ef531e55b23
data/lib/linsc/merger.rb CHANGED
@@ -60,7 +60,7 @@ class Merger
60
60
  output_row = CSV::Row.new(@headers, [])
61
61
  correct_row.each do |key, value|
62
62
  if @mapping[key]
63
- output_row[@mapping[key]] = value.encode('utf-8') if value
63
+ output_row[@mapping[key]] = value.encode('utf-8', invalid: :replace, undef: :replace, replace: '?') if value
64
64
  end
65
65
  end
66
66
  output_row['Email'] = output_row['Email'].downcase if output_row['Email']
data/linsc.gemspec CHANGED
@@ -4,10 +4,10 @@ $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.14"
7
+ spec.version = "0.0.15"
8
8
  spec.authors = ["Dan Molloy"]
9
9
  spec.email = ["danieljmolloy1@gmail.com"]
10
- spec.date = '2016-03-31'
10
+ spec.date = '2016-06-03'
11
11
 
12
12
  spec.summary = %q{Scrape Linkedin and import to Salesforce}
13
13
  spec.description = %q{A gem for scraping public data of Linkedin connections and importing the data to Salesforce.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linsc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Molloy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-31 00:00:00.000000000 Z
11
+ date: 2016-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler