network_profile 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: e68f15ab6289719cc178f3c5ed19929ee1aeb9c4696df0e81d4796eaff5df54a
4
- data.tar.gz: a7fe6b19cf46bbf92a926cb2209e207e27c79f39fee3b528fac6e4fcc60b5078
3
+ metadata.gz: c7f823168ee25fc5a0401b78415694abf2e3b395a48044053a897ec26d3448cc
4
+ data.tar.gz: 23f9fd4cc0444d44d3ee4a951943ea91e4ddb05f1e41e5253863e6e7ffd43157
5
5
  SHA512:
6
- metadata.gz: fd35d91176939e964ff5f0c4cc674dd92c0110952885af131283f301721f92eef1b82e4e9b749223b2dc7d9cc93fb22481cc97342981fba45579a71b44116a4a
7
- data.tar.gz: c9c815db05afaf507dbb46a46c52088214f087c83b962899a06a185e0e4abccf0e232e3c93db7b06fedc81f1605e9d1f72150eea7f7ff7c262da500b4505d634
6
+ metadata.gz: a9b814867cbf9bcf2c8adecc62c50ea18b09cb265e69882cfaba68e9cfd55bac6d7b25e8e1499f9ca5c44b2c370c1447c907d0edeccfb091bd6c0048fc2fa118
7
+ data.tar.gz: fb6416ab2c6adf5fccf9feeacd0d171b5ed9df6a554c1349c83356768447d87cd2a1d025c3e5f9e8ec1fef90b4cae12f683abf847b73527ce9d8b9b0a01fa0d2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- network_profile (0.3.0)
4
+ network_profile (0.3.1)
5
5
  activesupport (>= 5.0.0)
6
6
  nokogiri
7
7
  rdf-microdata
@@ -11,49 +11,67 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (6.0.3.4)
14
+ activesupport (6.1.4)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
- i18n (>= 0.7, < 2)
17
- minitest (~> 5.1)
18
- tzinfo (~> 1.1)
19
- zeitwerk (~> 2.2, >= 2.2.2)
16
+ i18n (>= 1.6, < 2)
17
+ minitest (>= 5.1)
18
+ tzinfo (~> 2.0)
19
+ zeitwerk (~> 2.3)
20
20
  addressable (2.7.0)
21
21
  public_suffix (>= 2.0.2, < 5.0)
22
22
  coderay (1.1.3)
23
- concurrent-ruby (1.1.7)
23
+ concurrent-ruby (1.1.9)
24
24
  crack (0.4.4)
25
25
  diff-lcs (1.4.4)
26
- ethon (0.12.0)
27
- ffi (>= 1.3.0)
28
- ffi (1.13.1)
26
+ ethon (0.14.0)
27
+ ffi (>= 1.15.0)
28
+ ffi (1.15.3)
29
+ haml (5.2.1)
30
+ temple (>= 0.8.0)
31
+ tilt
29
32
  hamster (3.0.0)
30
33
  concurrent-ruby (~> 1.0)
31
34
  hashdiff (1.0.1)
32
35
  htmlentities (4.3.4)
33
- i18n (1.8.5)
36
+ i18n (1.8.10)
34
37
  concurrent-ruby (~> 1.0)
35
38
  link_header (0.0.8)
36
39
  method_source (1.0.0)
37
- mini_portile2 (2.4.0)
38
- minitest (5.14.2)
39
- nokogiri (1.10.10)
40
- mini_portile2 (~> 2.4.0)
40
+ mini_portile2 (2.5.3)
41
+ minitest (5.14.4)
42
+ nokogiri (1.11.7)
43
+ mini_portile2 (~> 2.5.0)
44
+ racc (~> 1.4)
41
45
  pry (0.13.1)
42
46
  coderay (~> 1.1)
43
47
  method_source (~> 1.0)
44
48
  public_suffix (4.0.6)
49
+ racc (1.5.2)
45
50
  rake (12.3.3)
46
51
  rbs (0.14.0)
47
- rdf (3.1.6)
52
+ rdf (3.1.15)
48
53
  hamster (~> 3.0)
49
54
  link_header (~> 0.0, >= 0.0.8)
50
- rdf-microdata (3.1.1)
55
+ rdf-aggregate-repo (3.1.0)
56
+ rdf (~> 3.1)
57
+ rdf-microdata (3.1.3)
51
58
  htmlentities (~> 4.3)
52
59
  nokogiri (~> 1.10)
53
- rdf (~> 3.1)
60
+ rdf (~> 3.1, >= 3.1.13)
61
+ rdf-rdfa (~> 3.1, >= 3.1.3)
54
62
  rdf-xsd (~> 3.1)
55
- rdf-xsd (3.1.0)
63
+ rdf-rdfa (3.1.3)
64
+ haml (~> 5.2)
65
+ htmlentities (~> 4.3)
66
+ rdf (~> 3.1, >= 3.1.13)
67
+ rdf-aggregate-repo (~> 3.1)
68
+ rdf-vocab (~> 3.1, >= 3.1.11)
69
+ rdf-xsd (~> 3.1)
70
+ rdf-vocab (3.1.13)
71
+ rdf (~> 3.1, >= 3.1.12)
72
+ rdf-xsd (3.1.1)
56
73
  rdf (~> 3.1)
74
+ rexml (~> 3.2)
57
75
  rexml (3.2.4)
58
76
  rspec (3.9.0)
59
77
  rspec-core (~> 3.9.0)
@@ -68,17 +86,18 @@ GEM
68
86
  diff-lcs (>= 1.2.0, < 2.0)
69
87
  rspec-support (~> 3.9.0)
70
88
  rspec-support (3.9.3)
71
- thread_safe (0.3.6)
89
+ temple (0.8.2)
90
+ tilt (2.0.10)
72
91
  typhoeus (1.4.0)
73
92
  ethon (>= 0.9.0)
74
- tzinfo (1.2.7)
75
- thread_safe (~> 0.1)
93
+ tzinfo (2.0.4)
94
+ concurrent-ruby (~> 1.0)
76
95
  vcr (6.0.0)
77
96
  webmock (3.9.1)
78
97
  addressable (>= 2.3.6)
79
98
  crack (>= 0.3.2)
80
99
  hashdiff (>= 0.4.0, < 2.0.0)
81
- zeitwerk (2.4.1)
100
+ zeitwerk (2.4.2)
82
101
 
83
102
  PLATFORMS
84
103
  ruby
@@ -94,4 +113,4 @@ DEPENDENCIES
94
113
  webmock
95
114
 
96
115
  BUNDLED WITH
97
- 2.1.4
116
+ 2.2.16
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # NetworkProfile
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/network_profile.svg)](https://badge.fury.io/rb/network_profile)
4
+
5
+
3
6
  Extractor Gem to analyse random strings for profile links of user. E.g. User uploads a PDF, scan it for all references to a social network profile.
4
7
 
5
8
  This work is extracted from the German Applicant Tracking System EBMS (https://bms.empfehlungsbund.de).
@@ -7,7 +7,7 @@ module NetworkProfile
7
7
  end
8
8
 
9
9
  def title
10
- doc.at('h1').text.strip
10
+ doc.at('h1')&.text&.strip
11
11
  end
12
12
 
13
13
  def text
@@ -1,3 +1,3 @@
1
1
  module NetworkProfile
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: network_profile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Wienert
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-02 00:00:00.000000000 Z
11
+ date: 2021-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.2.0.rc.1
143
+ rubygems_version: 3.2.15
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Extract profile metadata from various social-media-profiles