Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

travisgalloway/nextbus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metro Transit Next Bus CLI

A Ruby CLI for returning the departure time for the next bus or train for a given Metro Transit route, stop and direction.

Example Usage:

$ ./bin/nextbus "960" "State Fair" "East"
10 minutes

Setup

Requirements

  • Ruby 2.3+
  • Bundler
$ ruby -v
$ gem install bundler

Install

Clone repo or download zip

$ cd nextbus
$ bundle install
$ ./bin/nextbus "960" "State Fair" "East"

Tests

Tests are written using RSpec. See /spec directory for unit tests.

$ bundle exec rspec

About

Metro Transit next bus cli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages