linsc 0.0.14 → 0.0.15
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 +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1f5c825c166ae8ef260a5623a555f74fda6b586
|
4
|
+
data.tar.gz: 9e57106bf1fbe1e2e892af030150a638db8d2065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
7
|
+
spec.version = "0.0.15"
|
8
8
|
spec.authors = ["Dan Molloy"]
|
9
9
|
spec.email = ["danieljmolloy1@gmail.com"]
|
10
|
-
spec.date = '2016-03
|
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.
|
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
|
11
|
+
date: 2016-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|