metainspector 5.13.0 → 5.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 865fdc9794d9a0d76d8b4c99b0bc33e95c562062966d5281dc3d820f20cff900
4
- data.tar.gz: 83ac1d870d8e063b2541dc49554429485adf9b5379d8d0bc9f0fb7ff16c9d083
3
+ metadata.gz: b6734b34c46280d1d22985a5c79d874214fb90d9b3683f4b3886afeae13c6727
4
+ data.tar.gz: 5fbe82e69b568b6635ddd134666289f3ff4bec586096015ee4e97080fb01a728
5
5
  SHA512:
6
- metadata.gz: 2dca757795ccc5a8949c25f15425d39353907718a17f8c24a3b10fc88e51d5d5918f052c6128bc0cabf05f0c94f39d8d06a1d629ae91fd8c7dfa3dc3f4c34089
7
- data.tar.gz: 398f9a981d22b083e4279b393ebf37f72e7d7cd7133844d38170e183afed248da4d803a4474a0da9a797cdcbf163b743aabb7c074e40f0f9cfe02beda86f4b28
6
+ metadata.gz: 5295d43218d6e7575354952d102ff69e4e40b219f347cf070ea6ae2e52de1226ca4cc4008fe0ae065e8a1a9f2776edfec3bec397ea757eb2195c0c0ceb2d1547
7
+ data.tar.gz: 19a9ea8dee4d92aaececd63ef26a00a095d9970b21a7d2742a2f02ac1a6f2cd9fb7522c6edd039dbebd2385619844dd7e292f689d9582cdd9681480aa06da6b1
data/Gemfile.lock CHANGED
@@ -17,8 +17,8 @@ PATH
17
17
  GEM
18
18
  remote: http://rubygems.org/
19
19
  specs:
20
- addressable (2.8.0)
21
- public_suffix (>= 2.0.2, < 5.0)
20
+ addressable (2.8.1)
21
+ public_suffix (>= 2.0.2, < 6.0)
22
22
  ast (2.4.2)
23
23
  awesome_print (1.9.2)
24
24
  coderay (1.1.3)
@@ -27,7 +27,7 @@ GEM
27
27
  diff-lcs (1.5.0)
28
28
  domain_name (0.5.20190701)
29
29
  unf (>= 0.0.5, < 1.0.0)
30
- faraday (2.5.1)
30
+ faraday (2.7.1)
31
31
  faraday-net_http (>= 2.0, < 3.1)
32
32
  ruby2_keywords (>= 0.0.4)
33
33
  faraday-cookie_jar (0.0.7)
@@ -42,7 +42,7 @@ GEM
42
42
  zlib (~> 2.1)
43
43
  faraday-http-cache (2.4.1)
44
44
  faraday (>= 0.8)
45
- faraday-net_http (3.0.0)
45
+ faraday-net_http (3.0.2)
46
46
  faraday-retry (2.0.0)
47
47
  faraday (~> 2.0)
48
48
  fastimage (2.2.6)
@@ -53,7 +53,7 @@ GEM
53
53
  method_source (1.0.0)
54
54
  mini_portile2 (2.8.0)
55
55
  nesty (1.0.2)
56
- nokogiri (1.13.8)
56
+ nokogiri (1.13.9)
57
57
  mini_portile2 (~> 2.8.0)
58
58
  racc (~> 1.4)
59
59
  parallel (1.22.1)
@@ -62,44 +62,44 @@ GEM
62
62
  pry (0.14.1)
63
63
  coderay (~> 1.1)
64
64
  method_source (~> 1.0)
65
- public_suffix (4.0.7)
65
+ public_suffix (5.0.0)
66
66
  racc (1.6.0)
67
67
  rainbow (3.1.1)
68
68
  rake (13.0.6)
69
- regexp_parser (2.5.0)
69
+ regexp_parser (2.6.1)
70
70
  rexml (3.2.5)
71
- rspec (3.11.0)
72
- rspec-core (~> 3.11.0)
73
- rspec-expectations (~> 3.11.0)
74
- rspec-mocks (~> 3.11.0)
75
- rspec-core (3.11.0)
76
- rspec-support (~> 3.11.0)
77
- rspec-expectations (3.11.0)
71
+ rspec (3.12.0)
72
+ rspec-core (~> 3.12.0)
73
+ rspec-expectations (~> 3.12.0)
74
+ rspec-mocks (~> 3.12.0)
75
+ rspec-core (3.12.0)
76
+ rspec-support (~> 3.12.0)
77
+ rspec-expectations (3.12.0)
78
78
  diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.11.0)
80
- rspec-mocks (3.11.1)
79
+ rspec-support (~> 3.12.0)
80
+ rspec-mocks (3.12.0)
81
81
  diff-lcs (>= 1.2.0, < 2.0)
82
- rspec-support (~> 3.11.0)
83
- rspec-support (3.11.0)
84
- rubocop (1.34.1)
82
+ rspec-support (~> 3.12.0)
83
+ rspec-support (3.12.0)
84
+ rubocop (1.39.0)
85
85
  json (~> 2.3)
86
86
  parallel (~> 1.10)
87
87
  parser (>= 3.1.2.1)
88
88
  rainbow (>= 2.2.2, < 4.0)
89
89
  regexp_parser (>= 1.8, < 3.0)
90
90
  rexml (>= 3.2.5, < 4.0)
91
- rubocop-ast (>= 1.20.0, < 2.0)
91
+ rubocop-ast (>= 1.23.0, < 2.0)
92
92
  ruby-progressbar (~> 1.7)
93
93
  unicode-display_width (>= 1.4.0, < 3.0)
94
- rubocop-ast (1.21.0)
94
+ rubocop-ast (1.23.0)
95
95
  parser (>= 3.1.1.0)
96
96
  ruby-progressbar (1.11.0)
97
97
  ruby2_keywords (0.0.5)
98
98
  unf (0.1.4)
99
99
  unf_ext
100
100
  unf_ext (0.0.8.2)
101
- unicode-display_width (2.2.0)
102
- webmock (3.17.1)
101
+ unicode-display_width (2.3.0)
102
+ webmock (3.18.1)
103
103
  addressable (>= 2.8.0)
104
104
  crack (>= 0.3.2)
105
105
  hashdiff (>= 0.4.0, < 2.0.0)
data/README.md CHANGED
@@ -7,7 +7,7 @@ You give it an URL, and it lets you easily get its title, links, images, charset
7
7
 
8
8
  ## See it in action!
9
9
 
10
- You can try MetaInspector live at this little demo: [https://metainspectordemo.herokuapp.com](https://metainspectordemo.herokuapp.com)
10
+ You can try MetaInspector using this little demo: [https://github.com/metainspector/metainspectordemo](https://github.com/metainspector/metainspectordemo)
11
11
 
12
12
  ## Installation
13
13
 
@@ -1,3 +1,3 @@
1
1
  module MetaInspector
2
- VERSION = '5.13.0'
2
+ VERSION = '5.13.1'
3
3
  end
@@ -106,9 +106,9 @@ describe MetaInspector do
106
106
  expect(m.links.non_http).to eq(["skype:joeuser?call", "telnet://telnet.cdrom.com"])
107
107
  end
108
108
 
109
- it "should not crash with links that have invalid byte sequence, filtering them out" do
109
+ it "should handle links that have an invalid byte sequence" do
110
110
  m = MetaInspector.new('http://example.com/invalid_byte_seq')
111
- expect(m.links.all).to eq(["http://pagerankalert.posterous.com/", "http://twitter.com/pagerankalert"])
111
+ expect(m.links.all).to eq(["http://pagerankalert.posterous.com/", "http://element%B3wgarderoby.com/", "http://twitter.com/pagerankalert"])
112
112
  end
113
113
 
114
114
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metainspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.13.0
4
+ version: 5.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Iniesta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-10 00:00:00.000000000 Z
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri