Skip to content
Permalink
Browse files

Rename project to "tabulo".

  • Loading branch information...
matt-harvey committed Apr 13, 2017
1 parent 15674a8 commit 7aca5d13b4e6b298676b10075396174b4b22a596
@@ -1,4 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in tabulator.gemspec
# Specify your gem's dependencies in tabulo.gemspec
gemspec
@@ -1,6 +1,6 @@
# Tabulator
# Tabulo

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/tabulator`. To experiment with that code, run `bin/console` for an interactive prompt.
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/tabulo`. To experiment with that code, run `bin/console` for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

@@ -9,7 +9,7 @@ TODO: Delete this and the text above, and describe your gem
Add this line to your application's Gemfile:

```ruby
gem 'tabulator'
gem 'tabulo'
```

And then execute:
@@ -18,7 +18,7 @@ And then execute:

Or install it yourself as:

$ gem install tabulator
$ gem install tabulo

## Usage

@@ -32,7 +32,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/tabulator.
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/tabulo.


## License
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby

require "bundler/setup"
require "tabulator"
require "tabulo"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.
@@ -1,7 +1,7 @@
require "tabulator/version"
require "tabulator/table"
require "tabulator/row"
require "tabulator/column"
require "tabulo/version"
require "tabulo/table"
require "tabulo/row"
require "tabulo/column"

# TODO Tidy the code.
# TODO Handle newline in output.
@@ -1,4 +1,4 @@
module Tabulator
module Tabulo

class Column

@@ -1,4 +1,4 @@
module Tabulator
module Tabulo

class Row
include Enumerable
@@ -1,4 +1,4 @@
module Tabulator
module Tabulo

class Table
include Enumerable
@@ -1,3 +1,3 @@
module Tabulator
module Tabulo
VERSION = "0.1.0"
end
@@ -1,6 +1,6 @@
require "spec_helper"

describe Tabulator::Column do
describe Tabulo::Column do

pending "#initialize"
pending "#label"
@@ -1,6 +1,6 @@
require "spec_helper"

describe Tabulator::Row do
describe Tabulo::Row do

pending "#initialize"
pending "#each"
@@ -1,2 +1,2 @@
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
require "tabulator"
require "tabulo"
@@ -1,9 +1,9 @@
require "spec_helper"

describe Tabulator::Table do
describe Tabulo::Table do

let(:table) do
Tabulator::Table.new(1..5) do |t|
Tabulo::Table.new(1..5) do |t|
t.add_column("N", &:itself)
t.add_column("Doubled") { |n| n * 2 }
end
@@ -35,9 +35,9 @@
expect(i).to eq(5)
end

it "iterates over instances of Tabulator::Row" do
it "iterates over instances of Tabulo::Row" do
table.each do |row|
expect(row).to be_a(Tabulator::Row)
expect(row).to be_a(Tabulo::Row)
end
end
end
@@ -1,8 +1,8 @@
require "spec_helper"

describe Tabulator::VERSION do
describe Tabulo::VERSION do

it "has semver form" do
expect(Tabulator::VERSION).to match(/\d+\.\d+\.\d+$/)
expect(Tabulo::VERSION).to match(/\d+\.\d+\.\d+$/)
end
end
@@ -1,11 +1,11 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'tabulator/version'
require 'tabulo/version'

Gem::Specification.new do |spec|
spec.name = "tabulator"
spec.version = Tabulator::VERSION
spec.name = "tabulo"
spec.version = Tabulo::VERSION
spec.authors = ["Matthew Harvey"]
spec.email = ["software@matthewharvey.net"]

0 comments on commit 7aca5d1

Please sign in to comment.
You can’t perform that action at this time.