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
- Host: GitHub
- URL: https://github.com/knu/ruby-domain_name
- Owner: knu
- License: other
- Created: 2011-10-28T10:21:57.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2024-07-31T17:53:27.000Z (over 1 year ago)
- Last Synced: 2025-12-06T18:21:02.626Z (5 days ago)
- Language: Ruby
- Homepage:
- Size: 841 KB
- Stars: 109
- Watchers: 3
- Forks: 23
- Open Issues: 15
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
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
- Name: Akinori Musha
- Login: knu
- Email: knu@idaemons.org
- Kind: user
- Description: @Ruby committer, co-maintainer of @huginn, Emacs Lisper, ex-FreeBSD committer. CTO of @WEDInc.
- Website:
- Location: Tokyo, Japan
- Twitter: knu
- Company:
- Icon url: https://avatars.githubusercontent.com/u/10236?v=4
- Repositories: 204
- Last ynced at: 2025-11-28T12:12:48.129Z
- Profile URL: https://github.com/knu
GitHub Events
Total
- Issues event: 1
- Watch event: 4
Last Year
- Issues event: 1
- Watch event: 3
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 | Commits | |
|---|---|---|
| Akinori MUSHA | k****u@i****g | 180 |
| Sebastian Cohnen | t****a | 1 |
| Eric Hodel | d****n@s****t | 1 |
Committer domains:
- segment7.net: 1
- idaemons.org: 1
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
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
- Total packages: 3
-
Total downloads:
- rubygems: 1,176,081,764 total
- Total docker downloads: 3,836,124,212
- Total dependent packages: 9 (may contain duplicates)
- Total dependent repositories: 90,635 (may contain duplicates)
- Total versions: 123
- Total maintainers: 1
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
- bundler >= 1.2.0 development
- rdoc >= 2.4.2 development
- test-unit ~> 2.5.5 development
- unf >= 0.0.5, < 1.0.0
- actions/checkout v4 composite
- ruby/setup-ruby v1 composite
Score: 28.25405458061223