A summary of data about the Ruby ecosystem.

https://github.com/lostisland/sawyer

Secret User Agent of HTTP
https://github.com/lostisland/sawyer

Keywords from Contributors

rubygems activerecord activejob mvc github-api octokit-rb feature-flag ruby-gem feature-toggle feature

Last synced: about 22 hours ago
JSON representation

Repository metadata

Secret User Agent of HTTP

README.md

Sawyer

Sawyer is an experimental hypermedia agent for Ruby built on top of Faraday.

Installation

Add this line to your application's Gemfile:

gem 'sawyer'

And then execute:

bundle

Or install it yourself as:

gem install sawyer

Usage

require "sawyer"

# Create a Sawyer agent
agent = Sawyer::Agent.new("https://api.github.com",
  links_parser: Sawyer::LinkParsers::Simple.new)

# Fetch the root of the API
root = agent.root.data

# Access a resource directly
contributors = agent.call(:get, "repos/lostisland/sawyer/contributors").data

# Load a hypermedia relation
top_contributor = contributors.first
followers = top_contributor.rels[:followers].get.data

For more information, check out the documentation.

Development

After checking out the repo, run script/test to bootstrap the project and run the tests.
You can also run script/console for an interactive prompt that will allow you to experiment.

To package the gem, run script/package. To release a new version, update the version number in lib/sawyer.rb, and then run script/release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Check out the contributing guide for more information on contributing.

License

The gem is available as open source under the terms of the MIT License.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 222
Total Committers: 27
Avg Commits per committer: 8.222
Development Distribution Score (DDS): 0.482

Commits in past year: 9
Committers in past year: 4
Avg Commits per committer in past year: 2.25
Development Distribution Score (DDS) in past year: 0.667

Name Email Commits
rick t****e@g****m 115
Wynn Netherland w****n@g****m 61
Matt i****a 8
Colin Ewen c****n@d****m 4
Ben Lavender b****a@g****m 3
Olle Jonsson o****n@g****m 3
Alyssa Ross hi@a****s 2
Andrew Nesbitt a****z@g****m 2
Hossein Bukhamseen b****h@g****m 2
Peter Vandenberk p****k@m****m 2
Tim Smith t****h@c****o 2
dependabot[bot] 4****] 2
pseudomuto d****o@g****m 2
Daniel Schierbeck d****h@z****m 1
Dariusz Gertych d****h@g****m 1
David Cornu d****u@g****m 1
Don Werve d****e@g****m 1
Henrik Hodne me@h****m 1
Nate Pinsky m****y 1
Samuel Williams s****s@o****z 1
Svyatoslav Kryukov s****v@y****u 1
Thomas Kowark t****k@g****m 1
Timo Schilling t****o@s****o 1
gecunps g****u@n****t 1
rochefort t****n@g****m 1
Patrick Connolly p****k@m****m 1
spacewander s****x@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 9 days ago

Total issues: 23
Total pull requests: 57
Average time to close issues: 6 months
Average time to close pull requests: 6 months
Total issue authors: 21
Total pull request authors: 36
Average comments per issue: 2.96
Average comments per pull request: 1.61
Merged pull request: 44
Bot issues: 0
Bot pull requests: 2

Past year issues: 2
Past year pull requests: 4
Past year average time to close issues: 4 days
Past year average time to close pull requests: 13 days
Past year issue authors: 1
Past year pull request authors: 3
Past year average comments per issue: 4.0
Past year average comments per pull request: 0.25
Past year merged pull request: 4
Past year bot issues: 0
Past year bot pull requests: 2

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/lostisland/sawyer

Top Issue Authors

  • gecunps (2)
  • ghost (2)
  • volkanunsal (1)
  • patcon (1)
  • maccman (1)
  • nomadium (1)
  • ldonnet (1)
  • nddrylliog (1)
  • jpittis (1)
  • pengwynn (1)
  • xevix (1)
  • ioquatix (1)
  • jrochkind (1)
  • ernsheong (1)
  • dazza-codes (1)

Top Pull Request Authors

  • pengwynn (11)
  • technoweenie (5)
  • olleolleolle (3)
  • andrew (2)
  • hbu50 (2)
  • bhuga (2)
  • dependabot[bot] (2)
  • pvdb (2)
  • elskwid (1)
  • tas50 (1)
  • gecunps (1)
  • Casao (1)
  • john-griffin (1)
  • spacewander (1)
  • rochefort (1)

Top Issue Labels

Top Pull Request Labels

  • dependencies (2)
  • github_actions (2)

Package metadata

gem.coop: sawyer

Secret User Agent of HTTP

  • Homepage: https://github.com/lostisland/sawyer
  • Documentation: http://www.rubydoc.info/gems/sawyer/
  • Licenses: MIT
  • Latest release: 0.9.3 (published 4 months ago)
  • Last Synced: 2026-03-01T11:32:14.863Z (2 days ago)
  • Versions: 25
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 365,137,692 Total
  • Docker Downloads: 830,430,989
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.044%
    • Downloads: 0.066%
    • Docker downloads count: 0.11%
  • Maintainers (3)
