tabelr 0.0.1 → 0.0.2

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.
Files changed (3) hide show
  1. data/tabelr-0.0.1.gem +0 -0
  2. data/tabelr.gemspec +2 -5
  3. metadata +5 -23
data/tabelr-0.0.1.gem ADDED
Binary file
data/tabelr.gemspec CHANGED
@@ -1,16 +1,13 @@
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 = File.read(File.join(File.dirname(__FILE__), 'README.md'))
5
- s.requirements = [ 'Dont know of any!' ]
6
- s.version = "0.0.1"
4
+ s.description = "See the README!"
5
+ s.version = "0.0.2"
7
6
  s.author = "Ian Vaughan"
8
7
  s.email = "tabelr@ianvaughan.co.uk"
9
- s.homepage = ''
10
8
  s.platform = Gem::Platform::RUBY
11
9
  s.required_ruby_version = '>=1.9'
12
10
  s.files = Dir['**/**']
13
11
  s.executables = [ 'tabelr' ]
14
- s.test_files = Dir["test/test*.rb"]
15
12
  s.has_rdoc = false
16
13
  end
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.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,25 +11,7 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-04-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: ! "Tabler\n======\n\nCreates neat aligned ascii tables from a json input\n\nThis
15
- is mainly useful on SQU query output from Sequel Pro app, which can save results
16
- as json.\n\nI'm sure there are a 100+ versions of this around, but I wrote this
17
- mainly for the challenge.\n\n\nUsage\n-----\n\n ruby bin/tabelr test/example.json
18
- test/output.txt\n\n\ninput\n-----\n\n- The input must be a json formatted file\n\n-
19
- Which contains a hash\n - with one key named `data`\n - and one value containing
20
- an array of hashes\n\n- Each hash must contain the same number of same named keys,
21
- which this will use as the column headers\n\nE.g. (extract from `test/example.json`)\n\n
22
- \ {\n \"data\":\n [\n {\n \"column1\": \"This\",\n \"column2\":
23
- \"is\",\n \"column3\": \"quite\",\n \"column4\": \"cool!\"\n },\n
24
- \ {\n \"column1\": \"This\",\n \"column2\": \"is the longest
25
- field\",\n \"column3\": \"by far\",\n \"column4\": 1241\n },\n\noutput\n------\n\nThe
26
- output filename can be omitted, it will then default to the STDOUT terminal\n\nGiven
27
- the file input above, the output will look like :-\n\n +---------+----------------------+---------+------------------+\n
28
- \ | column1 | column2 | column3 | column4 |\n +---------+----------------------+---------+------------------+\n
29
- \ | This | is | quite | cool! |\n | This
30
- \ | is the longest field | by far | 1241 |\n | Short | fields
31
- \ | fit | in |\n | other | eg |
32
- \ | 3322119999999999 |\n +---------+----------------------+---------+------------------+\n\n\n"
14
+ description: See the README!
33
15
  email: tabelr@ianvaughan.co.uk
34
16
  executables:
35
17
  - tabelr
@@ -41,11 +23,12 @@ files:
41
23
  - lib/tabelr.rb
42
24
  - output.txt
43
25
  - README.md
26
+ - tabelr-0.0.1.gem
44
27
  - tabelr.gemspec
45
28
  - test/example.json
46
29
  - test/output.txt
47
30
  - test/tabelr_test.rb
48
- homepage: ''
31
+ homepage:
49
32
  licenses: []
50
33
  post_install_message:
51
34
  rdoc_options: []
@@ -63,8 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
46
  - - ! '>='
64
47
  - !ruby/object:Gem::Version
65
48
  version: '0'
66
- requirements:
67
- - Dont know of any!
49
+ requirements: []
68
50
  rubyforge_project:
69
51
  rubygems_version: 1.8.17
70
52
  signing_key: