tabelr 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/bin/tabelr CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require './lib/tabelr'
3
+ require_relative './lib/tabelr'
4
4
 
5
5
  Tabelr::run
data/lib/tabelr.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'json'
2
- require './lib/tabelr/table_formater'
2
+ require_relative './lib/tabelr/table_formater'
3
3
 
4
4
  module Tabelr
5
5
  class << self
data/tabelr-0.0.2.gem ADDED
Binary file
data/tabelr.gemspec CHANGED
@@ -1,8 +1,8 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "tabelr"
3
3
  s.summary = "Creates neat aligned ascii tables from a json input"
4
- s.description = "See the README!"
5
- s.version = "0.0.2"
4
+ s.description = "Creates neat aligned ascii tables from a json input"
5
+ s.version = "0.0.3"
6
6
  s.author = "Ian Vaughan"
7
7
  s.email = "tabelr@ianvaughan.co.uk"
8
8
  s.platform = Gem::Platform::RUBY
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabelr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-04-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: See the README!
14
+ description: Creates neat aligned ascii tables from a json input
15
15
  email: tabelr@ianvaughan.co.uk
16
16
  executables:
17
17
  - tabelr
@@ -21,9 +21,9 @@ files:
21
21
  - bin/tabelr
22
22
  - lib/tabelr/table_formater.rb
23
23
  - lib/tabelr.rb
24
- - output.txt
25
24
  - README.md
26
25
  - tabelr-0.0.1.gem
26
+ - tabelr-0.0.2.gem
27
27
  - tabelr.gemspec
28
28
  - test/example.json
29
29
  - test/output.txt
data/output.txt DELETED
@@ -1,8 +0,0 @@
1
- +---------+----------------------+---------+------------------+
2
- | column1 | column2 | column3 | column4 |
3
- +---------+----------------------+---------+------------------+
4
- | This | is | quite | cool! |
5
- | This | is the longest field | by far | 1241 |
6
- | Short | fields | fit | in |
7
- | other | eg | | 3322119999999999 |
8
- +---------+----------------------+---------+------------------+