A summary of data about the Ruby ecosystem.

https://github.com/knu/ruby-domain_name

Domain Name manipulation library for Ruby
https://github.com/knu/ruby-domain_name

Keywords from Contributors

ruby-gem

Last synced: about 5 hours ago
JSON representation

Repository metadata

Domain Name manipulation library for Ruby

README.md

domain_name

Synopsis

Domain Name manipulation library for Ruby

Description

  • Parses a domain name ready for extracting the registered domain and
    TLD.

      require "domain_name"
    
      host = DomainName("a.b.example.co.uk")
      host.domain         #=> "example.co.uk"
      host.tld            #=> "uk"
      host.cookie_domain?("example.co.uk")    #=> true
      host.cookie_domain?("co.uk")            #=> false
    
      host = DomainName("[::1]")  # IP addresses like "192.168.1.1" and "::1" are also acceptable
      host.ipaddr?        #=> true
      host.cookie_domain?("0:0:0:0:0:0:0:1")  #=> true
    
  • Implements rudimental IDNA support.

To-do's

  • Implement IDNA 2008 (and/or 2003) including the domain label
    validation and mapping defined in RFC 5891-5895 and UTS #46.
    (work in progress)

  • Define a compact YAML serialization format.

Installation

gem install domain_name

References

License

Copyright (c) 2011-2017 Akinori MUSHA

Licensed under the 2-clause BSD license.

Some portion of this library is copyrighted by third parties and
licensed under MPL 2.0 or 3-clause BSD license,
See LICENSE.txt for details.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 14 days ago

Total Commits: 182
Total Committers: 3
Avg Commits per committer: 60.667
Development Distribution Score (DDS): 0.011

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Akinori MUSHA k****u@i****g 180
Sebastian Cohnen t****a 1
Eric Hodel d****n@s****t 1

Committer domains:


Issue and Pull Request metadata

Last synced: 3 months ago

Total issues: 15
Total pull requests: 15
Average time to close issues: 3 months
Average time to close pull requests: over 1 year
Total issue authors: 13
Total pull request authors: 11
Average comments per issue: 2.73
Average comments per pull request: 2.33
Merged pull request: 2
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 1
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 1
Past year average comments per issue: 0
Past year average comments per pull request: 0.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/knu/ruby-domain_name

Top Issue Authors

  • tilo (2)
  • jaredbeck (2)
  • tisba (1)
  • artur-intech (1)
  • jaysoffian (1)
  • reiz (1)
  • grosser (1)
  • viraptor (1)
  • JerrodCarpenter (1)
  • tricknotes (1)
  • kwando (1)
  • clmtg (1)
  • nevinera (1)
  • ab (1)
  • sairam (1)

Top Pull Request Authors

  • tas50 (3)
  • dgilperez (2)
  • tisba (2)
  • tilo (2)
  • drush (2)
  • drbrain (1)
  • tayler1 (1)
  • chainum (1)
  • sandstrom (1)
  • tricknotes (1)
  • DGaffney (1)

Top Issue Labels

Top Pull Request Labels


Package metadata

gem.coop: domain_name

This is a Domain Name manipulation library for Ruby. It can also be used for cookie domain validation based on the Public Suffix List.

  • Homepage: https://github.com/knu/ruby-domain_name
  • Documentation: http://www.rubydoc.info/gems/domain_name/
  • Licenses: BSD-2-Clause,BSD-3-Clause,MPL-2.0
  • Latest release: 0.6.20240107 (published almost 2 years ago)
  • Last Synced: 2025-12-06T23:31:04.914Z (5 days ago)
  • Versions: 41
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 587,994,280 Total
  • Docker Downloads: 1,918,062,106
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.011%
    • Downloads: 0.034%
  • Maintainers (1)
rubygems.org: domain_name

This is a Domain Name manipulation library for Ruby. It can also be used for cookie domain validation based on the Public Suffix List.

  • Homepage: https://github.com/knu/ruby-domain_name
  • Documentation: http://www.rubydoc.info/gems/domain_name/
  • Licenses: BSD-2-Clause,BSD-3-Clause,MPL-2.0
  • Latest release: 0.6.20240107 (published almost 2 years ago)
  • Last Synced: 2025-12-07T18:02:29.238Z (4 days ago)
  • Versions: 41
  • Dependent Packages: 9
  • Dependent Repositories: 90,635
  • Downloads: 588,087,484 Total
  • Docker Downloads: 1,918,062,106
  • Rankings:
    • Downloads: 0.037%
    • Docker downloads count: 0.067%
    • Dependent repos count: 0.125%
    • Dependent packages count: 1.881%
    • Average: 2.208%
    • Stargazers count: 5.375%
    • Forks count: 5.765%
  • Maintainers (1)
proxy.golang.org: github.com/knu/ruby-domain_name

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/knu/ruby-domain_name#section-documentation
  • Licenses: other
  • Latest release: v0.6.20240107 (published almost 2 years ago)
  • Last Synced: 2025-12-07T18:02:30.688Z (4 days ago)
  • Versions: 41
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 4.672%
    • Forks count: 4.774%
    • Average: 7.456%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%

Dependencies

domain_name.gemspec rubygems
  • bundler >= 1.2.0 development
  • rdoc >= 2.4.2 development
  • test-unit ~> 2.5.5 development
  • unf >= 0.0.5, < 1.0.0
.github/workflows/ci.yml actions
  • actions/checkout v4 composite
  • ruby/setup-ruby v1 composite
Gemfile rubygems

Score: 28.25405458061223