Project

mtg_db

0.0
No commit activity in last 3 years
No release in over 3 years
Spiders The Gatherer collecting info about MtG cards which are then put in an SQLite3 Db
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
~> 5.4
= 0.10
~> 10.0
~> 0.61.1

Runtime

~> 2.7
~> 5.15
~> 1.3
~> 0.20
 Project Readme

MtgDb Build Status

A ruby program that creates an SQLite3 database containing Magic: The Gathering card information collected from The Gatherer.

Installation

Install it yourself as:

$ gem install mtg_db

Usage

mtg_db create NAME     # create an MtG sqlite3 Db with the given NAME
mtg_db help [COMMAND]  # Describe available commands or one specific command

Testing

To run all tests

rake test

To run a specific test

rake test TESTOPTS="--name=test_2_db_created"

Notes

Downloading card information from The Gatherer can take a long time. Be prepared to wait a while when creating the db.

Misc

  • Schema for the Db is in sql/db.schema.sql
  • bundle exec bin/mtg_db help

Contributing

  1. Fork it ( https://github.com/Hammit/mtg-database/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request