url-checker 1.1.0 → 1.1.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
  SHA1:
3
- metadata.gz: 5a3976012ff91534b59a8a2ed70550a453602fda
4
- data.tar.gz: c09fdcd490bc26047cc0d9b86537b0b0b809a9c8
3
+ metadata.gz: 0632f7dabaca6ed8aa3c782c61cbe8d87f6ecc95
4
+ data.tar.gz: 1be4e28649cc6a82e9483ead7463f7f042f1228f
5
5
  SHA512:
6
- metadata.gz: 537be50b970fcc977e920ed16e25bebf4c30815afa210ba977662daf35f8d45be309c1d9dd3b32cbeb558bb4074631a1ecb42b81134d00f8e731d6ec2ce338b5
7
- data.tar.gz: c7c17c67f0f671e0c6bd2f23a1aaf2f841c4a00efad18759b24961a92cc203ecf797134bbcfb440d840248d730d844a360a4037ce8ca19b35af472e22bd81d7d
6
+ metadata.gz: 99493f569a2ae7169eff80252b78117b0cefed6763469774eb15952ddad5cc04e67c9f1fa441dd63271cf626c34419ae4961733c9a2af392cb74287fe5aa8046
7
+ data.tar.gz: cf78ca7928e6e9c471d048e69070632ce7009291e3d4f0b013ca976df4bae0080a2c369f9e55c899c3f84a6db890cf29b02e638c7778c1dabcf477510c1b20ef
@@ -25,6 +25,8 @@ module UrlChecker
25
25
  rescued_response('Connection refused', e.message)
26
26
  rescue Errno::EINVAL => e
27
27
  rescued_response('Invalid argument', e.message)
28
+ rescue => e
29
+ rescued_response(e.class.to_s, e.message)
28
30
  end
29
31
 
30
32
  def invalid_uri_response
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UrlChecker
4
- VERSION = '1.1.0'
4
+ VERSION = '1.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: url-checker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin McCormack