Skip to content

Commit

Permalink
added gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
benlund committed May 20, 2011
1 parent 1269629 commit d8a5103
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ASCII Charts

A Ruby library for generating plain x,y cartesian plots and histograms that an be displayed in a terminal session.
A Ruby library for generating plain text x,y cartesian plots and histograms that can be displayed in a terminal session.

## Features

Expand All @@ -10,7 +10,7 @@ A Ruby library for generating plain x,y cartesian plots and histograms that an b

## Unfeatures

* No more than one data series per charts
* No more than one data series per chart
* Data must be pre-sorted
* x axis will not be continuous if your data isn't
* Only x,y point graphs and bar histograms supported
Expand Down
17 changes: 17 additions & 0 deletions ascii_charts.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# -*- encoding: utf-8 -*-

$:.unshift File.expand_path('../lib', __FILE__)
require 'ascii_charts'

Gem::Specification.new do |s|
s.name = 'ascii_charts'
s.version = AsciiCharts::VERSION

s.authors = ['Ben Lund']
s.description = 'Library to draw simple ASCII charts (x,y graph plots and histograms)'
s.summary = 'Very simple API, your data may already in the correct format to be plotted. Dynamically scales the y-axis. Simple configuration options, including chart title.'
s.email = 'ben@benlund.com'
s.homepage = 'http://github.com/benlund/ascii_charts'

s.files = ['lib/ascii_charts.rb']
end
2 changes: 2 additions & 0 deletions lib/ascii_charts.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module AsciiCharts

VERSION = '0.9'

class Chart

attr_reader :options, :data
Expand Down

0 comments on commit d8a5103

Please sign in to comment.