boojs 0.0.12 → 0.0.14

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 +4 -4
  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: 2816f9929db6f4b3a6ba72ec65c64decc07ab016
4
- data.tar.gz: 1c843b29d1261e9ffcc08e460eb6a8247c3621ef
3
+ metadata.gz: a21745ad74850cd649c9425e27f11a5cbdb876a8
4
+ data.tar.gz: 24233c07d0aaae1a8a612821e9bccac5efc29850
5
5
  SHA512:
6
- metadata.gz: 839246c16475ca0a1d4bed48163f9a39773a6aacd537a8927762a9bd67e3aa0d5c815321b11feeaad8e96df098f51a945eef29945b9306c502e7d81ad7193871
7
- data.tar.gz: e1b8b16bc122526097f36ed8c62541b379538b47cfdb9fe0e545cbad4d6abc9f8fbbfe561d681f45031bee4219aa03d89624d5d8226e878ffd1d708d641cc9d9
6
+ metadata.gz: 8e60906902903952f18bc4cfc22a9f0eabf8ad6ca963763089c76e6b7f24bcc3c261f51f8655fc9380a450694842e097c1980ede94310a9746816855bb27c970
7
+ data.tar.gz: b280020506e22f6c28963a167e37a42c3aee240bc90de142d49662e23e0b4f436b391a68fa28f7aa89f11818620e9610c793b1c9c2bc4a0bb5dd5a47399e814f
data/README.md CHANGED
@@ -33,22 +33,22 @@ The following options are available:
33
33
  * `-v` - Verify that a file contains no javascript syntax errors. Returns 0 if there are no errors.
34
34
 
35
35
  #### EXAMPLES
36
- Open a standard headless javascript browser 'REPL'
36
+ Open a javascript pipe that reads from stdin, writes via console.log to stdout, prints exceptions via stderr, and exits with a return code of 1 if there are errors.
37
37
  ```sh
38
38
  (sh)>boojs
39
39
  ```
40
40
 
41
- Execute a file first, then enter pipe mode (repl like)
41
+ Same as `boojs` but read the javascript file before reading from stdin. (i.e. preload a javascript file into your environment)
42
42
  ```sh
43
43
  (sh)>boojs code.js
44
44
  ```
45
45
 
46
- Execute a statement, and then immediately exit.
46
+ Execute a javascript statement, and then immediately exit. Exceptions will return 1.
47
47
  ```sh
48
48
  (sh)>boojs -e "console.log(document);"
49
49
  ```
50
50
 
51
- Verify that a file contains no javascript errors
51
+ Verify that a file contains no javascript runtime initialization errors
52
52
  ```sh
53
53
  (sh)>boojs -v code.js
54
54
  (sh)>echo $?
data/lib/boojs/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module BooJS
2
- VERSION = '0.0.12'
2
+ VERSION = '0.0.14'
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.12
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - seo