bricolage 5.29.0 → 5.29.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 937a773a3be70440b08a33edea44480af5b5b4e9857081e5e9dfafeff7298cf0
4
- data.tar.gz: 373f091f9ce32ade9862e6c9d114c0ed760166a050ba67b3fa25d29fa42183b2
3
+ metadata.gz: c497071f68c8f5ec64dd2eb67444bd31d17bea1682eed3b85e6fcd95900e8ef7
4
+ data.tar.gz: 657c7e05aef3cf7782f29f3225775cb6ee09cd3fcce07a15cef7e2ee576f7765
5
5
  SHA512:
6
- metadata.gz: 338d2113c8fc175a15f57fcaae506f83da82c60179bdbcf828fb68da45545f2988afec5eed0a70a79292030d93cb97d68862da2e716f6c409f80eb1cf1d0874f
7
- data.tar.gz: afa065e5b744ae159a018a050a9e2bb693fce818bc799e85c762b42291597ab96e64223d8569d0c17559ed96e16fe8771b342f2b632f490a43e93e902dcd58aa
6
+ metadata.gz: 275e672599af2bad01f3979b6aa482795a5b15835e4e2024aaefe9d2ef270b1533faffbcdd4a7a3203349f09d2a81883d08d987bd8a241de1f15c7c892facaeb
7
+ data.tar.gz: 5ae6632d97dd7637775570a1e8f973d45a2a2229d2adc93f5382bc2a42437a895d112a63ec5ac27c3eee9a7726d914717a696e404a1be64e077a0de8d13a59c3
data/RELEASE.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Bricolage Release Note
2
2
 
3
+ ## version 5.29.1
4
+
5
+ - [fix] PSQLDataSource: slice_last_stderr may fail when $stderr is not a regular file.
6
+
3
7
  ## version 5.29.0
4
8
 
5
9
  - [new] bricolage-jobnet command accepts multiple jobs/jobnets and executes them sequencially.
@@ -71,7 +71,15 @@ module Bricolage
71
71
  '--no-password',
72
72
  *options,
73
73
  env: get_psql_env
74
- msg = LogLocator.slice_last_stderr(/^psql:.*?:\d+: ERROR: (.*)/, 1) unless st.success?
74
+ unless st.success?
75
+ begin
76
+ msg = LogLocator.slice_last_stderr(/^psql:.*?:\d+: ERROR: (.*)/, 1)
77
+ rescue IOError => ex
78
+ # slice_last_stderr may fail if stderr is not a file
79
+ logger.error ex.message
80
+ msg = nil
81
+ end
82
+ end
75
83
  JobResult.for_process_status(st, msg)
76
84
  }
77
85
  end
@@ -1,4 +1,4 @@
1
1
  module Bricolage
2
2
  APPLICATION_NAME = 'Bricolage'
3
- VERSION = '5.29.0'
3
+ VERSION = '5.29.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bricolage
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.29.0
4
+ version: 5.29.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minero Aoki