boojs 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/lib/boojs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eed1c825512f3fec05a1381da8b0445997b060c7
|
4
|
+
data.tar.gz: cef397cf0d0c510e2aac130292d523c771516236
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e1af50ddcccc1cfb1dba19011c1f9600719fecff2d7e31a8ac51e14384c8eef0181df86bd1e231b25b53b16263f5cf0628589d81975583225f919de61f8b0ce
|
7
|
+
data.tar.gz: 1bcfec3f84fba20cc1a6747b56f296e9738d98e2cc9ee2c0a507d8dc9411f0461b1a5f1fcdf470ae02656fe4015626dfa8c316b2d9ace0993297927e3abed27f
|
data/README.md
CHANGED
@@ -22,10 +22,9 @@ boojs [-v file]
|
|
22
22
|
There are two modes of operating.
|
23
23
|
|
24
24
|
|
25
|
-
1. If you pass the `-v` flag with a file, boojs will `validate` the javascript file you passed. If it contains any syntax errors, or anything that would crash the execution of the javascript file, these are caught here. Useful for unit tests to make sure the JS files are executable. It will return 0 if the file and
|
26
|
-
|
25
|
+
1. If you pass the `-v` flag with a file, boojs will `validate` the javascript file you passed. If it contains any syntax errors, or anything that would crash the execution of the javascript file, these are caught here. Useful for unit tests to make sure the JS files are executable. It will return 0 if the file is valid and 1 if the file is not valid.
|
27
26
|
2. If you do not pass the `-v` flag, boojs will accept JS input from stdin and emit JS output on stdout. If there is an exception, boojs
|
28
|
-
will output the exception to stderr and return
|
27
|
+
will output the exception to stderr and return 1. In all other cases, boojs will not exit and you must send SIGINT to the process.
|
29
28
|
|
30
29
|
|
31
30
|
## Requirements
|
data/lib/boojs/version.rb
CHANGED