public_suffix
PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.
$
gem install public_suffixOfficial docs outline
Extra Credit builds an outline of public_suffix's docs the first time your work uses it. Until then, start at the official documentation.
More in Ruby gems
All 3,925-
rack Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in
-
tzinfo TZInfo provides access to time zone data and allows times to be converted using time zone rules.
-
minitest minitest provides a complete suite of testing facilities supporting TDD, BDD, and benchmarking. "I had a class with Jim Weirich on test
-
addressable Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. It is flexible, offers heuri
-
faraday HTTP/REST API client library.
-
nokogiri Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a sensible, easy-to-understand API for reading, wri
-
diff-lcs Diff::LCS computes the difference between two Enumerable sequences using the McIlroy-Hunt longest common subsequence (LCS) algorithm. It inc
-
rspec-core BDD for Ruby. RSpec runner and example groups.
-
rspec-expectations rspec-expectations provides a simple, readable API to express expected outcomes of a code example.
-
rspec-mocks RSpec's 'test double' framework, with support for stubbing and mocking
-
rspec-support Support utilities for RSpec gems
-
multi_json A common interface to multiple JSON libraries, including fast_jsonparser, Oj, Yajl, and the JSON gem.