A summary of data about the Ruby ecosystem.

https://github.com/nov/webfinger

WebFinger Client in Ruby
https://github.com/nov/webfinger

Keywords from Contributors

jose json-web-encryption json-web-key json-web-signature json-web-token jwe jwk jws oauth oauth-client

Last synced: about 3 hours ago
JSON representation

Repository metadata

WebFinger Client in Ruby

README.rdoc

          = WebFinger

An Ruby WebFinger client library.

Following the latest WebFinger spec discussed at IETF WebFinger WG.
http://tools.ietf.org/html/draft-ietf-appsawg-webfinger

If you found something different from the latest spec, open an issue please.

== Installation

Add this line to your application's Gemfile:

  gem 'webfinger'

And then execute:

  $ bundle

Or install it yourself as:

  $ gem install webfinger

== Usage

=== Basic

You can discover resource metadata.

  WebFinger.discover! 'acct:nov@connect-op.heroku.com'
  WebFinger.discover! 'connect-op.heroku.com'
  WebFinger.discover! 'http://connect-op.heroku.com'

You can also specify link relations via "rel" option.

  WebFinger.discover! 'acct:nov@connect-op.heroku.com', rel: 'http://openid.net/specs/connect/1.0/issuer'
  WebFinger.discover! 'acct:nov@connect-op.heroku.com', rel: ['http://openid.net/specs/connect/1.0/issuer', 'vcard']

=== Caching

Caching is important in HTTP-based discovery.

If you set your own cache object to WebFinger.cache, this gem caches the discovery result until it expires.
(the expiry is calculated based on the "expires" value in JRD response)

  # Set Cache
  WebFinger.cache = Rails.cache

  WebFinger.discover! 'acct:nov@connect-op.heroku.com' # do HTTP request
  WebFinger.discover! 'acct:nov@connect-op.heroku.com' # use cache, no HTTP request

=== Debugging

Once you turn-on debugging, you can see all HTTP request/response in your log.

  # Turn on debugging
  WebFinger.debug!

  # Set logger (OPTIONAL, ::Logger.new(STDOUT) is used as default)
  WebFinger.logger = Rails.logger

You can also specify URL builder to force non-HTTPS access. (NOTE: allow non-HTTPS access only for debugging, not on your production.)

  WebFinger.url_builder = URI::HTTP # default URI::HTTPS

== Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

== Copyright

Copyright (c) 2012 nov matake. See LICENSE for details.

        

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 80
Total Committers: 3
Avg Commits per committer: 26.667
Development Distribution Score (DDS): 0.15

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

Name Email Commits
nov n****v@m****p 68
nov n****e@g****t 11
Toon Willems m@t****e 1

Committer domains:


Issue and Pull Request metadata

Last synced: 13 days ago

Total issues: 7
Total pull requests: 4
Average time to close issues: 3 months
Average time to close pull requests: 6 months
Total issue authors: 4
Total pull request authors: 4
Average comments per issue: 2.57
Average comments per pull request: 0.75
Merged pull request: 2
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
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: 0
Past year average comments per issue: 0
Past year average comments per pull request: 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/nov/webfinger

Top Issue Authors

  • konklone (3)
  • nov (2)
  • bf4 (1)
  • binaryape (1)

Top Pull Request Authors

  • mark-young-atg (2)
  • nudded (1)
  • konyu (1)
  • nov (1)

Top Issue Labels

Top Pull Request Labels


Package metadata

gem.coop: webfinger

Ruby WebFinger client library

  • Homepage: https://github.com/nov/webfinger
  • Documentation: http://www.rubydoc.info/gems/webfinger/
  • Licenses: MIT
  • Latest release: 2.1.3 (published almost 2 years ago)
  • Last Synced: 2025-12-16T10:44:28.768Z (1 day ago)
  • Versions: 16
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 65,791,192 Total
  • Docker Downloads: 513,864,210
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.154%
    • Docker downloads count: 0.192%
    • Downloads: 0.422%
  • Maintainers (1)
rubygems.org: webfinger

Ruby WebFinger client library

  • Homepage: https://github.com/nov/webfinger
  • Documentation: http://www.rubydoc.info/gems/webfinger/
  • Licenses: MIT
  • Latest release: 2.1.3 (published almost 2 years ago)
  • Last Synced: 2025-12-16T10:44:28.647Z (1 day ago)
  • Versions: 16
  • Dependent Packages: 1
  • Dependent Repositories: 1,323
  • Downloads: 65,791,192 Total
  • Docker Downloads: 513,864,210
  • Rankings:
    • Docker downloads count: 0.236%
    • Downloads: 0.472%
    • Dependent repos count: 0.874%
    • Average: 5.361%
    • Dependent packages count: 7.703%
    • Forks count: 9.679%
    • Stargazers count: 13.201%
  • Maintainers (1)

Dependencies

webfinger.gemspec rubygems
  • rake >= 0 development
  • rspec >= 0 development
  • rspec-its >= 0 development
  • simplecov >= 0 development
  • webmock >= 1.6.2 development
  • activesupport >= 0
  • httpclient >= 2.4
.github/workflows/spec.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
Gemfile rubygems

Score: 24.677755539789203