Code Monkey home page Code Monkey logo

eve's People

Contributors

emily avatar neiled avatar sinisterchipmunk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eve's Issues

rails 3.1 issue ?

Hi,

when I add the gem to my newly created rails app and try to open a empty welcome controller from the ingame browser I get following error:

undefined method `map' for "welcome":String

Opening the page from external browser works fine

Old userID/apiKey scheme deprecated in favor of new keyID/vCode scheme

It looks like EVE has had a new authorization scheme in place for over a year now. It takes a keyID/vCode pair for access to user information in place of the old userID/apiKey pair. That old scheme is still supported, although new keys can only be generated using the new scheme.

I've done a fair amount of work making the eve gem compatible with this, but I wanted to ping you (@sinisterchipmunk, or anyone else listening in) on your thoughts: Do you prefer to keep the code compatible with the old scheme just in case someone has some really old API keys still floating around? Or would you prefer to do away with it since old-style keys can't be generated anymore?

undefined method class_inheritable_accessor

Hey,
I'm trying to include the eve gem (via git source, since gem 'eve' had an issue) in a rails 3.2.1 app (ruby 1.9.2-p290), and I get the following stack trace when I run rails server:

    DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from extend at /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/trust/igb_interface.rb:4)
    => Booting WEBrick
    => Rails 3.2.1 application starting in development on http://0.0.0.0:3000
    => Call with -d to detach
    => Ctrl-C to shutdown server
    Exiting
    /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/trust/controller_helpers.rb:9:in `block in included': undefined method `class_inheritable_accessor' for ActionController::Base:Class (NoMethodError)
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/trust/controller_helpers.rb:5:in `instance_eval'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/trust/controller_helpers.rb:5:in `included'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/dependencies.rb:33:in `include'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/bundler/gems/eve-882115ea507c/lib/eve/dependencies.rb:33:in `block in <class:Railtie>'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:34:in `call'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:34:in `execute_hook'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:42:in `each'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/application/finisher.rb:59:in `block in <module:Finisher>'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `instance_exec'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `run'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `each'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `run_initializers'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/application.rb:136:in `initialize!'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
        from /Users/sewillia/Sites/Williams, Spencer/eve/config/environment.rb:5:in `<top (required)>'
        from /Users/sewillia/Sites/Williams, Spencer/eve/config.ru:4:in `require'
        from /Users/sewillia/Sites/Williams, Spencer/eve/config.ru:4:in `block in <main>'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
        from /Users/sewillia/Sites/Williams, Spencer/eve/config.ru:1:in `new'
        from /Users/sewillia/Sites/Williams, Spencer/eve/config.ru:1:in `<main>'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/commands/server.rb:46:in `app'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/commands/server.rb:70:in `start'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/commands.rb:55:in `block in <top (required)>'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/commands.rb:50:in `tap'
        from /Users/sewillia/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.2.1/lib/rails/commands.rb:50:in `<top (required)>'
        from script/rails:6:in `require'
        from script/rails:6:in `<main>'

I am interested in diving into this a little bit, but since it's late I only did a quick Google, and I think this is the problem. If I downgrade to rails 3.1.2 it works fine (or at least the server finishes booting).

btw my source

Cheers,
Spencer

Rails 3 compatibility

I have problem with some dependency error in rails 3 when added gem 'eve' into gemfile and run the server
Enviroment: Rails 3 (rc,rc2 or stable) and Ruby 1.9.2rc2

Stack trace:
/home/martin/.rvm/rubies/ruby-1.9.2-rc2/bin/ruby -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) /home/martin/RubymineProjects/pyco/script/rails server -p 3000 -b 0.0.0.0 -e development
/home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/eve-1.0.2/lib/eve/dependencies.rb:17:in <top (required)>': uninitialized constant ActiveSupport::Dependencies (NameError) from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/eve-1.0.2/lib/eve.rb:4:inrequire'
from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/eve-1.0.2/lib/eve.rb:4:in <top (required)>' from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:64:inrequire'
from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:64:in block (2 levels) in require' from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:62:ineach'
from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:62:in block in require' from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:51:ineach'
from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.6/lib/bundler/runtime.rb:51:in require' from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.6/lib/bundler.rb:112:inrequire'
from /home/martin/RubymineProjects/pyco/config/application.rb:7:in <top (required)>' from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/railties-3.0.0/lib/rails/commands.rb:28:inrequire'
from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/railties-3.0.0/lib/rails/commands.rb:28:in block in <top (required)>' from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/railties-3.0.0/lib/rails/commands.rb:27:intap'
from /home/martin/.rvm/gems/ruby-1.9.2-rc2/gems/railties-3.0.0/lib/rails/commands.rb:27:in <top (required)>' from /home/martin/RubymineProjects/pyco/script/rails:6:inrequire'
from /home/martin/RubymineProjects/pyco/script/rails:6:in <top (required)>' from -e:1:inload'
from -e:1:in `

'

Process finished with exit code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.