GithubHelp home page GithubHelp logo

jtorr / inclusion_rails Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 1.04 MB

Rails application for searching and displaying gems and gem documentation.

Ruby 94.74% JavaScript 1.18% CoffeeScript 1.65% CSS 2.43%

inclusion_rails's Introduction

WORK IN PROGRESS: PLEASE WEAR HARDHAT IN THIS CONSTRUCTION ZONE

INCLUSION RAILS README

What is It?

Inclusion Rails was written to make it easy to read a Gemfile and determine what each gem does.

The app allows users to parse a Rails Gemfile, view individual gems and their descriptions, save project gemfiles, and mark gems as "favorites" for future reference.

Users can also run the included rake task, "rake read", to create a list of gems and gem descriptions in the vendor folder of their Rails application.

How Does it Work?

Inclusion Rails parses the Gemfile and connects to the RubyGems API, pulling in the most current information for the included gems.

Installation

**This application uses Postgres. You must have that installed and open to run the app.

First, clone the project:

git clone https://github.com/JTorr/inclusion_rails.git

Go into the directory where it is installed, and bundle the gems:

cd inclusion_rails
bundle install

Then set up the database:

rake db:setup

Running the Application:

Option 1: Run as a Rails App

bundle exec rails s

Option 2: Run in Command Line

Run the following command in your terminal, replacing "your_project_gemfile" with your own project's name.

This will create a file vendor/gemfile-notes in your Rails application.

rake read < ../your_project_name/Gemfile > gemfile-notes

Feedback and Future Development

Features & Fixes planned for future development:

  • Add feature to output Gemfile based on favorited gems
  • Finish filling out test suite
  • Improve UX with better navigation & more fancy-shmanciness
  • Bring in additional info on gems: gem_uri, version, dependencies, etc.
  • Additional rake tasks

All bugs, feature requests, pull requests, feedback, etc., are welcome.

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.