rubygems.org: sawyer

Secret User Agent of HTTP

  • Homepage: https://github.com/lostisland/sawyer
  • Documentation: http://www.rubydoc.info/gems/sawyer/
  • Licenses: MIT
  • Latest release: 0.9.3 (published 4 months ago)
  • Last Synced: 2026-03-01T13:32:35.580Z (2 days ago)
  • Versions: 25
  • Dependent Packages: 47
  • Dependent Repositories: 348,579
  • Downloads: 365,141,552 Total
  • Docker Downloads: 830,430,989
  • Rankings:
    • Dependent repos count: 0.059%
    • Downloads: 0.071%
    • Docker downloads count: 0.151%
    • Dependent packages count: 0.559%
    • Average: 1.259%
    • Forks count: 3.065%
    • Stargazers count: 3.651%
  • Maintainers (3)
proxy.golang.org: github.com/lostisland/sawyer

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/lostisland/sawyer#section-documentation
  • Licenses: mit
  • Latest release: v0.9.3 (published 4 months ago)
  • Last Synced: 2026-03-01T12:21:49.753Z (2 days ago)
  • Versions: 25
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Forks count: 2.967%
    • Stargazers count: 3.402%
    • Average: 6.687%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%
conda-forge.org: rb-sawyer

  • Homepage: https://rubygems.org/gems/sawyer
  • Licenses: MIT
  • Latest release: 0.8.2 (published over 6 years ago)
  • Last Synced: 2026-02-03T03:32:43.484Z (28 days ago)
  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Rankings:
    • Forks count: 21.877%
    • Dependent repos count: 24.412%
    • Stargazers count: 24.437%
    • Average: 24.929%
    • Dependent packages count: 28.988%
debian-11: ruby-sawyer

  • Homepage: https://github.com/lostisland/sawyer
  • Documentation: https://packages.debian.org/bullseye/ruby-sawyer
  • Licenses:
  • Latest release: 0.8.2-1 (published 20 days ago)
  • Last Synced: 2026-02-13T08:24:40.161Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-10: ruby-sawyer

  • Homepage: https://github.com/lostisland/sawyer
  • Documentation: https://packages.debian.org/buster/ruby-sawyer
  • Licenses:
  • Latest release: 0.8.1-3 (published 20 days ago)
  • Last Synced: 2026-02-13T04:25:45.497Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.04: ruby-sawyer

  • Homepage: https://github.com/lostisland/sawyer
  • Licenses:
  • Latest release: 0.8.2-2 (published 20 days ago)
  • Last Synced: 2026-02-11T06:49:24.578Z (20 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-20.04: ruby-sawyer

  • Homepage: https://github.com/lostisland/sawyer
  • Licenses:
  • Latest release: 0.8.2-1 (published 18 days ago)
  • Last Synced: 2026-02-13T07:22:41.076Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.10: ruby-sawyer

  • Homepage: https://github.com/lostisland/sawyer
  • Licenses:
  • Latest release: 0.8.2-2 (published 18 days ago)
  • Last Synced: 2026-02-13T18:32:35.917Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.10: ruby-sawyer

  • Homepage: https://github.com/lostisland/sawyer
  • Licenses:
  • Latest release: 0.9.1-2 (published 22 days ago)
  • Last Synced: 2026-02-09T17:17:33.308Z (22 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
ubuntu-22.04: ruby-sawyer

  • Homepage: https://github.com/lostisland/sawyer
  • Licenses:
  • Latest release: 0.8.2-2 (published 18 days ago)
  • Last Synced: 2026-02-13T13:25:44.940Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-12: ruby-sawyer

  • Homepage: https://github.com/lostisland/sawyer
  • Documentation: https://packages.debian.org/bookworm/ruby-sawyer
  • Licenses:
  • Latest release: 0.8.2-2 (published 18 days ago)
  • Last Synced: 2026-02-12T23:40:55.409Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
ubuntu-24.04: ruby-sawyer

  • Homepage: https://github.com/lostisland/sawyer
  • Status: removed
  • Licenses:
  • Latest release: 0.9.1-2 (published 25 days ago)
  • Last Synced: 2026-02-06T16:01:59.292Z (25 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
debian-13: ruby-sawyer

  • Homepage: https://github.com/lostisland/sawyer
  • Documentation: https://packages.debian.org/trixie/ruby-sawyer
  • Licenses:
  • Latest release: 0.9.1-2 (published 19 days ago)
  • Last Synced: 2026-02-13T13:19:26.779Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%

Dependencies

Gemfile rubygems
  • minitest >= 0 development
  • rake >= 0
sawyer.gemspec rubygems
  • addressable >= 2.3.5
  • faraday >= 0.17.3, < 3
.github/workflows/ci.yml actions
  • actions/checkout v4 composite
  • ruby/setup-ruby v1 composite
.github/workflows/publish.yml actions
  • actions/checkout v5 composite
  • ruby/setup-ruby v1 composite
  • rubygems/release-gem v1 composite

Score: 30.44397990453744