@pgpm/jobs 0.15.2 → 0.15.3

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/Makefile CHANGED
@@ -1,5 +1,5 @@
1
1
  EXTENSION = pgpm-jobs
2
- DATA = sql/pgpm-jobs--0.14.0.sql
2
+ DATA = sql/pgpm-jobs--0.15.2.sql
3
3
 
4
4
  PG_CONFIG = pg_config
5
5
  PGXS := $(shell $(PG_CONFIG) --pgxs)
package/README.md CHANGED
@@ -290,6 +290,7 @@ Executes a scheduled job.
290
290
 
291
291
  ## Dependencies
292
292
 
293
+ - PGPM roles (anonymous, authenticated, administrator)
293
294
  - `@pgpm/verify`: Verification utilities
294
295
 
295
296
  ## Testing
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../pgpm/index.js" "$@"
19
+ else
20
+ exec node "$basedir/../pgpm/index.js" "$@"
21
+ fi
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*|*MINGW*|*MSYS*)
6
+ if command -v cygpath > /dev/null 2>&1; then
7
+ basedir=`cygpath -w "$basedir"`
8
+ fi
9
+ ;;
10
+ esac
11
+
12
+ if [ -z "$NODE_PATH" ]; then
13
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules"
14
+ else
15
+ export NODE_PATH="/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules/pgpm/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/pgpm@1.0.0_@babel+core@7.28.0_@pgsql+types@17.6.2/node_modules:/Users/pyramation/code/constructive/pgpm-modules/node_modules/.pnpm/node_modules:$NODE_PATH"
16
+ fi
17
+ if [ -x "$basedir/node" ]; then
18
+ exec "$basedir/node" "$basedir/../pgpm/index.js" "$@"
19
+ else
20
+ exec node "$basedir/../pgpm/index.js" "$@"
21
+ fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpm/jobs",
3
- "version": "0.15.2",
3
+ "version": "0.15.3",
4
4
  "description": "Core job system for background task processing in PostgreSQL",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "contributors": [
@@ -21,7 +21,7 @@
21
21
  "test:watch": "jest --watch"
22
22
  },
23
23
  "dependencies": {
24
- "@pgpm/verify": "0.15.2"
24
+ "@pgpm/verify": "0.15.3"
25
25
  },
26
26
  "devDependencies": {
27
27
  "pgpm": "^1.0.0"
@@ -34,5 +34,5 @@
34
34
  "bugs": {
35
35
  "url": "https://github.com/constructive-io/pgpm-modules/issues"
36
36
  },
37
- "gitHead": "92a241bab64c7b20e85e55a7bd314089907fabba"
37
+ "gitHead": "187ed37f6b731132fe930acf5b5996b1e63ecca0"
38
38
  }
package/pgpm-jobs.control CHANGED
@@ -1,6 +1,6 @@
1
1
  # pgpm-jobs extension
2
2
  comment = 'pgpm-jobs extension'
3
- default_version = '0.14.0'
3
+ default_version = '0.15.2'
4
4
  module_pathname = '$libdir/pgpm-jobs'
5
5
  requires = 'plpgsql,uuid-ossp,pgcrypto,pgpm-verify'
6
6
  relocatable = false