api-tuner 0.2.3 → 0.2.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.
package/README.md CHANGED
@@ -27,13 +27,14 @@
27
27
  Usage: api-tuner [options] <path>...
28
28
 
29
29
  Options:
30
- --lib <path> Specify rules to include in all tests
30
+ --lib <path> Specify rules to include in all tests. Can be used multiple times. Make sure to surround globs in quotes to prevent expansion.
31
31
  --silent Less output
32
32
  --debug Enable debug output
33
33
  --raw Output raw results from eye
34
34
  --base-iri <iri> Specify the base IRI for parsing the test case files
35
35
  --version Show version information
36
36
  --help Show this help message
37
+
37
38
  ```
38
39
 
39
40
  ## Example
package/bin/tuner.sh CHANGED
@@ -15,7 +15,7 @@ function version() {
15
15
  echo "Usage: api-tuner [options] <path>..."
16
16
  echo ""
17
17
  echo "Options:"
18
- echo " --lib <path> Specify rules to include in all tests"
18
+ echo " --lib <path> Specify rules to include in all tests. Can be used multiple times. Make sure to surround globs in quotes to prevent expansion."
19
19
  echo " --silent Less output"
20
20
  echo " --debug Enable debug output"
21
21
  echo " --raw Output raw results from eye"
@@ -90,6 +90,6 @@ set -o pipefail
90
90
  for path in "${PATHS[@]}"; do
91
91
  (
92
92
  node "${SCRIPT_PATH}/../lib/parse-test-case.js" --base-iri "$BASE_IRI" -- "${path}" \
93
- | $eye $ARGS "${SCRIPT_PATH}"/../rules/*.n3 ${LIBS[@]:+"${LIBS[*]}"} -
93
+ | $eye $ARGS "${SCRIPT_PATH}"/../rules/*.n3 ${LIBS[@]:+${LIBS[*]}} -
94
94
  ) ;
95
95
  done | $SUMMARY
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api-tuner",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,4 +1,5 @@
1
1
  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
2
+ PREFIX list: <http://www.w3.org/2000/10/swap/list#>
2
3
  PREFIX tuner: <https://api-tuner.described.at/>
3
4
  prefix string: <http://www.w3.org/2000/10/swap/string#>
4
5
  prefix log: <http://www.w3.org/2000/10/swap/log#>