Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
= New projects should use {fog}[http://github.com/fog/fog].
= Rackspace Cloud Files
== Description
This is a Ruby interface into the Rackspace[http://rackspace.com/] {Cloud Files}[http://www.rackspacecloud.com/cloud_hosting_products/files] service. Cloud Files is reliable, scalable and affordable web-based storage hosting for backing up and archiving all your static content. Cloud Files is the first and only cloud service that leverages a tier one CDN provider to create such an easy and complete storage-to-delivery solution for media content.
== Upgrade Gotchas
As of gem version 1.4.8, the connection method has changed from positional arguments to a hash of options. This is the new style:
cf = CloudFiles::Connection.new(:username => "MY_USERNAME", :api_key => "MY_API_KEY")
This is the old style, which still works but is deprecated:
cf = CloudFiles::Connection.new("MY_USERNAME","MY_API_KEY")
== Installation
This source is available on Github[http://github.com/rackspace/ruby-cloudfiles/] and the gem is available on Gemcutter[http://gemcutter.org/]. To install it, do
gem sources -a http://gemcutter.org/
sudo gem install cloudfiles
To use it in a Rails application, add the following information to your config/environment.rb
config.gem "cloudfiles"
== Examples
See the class definitions for documentation on specific methods and operations.
require 'rubygems' require 'cloudfiles'
cf = CloudFiles::Connection.new(:username => "MY_USERNAME", :api_key => "MY_API_KEY")
cf = CloudFiles::Connection.new(:username => "MY_USERNAME", :api_key => "MY_API_KEY", :auth_url => CloudFiles::AUTH_UK)
cf = CloudFiles::Connection.new(:username => "MY_USERNAME", :api_key => "MY_API_KEY", :snet => true)
cf.containers => ["backup", "Books", "cftest", "test", "video", "webpics"]
container = cf.container('test')
container.count => 3
object = container.create_object 'filename.txt', false object.write file
container.objects => ["bigfile.txt", "new.txt", "test.txt"]
object = container.object('test.txt')
object.data => "This is test data"
== Authors
Initial work by Major Hayden major.hayden@rackspace.com
Subsequent work by H. Wade Minter minter@lunenburg.org and Dan Prince dan.prince@rackspace.com
== License
See COPYING for license information. Copyright (c) 2011, Rackspace US, Inc.
FAQs
Unknown package
We found that cloudfiles 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.