GithubHelp home page GithubHelp logo

pathways's People

Contributors

bob-p avatar rodreegez avatar

Stargazers

 avatar

Watchers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pathways's Issues

Move the mongo connection to Parser

Pass the connection configuration options into Parser which is only called when initialized.

Pathways::Parser.new(options)

At the moment Mongo is required when even just tracking which is wrong.

Deprecation from newer Sinatra

I'm seeing this deprecation when bundler picks sinatra 1.3.1:

:public is no longer used to avoid overloading Module#public, use :public_folder instead
    from […]/pathways-0.0.7/lib/pathways/server.rb:10:in `<class:Server>'

Use dedicated log file

Rather than piggy backing on the rails logged I think a dedicated log would be better. I'm not sure it makes sense to write json to this log either - maybe use a more log like format and have the parser deal with that.

Do not connect to Mongo during app's tests

Related to (and possibly solved via same resolution) as #1, but important enough to deserve it's own issue.

When requiring pathways via bundler into a Rails app, lib/pathways.rb is required and a connection to mongo happens any time the environment is loaded, even when just running rake test for instance.

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.