pantopoda 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: a8ee4f04dbf03ff165629691bc7e0a4b6e480006
4
- data.tar.gz: 0ba3cea2313fc662b855ed1147a2f638e3d97920
3
+ metadata.gz: 2d9f8bc256bc0fabf1f67136990274689929c47c
4
+ data.tar.gz: ee1fb675d73d17a4fa332f0e5677a39c7859a485
5
5
  SHA512:
6
- metadata.gz: 52a0a7a0468cee696cdea13a2728688c5b40e333fb7a0b1ffeb88d054cbd278979ebb435df45c7c35377c15b8591fe209477a415562ccaf9e1131e9bca144ba6
7
- data.tar.gz: 73958069b34020ddb853a1885098dc29eaeb8167832cc80bf5c1e1f4b7416338ff3e5d6782fc3caebd58dba7409e6e6bd447fb81f43e655896489340ccf66b54
6
+ metadata.gz: 5f6d858fcf08a44b8c4ba7a1df0fa123b1894b8bf0efd66fbd465df9cdd87d5661a1476f8998be9f21ee6dd9ff11d7e36c9da5664778f3179e6c0a9cce380ecd
7
+ data.tar.gz: dfec153e9660cbb488862b9ccc01a2ffd7fb14a8b34b7833b111d3f205589c6102932fe50224910962d4bca041a607276a2a096f792c71419e12d17012764eaa
data/lib/pantopoda.rb CHANGED
@@ -72,9 +72,9 @@ module Pantopoda
72
72
  begin
73
73
  parsed_domain = Domainatrix.parse(url)
74
74
  if (parsed_domain.subdomain != "")
75
- parsed_domain.subdomain + '.' + parsed_domain.domain + '.' + parse_domain.public_suffix
75
+ parsed_domain.subdomain + '.' + parsed_domain.domain + '.' + parsed_domain.public_suffix
76
76
  else
77
- parse_domain.domain + '.' + parsed_domain.public_suffix
77
+ parsed_domain.domain + '.' + parsed_domain.public_suffix
78
78
  end
79
79
 
80
80
  rescue NoMethodError, Addressable::URI::InvalidURIError => e
@@ -1,3 +1,3 @@
1
1
  module Pantopoda
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pantopoda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Lim