Skip to content

Commit

Permalink
Released jsonv 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Engel committed Dec 6, 2013
1 parent 7324748 commit d745d1d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rdoc
@@ -0,0 +1,5 @@
= jsonv.sh CHANGELOG

== Version 0.1.0 (December 6, 2013)

* Initial release
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -21,7 +21,7 @@ Optionally, you can pass a prefix for the paths as a second argument.

Parsing `examples/simple.json` (3 objects) without a path prefix:

$ curl -s https://raw.github.com/archan937/jsonv.sh/master/examples/simple.json | ./jsonv id,name,age > simple.csv
$ curl -s https://raw.github.com/archan937/jsonv.sh/master/examples/simple.json | jsonv id,name,age > simple.csv
$ cat simple.csv
1,"Dagny Taggart",39
8,"Francisco D'Anconia",40
Expand All @@ -31,7 +31,7 @@ Parsing `examples/simple.json` (3 objects) without a path prefix:

Parsing `examples/complex.json` (1031 objects) with a path prefix:

$ curl -s https://raw.github.com/archan937/jsonv.sh/master/examples/complex.json | ./jsonv id,name,gender,balance,age,company,address,phone,email,picture,registered response.data > complex.csv
$ curl -s https://raw.github.com/archan937/jsonv.sh/master/examples/complex.json | jsonv id,name,gender,balance,age,company,address,phone,email,picture,registered response.data > complex.csv
$ head -n 5 complex.csv
1,"Nieves Miller","male","$2,366.00",29,"Affluex","101 Gates Avenue, Clay, Vermont, 9389","+1 (845) 526-2694","nievesmiller@affluex.com","http://placehold.it/32x32","2005-09-09T04:57:43 -02:00"
2,"Hopper Peters","male","$1,608.00",26,"Geekmosis","879 Borinquen Pl, Guilford, New Jersey, 4785","+1 (823) 480-2875","hopperpeters@geekmosis.com","http://placehold.it/32x32","2009-03-24T18:38:03 -01:00"
Expand Down
1 change: 1 addition & 0 deletions VERSION
@@ -0,0 +1 @@
0.1.0
8 changes: 4 additions & 4 deletions install.sh
@@ -1,12 +1,12 @@
echo "Downloading https://github.com/archan937/jsonv.sh/archive/v0.1.0.tar.gz"
curl -L -s -o jsonv.tar.gz https://github.com/archan937/jsonv.sh/archive/v0.1.0.tar.gz
echo "Downloading https://github.com/archan937/jsonv.sh/archive/0.1.0.tar.gz"
curl -L -s -o jsonv.sh-0.1.0.tar.gz https://github.com/archan937/jsonv.sh/archive/0.1.0.tar.gz
echo "Unpacking jsonv.tar.gz"
tar xzf jsonv.tar.gz
tar xzf jsonv.sh-0.1.0.tar.gz
echo "Installing jsonv"
cd jsonv.sh-0.1.0
make install
cd ..
echo "Removing installation files"
rm jsonv.tar.gz
rm jsonv.sh-0.1.0.tar.gz
rm -rf jsonv.sh-0.1.0
echo "Done."
2 changes: 1 addition & 1 deletion jsonv
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
# jsonv v0.1.0
# jsonv 0.1.0
# A Bash command line tool for converting JSON to CSV
#
# Copyright (c) 2013 Paul Engel, released under the MIT license
Expand Down
2 changes: 1 addition & 1 deletion uninstall.sh
@@ -1,5 +1,5 @@
echo "Downloading https://raw.github.com/archan937/jsonv.sh/master/Makefile"
wget https://raw.github.com/archan937/jsonv.sh/master/Makefile
curl -L -s -o Makefile https://raw.github.com/archan937/jsonv.sh/master/Makefile
echo "Uninstalling jsonv"
make uninstall
echo "Removing Makefile"
Expand Down

0 comments on commit d745d1d

Please sign in to comment.