
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
= R.Daneel
An EventMachine+Ruby library to fetch urls obeying robots.txt rules.
RDaneel is built it on top of @igrigorik's {em-http-request}[http://github.com/igrigorik/em-http-request]
== Features
== Install
$ gem install rdaneel
== Examples
=== Following redirects
require 'rdaneel'
EM.run do r = RDaneel.new("http://bit.ly/cbEnpa") r.callback{ puts r.http_client.response_header.status puts r.http_client.response[0,80] puts r.redirects puts r.uri EM.stop } r.errback{ puts "should not happen" EM.stop } r.get(:redirects => 3) end
=> 200 => http://bit.ly:80/cbEnpa => http://github.com:80/hasmanydevelopers/RDaneel
=== Denied by robots.txt
require 'rdaneel'
EM.run do r = RDaneel.new("http://github.com/hasmanydevelopers/RDaneel/tarball/v0.0.0") r.callback{ puts "should not happen" EM.stop } r.errback{ puts r.error EM.stop } r.get(:redirects => 3) end
=> robots denied
== Why RDaneel?
R Daneel Olivaw is a fictional robot created by Isaac Asimov - http://en.wikipedia.org/wiki/R._Daneel_Olivaw
== Acknowledge
To Ilya Grigorik (@igrigorik) for em-http-request lib and his support and advice.
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2010 has_many :developers. See LICENSE for details.
FAQs
Unknown package
We found that rdaneel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.