boojs 0.0.4 → 0.0.5

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -3
  3. data/lib/boojs/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30cd70e3b0e320b840091166f04e8099680e8728
4
- data.tar.gz: f86bab472a1378147d2a992b7858615cafdf8fe6
3
+ metadata.gz: eed1c825512f3fec05a1381da8b0445997b060c7
4
+ data.tar.gz: cef397cf0d0c510e2aac130292d523c771516236
5
5
  SHA512:
6
- metadata.gz: 274b7dfec78a7498688f288e90aef95ad06c25f6a58156e519691dd91317c8d17dd7041a16043798fcab5486a2dbdb6a87cdf9e0a40fd5ceacd6d798b4483157
7
- data.tar.gz: db6e5033af050fc2c9317258d94558db13dd1f1de398dca1bbd6b903e4312da19e4c1e257f75fbeed82c32b860eecc320b6b27ec3886a9d8ced2f3b20e97ef42
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 not 0 if otherwise
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 not 0. In all other cases, boojs will not exit and you must send SIGINT to the process.
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
@@ -1,3 +1,3 @@
1
1
  module BooJS
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boojs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - seo