
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
= twitter_server
This is an attempt at a Twitter API implementation on top of Sinatra. This is for all the people that experience Twitter purely through one or more of the great clients on top of it.
SUPER alpha, ruby API will probably change!
== USAGE
The public API that you should be concerned with is the Sinatra API. Similar to how Sinatra lets you respond to HTTP requests, this lets you respond to Twitter requests
require 'sinatra' require 'twitter_server'
get '/' do 'hello world' end
twitter_statuses_home_timeline do |params| ... end
The Sinatra Extension API is used, so you can also create separate Sinatra classes and mount them separately.
require 'sinatra/base' require 'twitter_server'
class MyTwitterApp < Sinatra::Base register Sinatra::TwitterServer
get '/' do
'hello world'
end
twitter_statuses_home_timeline do |params|
...
end
end
== IDEAS
See demo/faker_server.rb for an in-memory, randomly generated, read-only twitter server.
== TODO
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2009 rick. See LICENSE for details.
FAQs
Unknown package
We found that twitter_server demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
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.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.