
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
= eve
== DESCRIPTION:
A Ruby library for interfacing with all aspects of the EVE Online MMO. It is designed for use within a Ruby on Rails project, but does not require Rails as a dependency. That means there's nothing preventing you from writing a stand-alone application or script using this library.
== QUICK START:
=== Including The Gem In Rails 3:
gem 'eve'
In Rails 2:
config.gem 'eve', :version => "~> 1.0"
In Pure Ruby: require 'rubygems' require 'eve'
=== Usage Example: Controller class MyEveCompatibleController < ApplicationController requires_trust end
Rails 3: This returns a blank page with a trust request. This behavior can be overridden with an initializer to provide custom trust request pages: module Eve module Trust module ControllerHelpers def require_trust(trust_message = self.class.trust_message) if igb? && !igb.trusted? render :text => "
Requires trust!=== Usage Example: View Helpers <%=link_to_evemail "Check Your Mail!"%>
<%if igb.trusted?%>
Thanks for your trust! I see you're currently in <%=igb.solar_system_name%>.
Here's some information about our secret headquarters:
=== Usage Example: EVE API
api = Eve::API.new() server_status = api.server_status puts "Server reports status #{server_status.server_open ? "ONLINE" : "OFFLINE"}" puts "\tCurrent time is #{server_status.current_time}" puts "\t#{server_status.online_players} players currently online" puts
api = Eve::API.new(:user_id => $user_id, :api_key => $limited_api_key) result = api.account.characters puts "Choose a character:" result.characters.each_with_index { |char, index| puts "\t#{index}: #{char.name} (#{char.character_id})" } choice = gets.chomp.to_i puts
api.set(:api_key => $full_api_key, :character_id => result.characters[choice].character_id) result = api.character.skill_queue result.skillqueue.each do |skill| result.skillqueue.columns.each do |column| print column.ljust(20), ":\t", skill[column], "\n" end puts end
== DETAILS:
This package is divided into 3 major components, and are listed below. Click on any item to see more information and usage examples.
API libraries: Eve::API
Controller helpers: Eve::Trust
View helpers: Eve::Helpers::JavascriptHelper
== REQUIREMENTS:
hpricot activesupport
== INSTALL:
sudo gem install eve
== LICENSE:
(The MIT License)
Copyright (c) 2010 Colin MacKenzie IV
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Unknown package
We found that eve 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 new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.