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.
Libraries For Amazon Web Services (ruby-aws)
== Description
Libraries for Amazon Web Services (ruby-aws) is a set of libraries and tools designed to make it easier for you to build solutions leveraging Amazon Web Services like Amazon Mechanical Turk. The goals of the libraries are:
== Usage
require 'ruby-aws' @mturk = Amazon::WebServices::MechanicalTurkRequester.new puts "I have $#{@mturk.availableFunds} in Sandbox" @mturk_prod = Amazon::WebServices::MechanicalTurkRequester.new :Host => :Production puts "I have $#{@mturk_prod.availableFunds} in Production"
For more in-depth example code, check out the samples folder included in this distribution.
== Prerequisites
To use the Libraries and successfully run the samples, you must meet these prerequisites:
You must have an Amazon Web Services (AWS) account. You can sign up at the {AWS web site}[http://aws.amazon.com].
You must have an Amazon Mechanical Turk Requester account. Be sure to use the same e-mail address and password you used when creating your Amazon Web Services account. You can sign up at the {Requester web site}[http://requester.mturk.com].
You must have Ruby 1.8.3 or later. You can download Ruby at the following web site: http://www.ruby-lang.org.
You must have RubyGems[http://rubyforge.org/projects/rubygems] installed and configured correctly for your Ruby installation. Review the installation instructions here[http://docs.rubygems.org].
(Note: If installing RubyGems for the first time, you may need to restart your console to pick up environment changes. To execute code that is dependent on Ruby Gems, the command to execute is: "ruby -rubygems program_that_uses_gems". The "-rubygems" command line parameter should be a default parameter that is always included. To do this, Ruby can utilize the "RUBYOPT" environment label that should be set to "RUBYOPT=-rubygems". Please refer to documentation specific to your OS on defining environment labels.)
== Installation
Execute the following command: gem install ruby-aws
(Note: Some Unix-based systems may require root access to install Ruby libraries. You may need to execute the above command as the following: sudo gem install ruby-aws and enter in the password to successfully install the Gem)
Installation of the ruby-aws gem will prompt to install the following dependent gems if not already installed:
(Optional) Download and expand the corresponding tarball/zip file from the {project homepage}[http://rubyforge.org/projects/ruby-aws] to an installation directory. This will provide you access to the source files, test files and sample code.
Configure the Libraries to use your Amazon Web Services authentication credentials by executing the following command: ruby-aws
Verify your installation by running the automated tests by executing the following command in the installation path: rake test
== Running Sample Applications
== Comments, Questions or Feedback
If you have any comments, questions, or feedback concerning the Libraries for Amazon Web Services, please visit our {Rubyforge project page}[http://rubyforge.org/projects/ruby-aws].
If you have any comments, questions, or feedback concerning the Mechanical Turk service in general, please visit the {Amazon Mechanical Turk discussion forums}[http://developer.amazonwebservices.com/connect/forum.jspa?forumID=11]
== License
Copyright (c) 2007 Amazon Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
FAQs
Unknown package
We found that dbgrandi-ruby-aws 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.
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.