Skip to content
This repository has been archived by the owner on Jun 23, 2019. It is now read-only.

Commit

Permalink
Fix serialization of the output, bump version to 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Z committed Jan 22, 2014
1 parent 8c43d68 commit 7a4a661
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ lib/*
dist/*
node_modules/*
tools/upload-browser-build/config.yml
npm-debug.log
*.sublime-project
*.sublime-workspace
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0.5.9 (2014-01-22)
0.5.3 (2014-01-22)
------------------

* Add CLI interface
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Do not install the parser globally (using the `-g` option), otherwise you won’

### Browser

Download the [latest browser version of the parser](https://apiary-public.s3.amazonaws.com/blueprint-parser/apiary-blueprint-parser-0.4.4.js).
Download the [latest browser version of the parser](https://apiary-public.s3.amazonaws.com/blueprint-parser/apiary-blueprint-parser-0.5.3.js).

Usage
-----
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0
0.5.3
8 changes: 1 addition & 7 deletions bin/blueprint-parser
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#!/usr/bin/env node

var cmd = require('commander');
var fs = require('fs');



cmd.version('0.0.1');

cmd.on('--help', function(){
Expand All @@ -20,8 +17,6 @@ if (!cmd.args.length) cmd.help();

var parser = require('../lib/apiary-blueprint-parser');



process.stdin.setEncoding('utf8');

parsed = fs.readFile(process.argv[2], 'utf8', function (err,string) {
Expand All @@ -31,6 +26,5 @@ parsed = fs.readFile(process.argv[2], 'utf8', function (err,string) {
} catch (e) {
parsed = false;
}
console.log(output);
console.log(JSON.stringify(output, "", 2));
});

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apiary-blueprint-parser",
"version": "0.5.0",
"version": "0.5.3",
"description": "Apiary blueprint parser",
"homepage": "https://github.com/apiaryio/blueprint-parser",
"author": {
Expand All @@ -15,7 +15,8 @@
"VERSION",
"examples/example.apib",
"lib/apiary-blueprint-parser.js",
"lib/ast.js"
"lib/ast.js",
"bin/blueprint-parser"
],
"main": "lib/apiary-blueprint-parser",
"scripts": {
Expand Down

0 comments on commit 7a4a661

Please sign in to comment.